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.

Your figures

Example result — edit the figures to make it yours

10.55

Mean trials 1/p4

P(X = 1) = 25%P(X = 2) = 18.75%P(X = 3) = 14.0625%P(X = 4) = 10.5469%P(X = 5) = 7.9102%P(X = 6) = 5.9326%P(X = 7) = 4.4495%P(X = 8) = 3.3371%P(X = 9) = 2.5028%P(X = 10) = 1.8771%P(X = 11) = 1.4078%P(X = 12) = 1.0559%P(X = 13) = 0.7919%P(X = 14) = 0.5939%P(X = 15) = 0.4454%P(X = 16) = 0.3341%P(X = 17) = 0.2506%P(X = 18) = 0.1879%P(X = 19) = 0.1409%P(X = 20) = 0.1057%P(X = 21) = 0.0793%P(X = 22) = 0.0595% 122 P(X = 4) = 10.55%
The distribution for your figures, drawn from the same parameters as the calculation. The amber region is the probability the result reports — the area under the curve (or the highlighted bar) equals that 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

P(X = k) = (1 − p)^(k−1) · p, for k = 1, 2, 3, …

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

Quick reference — varying success probability p (0–1)
Success probability p (0–1)Result
0.1258.37
0.210.24
0.2510.55
0.312510.15
0.3759.16
0.56.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.