Skip to content
LoveToCalc

Definition — what does that mean?

Geometric distribution

The probability that the first success comes exactly on try k.

In Swedish: Geometrisk fördelning

Geometric distribution

The relation

P(X = k)=(1−p)k−1p

The probability that the first success comes exactly on try k, when each independent try succeeds with probability p: k − 1 failures, then a success.

Solve for

P(X = k)=0.125

P(X = k) equals (1 minus 0.5) to the power of (3 minus 1) times 0.5, equals 0.5 squared times 0.5, equals 0.25 times 0.5, equals 0.125

Working4 steps

Practice questions

You are given

  • p=0.2
  • k=2

The formula

P(X = k) = (1 − p)^(k−1) · p

Holds for independent tries with the same success probability p, where X is the number of the try that gives the first success (k = 1, 2, 3, …). Some books count the failures before the first success instead; then the exponent is k and not k − 1.

k − 1 failures, each with probability 1 − p, are followed by one success. By the multiplication rule the probabilities multiply.

A fair coin, the first head on the third toss: (1 − 0.5)² · 0.5 = 0.25 · 0.5 = 0.125.

A die

The first six on the fourth throw, p = 1/6: (5/6)³ · (1/6) = 125/1296 ≈ 0.0965.

k P(X = k) at p = 1/2
1 0.5
2 0.25
3 0.125

The probabilities fall by the factor 1 − p at each step.

Common mistakes

The expected number of tries is on the mean page; for “at least one success within k tries” see the cumulative form.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
P(X = k)(1−p)k−1p(1−0.5)3−1·0.50.125
k1+ln(P(X = k)p)ln(1−p)1+ln(0.1250.5)ln(1−0.5)3

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.