Geometric distribution median trials calculator
Find the smallest number of trials by which a geometric process reaches at least a 50% chance of one success. Enter your values below to see the result and method.
inputs.
How to use this calculator
Find the smallest number of trials by which a geometric process reaches at least a 50% chance of one 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 smallest number of trials by which a geometric process reaches at least a 50% chance of one 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
m = ceil[ln(0.5) ÷ ln(1 − p)].
With p=0.20 per trial, the median waiting time is 4 trials. At p=1, success is certain on the first trial, so the median is 1.
Intermediate values are kept unrounded; the displayed result is rounded for readability.
Interpreting the statistic
The median is the smallest whole trial count by which cumulative success probability reaches at least one half; because trials are discrete, it may exceed exactly 50%. The formula assumes independent attempts with the same success probability p; changing success chances require a different model.
Assumptions and limitations
Counts trials including the successful trial and assumes independent attempts with constant success probability.
Frequently asked questions
How is the discrete median waiting time selected?
m = ceil[ln(0.5) ÷ ln(1 − p)]. With p=0.20 per trial, the median waiting time is 4 trials.
What does a median of four trials mean?
By trial four, the cumulative probability of at least one success has reached one half. The median is a discrete threshold and is distinct from the mean 1/p.
How do I use the Geometric distribution median 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 median trials?
m = ceil[ln(0.5) ÷ ln(1 − p)]. With p=0.20 per trial, the median waiting time is 4 trials. At p=1, success is certain on the first trial, so the median is 1. Intermediate values are kept unrounded; the displayed result is rounded for readability.
What does the Geometric distribution median trials calculator calculate?
Find the smallest number of trials by which a geometric process reaches at least a 50% chance of one success.
Read the calculation methodology and privacy policy.
Source: Penn State STAT 414: Geometric and Negative Binomial Distributions.