Find the chance of a number of successes in a fixed number of independent trials: exactly k, at most k, at least k or a range, with the mean and spread.
P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ
As a decimal (0.25), a percentage (25%) or a fraction (1/4). "Between" includes both ends.
The binomial distribution gives the chance of each possible number of successes in a fixed number of independent yes/no trials. Each trial has the same chance of success, p, and the trials don't affect one another.
Four conditions make a situation binomial: a fixed number of trials, two outcomes per trial, a constant chance of success and independence. Defective parts in a sample, patients who respond to a treatment and free throws made all fit when those hold.
It breaks down when trials influence each other or when sampling without replacement from a small group, as with drawing cards. That case needs the hypergeometric distribution instead.
As given in the NIST/SEMATECH e-Handbook, section 1.3.6.6.18. See Sources.
C(n, k) counts the orders in which the k successes can fall among the n trials.
The expected number is only 1.5, yet almost half of samples contain two or more bad parts. A rule like "stop the line at two defects" would trigger often even when nothing has changed.
n = 15 and p = 0.1. Read across for exact, cumulative and upper-tail probabilities.
| k | P(X = k) | P(X ≤ k) | P(X ≥ k) |
|---|---|---|---|
| 0 | 0.2059 | 0.2059 | 1 |
| 1 | 0.3432 | 0.549 | 0.7941 |
| 2 | 0.2669 | 0.8159 | 0.451 |
| 3 | 0.1285 | 0.9444 | 0.1841 |
| 4 | 0.0428 | 0.9873 | 0.0556 |
| 5 | 0.0105 | 0.9978 | 0.0127 |
Whichever outcome you’re counting. It needn’t be good: a defective part or a side effect can be the “success”.
Binomial has a fixed number of trials. Poisson counts events in an interval with no fixed upper limit. With many trials and a small p, the two give nearly the same answers.
The mode is ⌊(n + 1)p⌋. For 15 parts at 10% it’s 1.
=BINOM.DIST(k, n, p, FALSE) for exactly k, TRUE for at most k. For a range, use =BINOM.DIST.RANGE(n, p, k1, k2).
The TI calculator names: binompdf for exactly k, binomcdf for at most k.
Yes, up to 10,000 here. The calculator works in logarithms, so it doesn’t overflow the way factorials do.
A common rule is when np and n(1 − p) are both at least 10. Use a continuity correction of 0.5 at the boundaries.
Yes. Between 2 and 4 means 2, 3 or 4 successes.
Related Tools
Gaussian probabilities.
Z-score from probability.
Rare event frequency.
Time between events.
Equal probability distribution.
Calculate beta probabilities.