Statistics & Probability

Negative Binomial Failures Probability Calculator

Calculate the probability of a specified number of failures before a chosen success count.

How the calculation works

Probability of exactly these failures = negative_binomial_pmf(successes,failures,probability) probability. Expected failures = successes*(1-probability)/probability failures. Expected total trials = successes/probability trials.

Worked example

Example inputs — Required successes r: 3; Failures before the r-th success: 2; Success probability per independent trial: 0.5. Expected results — Probability of exactly these failures: 0.1875 probability; Expected failures: 3 failures; Expected total trials: 6 trials.

Assumptions and limits

Statistical model only: input assumptions and data quality determine whether a result is meaningful. No observational dataset is uploaded. Use dots for decimals and no thousands separators in lists. Counts failures before the r-th success. This parameterization differs from counting total trials or using mean/dispersion parameters.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.