---
title: "Binomial Formula — AP Stats Definition & Exam Guide"
description: "The binomial formula P(X=x) = C(n,x)p^x(1-p)^(n-x) finds the probability of exactly x successes in n independent trials. Core to Unit 4 and inference later."
canonical: "https://fiveable.me/ap-stats/key-terms/binomial-formula"
type: "key-term"
subject: "AP Statistics"
unit: "Unit 2"
---

# Binomial Formula — AP Stats Definition & Exam Guide

## Definition

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).

## What It Is

The binomial formula tells you the [probability](/ap-stats/unit-2/intro-probability/study-guide/gfnBWfyMANOxF3vWLrbA "fv-autolink") that a [binomial random variable](/ap-stats/key-terms/binomial-random-variable "fv-autolink") 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](/ap-stats/unit-2/estimating-probabilities-using-simulation/study-guide/ABwpnnUf4VCXeVbB9q72 "fv-autolink") per trial (success or failure), independent trials, and the same p every time.

## Why It Matters

This formula lives in **[Topic 4.10](/ap-stats/unit-4/carrying-out-test-for-difference-two-population-means/study-guide/xvSDNHe1r4WV2OJZg6SV "fv-autolink") (Introduction to the Binomial Distribution)** in [Unit 4](/ap-stats/unit-4 "fv-autolink") 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.

## Connections

### [Binomial Random Variable (Unit 4)](/ap-stats/key-terms/binomial-random-variable)

The formula is meaningless without the [variable](/ap-stats/unit-1/language-variation-variables/study-guide/nKpeaxi1H3Ht9aFhTHKt "fv-autolink") 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)](/ap-stats/key-terms/independent-trials)

[Independence](/ap-stats/key-terms/independence "fv-autolink") 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](/ap-stats/unit-1/investigative-question-revisited-data-collection/study-guide/f842Kr6YNnYX4G0dtAC8 "fv-autolink"), then use the binomial formula (or cumulative sums of it) to find the probability X falls within one standard deviation of the mean.

## On the AP 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.

## 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 Takeaways

- 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.

## FAQs

### 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.

## Related Study Guides

- [2.10 The Binomial Distribution](/ap-stats/unit-2/intro-binomial-distribution/study-guide/uvU3qsHmVgEuPjvhgaEC)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/ap-stats/key-terms/binomial-formula#resource","name":"Binomial Formula — AP Stats Definition & Exam Guide","url":"https://fiveable.me/ap-stats/key-terms/binomial-formula","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/ap-stats/key-terms/binomial-formula#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-06-11T05:22:54.591Z","isPartOf":{"@type":"Collection","name":"AP Statistics Key Terms","url":"https://fiveable.me/ap-stats/key-terms"},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/ap-stats/key-terms/binomial-formula#term","name":"binomial formula","description":"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).","url":"https://fiveable.me/ap-stats/key-terms/binomial-formula","inDefinedTermSet":{"@type":"DefinedTermSet","name":"AP Statistics Key Terms","url":"https://fiveable.me/ap-stats/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the binomial formula in AP Stats?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Why is there a combinations term C(n,x) in the binomial formula?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Do I have to use the binomial formula by hand on the AP exam?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How is the binomial formula different from the geometric formula?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Does p have to equal 0.5 for the binomial formula to work?","acceptedAnswer":{"@type":"Answer","text":"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."}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"AP Statistics","item":"https://fiveable.me/ap-stats"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/ap-stats/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 2","item":"https://fiveable.me/ap-stats/unit-2"},{"@type":"ListItem","position":4,"name":"binomial formula"}]}]}
```
