Geometric Distribution Calculator

Use our geometric distribution calculator to compute geometric distribution probability quickly. Includes the geometric distribution definition, formula, properties (including the memoryless property), mean and variance formulas, expected value and variance, and guidance on when to use geometric distribution in stats.

Number of failures
k failures before the first success (k ≥ 0).
Probability of success
Enter a decimal between 0 and 1 (example: 0.2).
Results
Geometric probability
P(X = k) = (1 − p)^k × p.
Expectation (mean)
E[X] = (1 − p) / p.
Variance
Var(X) = (1 − p) / p².
Standard deviation
SD = √Var(X).
Did we solve your problem today?

What is Geometric Distribution?

The geometric distribution is a discrete probability distribution that models the number of trials needed to get the first success in repeated independent Bernoulli trials (like repeated coin flips).

If you’re asking what is geometric distribution, it’s used when every trial has the same probability of success p, trials are independent, and you’re counting how many trials happen until the first success occurs.

Geometric distribution shows up in many courses (including geometric distribution AP stats). You might also see unrelated searches like geometric distribution AP human geography or geometric distribution pattern, but in statistics the term specifically refers to this probability model.

Geometric Distribution Formula

There are two common conventions: counting the trial number of the first success (k = 1, 2, 3, …) or counting failures before the first success (k = 0, 1, 2, …). This calculator uses the “trial number of first success” form by default.

PMF (first success on trial k) =
P(X = k) = (1 - p)^(k - 1) · p

Valid for k = 1, 2, 3, … and 0 < p ≤ 1.

Mean (expected value) =
E[X] = 1 ÷ p

Geometric distribution mean formula (trial-count version).

Variance =
Var(X) = (1 - p) ÷ p^2

Geometric distribution expected value and variance formulas.

p
= Probability of success on each trial (0 < p ≤ 1)
k
= Trial number when first success occurs (k ≥ 1)
X
= Random variable: number of trials until first success
E[X]
= Expected value (mean)
Var(X)
= Variance
Geometric distribution probability example
p=0.2, k=3 → P(X=3) = (0.8)^(2)·0.2 = 0.128

Probability the first success happens on the 3rd trial.

Expected value and variance example
p=0.2 → E[X]=5, Var(X)=0.8/0.04=20

Mean is 1/p and variance is (1-p)/p^2.

How to Use the Geometric Distribution Calculator

  1. 1

    Enter the probability of success p (between 0 and 1).

  2. 2

    Enter k, the trial number you want (first success on trial k).

  3. 3

    The calculator computes geometric distribution probability using P(X = k) = (1 - p)^(k - 1) · p.

  4. 4

    Optionally, view the geometric distribution expected value and variance: E[X] = 1/p and Var(X) = (1 - p)/p^2.

Frequently Asked Questions

What is geometric distribution?

A discrete distribution modeling the number of trials until the first success in repeated independent trials with constant success probability p.

Is geometric distribution discrete or continuous?

Discrete.

When to use geometric distribution?

Use it when trials are independent, each trial has the same success probability p, and you’re counting trials until the first success.

How to do geometric distribution?

Pick p and k, then compute P(X=k) = (1-p)^(k-1)·p (trial-count convention).

What are geometric distribution properties?

Key properties include being discrete, having mean 1/p, variance (1-p)/p^2, and the memoryless property.

Is geometric distribution memoryless / what is the memoryless property?

Yes. Memoryless means P(X > m + n | X > m) = P(X > n). Past failures don’t change the future distribution when p stays constant.

What is the geometric distribution expected value formula / mean formula?

E[X] = 1/p (for the trial-count version).

What is the geometric distribution expected value and variance?

E[X] = 1/p and Var(X) = (1-p)/p^2 (trial-count version).

What is geometric binomial distribution?

They’re different. Binomial models the number of successes in a fixed number of trials. Geometric models the number of trials until the first success.

What does geometric distribution AP stats focus on?

It focuses on the geometric PMF, mean/variance, interpreting k as trials until first success, and the memoryless property.

Can geometric sequence be division?

That’s about geometric sequences, not geometric distribution. A geometric sequence uses multiplication by a common ratio (which can be a fraction), so it can look like division when the ratio is less than 1.