Geometric distribution expected trials calculator
Find the expected number of independent trials up to and including the first success. Enter your values below to see the result and method.
inputs.
How to use this calculator
Find the expected number of independent trials up to and including the first success.
- Enter Success probability per trial p. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Set the distribution and parameter convention
Find the expected number of independent trials up to and including the first success.
Inputs and units
Enter the values below for this model. Probability of success on each independent, identically distributed Bernoulli trial; p=1 is a valid deterministic boundary.
- Success probability per trial p: Probability of success on each independent, identically distributed Bernoulli trial; p=1 is a valid deterministic boundary.
Statistical formula and example
E[X] = 1 ÷ p.
If each trial succeeds with probability 0.20, the expected wait is 5 trials.
Intermediate values are kept unrounded; the displayed result is rounded for readability.
Interpreting the statistic
For repeated runs under the same p, 1/p is the average trial count; an individual run can finish sooner or later. Use this model only for independent Bernoulli attempts with one constant success probability p.
Assumptions and limitations
This version counts the successful trial; a failures-before-first-success convention has mean (1−p)/p instead.
Frequently asked questions
What random variable does the expected-trials value count?
E[X] = 1 ÷ p. If each trial succeeds with probability 0.20, the expected wait is 5 trials.
How does a failures-before-success convention change the mean?
If X counts failures only, its mean is (1−p)/p. This calculator counts the successful attempt too, so its expected trial count is 1/p.
How do I use the Geometric distribution expected trials calculator?
Enter Success probability per trial p. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Geometric distribution expected trials?
E[X] = 1 ÷ p. If each trial succeeds with probability 0.20, the expected wait is 5 trials. Intermediate values are kept unrounded; the displayed result is rounded for readability.
What does the Geometric distribution expected trials calculator calculate?
Find the expected number of independent trials up to and including the first success.
Read the calculation methodology and privacy policy.
Source: Penn State STAT 414: Geometric and Negative Binomial Distributions.