Negative binomial expected trials calculator
Estimate the expected number of trials required to obtain a target count of successes. Enter the values below to see the result and method.
inputs.
Related calculators
Use these tools when your question extends to a neighboring part of the same calculation.
How to use this calculator
Estimate the expected number of trials required to obtain a target count of successes.
- Enter Target successes r, Success probability per trial (0–1). 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.
Define the event or trial model
Estimate the average total number of independent Bernoulli trials needed to observe r successes when each trial succeeds with probability p. The total includes the successful trials.
Inputs and units
Enter a positive whole-number success target r and a per-trial probability p with 0 < p ≤ 1.
- Target successes r: Positive integer count of successes to observe; successful trials are included in total trials.
- Success probability per trial (0–1): Probability of success on each independent trial.
Formula and worked example
Expected trials = r ÷ p.
For 5 successes at p = 0.4, the expected total is 12.5 trials.
Intermediate values are retained until the final display is rounded.
What the probability or expectation means
The result is an expectation, not a forecast for a particular run; individual stopping times are whole numbers and vary around this mean.
Assumptions and limits
Assumes independent trials with a constant success probability and stops when r successes have occurred; p=0 has no finite expectation.
Frequently asked questions
Is the negative binomial expected trials output a probability or an expected value?
It is the mean total trial count, including successes, needed to reach r successes; it does not predict one run.
Which model assumption matters most for the negative binomial expected trials?
Assumes independent Bernoulli trials and counts the successful trials; r must be a positive integer.
How do I use the Negative binomial expected trials calculator?
Enter Target successes r, Success probability per trial (0–1). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Negative binomial expected trials?
Expected trials = r ÷ p. For 5 successes at p = 0.4, the expected total is 12.5 trials. Intermediate values are retained until the final display is rounded.
What does the Negative binomial expected trials calculator calculate?
Estimate the expected number of trials required to obtain a target count of successes.
Read the calculation methodology and privacy policy.