Binomial Distribution Examples

These binomial distribution examples show how to work out the probability of a set number of successes in a fixed number of independent trials. Each example puts the numbers into the binomial formula step by step, then checks the answer with our free Binomial Probability Calculator, so you can follow every part of the calculation and repeat it with your own numbers.

Short answer: a binomial distribution gives the probability of getting exactly k successes in n independent trials when each trial has the same success probability p. For example, the probability of exactly 3 heads in 10 flips of a fair coin is C(10, 3) × 0.5³ × 0.5⁷ = 0.1172, or about 11.7%.

What Is a Binomial Distribution?

A binomial distribution is a discrete probability distribution for the number of successes, X, in a fixed number of independent trials. Each trial has just two possible outcomes — success or failure — and the probability of success, p, stays the same on every trial. Flipping a coin, passing or failing an exam question, and a machine producing a good or a faulty part are all binomial situations when those conditions hold.

The probability of exactly k successes in n trials is given by the binomial formula:

P(X = k) = C(n, k) × pk × (1 − p)n − k

Here C(n, k) is the binomial coefficient, the number of ways to choose which k of the n trials are successes: C(n, k) = n! ÷ (k! × (n − k)!). The term pk is the probability that k trials succeed, and (1 − p)n − k is the probability that the other n − k trials fail. The mean of the distribution is μ = np and its standard deviation is σ = √(np(1 − p)). The NIST/SEMATECH e-Handbook of Statistical Methods gives the same probability mass function as the formal definition of the binomial distribution.

How Do You Know a Problem Is Binomial? The BINS Checklist

Before you use the formula, check the four BINS conditions. Every binomial distribution example in this article passes all four:

  • Binary outcomes: each trial ends in success or failure — heads or tails, pass or fail, faulty or good.
  • Independent trials: the result of one trial does not change the probability of the next — one coin flip does not affect the next.
  • Number of trials fixed: the count n is set before you start — 10 flips, 8 students, 25 items.
  • Same probability of success: p is the same on every trial — the coin is fair on every flip and the pass rate does not change from student to student.

If any condition fails, the formula does not apply. The section When It Is NOT Binomial below shows two classic cases that look binomial but are not.

Example 1: Coin Flips — Exactly 3 Heads in 10 Flips

Toss a fair coin 10 times. What is the probability of getting exactly 3 heads?

First, identify n, p and k. The number of trials is n = 10, the success probability is p = 0.5 (a fair coin), and we want exactly k = 3 heads.

  1. Count the arrangements: C(10, 3) = 10! ÷ (3! × 7!) = 120 ways to choose which 3 flips are heads.
  2. Probability those 3 flips are heads: 0.5³ = 0.125.
  3. Probability the other 7 flips are tails: 0.5⁷ = 0.0078125.
  4. Multiply: P(X = 3) = 120 × 0.125 × 0.0078125 = 0.1172.

So the chance of exactly 3 heads in 10 flips of a fair coin is 0.1172, or about 11.7% — roughly a one-in-nine outcome. Check it with the Binomial Probability Calculator by entering n = 10, p = 0.5 and k = 3.

Example 2: Exam Passes — Exactly 6 of 8 Students Pass

Eight students sit an exam and each has a 70% chance of passing. What is the probability that exactly 6 of them pass?

Here n = 8, p = 0.7 and k = 6.

  1. Count the arrangements: C(8, 6) = 8! ÷ (6! × 2!) = 28 ways to choose which 6 students pass.
  2. Probability those 6 pass: 0.7⁶ = 0.117649.
  3. Probability the other 2 fail: 0.3² = 0.09.
  4. Multiply: P(X = 6) = 28 × 0.117649 × 0.09 = 0.2965.

The probability that exactly 6 of the 8 students pass is 0.2965, or about 29.7%. That is the single most likely outcome for this exam, because the mean number of passes is np = 8 × 0.7 = 5.6, which sits closest to 6. Verify it in the Binomial Probability Calculator with n = 8, p = 0.7 and k = 6.

Example 3: Defective Items — Exactly 2 Defects in 25 Items

A factory makes parts with a 4% defect rate. A sample of 25 parts is inspected. What is the probability of finding exactly 2 defective parts?

Here n = 25, p = 0.04 and k = 2. The trials are independent as long as the sample is small compared with total output, so the defect rate stays at 4% from part to part.

  1. Count the arrangements: C(25, 2) = 25! ÷ (2! × 23!) = 300 pairs of parts that could be the defective ones.
  2. Probability those 2 are defective: 0.04² = 0.0016.
  3. Probability the other 23 are good: 0.96²³ = 0.3911.
  4. Multiply: P(X = 2) = 300 × 0.0016 × 0.3911 = 0.1877.

So the chance of exactly 2 defective parts in 25 is 0.1877, or about 18.8%. Run the same numbers in the Binomial Probability Calculator (n = 25, p = 0.04, k = 2) to confirm the 0.1877 result.

Example 4: Email Conversions — Exactly 1 Conversion from 15 Emails

A marketing team sends 15 emails, and each email has an 8% chance of turning into a sale. What is the probability that exactly 1 email converts?

Here n = 15, p = 0.08 and k = 1.

  1. Count the arrangements: C(15, 1) = 15 ways to choose which email converts.
  2. Probability that email converts: 0.08¹ = 0.08.
  3. Probability the other 14 do not: 0.92¹⁴ = 0.3112.
  4. Multiply: P(X = 1) = 15 × 0.08 × 0.3112 = 0.373.

The probability of exactly 1 conversion from 15 emails is 0.373, or about 37.3%. One conversion is the single most likely outcome here, because the average is np = 15 × 0.08 = 1.2 conversions. Verify it in the Binomial Probability Calculator with n = 15, p = 0.08 and k = 1.

Example 5: Treatment Response — All 5 Patients Respond

Five patients receive a treatment that works for 60% of patients. What is the probability that all 5 respond?

Here n = 5, p = 0.6 and k = 5 — success on every trial.

  1. Count the arrangements: C(5, 5) = 1. There is only one way for every patient to respond.
  2. Probability all 5 respond: 0.6⁵ = 0.07776.
  3. Probability the rest fail: there are no remaining trials, so (1 − 0.6)⁰ = 1.
  4. Multiply: P(X = 5) = 1 × 0.07776 × 1 = 0.0778.

So the chance that all 5 patients respond is 0.0778, or about 7.8%. Whenever k = n, the answer is simply pn. Check it in the Binomial Probability Calculator with n = 5, p = 0.6 and k = 5.

Example 6: Free Throws — Exactly 7 of 8 Made

A basketball player makes 75% of her free throws. What is the probability that she makes exactly 7 of her next 8 attempts?

Here n = 8, p = 0.75 and k = 7.

  1. Count the arrangements: C(8, 7) = 8 ways to choose which attempt misses.
  2. Probability those 7 go in: 0.75⁷ = 0.1335.
  3. Probability the other 1 misses: 0.25¹ = 0.25.
  4. Multiply: P(X = 7) = 8 × 0.1335 × 0.25 = 0.2670.

The probability of exactly 7 made from 8 attempts is 0.2670, or about 26.7%. Note there are 8 ways to miss one attempt but only 1 way to make all 8, so exactly 7 is more likely than all 8. Confirm the value in the Binomial Probability Calculator with n = 8, p = 0.75 and k = 7.

All six results together:

ExamplenpkP(X = k)
Coin flips100.5030.1172
Exam passes80.7060.2965
Defective items250.0420.1877
Email conversions150.0810.373
Treatment response50.6050.0778
Free throws80.7570.2670

At Least and At Most: Cumulative Binomial Probabilities

Many real questions ask for “at least” or “at most” rather than “exactly”. For those, add up the probabilities of each value in the range. The Binomial Probability Calculator also reports these cumulative figures, so you can check your addition.

At least 6 passes. In Example 2, the chance that at least 6 of the 8 students pass is the sum of three exact probabilities:

P(X ≥ 6) = P(X = 6) + P(X = 7) + P(X = 8)

  • P(X = 6) = 0.2965
  • P(X = 7) = C(8, 7) × 0.7⁷ × 0.3 = 8 × 0.0824 × 0.3 = 0.1977
  • P(X = 8) = 0.7⁸ = 0.0576

Adding them: 0.2965 + 0.1977 + 0.0576 = 0.5518, or about 55.2%. So more often than not, at least 6 of the 8 students will pass.

At most 2 defects. In Example 3, the chance of 2 or fewer defective parts in 25 is:

P(X ≤ 2) = P(X = 0) + P(X = 1) + P(X = 2)

  • P(X = 0) = 0.96²⁵ = 0.3604
  • P(X = 1) = C(25, 1) × 0.04 × 0.96²⁴ = 25 × 0.04 × 0.3754 = 0.3754
  • P(X = 2) = 0.1877 (worked out in Example 3)

Adding them: 0.3604 + 0.3754 + 0.1877 = 0.9235, or about 92.4%. With a 4% defect rate, a batch of 25 parts is very likely to contain 2 or fewer defects.

The complement shortcut is also worth knowing: the probability of at least one success is 1 − P(X = 0), which avoids adding up a long tail.

When Is a Situation NOT Binomial?

The easiest test is the BINS checklist above. If any condition fails, the counts are not binomial, and the formula gives a wrong answer. Two of the most common traps:

Balls drawn without replacement. Suppose a bag holds 5 red and 5 blue balls and you draw 3 without putting them back. After each draw the mix in the bag changes, so the chance of drawing red changes too. Trials are not independent and p is not constant, so the count of red balls is not binomial.

Tossing a coin until the first head. Suppose you keep tossing until the first head appears, and ask how many tosses that took. The number of trials is not fixed — it depends on the result — so this is a geometric situation, not a binomial one.

The same test catches other cases: a die roll with three outcomes is not binary, and a free-throw shooter whose accuracy improves with practice does not have the same p on every attempt.

When n Is Large: Normal Approximation to the Binomial

When the number of trials is large, adding up many exact binomial terms becomes slow. Then the normal distribution gives a good approximation, with mean μ = np and standard deviation σ = √(np(1 − p)). The rule of thumb is to use it only when np ≥ 5 and n(1 − p) ≥ 5.

For example, take the defect rate from Example 3 and scale it up: 150 parts inspected with a 4% defect rate. Then μ = 150 × 0.04 = 6 and σ = √(150 × 0.04 × 0.96) = √5.76 = 2.4. To estimate the probability of 8 or fewer defects, use the normal approximation with a continuity correction: P(X ≤ 8) ≈ P(Z ≤ (8.5 − 6) ÷ 2.4) = P(Z ≤ 1.04) ≈ 0.851, or about 85%. The exact binomial value is 0.8515, so the approximation is close, and the gap shrinks as n grows.

For large n, use our Normal Approximation to Binomial Calculator instead of adding up the terms by hand. Our supporting guide, Normal Approximation to Binomial Distribution, explains the continuity correction in detail.

Common Mistakes to Avoid

  • Mixing up “exactly” and “at most”. P(X = 2) and P(X ≤ 2) differ by a large margin — in Example 3 the first is 0.1877 and the second is 0.9235.
  • Leaving out the combination. C(n, k) counts the different orders success can appear in. Without it, every answer is too small by a large factor.
  • Using 1 − p in the wrong power. The exponent on p is k and the exponent on (1 − p) is n − k — swapping them changes the result.
  • Applying the formula when BINS fails. Drawing without replacement, or counting trials until the first success, needs a different distribution.
  • Rounding too early. Keep four decimal places through the working and round only at the end.

Frequently Asked Questions About Binomial Distribution Examples

Any situation with a fixed number of independent trials, two outcomes per trial and the same success probability is a binomial distribution example: flipping a coin 10 times and counting heads, checking 25 parts from a production line for defects, or counting how many of 8 students pass an exam.

Use the formula P(X = k) = C(n, k) × p^k × (1 − p)^(n − k). First find C(n, k), then raise p to the power k and (1 − p) to the power (n − k), and multiply the three numbers. You can check the result with the Binomial Probability Calculator.

0.1172, or about 11.7%. With n = 10, p = 0.5 and k = 3, the calculation is C(10, 3) × 0.5³ × 0.5⁷ = 120 × 0.125 × 0.0078125 = 0.1172.

P(X = k) is the probability of exactly k successes, while P(X ≤ k) is the cumulative probability of k or fewer successes — the sum of P(X = 0) through P(X = k). In the defects example, P(X = 2) is 0.1877 and P(X ≤ 2) is 0.9235.

Use the complement: P(X ≥ 1) = 1 − P(X = 0) = 1 − (1 − p)^n. For example, with 8 students and a 70% pass rate, the chance that at least one passes is 1 − 0.3⁸ = 1 − 0.00006561 = 0.9999.

When any BINS condition fails. If items are drawn without replacement, the success probability changes each time; if you toss a coin until the first head appears, the number of trials is not fixed; and if a trial has more than two outcomes, there is no single success probability to use.

The mean is μ = np, where n is the number of trials and p is the success probability. For example, the mean number of heads in 10 fair coin flips is 10 × 0.5 = 5, and the mean number of passes among 8 students with a 70% pass rate is 8 × 0.7 = 5.6.

Yes, when n is large and both np and n(1 − p) are at least 5. The approximation uses mean μ = np and standard deviation σ = √(np(1 − p)), with a continuity correction for accuracy. The Normal Approximation to Binomial Calculator does this calculation for you.

Conclusion

Every example above follows the same pattern: identify n, p and k, count the arrangements with C(n, k), raise p and (1 − p) to their powers, and multiply. Once that pattern clicks, any binomial question — coin flips, exam passes, defects, conversions, treatments or free throws — is the same calculation with different numbers.

Try the method with your own numbers in the free Binomial Probability Calculator: it shows the exact probability, the cumulative probability and the full step-by-step working for each value of k.

Check Tools

Put the examples above into practice with these free tools.