Statistics & Probability

The Binomial Distribution Explained Step by Step

By Math Solving Space · · 1 min read

On this page
  1. The four conditions (BINS)
  2. The formula
  3. Worked example 1: coin flips
  4. Worked example 2: at least 3 sixes
  5. Mean and standard deviation
  6. Common mistakes
  7. Practice questions
  8. Frequently asked questions

The binomial distribution gives the probability of exactly kk successes in nn independent trials, each with the same probability of success pp. The formula is (nk)pk(1−p)n−k\binom{n}{k}p^k(1-p)^{n-k}: the number of ways to choose which trials succeed, times the probability of each such way.

The four conditions (BINS)

  • Binary: each trial is success or failure.
  • Independent trials.
  • N: a fixed number of trials.
  • Same probability pp each time.

The formula

P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}

Worked example 1: coin flips

Exactly 6 heads in 10 fair flips:

(106)(0.5)6(0.5)4=2101024≈0.2051\binom{10}{6}(0.5)^6(0.5)^4 = \frac{210}{1024} \approx 0.2051

Worked example 2: at least 3 sixes

Roll 12 dice. The chance of at least three sixes uses the complement:

P(X≥3)=1−[P(0)+P(1)+P(2)]≈0.3226P(X \ge 3) = 1 - [P(0) + P(1) + P(2)] \approx 0.3226

Mean and standard deviation

μ=npσ=np(1−p)\mu = np \qquad \sigma = \sqrt{np(1-p)}

For 12 dice and sixes: μ=2\mu = 2, σ≈1.29\sigma \approx 1.29.

Common mistakes

  • Forgetting the (nk)\binom{n}{k} factor.
  • Using the binomial when the trials are not independent (drawing without replacement from a small group).
  • Confusing "at least 3" with "more than 3".

Practice questions

  1. Probability of exactly 2 heads in 4 fair flips?
  2. Mean number of heads in 50 flips?
  3. Probability of no sixes in 3 rolls?

Answers: 1) 616=0.375\frac{6}{16} = 0.375 2) 25 3) (56)3≈0.5787\left(\frac{5}{6}\right)^3 \approx 0.5787

The binomial distribution calculator charts the whole distribution with your answer highlighted. Counting comes from the permutation and combination calculator, explained in permutations vs combinations.

Frequently asked questions

What does C(n, k) count?

The number of different ways to choose which k of the n trials are the successes.

When is the binomial close to normal?

When np and n(1 − p) are both at least about 10.

What if the trials are not independent?

Use another model, such as the hypergeometric distribution for sampling without replacement.

Open the calculator →

#probability#distributions