
Binomial distribution for AP Statistics: conditions, formulas and examples




Table of contents
- Where the binomial distribution fits in AP Statistics
- What makes a random variable binomial
- The binomial probability formula
- Calculating binomial probabilities with your calculator
- Mean and standard deviation of a binomial distribution
- The shape of a binomial distribution
- Binomial vs. normal distributions
- Where binomial distributions show up in real life
- Estimating binomial probabilities with simulation
- Common mistakes
- How binomial questions show up on the exam
- Study tips
- Key takeaways
A binomial distribution describes the number of successes in a fixed number of independent trials, when every trial has two possible outcomes and the same probability of success. Flip a fair coin 5 times and count the heads, or take 12 free throws and count the makes: both counts follow a binomial distribution. On the AP Statistics exam, this is Topic 2.10 in Unit 2, and you are asked to justify that a situation is binomial, calculate probabilities, find the mean and standard deviation, and interpret each one in context.
This guide covers the conditions, the formula, the calculator commands, how the binomial differs from the normal distribution, and the mistakes that cost points. It follows College Board’s course and exam description (effective fall 2026), which is the course students take in 2026-27 and the one the May 2027 exam covers. For the full map of the course, see our AP Statistics units guide.
Where the binomial distribution fits in AP Statistics
Unit 2, Probability, Random Variables, and Probability Distributions, is about 15–25% of the multiple-choice section and about 24 class periods. The binomial distribution is Topic 2.10, with a suggested 2 class periods, after discrete random variables and their parameters and before the normal distribution. The course description lists five learning objectives for it:
- Justify why a random variable is or is not binomial.
- Calculate the mean and standard deviation of a binomial distribution.
- Interpret the mean, standard deviation and probabilities in context.
- Estimate probabilities of binomial random variables using data from a simulation.
- Calculate probabilities for a binomial distribution.
The topic also prepares you for Unit 3, Inference for Categorical Data: Proportions (15–25%), which the course description describes as inference about binomial population proportions. Older study materials also teach the geometric distribution, which counts the trials needed to get the first success. It was removed from the course for 2026-27, so you can skip it.
What makes a random variable binomial
A binomial random variable, X, counts the number of successes in repeated independent trials that each have only two possible outcomes, a success with probability p and a failure with probability 1 − p. In practice, you check four conditions:
- Two outcomes. Every trial is a success or a failure. "Success" only names what you are counting, so it can be a defective part or a positive test.
- Independent trials. The outcome of one trial does not change the probability of another.
- A fixed number of trials. The number of trials, n, is set before you start.
- The same probability. The probability of success, p, is the same on every trial.
If any one fails, the situation is not binomial. On a free-response question, name each condition in the context of the problem instead of just writing "it is binomial."
Situation | Binomial? | Why |
|---|---|---|
Number of heads in 20 flips of a fair coin | Yes | Two outcomes, 20 trials, independent flips, p = 0.5 each time. |
Number of 12 free throws made by a player who makes 80% of them, if the shots are independent | Yes | Fixed n = 12, two outcomes, and p = 0.8 stays the same. |
Number of defective parts in a random sample of 20 from a large production run that is 5% defective | Yes, approximately | Sampling without replacement changes p slightly, but a small sample from a large population keeps it nearly constant. A common rule is to treat the trials as independent when the sample is less than 10% of the population. |
Number of hearts in 5 cards dealt from one deck | No | Each card dealt changes the probability for the next, so the trials are not independent and p is not constant. |
Number of flips needed to get the first head | No | The number of trials is not fixed. This is the geometric setting, which is no longer in the course. |
The number showing on one roll of a die | No | Six outcomes, not two. Counting the sixes in 10 rolls is binomial. |
The binomial probability formula
The probability that a binomial random variable X has exactly x successes in n trials, when the probability of success is p, is:
P(X = x) = C(n, x) · pˣ · (1 − p)ⁿ⁻ˣ, for x = 0, 1, 2, …, n
C(n, x), read "n choose x", is the number of ways to place x successes among n trials: C(n, x) = n! / (x! · (n − x)!). The next two factors are the probability of one particular arrangement of x successes and n − x failures. The formula is on the formula sheet College Board gives you for both sections (see our AP Stats formula sheet guide), so you do not need to memorize it, but you do need to know what each part means.
Example 1: 3 heads in 5 flips. Let X be the number of heads in 5 flips of a fair coin, so X is binomial with n = 5 and p = 0.5. Then C(5, 3) = 5! / (3! · 2!) = 10, and:
P(X = 3) = 10 · (0.5)³ · (0.5)² = 10 · 0.03125 = 0.3125
There is a 31.25% chance of exactly 3 heads in 5 flips.
Calculating binomial probabilities with your calculator
The exam expects a graphing calculator with statistical capabilities for both sections (see the AP calculator policy), so in practice the arithmetic is one command. On a TI-84, open the distribution menu (2nd, VARS) and use:
- binompdf(n, p, x) for P(X = x), the probability of exactly x successes.
- binomcdf(n, p, x) for P(X ≤ x), the probability of x or fewer successes.
Other graphing calculators and statistics software have the same two functions under similar names. Whatever you use, write down the setup, meaning the distribution, n, p and the probability you want, so a reader can follow your thinking even when a command does the arithmetic. The cumulative command only adds up from 0, so the wording of the question decides what you type:
The question says | Write | Calculator |
|---|---|---|
Exactly 3 | P(X = 3) | binompdf(n, p, 3) |
At most 3, or 3 or fewer | P(X ≤ 3) | binomcdf(n, p, 3) |
Fewer than 3 | P(X ≤ 2) | binomcdf(n, p, 2) |
At least 3, or 3 or more | P(X ≥ 3) = 1 − P(X ≤ 2) | 1 − binomcdf(n, p, 2) |
More than 3 | P(X ≥ 4) = 1 − P(X ≤ 3) | 1 − binomcdf(n, p, 3) |
Between 2 and 4, inclusive | P(2 ≤ X ≤ 4) = P(X ≤ 4) − P(X ≤ 1) | binomcdf(n, p, 4) − binomcdf(n, p, 1) |
Example 2: guessing on a quiz. A quiz has 10 multiple-choice questions with four choices each, and a student guesses on every one. What is the probability of getting at least 3 right?
- Let X be the number of correct guesses. The question has two outcomes (right or wrong), 10 fixed trials, independent guesses, and the same probability of a correct guess, p = 0.25, each time. So X is binomial with n = 10 and p = 0.25.
- "At least 3" means P(X ≥ 3) = 1 − P(X ≤ 2) = 1 − binomcdf(10, 0.25, 2) = 1 − 0.5256 = 0.4744.
- In context: there is about a 47% chance that a student who guesses on all 10 questions gets 3 or more right.
Mean and standard deviation of a binomial distribution
For a binomial random variable, the mean and standard deviation have short formulas, which are also on the formula sheet:
- Mean: μ = np
- Standard deviation: σ = √(np(1 − p))
The mean is the expected number of successes in n trials, not per trial. If you flip a fair coin 80 times, the mean is 80 · 0.5 = 40 heads, and the standard deviation is √(80 · 0.5 · 0.5) = √20 ≈ 4.47 heads.
The mean does not have to be a possible outcome. If you roll a fair die 10 times and count the sixes, n = 10 and p = 1/6, so μ = 10/6 ≈ 1.67 sixes and σ = √(10 · 1/6 · 5/6) ≈ 1.18 sixes. You cannot roll 1.67 sixes, but over many sets of 10 rolls the average number of sixes settles near it.
The course asks you to interpret these values in context, and a template keeps you from losing the points: "In repeated sets of [n trials], the number of [successes] typically varies from the mean of [μ] by about [σ]." For the coin example: "In repeated sets of 80 flips, the number of heads typically varies from the mean of 40 by about 4.47 heads."
The shape of a binomial distribution
To graph a binomial distribution, put the number of successes (0 to n) on the horizontal axis and the probability of each on the vertical axis. The shape depends on n and p:
- When p = 0.5, the graph is symmetric.
- When p is small, it is skewed right, because few successes are most likely. The guessing example (n = 10, p = 0.25) peaks at 2 correct answers, with a long tail to the right.
- When p is large, it is skewed left.
- As n grows, the graph looks more and more like a bell curve.
That last point is why the procedures for proportions in Unit 3 can use the normal distribution, as long as there are enough expected successes and failures. A common rule of thumb is that both np and n(1 − p) are at least 10. Our binomial distribution definition covers the connection.
Binomial vs. normal distributions
Both distributions are in Unit 2, and mixing them up is a common source of lost points. The key difference is what you are counting or measuring:
Binomial | Normal | |
|---|---|---|
Type of variable | Discrete: a count of successes, a whole number from 0 to n | Continuous: any value along a number line |
Parameters | n (number of trials) and p (probability of success) | The mean μ and the standard deviation σ |
Shape | Depends on n and p, and can be skewed | Symmetric and bell-shaped |
Probability of one exact value | Can be positive, such as P(X = 3) | Always 0, so you find the area over an interval |
Calculator | binompdf and binomcdf | normalcdf and invNorm |
Typical question | What is the probability of at least 7 successes in 10 trials? | What proportion of values fall above 70, or what cutoff marks the top 10%? |
See our definitions of the normal distribution and the probability distribution for a refresher.
Where binomial distributions show up in real life
Exam questions wrap the binomial setup in a context, and recognizing the pattern is half the work. Typical settings include:
- Quality control: the number of defective items in a random sample from a production line.
- Medical studies: the number of patients in a trial of n patients who respond to a treatment.
- Surveys: the number of people in a random sample who answer "yes" to a question.
- Sports: the number of shots made out of a fixed number of attempts, assuming each has the same chance.
- Classification and testing: the number of correct answers when guessing on a test, or the number of items in a batch that a screening test flags.
In each one, check the four conditions before you use the formula. Real situations are often only approximately binomial, such as sampling without replacement from a large population, and the question will usually tell you to assume the model fits.
Estimating binomial probabilities with simulation
The course also expects you to estimate a binomial probability from simulated data. To estimate the chance of at least 3 correct answers when guessing on 10 questions, you could generate a random integer from 1 to 4 for each question, let 1 mean a correct guess, count the correct guesses in each simulated quiz, and repeat for many quizzes. The proportion of simulated quizzes with 3 or more correct answers is your estimate. It will not match the exact 0.4744 every time, but it gets closer as the number of repetitions grows, because of the law of large numbers.
Common mistakes
- Not checking the conditions. "It is binomial" earns nothing without the four conditions tied to the context.
- Misreading "at least" and "more than." "At least 3" is P(X ≥ 3), which is 1 − binomcdf(n, p, 2). Subtracting the wrong cumulative probability is the most common calculator error.
- Using binompdf when you need binomcdf. The pdf gives one value. The cdf adds up everything from 0 to that value.
- Entering p as a percent. Use 0.25, not 25.
- Treating the mean as per trial. np is the expected number of successes in all n trials.
- Using the binomial for sampling without replacement from a small population. The probability changes from draw to draw, so the model does not fit.
- Leaving out the interpretation. A probability or a standard deviation with no sentence about the context loses the interpretation point.
How binomial questions show up on the exam
College Board tags Topic 2.10 with four skills: calculating probabilities, calculating means and standard deviations, justifying a claim from a calculation, and interpreting results. The multiple-choice section has 42 questions in 90 minutes, and Unit 2 is 15–25% of it, shared with probability rules, random variables and the normal distribution. The four free-response questions are built around skills rather than units, so binomial reasoning can appear in any of them.
A complete written answer to a binomial question follows the same four steps:
- Define the random variable and check the four conditions in context.
- State n and p.
- Write the probability you need, such as P(X ≥ 3), and the calculator command with its inputs.
- Give the number, then say what it means in the context of the problem.
Study tips
- Write the question’s wording as an inequality before you touch the calculator, using the table above until it is automatic.
- Do a few problems by hand with the formula, so you know what binompdf is doing, then switch to the calculator.
- Practice with the free-response questions on AP Central’s past exam questions page. The exam changed for 2026-27, so skip any question that uses the geometric distribution.
- For another explanation, try the random variables unit on Khan Academy’s AP Statistics course, the free OpenStax chapter on the binomial distribution, or the NIST handbook page for the probability mass function.
- Learn the vocabulary in our AP Statistics vocabulary guide, and see how a practice score translates to an exam score with the AP Statistics score calculator.
- Check the course details, exam date and fees on our AP Statistics exam page, and keep College Board’s AP Statistics course page open as the source for what is tested.
Key takeaways
- A binomial random variable counts successes in a fixed number of independent trials with two outcomes and a constant probability of success. State all four conditions in context.
- P(X = x) = C(n, x) · pˣ · (1 − p)ⁿ⁻ˣ. On the calculator, binompdf gives "exactly" and binomcdf gives "at most."
- For "at least," subtract: P(X ≥ x) = 1 − P(X ≤ x − 1).
- The mean is μ = np and the standard deviation is σ = √(np(1 − p)). Interpret them in context, as the expected number of successes in n trials and the typical distance from it.
- Binomial is Topic 2.10 in Unit 2, which is 15–25% of the multiple-choice section, and it leads into the proportion inference in Unit 3. The geometric distribution is no longer in the course.