When to use the binomial distribution
Use it when all four conditions hold: a fixed number of trials n, each trial has two outcomes (success or failure), the probability of success p is the same every time, and the trials are independent. Coin flips, free throws and pass or fail checks on a production line all fit.
C(n, k) is the number of ways to choose which k of the n trials are successes.
Worked example
Flip a fair coin 10 times. The probability of exactly 7 heads is C(10, 7) × 0.5⁷ × 0.5³ = 120 ÷ 1024 = 0.117187. The probability of 7 or more heads is 0.171875.
Turning words into the right probability
| The question says | Use |
|---|---|
| exactly k | P(X = k) |
| at most k, no more than k | P(X ≤ k) |
| fewer than k | P(X < k) = P(X ≤ k − 1) |
| at least k, k or more | P(X ≥ k) = 1 − P(X ≤ k − 1) |
| more than k | P(X > k) = 1 − P(X ≤ k) |
The calculator shows all five so you can pick the one your question asks for.
Mean and standard deviation
A binomial variable has mean np and standard deviation √(np(1 − p)). For 20 trials with p = 0.3, expect about 6 successes, give or take 2.049.
Formulas follow the NIST/SEMATECH e-Handbook of Statistical Methods: binomial distribution.
Frequently asked questions
Which Excel function matches this?
BINOM.DIST(k, n, p, FALSE) gives P(X = k) and BINOM.DIST(k, n, p, TRUE) gives P(X ≤ k).
What if the trials are not independent?
Then the binomial model does not apply. Drawing without replacement from a small group, for example, follows the hypergeometric distribution instead.
Can I use the normal distribution instead?
For large n, when np and n(1 − p) are both at least about 10, the normal curve gives a good approximation. This calculator computes the exact binomial values, so you do not need to.