ScienceMarch 29, 2026

Binomial Probability Explained: Formula, Examples & When to Use It

By The hakaru Team·Last updated March 2026

Quick Answer

  • *Binomial probability calculates the chance of getting exactly k successes in n independent trials, each with probability p of success.
  • *The formula is P(X=k) = C(n,k) × p^k × (1−p)^(n−k), where C(n,k) is the binomial coefficient “n choose k.”
  • *Applications include quality control, clinical trials, A/B testing, and any yes/no experiment with a fixed number of trials.
  • *When np ≥ 5 and n(1−p) ≥ 5, you can approximate the binomial with a normal distribution for easier computation.

What Is Binomial Probability?

Binomial probability answers a specific question: if you run an experiment with two possible outcomes (success or failure) a fixed number of times, what's the chance of seeing exactly k successes?

The word “binomial” comes from the Latin for “two names” — referring to those two outcomes. Flip a coin 10 times and ask how often you get exactly 6 heads. Test 50 widgets off an assembly line and ask how many are defective. Both are binomial problems.

According to the NIST/SEMATECH e-Handbook of Statistical Methods (2012), the binomial distribution is one of the most widely used discrete probability distributions in applied statistics, underpinning quality control standards and acceptance sampling procedures used across manufacturing industries worldwide.

The 5 Conditions for a Binomial Experiment

Before applying binomial probability, verify all five conditions hold. If any one fails, you need a different model.

  1. Fixed number of trials (n). You must know in advance how many times the experiment runs. “Flip a coin 20 times” is fixed. “Flip until you get heads” is not (that's geometric distribution).
  2. Independence. The outcome of one trial cannot affect any other trial. Drawing cards without replacement violates this — use hypergeometric distribution instead.
  3. Two outcomes only. Each trial must result in exactly one of two categories: success or failure, pass or fail, yes or no. You define which outcome counts as “success.”
  4. Constant probability (p). The probability of success must stay the same for every trial. If a production line degrades over time and the defect rate increases, p is not constant.
  5. Counting successes. You are measuring how many successes occur across all n trials, not the timing or order of those successes.

The Binomial PMF Formula

The probability mass function (PMF) for a binomial distribution is:

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

Where:

  • n = total number of trials
  • k = number of successes you want to find the probability for
  • p = probability of success on a single trial
  • C(n, k) = “n choose k” = n! / (k! × (n − k)!) — the number of ways to arrange k successes in n trials
  • (1 − p) = probability of failure on a single trial (often written as q)

The three terms multiply together: C(n, k) counts the arrangements, p^k captures the probability of the successes, and (1−p)^(n−k) captures the probability of the failures.

Worked Example: Coin Flips

You flip a fair coin (p = 0.5) 10 times. What's the probability of getting exactly 6 heads?

P(X = 6) = C(10, 6) × 0.5^6 × 0.5^4
C(10, 6) = 10! / (6! × 4!) = 210
P(X = 6) = 210 × 0.015625 × 0.0625
P(X = 6) = 210 × 0.000977 ≈ 0.2051 (about 20.5%)

Binomial Probability Table: n = 10, p = 0.5

The full distribution for 10 coin flips shows the probability of each possible outcome from 0 heads to 10 heads.

Successes (k)P(X = k)Cumulative P(X ≤ k)
00.00100.0010
10.00980.0107
20.04390.0547
30.11720.1719
40.20510.3770
50.24610.6230
60.20510.8281
70.11720.9453
80.04390.9893
90.00980.9990
100.00101.0000

Notice the symmetry around k = 5 when p = 0.5 — a hallmark of a fair binomial experiment. Getting exactly 5 heads is the most likely single outcome at 24.6%, but there's still a 37.7% chance of getting 5 or fewer heads (and 37.7% of getting 5 or more).

Mean, Variance, and Standard Deviation

You don't need to calculate every probability to understand a binomial distribution. Three summary statistics tell you most of what you need.

StatisticFormulaExample: n=20, p=0.3
Mean (expected value)μ = n × p20 × 0.3 = 6.0
Varianceσ² = n × p × (1 − p)20 × 0.3 × 0.7 = 4.2
Standard deviationσ = √(n × p × (1 − p))√4.2 ≈ 2.05

In plain terms: if you run 20 trials each with a 30% success rate, you'd expectabout 6 successes on average, with a typical spread of roughly ±2 successes.

4 Real-World Applications of Binomial Distribution

1. Statistical Quality Control (SQC)

Manufacturing and production lines use binomial probability in acceptance sampling — the practice of inspecting a batch of items and deciding whether to accept or reject the whole lot. The American Society for Quality (ASQ) reports that SQC methods based on binomial distributions have been embedded in ISO 2859 international sampling standards since 1974, and are used by industries ranging from semiconductors to food packaging.

A quality engineer might sample 50 items from a batch (n = 50) and set p = 0.02 as the acceptable defect rate. The binomial distribution tells them how likely they are to find 0, 1, 2, or more defects under that assumption — and at what threshold the evidence suggests the true defect rate is too high.

2. Clinical Trials and Drug Efficacy

When a drug either works or doesn't for each patient, outcomes are binary. The FDA requires clinical trials to calculate the probability that observed success rates could arise by chance — a fundamentally binomial calculation. According to a 2022 analysis in the Journal of Biopharmaceutical Statistics, binomial-based exact tests (Fisher's exact test) are used in over 60% of phase II oncology trial primary endpoints.

3. A/B Testing in Product and Marketing

Conversion rates are binomial: a visitor either converts or doesn't. When you run an A/B test with n = 1,000 visitors per variant and observe conversion rates, binomial probability underpins the significance tests that tell you whether the difference is real. Tools like Google Optimize and Optimizely calculate binomial confidence intervals under the hood.

4. Genetics and Heredity

Mendel's laws of inheritance follow binomial patterns. If both parents are carriers of a recessive trait with a 25% chance of passing it to any child (p = 0.25), the probability that exactly 2 of 4 children inherit the trait is a straightforward binomial calculation: P(X = 2) = C(4,2) × 0.25² × 0.75² ≈ 21.1%.

Binomial vs. Normal Distribution: When to Switch

The binomial distribution is exact but computationally heavy for large n. When the sample size is large enough, statisticians use the normal distribution as an approximation — much easier to work with using standard z-tables.

The standard rule of thumb, documented in Montgomery's Applied Statistics and Probability for Engineers (6th ed., 2014), is to use the normal approximation when both of these hold:

  • np ≥ 5
  • n(1 − p) ≥ 5

Under those conditions, X is approximately normal with mean μ = np and standard deviation σ = √(np(1−p)).

SituationRecommended Distribution
Small n (n < 30) or extreme pExact binomial
Large n, moderate p (np ≥ 5 and n(1−p) ≥ 5)Normal approximation to binomial
Large n, very small p (p < 0.01)Poisson approximation
Sampling without replacement from finite populationHypergeometric distribution

Common Mistakes When Using Binomial Probability

Assuming Independence When There Isn't Any

Drawing items from a small batch without replacing them violates independence. The probability of a defect on the 2nd draw changes based on what happened on the 1st. For small finite populations, use hypergeometric distribution.

Confusing P(X = k) with P(X ≥ k)

“At least k successes” is not the same as “exactly k successes.” P(X ≥ k) requires summing all terms from k to n, or using the complement: 1 − P(X ≤ k−1). Our binomial probability calculator computes both exact and cumulative probabilities automatically.

Using the Wrong p

p must be the probability of success on a single trial, expressed as a decimal between 0 and 1. A 3% defect rate is p = 0.03, not p = 3. This sounds obvious, but it's one of the most common input errors.

Applying Binomial to Non-Binary Outcomes

If a quality test has three outcomes — pass, marginal, fail — you can't directly apply binomial. You'd need to collapse categories (pass vs. not-pass) or use a multinomial distribution.

Calculate binomial probabilities instantly

Use our free Binomial Probability Calculator →

Enter n, k, and p to get exact and cumulative probabilities with a full distribution table.

Frequently Asked Questions

What is binomial probability?

Binomial probability is the likelihood of getting exactly k successes in n independent trials where each trial has the same probability p of success. It uses the formula P(X=k) = C(n,k) × p^k × (1−p)^(n−k). Classic examples include coin flips, pass/fail quality checks, and yes/no survey responses.

What are the 5 conditions for a binomial experiment?

A binomial experiment requires: (1) a fixed number of trials n, (2) each trial is independent, (3) exactly two outcomes per trial (success or failure), (4) a constant probability p of success on every trial, and (5) you are counting the total number of successes. If any condition fails, another distribution applies.

What is the difference between binomial and normal distribution?

Binomial distribution is discrete — it counts whole-number successes in a fixed number of trials. Normal distribution is continuous and bell-shaped. When n is large and p is not extreme (np ≥ 5 and n(1−p) ≥ 5), the binomial distribution approximates the normal distribution, which is easier to work with mathematically.

How do you calculate the mean and variance of a binomial distribution?

For a binomial distribution with n trials and success probability p, the mean (expected value) is μ = n × p, and the variance is σ² = n × p × (1−p). The standard deviation is the square root of the variance. For example, 20 coin flips (n=20, p=0.5) has a mean of 10 and a standard deviation of about 2.24.

When should I use a binomial distribution vs. a Poisson distribution?

Use binomial when you have a fixed number of trials and count successes. Use Poisson when you are counting events over a continuous interval of time or space with no fixed upper limit — like calls per hour or defects per square meter. As n gets very large and p very small, the binomial approaches the Poisson distribution.

What does P(X ≥ k) mean in binomial probability?

P(X ≥ k) is the cumulative probability of getting at least k successes. You calculate it by summing P(X=k) + P(X=k+1) + … + P(X=n), or equivalently 1 minus the cumulative probability P(X ≤ k−1). Most calculators and statistical tables give you this directly so you do not need to sum each term manually.