Home Templates Calculators Videos Academy Software About Contact Login
Statistics

Binomial Distribution Calculator

Calculate exact and cumulative binomial probabilities for pass/fail processes — with a full probability mass function chart, distribution table, and Six Sigma acceptance sampling context.

PDF Guide
Was this useful?

Enter your parameters

Define the distribution, then choose the probability type to calculate.

Distribution parameters
Sample size — up to 1000 Enter a whole number from 1 to 1000.
Defect rate per trial (0 to 1) Enter a probability between 0 and 1.
The exact number of successes you want the probability for Enter a whole number k between 0 and n.
Calculates P(X ≤ k) and P(X ≥ k) simultaneously Enter a whole number k between 0 and n.
Minimum successes (inclusive) Enter a valid lower bound.
Maximum successes (inclusive) Enter a valid upper bound ≥ a.
🎲

Ready to calculate

Enter the number of trials, probability of success, and your target number of successes — then choose exact, cumulative, or range probability.

Probability
What this means

Probability Mass Function
Binomial B(n, p) — bar height = P(X = k)
Distribution Table
Probability for each possible outcome
kP(X=k)P(X≤k)P(X≥k)
Practical Guidance
How to apply binomial probabilities in quality and Six Sigma contexts
Simulation Lab

Binomial Simulation

5% defect rate, batch of 20, inspector checks them all. Enter the lab and find the probability of exactly 2 defectives appearing.

Complete guide

Binomial Distribution Calculator 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?".

Worked example

Worked example: probability of zero defects

A supplier claims a 2% defect rate. You inspect 100 units. The probability of finding zero defects: P(X = 0) = C(100,0) × 0.02⁰ × 0.98¹⁰⁰ ≈ 0.133, or 13%. There is an 87% chance of seeing at least one defect — useful context for acceptance decisions.

If the actual rate is 5%, P(X = 0) drops to 0.6%. A zero-defects result from 100 units is very strong evidence the rate is well below 5% — but not below 1%. The binomial lets you calculate exactly what the data says.

Why it matters

Operational impact

Binomial probabilities turn defect counts into defensible statements about underlying defect rates. They make acceptance sampling work rigorously rather than by gut feel.

Decision making

When to use it

Use the binomial for any pass/fail data with a constant success probability — supplier audits, sample acceptance, A/B test results, machine reliability and survey response.

Lean Six Sigma

Link to Six Sigma

The binomial sits behind attribute sample size, p-chart and np-chart control charts, and defect-rate inference. It is also the foundation for the rare-event Poisson approximation.

Industry examples

Where binomial distribution is useful

Quality controlCompute the probability of acceptance plans giving the right answer.
Reliability engineeringCalculate probabilities for pass/fail life tests.
MarketingCalculate conversion rate probabilities in A/B test cohorts.
HealthcareCompute probabilities for diagnostic tests with binary outcomes.
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.

Resources

Templates, videos and learning

Combine the binomial with attribute sample size, p-charts and DPMO for a complete pass/fail inferential workflow.

Frequently asked questions

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.

Want to understand how binomial distributions apply to pass/fail and defect analysis? The Green Belt covers this in full.

View Green Belt →
l>