Geometric Distribution Calculator

The geometric distribution describes how long you wait for the first success when every trial is independent and carries the same chance p. Enter that chance and a value of k and the tool returns the probability the first success lands exactly there, the four tails around it, and the mean, variance, standard deviation, median and mode; a second action gives the probability the wait falls between two values. Both parameterisations are supported, so k can mean the trial number of the success or the number of failures before it, and the page says which one it used. Tails are closed forms rather than running sums, so a k in the millions costs no more than a k of three. It assumes a fixed p on independent trials, which is exactly what a drifting rate or a pity counter breaks.

Calculator Type
A decimal between 0 and 1. A 25% chance is 0.25.
The two differ by exactly one. Pick whichever your question or your textbook uses.
k starts at 1 for the trial-number form and at 0 for the failure-count form.
Widget
A decimal between 0 and 1. A 20% chance is 0.2.
Widget