About the Geometric Distribution
The Geometric Distribution Probability Calculator finds the probability that the first success in a series of independent trials occurs on a specific trial number, given a fixed per-trial success probability. It answers 'how long until the first success' questions, whether that is the first heads in coin flips or the first sale after a run of cold calls.
How It Works
You provide the probability of success on any single trial (p) and the trial number of interest (k). The calculator returns the exact probability the first success lands precisely on trial k, the cumulative probability the first success happens on or before trial k, and the expected average number of trials needed to reach a first success.
Examples
One success chance in four
With p = 0.25 and k = 4, the probability the first success lands exactly on trial 4 is (0.75)^3 x 0.25, about 10.55 percent. The probability of at least one success within 4 trials is 1 - 0.75^4, about 68.36 percent, and the expected number of trials is 1 / 0.25 = 4.00.
A fair coin flip
With p = 0.5 and k = 3, the probability the first heads appears exactly on flip 3 is 0.5^2 x 0.5 = 12.5 percent. The probability of getting heads within the first 3 flips is 1 - 0.5^3 = 87.5 percent, and the expected number of flips to the first heads is 1 / 0.5 = 2.00.
Advantages
- Separates the exact 'on this trial' probability from the cumulative 'by this trial' probability, so either question can be answered directly.
- Reports the expected number of trials automatically, giving an intuitive average figure alongside the exact probabilities.
- Works across the full range of success probabilities from just above 0 to 1, covering both rare-event and near-certain scenarios.
Common Mistakes
- Confusing the probability the first success is exactly on trial k with the probability of at least one success within k trials, which the calculator reports as two separate figures.
- Entering a cumulative rate (such as '25 percent of customers eventually buy') instead of the true per-trial probability the geometric distribution requires.
- Assuming the formula still applies when trial conditions change partway through, since it requires every trial to be independent with an identical success probability.
Edge Cases to Watch For
- The success probability p must be greater than 0 and no greater than 1; the trial number k must be a whole number of at least 1 (fractional entries are rounded).
- As p approaches 0, the expected number of trials (1/p) grows very large, reflecting how rare successes require many attempts on average.
- When p equals 1, every trial succeeds, so the probability of success on trial 1 is 100 percent and the expected number of trials is exactly 1.
Common Use Cases
- Sales and marketing teams estimating how many calls or emails it typically takes to land a first response.
- Quality engineers modeling how many inspected units are checked before finding the first defect at a known defect rate.
- Students and analysts working through probability problems involving repeated independent trials, such as games of chance.