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.

Core formula
P(X=k) = C(n,k) ⋅ pk ⋅ (1−p)n−k
C(n,k) = n! / [k!(n−k)!]
μ = np    σ = √[np(1−p)]

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
How it works

The binomial distribution explained

PMF

Probability mass function

P(X=k) = C(n,k) ⋅ p² ⋅ (1−p)^(n−k). This gives the probability of exactly k successes (or defects) in n independent trials when each trial has probability p of success. The binomial requires: fixed n, independent trials, constant p, binary outcomes.

CDF

Cumulative probabilities

P(X ≤ k) is the sum of all PMF values from 0 to k — the probability of at most k successes. P(X ≥ k) = 1 − P(X ≤ k−1). These are essential for acceptance sampling decisions: "what is the probability of accepting a lot with c or fewer defects?"

Six Sigma applications

Attribute sampling uses the binomial to evaluate acceptance plans. If you inspect n items from a lot with defect rate p, the probability of finding k or fewer defects is P(X ≤ k). Setting k=0 gives the c=0 plan probability. Compare this to the producer's risk (α) and consumer's risk (β) to evaluate plan quality.