In probability and statistics, the binomial distribution is a probability distribution which models the probabilities of having a certain number of successes among n identical trials (each having p as the probability of success). It is also written as . The variables n and p are thus the two parameters of a binomial distribution.

The binomial distribution has discrete values. It counts the number of successes in yes/no-type experiments. Each of these experiment, also called Bernoulli trial, either results in success or failure. Examples of binomial distribution include:

  • Tossing a coin 10 times, and counting the number of face-ups. (n=10, p=1/2)
  • Rolling a dice 10 times, and counting the number of sixes. (n=10, p=1/6)
  • Counting the number of green-eyed people among 500 randomly chosen people (assuming that 5% of all people have green eyes). (n=500, p=0.05)

In order to use the binomial distribution, the following must be true about the problem: