Home · Statistics · Distributions & Sampling · Geometric Distribution Calculator
Geometric Distribution Calculator
The probability that the first success in a run of independent trials occurs exactly on trial k, reported as a percentage.
What this calculator does
The probability that the first success in a run of independent trials occurs exactly on trial k, reported as a percentage. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
This page uses the trial-count convention: X is the number of the trial on which the first success occurs, so k ≥ 1.
The main result is P(X = k), expressed as a percentage: k − 1 failures followed by one success.
p is the success probability of each trial, entered on the 0–1 scale, and the trials are independent.
Worked example
With the example inputs this page opens with (success probability p (0–1) 0.25, trial of first success k 4), the result is 10.55. Change any figure and the result updates with the same formula.
Quick reference
| Success probability p (0–1) | Result |
|---|---|
| 0.125 | 8.37 |
| 0.2 | 10.24 |
| 0.25 | 10.55 |
| 0.3125 | 10.15 |
| 0.375 | 9.16 |
| 0.5 | 6.25 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why do some sources give a different geometric formula?
Some count the failures before the first success instead of the trial number, which shifts every probability by one step. This page counts trials, so the first success on trial 1 has probability p itself.
What is the average trial of the first success?
The mean is 1/p. At p = 0.25 the first success arrives on trial 4 on average, even though any single exact trial, such as trial 4 at about 10.55%, is not very likely.
How does the Geometric Distribution Calculator work?
The probability that the first success in a run of independent trials occurs exactly on trial k, reported as a percentage. Success probability p · Trial of first success k → P(X = k) (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Geometric Distribution Calculator need?
Success probability p · Trial of first success k → P(X = k) (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.