Geometric Distribution Formula

Geometric distribution is the probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability p.

The Formula

P(X=k)=(1−p)k−1⋅p,k=1,2,3,…

When to use: How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

Quick Example

Probability of getting first heads on the 4th flip of a fair coin: P(X=4)=(1−0.5)4−1⋅0.5=(0.5)3⋅0.5=0.0625

Notation

X∼Geom(p). Mean: E(X)=1p. Standard deviation: σ=1−pp.

What This Formula Means

The probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability p.

How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

Formal View

P(X=k)=(1−p)k−1p for k=1,2,3,…; E(X)=1p, Var(X)=1−pp2

Worked Examples

Example 1

medium
A basketball player makes free throws with probability p=0.7. Find the probability they make their first free throw on exactly the 3rd attempt.

Answer

P(X=3)=(0.3)2(0.7)=0.063. 6.3% chance first make is on attempt 3.

First step

1
Geometric distribution: P(X=k)=(1−p)k−1⋅p

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
For a geometric distribution with p=0.4: (a) find P(X≤3), (b) find the expected number of trials until first success.

Example 3

medium
Derive a closed form for P(X≤n) when X is geometric with parameter p.

Common Mistakes

  • Using the binomial because both involve p and 1−p - the geometric has no fixed n; it counts trials until the first success.
  • Writing the exponent as k instead of k−1 - the first k−1 trials are failures, so it's (1−p)k−1⋅p.
  • Forgetting the trials must be independent with constant p - if p changes or trials are dependent, the geometric model fails.

Why This Formula Matters

It's the natural model for waiting-time questions — first defective part, first made free throw, first 6 rolled — that the binomial can't answer because there's no fixed number of trials. Recognizing 'count until first success' versus 'count of successes in n trials' is what separates the geometric from the binomial, the single most-confused pair in probability distributions. Recognizing it by "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" — rather than by familiar numbers — is what lets a student tell it apart from binomial distribution and expected value and exponential distribution in a mixed problem set.

Frequently Asked Questions

What is the Geometric Distribution formula?

The probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability p.

How do you use the Geometric Distribution formula?

How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

What do the symbols mean in the Geometric Distribution formula?

X∼Geom(p). Mean: E(X)=1p. Standard deviation: σ=1−pp.

Why is the Geometric Distribution formula important in Math?

It's the natural model for waiting-time questions — first defective part, first made free throw, first 6 rolled — that the binomial can't answer because there's no fixed number of trials. Recognizing 'count until first success' versus 'count of successes in n trials' is what separates the geometric from the binomial, the single most-confused pair in probability distributions. Recognizing it by "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" — rather than by familiar numbers — is what lets a student tell it apart from binomial distribution and expected value and exponential distribution in a mixed problem set.

What do students get wrong about Geometric Distribution?

The procedure for geometric distribution is the easy part; the trap is using the binomial because both involve p and 1−p. Asking "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Geometric Distribution formula?

Before studying the Geometric Distribution formula, you should understand: binomial distribution, independent events, expected value.