Geometric Distribution Calculator

Enter the chance of success and a trial number, then choose what to find.

A probability more than 0 and up to 1, for each trial.

X is the trial on which the first success happens, 1 or more.

Find

Choose what to find.

Try

Result

You enteredp=0.2, k=3p = 0.2,\ k = 3

P(X≥3)=0.64\displaystyle P(X \ge 3) = 0.64

Fraction

1625\displaystyle \frac{16}{25}

Mean

5\displaystyle 5

Variance

20\displaystyle 20
Show the work
  1. Geometric distribution

    XX is the number of the trial on which the first success happens, and each trial succeeds with the same probability p=0.2p = 0.2. For the first success to come on trial kk, the first k−1k - 1 trials must all fail, each with probability 1−p=0.81 - p = 0.8, and then trial kk must succeed.

    Using P(X=k)=(1−p)k−1pP(X = k) = \left(1 - p\right)^{k-1} p

  2. First success on trial k or later

    The first success comes on trial 33 or later exactly when the first 22 trials all fail.

    Using P(X≥k)=(1−p)k−1P(X \ge k) = \left(1 - p\right)^{k-1}

    P(X≥3)=0.82=0.64\begin{aligned} P(X \ge 3) &= 0.8^{2} \\ &= 0.64 \end{aligned}
  3. Result

    So the first success is on trial 33 or later with probability 0.640.64.

Worked examples