Complete guide
Use the calculator above to compute exact and cumulative binomial probabilities for pass/fail processes, with a full probability mass function chart, a distribution table and an acceptance-sampling context view. The binomial distribution is the right tool whenever each trial has two outcomes and the probability of success stays constant.
What it is
What is binomial distribution?
The binomial distribution describes the probability of obtaining exactly k successes in n independent trials, where each trial has the same probability p of success. It is the foundation of attribute-sample acceptance plans, defect-rate inference and many quality control techniques.
Calculation logic
How the calculation works
P(X = k) = C(n,k) × pᵏ × (1−p)^(n−k), where C(n,k) is the number of ways to choose k from n. The cumulative version sums probabilities for X ≤ k or X ≥ k. The calculator handles both, plus the practical question "what is the chance of zero defects given this defect rate?".
Common mistakes
Watch-outs before using binomial distribution
- Using the binomial when trials are not independent (e.g. defects clustered in batches).
- Using the binomial when p changes during sampling — switch to a hypergeometric model.
- Using the normal approximation when np or n(1−p) is small (under 5).
- Confusing exact P(X = k) with cumulative P(X ≤ k) — the difference matters for acceptance plans.
- Forgetting that the binomial assumes a fixed n; for variable-stopping sampling, the negative binomial is correct.
What to do next
Turn the result into action
Use the binomial output to set acceptance criteria, validate supplier defect-rate claims, or design pass/fail audits with the right power. Pair with attribute sample size calculations.
What is the binomial distribution?
The probability distribution of the number of successes in n independent trials, where each trial has the same probability p of success.
When should I use the binomial?
When trials are independent, each has two outcomes, and the probability of success stays constant. Examples: supplier defect rates, A/B test conversions, pass/fail audits.
What is the difference between exact and cumulative probability?
Exact: P(X = k) — the chance of exactly k successes. Cumulative: P(X ≤ k) or P(X ≥ k) — the chance of at most or at least k. Acceptance plans usually need cumulative.
When does the binomial break down?
When trials are not independent, when p changes during sampling (use hypergeometric), or when n is large and p is small (the Poisson approximation may be simpler).
How is the binomial used in acceptance sampling?
Acceptance plans use cumulative binomial probabilities to set the maximum allowable defects in a sample at a chosen confidence level. Zero-acceptance plans (c = 0) are a special case.