The binomial distribution: formula, when to use it, examples
5 min read
Short answer
If you repeat an experiment times, each trial independent with the same success probability , the number of successes follows a binomial distribution: The mean is and the variance is .
When it applies: four conditions
Use the binomial model only when all four hold:
- A fixed number of trials.
- Each trial has two outcomes (success or failure).
- Trials are independent.
- The success probability is the same every trial.
Drawing cards without replacement from a small deck breaks independence, so it is not binomial (it is hypergeometric).
Why the formula looks like that
One specific sequence with successes and failures has probability . The factor counts how many different sequences contain exactly successes. Probability of one sequence times the number of sequences is the formula.
Worked example
(a) What is the probability of exactly 3 heads in 10 fair coin tosses? (b) What is the probability of at least one six in 4 rolls of a die?
(a) , , :
(b) "At least one" is easiest through the complement. The chance of no six in one roll is , so
Try it yourself
A free-throw shooter makes 20% of shots. In 5 independent shots, what is the probability of exactly 2 makes?
Show the answer
, about 20.5%.
Keep going with practice
Vidi's Linear Algebra & Probability course has an interactive distribution plot where you change the parameters and watch the bars move.