Skip to content
LoveToCalc

Definition — what does that mean?

Geometric distribution: success within k tries

The probability of at least one success in the first k tries.

In Swedish: Geometrisk fördelning: lyckat inom k försök

Geometric distribution: success within k tries

The relation

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

The probability of at least one success in the first k independent tries, each succeeding with probability p: 1 minus the probability of k failures in a row.

Solve for

P(X ≤ k)=0.875

P(X ≤ k) equals 1 minus (1 minus 0.5) cubed, equals 1 minus 0.5 cubed, equals 1 minus 0.125, equals 0.875

Working4 steps

Practice questions

You are given

  • p=0.5
  • k=3

The formula

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

Holds for independent tries with success probability p, with X the number of the first successful try. “At least one success in k tries” is the complement of “k failures in a row”, which has probability (1 − p)^k. See the complement rule.

A fair die thrown 6 times, at least one six: p = 1/6, so P = 1 − (5/6)⁶ ≈ 1 − 0.3349 = 0.665. Six throws are not a certainty, and the chance is a little under two in three.

How many tries are needed

Solving for k: k = ln(1 − P)/ln(1 − p). For a die to give at least one six with probability 0.9, k = ln(0.1)/ln(5/6) ≈ 12.6, so 13 throws, rounded up.

Tries k (p = 0.5) P(X ≤ k)
1 0.5
3 0.875
5 0.969

Common mistakes

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
P(X ≤ k)1−(1−p)k1−(1−0.5)³0.875
p1−(1−P(X ≤ k))1k1−(1−0.875)130.5
kln(1−P(X ≤ k))ln(1−p)ln(1−0.875)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.