All guides

The Binomial Distribution: Counting Successes in Fixed Trials

Four conditions make a binomial

A count follows the binomial distribution when four things hold: a fixed number of trials, each trial ending in success or failure, the same probability of success every time, and trials that do not influence each other. Ten coin tosses, twenty multiple-choice guesses, a hundred components inspected for defects: all fit. The distribution then gives the probability of every possible count, from zero successes to all of them. Its two parameters, n and p, pin down everything: the mean is np, and the standard deviation is the square root of np times (1 minus p). When a condition fails, the model bends: sampling without replacement from a small batch, for example, changes the probability as you go, and a hypergeometric model is the honest replacement.

What the shape tells you

When p is 0.5 the distribution is symmetric, piled in the middle. Ten fair coin tosses land on exactly five heads with probability about 0.246, and the chance of two or fewer heads is only about 0.055, which is why a run of bad luck can be measured rather than just felt. As p slides toward 0 or 1, the pile leans against the nearer wall and skews. For large n the shape smooths toward the normal curve, which is why the bell curve keeps reappearing: a binomial with enough trials is well approximated by a normal distribution with the same mean and standard deviation, a shortcut statisticians use daily. The spread also carries a lesson: the standard deviation grows only with the square root of n, so doubling the trials does not double the typical deviation from expectation.

The questions it answers

Binomial thinking runs quality control, clinical trials and A/B testing. If a factory's defect rate is truly 2 percent, how surprising are 9 defects in a batch of 200? The binomial gives the probability of 9 or more under the claim, and a tiny answer says the claim is in trouble. If a drug helps 30 percent of patients on standard care, the chance that 18 or more of 40 improve by luck alone comes from the same calculation. Sign tests, pass rates, conversion counts and goal tallies are all binomial at heart. The calculator below returns the probability of exactly k successes and of k or fewer, which covers nearly every practical question this distribution is asked.

Try it with your own numbers

The free calculators that go with this guide:

Calculate binomial probabilities