Geometric Distribution Calculator
This geometric distribution calculator finds exact and cumulative probabilities for the trial on which the first success occurs.
About the Geometric Distribution
The geometric distribution models the number of trials needed to get the first success in a sequence of Bernoulli trials. A Bernoulli trial is an experiment with exactly two outcomes: "success" or "failure", where the probability of success, p, is the same every time.
Geometric Distribution Formulas
The probability that the first success occurs exactly on the x-th trial is given by the Probability Mass Function (PMF):
P(X = x) = p × (1 - p)x - 1
For cumulative probabilities, we use the following shortcuts (where q = 1 - p is the probability of failure):
- P(X ≤ x) = 1 - (1 - p)x
- P(X < x) = 1 - (1 - p)x - 1
- P(X > x) = (1 - p)x
- P(X ≥ x) = (1 - p)x - 1
Mean and Variance
For a geometric distribution representing the number of trials up to and including the first success:
- Mean (Expected Value, μ): μ = 1 / p
- Variance (σ²): σ² = (1 - p) / p²
- Standard Deviation (σ): σ = √[(1 - p) / p²]