Binomial Probability Formula
A probability formula for
Bernoulli trials. The probability of achieving exactly k successes
in n trials is shown below.
| Formula: |

n = number of trials
k = number of successes
n – k = number of failures
p = probability of success in one trial
q = 1 – p = probability of failure in one
trial |
| Example: |
You are taking a 10 question
multiple choice test. If each question has four choices and
you guess on each question, what is the probability of getting
exactly
7
questions correct?
n = 10
k = 7
n – k = 3
p = 0.25 = probability of guessing the correct answer on
a question
q = 0.75 = probability of guessing the wrong answer on
a question
|
See
also
Binomial coefficients
Worked Example
Problem: You flip a fair coin 8 times. What is the probability of getting exactly 5 heads?
Step 1: Identify the variables. Each flip is an independent trial with two outcomes. Here n = 8, k = 5, p = 0.5 (probability of heads), and q = 0.5 (probability of tails).
n=8,k=5,p=0.5,q=0.5 Step 2: Calculate the binomial coefficient. This counts the number of ways to choose which 5 of the 8 flips land heads.
(58)=5!⋅3!8!=3×2×18×7×6=56 Step 3: Compute the probability of any single arrangement with exactly 5 heads and 3 tails.
pk⋅qn−k=(0.5)5⋅(0.5)3=(0.5)8=2561 Step 4: Multiply the binomial coefficient by the single-arrangement probability.
P(X=5)=56×2561=25656=327≈0.2188 Answer: The probability of getting exactly 5 heads in 8 flips is 7/32, or approximately 0.2188 (about 21.9%).
Another Example
This example uses an unequal probability (p ≠ 0.5), showing how the formula handles a situation where success and failure are not equally likely. It also uses a real-world sports scenario rather than coin flips.
Problem: A basketball player makes 80% of her free throws. In a game, she shoots 6 free throws. What is the probability she makes exactly 4 of them?
Step 1: Identify the variables. Each free throw is independent with a constant success rate. Here n = 6, k = 4, p = 0.8, and q = 0.2.
n=6,k=4,p=0.8,q=0.2 Step 2: Calculate the binomial coefficient.
(46)=4!⋅2!6!=2×16×5=15 Step 3: Compute the success and failure probability terms separately.
p4=(0.8)4=0.4096,q2=(0.2)2=0.04 Step 4: Multiply all three components together.
P(X=4)=15×0.4096×0.04=15×0.016384=0.24576 Answer: The probability she makes exactly 4 out of 6 free throws is approximately 0.2458, or about 24.6%.
Frequently Asked Questions
When do you use the binomial probability formula?
You use it when you have a fixed number of independent trials, each trial has exactly two outcomes (success or failure), and the probability of success stays the same from trial to trial. Common examples include coin flips, multiple-choice guessing, quality control inspections, and free throw shooting.
What is the difference between binomial probability and normal probability?
Binomial probability applies to discrete outcomes — you count exact whole numbers of successes. Normal probability uses a continuous bell curve and calculates probabilities for ranges of values. When n is large, the binomial distribution can be approximated by a normal distribution, which is a useful shortcut.
How do you find the probability of getting 'at least' k successes using the binomial formula?
To find P(X ≥ k), you sum the binomial probabilities for every value from k up to n: P(X = k) + P(X = k+1) + … + P(X = n). Alternatively, you can use the complement: P(X ≥ k) = 1 − P(X ≤ k−1). The complement method often requires fewer calculations.
Binomial Probability vs. Geometric Probability
| Binomial Probability | Geometric Probability |
|---|
| Question answered | Probability of exactly k successes in n trials | Probability that the first success occurs on the kth trial |
| Number of trials | Fixed at n | Not fixed — you keep going until the first success |
| Formula | P(X = k) = C(n,k) · p^k · q^(n−k) | P(X = k) = q^(k−1) · p |
| Typical use case | How many heads in 10 flips? | How many flips until the first head? |
Why It Matters
The binomial probability formula appears throughout high school statistics, AP Statistics, and introductory college courses. You will use it to solve problems about quality control, medical testing, survey sampling, and games of chance. Understanding this formula also lays the groundwork for the normal approximation to the binomial and for more advanced distributions like the negative binomial and the Poisson.
Common Mistakes
Mistake: Forgetting the binomial coefficient and only computing p^k · q^(n−k).
Correction: The term p^k · q^(n−k) gives the probability of one specific arrangement of successes and failures. You must multiply by C(n, k) to count all the different ways those k successes can be distributed among the n trials.
Mistake: Swapping the exponents — putting (n − k) on p and k on q.
Correction: The exponent on p must equal the number of successes k, and the exponent on q must equal the number of failures n − k. A quick check: the two exponents should add up to n.