Binomial formula in AP Statistics

The binomial formula, P(X = x) = C(n,x) · p^x · (1-p)^(n-x), calculates the probability of exactly x successes in n independent trials when each trial has success probability p. In AP Stats, it's the binomial probability function from Topic 4.10 (LO 4.10.B).

Verified for the 2027 AP Statistics examLast updated June 2026

What is the binomial formula?

The binomial formula tells you the probability that a binomial random variable X lands on exactly x successes. It's written P(X = x) = C(n,x) · p^x · (1-p)^(n-x), where n is the number of trials, p is the probability of success on each trial, and C(n,x) (read "n choose x") counts how many different orderings of x successes and n-x failures are possible.

Each piece has a job. The term p^x is the probability of getting x successes, (1-p)^(n-x) is the probability of getting the remaining n-x failures, and C(n,x) accounts for the fact that those successes could happen in any order. Multiply them together and you've covered every arrangement. The formula only works when the setup is genuinely binomial, meaning a fixed number of trials, exactly two outcomes per trial (success or failure), independent trials, and the same p every time.

Why the binomial formula matters in AP® Statistics

This formula lives in Topic 4.10 (Introduction to the Binomial Distribution) in Unit 4 and directly supports learning objective 4.10.B, which asks you to calculate probabilities for a binomial distribution. The CED calls it the binomial probability function. Its partner objective, 4.10.A, has you estimate the same probabilities through simulation, so you should understand the formula as the exact answer that a simulation only approximates. Beyond Unit 4, binomial thinking is the foundation for counting successes in samples, which is exactly what inference for proportions is built on later in the course.

How the binomial formula connects across the course

Binomial Random Variable (Unit 4)

The formula is meaningless without the variable it describes. X has to count successes in n independent two-outcome trials with constant p. Check that setup first; only then does the formula apply.

Independent Trials (Unit 4)

Independence is what lets you multiply p^x by (1-p)^(n-x). If one trial's outcome changes the next trial's probability, the multiplication breaks and the binomial formula gives wrong answers.

Simulation Estimates of Probability (Unit 4)

LO 4.10.A pairs with the formula. Running 500 simulated trials of Bin(15, 0.4) and finding P(X = 6) ≈ 0.22 gives an estimate; the binomial formula gives the exact value that estimate is chasing.

Mean and Standard Deviation of a Binomial (Unit 4)

Exam questions often combine the two. You compute the mean np and standard deviation, then use the binomial formula (or cumulative sums of it) to find the probability X falls within one standard deviation of the mean.

Is the binomial formula on the AP® Statistics exam?

Multiple-choice questions test this formula three ways. First, straight calculation, like finding the probability a guessing student gets between 2 and 4 correct answers out of 10 questions with p = 0.25 (you apply the formula at x = 2, 3, and 4 and add). Second, assumption-checking, where a stem asks which condition is NOT required for the formula to be valid, so you need the binomial conditions cold. Third, interpretation, like recognizing that a simulated estimate of P(X = 6) approximates what the formula computes exactly. On the calculator, binompdf(n, p, x) does exactly what the formula does, and binomcdf handles "at most" probabilities. On an FRQ, show the setup. Write out n, p, and x, name the distribution, and state why the binomial conditions hold before plugging in.

The binomial formula vs Geometric probability formula

Both involve p and (1-p), but they answer different questions. The binomial formula gives the probability of x successes in a FIXED number of trials n, and it includes the combinations term C(n,x) because successes can come in any order. The geometric formula gives the probability that the FIRST success happens on trial x, so there's no fixed n and no combinations term (there's only one possible order: failures, then the one success). Quick check: if the problem fixes the number of trials, it's binomial; if it asks how long until the first success, it's geometric.

Key things to remember about the binomial formula

  • The binomial formula P(X = x) = C(n,x) · p^x · (1-p)^(n-x) gives the exact probability of x successes in n trials with success probability p.

  • C(n,x) counts the number of orderings of the successes, p^x covers the successes, and (1-p)^(n-x) covers the failures.

  • The formula is only valid with a fixed number of trials, two outcomes per trial, independent trials, and the same p on every trial.

  • A simulation with a random number generator estimates these probabilities; the formula computes them exactly (LOs 4.10.A and 4.10.B).

  • For ranges like P(2 ≤ X ≤ 4), apply the formula at each value and add, or use binomcdf on your calculator.

  • Use binomial when n is fixed and you count successes; use geometric when you're waiting for the first success.

Frequently asked questions about the binomial formula

What is the binomial formula in AP Stats?

It's P(X = x) = C(n,x) · p^x · (1-p)^(n-x), the probability of getting exactly x successes in n independent trials when each trial succeeds with probability p. The CED calls it the binomial probability function, covered in Topic 4.10.

Why is there a combinations term C(n,x) in the binomial formula?

Because the x successes can occur in any order among the n trials. Each specific ordering has probability p^x(1-p)^(n-x), and C(n,x) counts how many orderings exist, so multiplying gives the total probability.

Do I have to use the binomial formula by hand on the AP exam?

No. binompdf(n, p, x) on your calculator computes exactly what the formula does, and binomcdf handles cumulative probabilities. But you should still write the formula or name the distribution with n, p, and x on FRQs to show your reasoning, and MCQs may test whether you know what each piece means.

How is the binomial formula different from the geometric formula?

Binomial fixes the number of trials n and asks how many successes occur, so it needs C(n,x). Geometric asks when the first success occurs, so the number of trials isn't fixed and there's no combinations term. "Out of 20 parts, how many are defective?" is binomial; "how many parts until the first defective one?" is geometric.

Does p have to equal 0.5 for the binomial formula to work?

No, p can be any value between 0 and 1, like p = 0.12 for a defective-parts problem or p = 0.25 for guessing on 4-option multiple choice. What matters is that p stays the same on every trial and the trials are independent.