Expected Trials Until 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
If one attempt in p succeeds, you wait on average 1/p attempts for the first success. A fair die needs 6 rolls on average to show a six; a 1-in-1000 manufacturing fault surfaces every 1000 units on average. Enter p as a decimal from 0 to 1, or switch the unit to %.
The average is a poor summary of this distribution, and that is the trap. Waiting times here are heavily skewed: with p = 1/6 the mean is 6, yet the most likely single outcome is 1, and there is still a (5/6)¹² ≈ 11% chance of going twelve rolls with no six at all. Half of all waits finish by roll 4, while a long tail drags the average up. Reversed, the formula turns an observed waiting time into a rate: a machine that jams once every 40 cycles on average has p = 1/40 = 0.025 per cycle. In queueing and reliability work the continuous cousin of this result gives the exponential distribution's mean, 1/λ.
- = Expected number of trials
- = Probability of success per trial
- Expected number of trials — Binomial Distribution Mean, Expected Value of a Bet
- Probability of success per trial — Binomial Distribution Mean, Geometric Distribution (First Success)