Geometric Distribution (First Success)
Enter your known values, leave one input blank, and solves for the missing one. Try different units for next level excitement!
Learning zone
To have your first success on trial k you must fail k − 1 times and then succeed, which is (1 − p)^(k−1) × p. Rolling a fair die, the chance the first six comes on the third roll is (5/6)² × (1/6) = 25/216 ≈ 0.116. Enter p as a decimal from 0 to 1 or switch that input to %; k is a whole trial number, 1 or more.
The geometric distribution is memoryless — the only discrete distribution that is — so after twenty failed rolls the chance the next roll is a six is still 1/6, exactly as it was at the start. That is the gambler's fallacy in its purest form, and the "hot hand" is its mirror image. Notice that the single most likely value of k is always 1, however small p is: each additional wait multiplies by (1 − p) < 1. Solving for p has no closed form, so this calculator solves for P or for k: with p = 0.2 and P = 0.08192, k = 1 + ln(0.4096)/ln(0.8) = 5.
- = Probability the first success is on trial k
- = Probability of success per trial
- = Trial of the first success
- Probability the first success is on trial k — Binomial Distribution Mean, Expected Trials Until First Success
- Probability of success per trial — Binomial Distribution Mean, Expected Trials Until First Success
- Trial of the first success — Binomial Distribution Mean, Expected Trials Until First Success