This free binomial probability calculator gives statistics and AP® Statistics students the probability of exactly, at most, at least or between a number of successes, with the mean and standard deviation, a bar chart of the distribution, the steps and the TI-84 binompdf or binomcdf command.
Loading the binomial probability calculator…
How to use the binomial probability calculator
- Choose what to find. Pick Exactly, At most, Fewer than, At least, More than or Between. These match the words in most problems: “at least 8” is P(X ≥ 8), “fewer than 3” is P(X < 3).
- Enter n and p. n is the number of trials and p is the probability of success on each one. Type p as a decimal (0.3), a percent (30%) or a fraction (1/6).
- Enter x, the number of successes, or a and b for a range. Both ends of a range are included.
- Read the answer. You get the probability to 4 decimal places, the mean and standard deviation, a bar chart with the counted outcomes in blue, the TI-84 command that gives the same answer, and the steps.
Worked example
A basketball player makes 70% of her free throws. She shoots 10. What is the probability she makes at least 8?
- Check that it’s binomial. Each shot is a make or a miss, the shots are independent, there are a fixed 10 of them, and p = 0.7 every time. So X, the number of makes, is binomial with n = 10 and p = 0.7.
- Translate the words. At least 8 means 8, 9 or 10 makes: P(X ≥ 8) = P(X = 8) + P(X = 9) + P(X = 10).
- Use the formula for each term.
- P(X = 8) = C(10, 8) · 0.7⁸ · 0.3² = 45 × 0.057648 × 0.09 = 0.233474
- P(X = 9) = C(10, 9) · 0.7⁹ · 0.3¹ = 10 × 0.040354 × 0.3 = 0.121061
- P(X = 10) = C(10, 10) · 0.7¹⁰ · 0.3⁰ = 0.028248
- Add them. 0.233474 + 0.121061 + 0.028248 = 0.382783, so P(X ≥ 8) ≈ 0.3828, about a 38% chance.
- Check on a calculator. binomcdf only adds from 0 up, so use the complement: 1 − binomcdf(10, 0.7, 7) = 1 − 0.617217 = 0.3828.
Her expected number of makes is μ = np = 10 × 0.7 = 7, with a standard deviation of σ = √(10 × 0.7 × 0.3) = √2.1 ≈ 1.4491 makes. Choose At least in the calculator and enter n = 10, p = 0.7 and x = 8 to see the bars for 8, 9 and 10 highlighted.
What makes a distribution binomial
A random variable X is binomial when it counts the successes in a set of trials that meet four conditions. A handy way to remember them is BINS:
- Binary: each trial has two outcomes, success or failure. “Success” is just the outcome you are counting, even if it’s a defective part or a wrong answer.
- Independent: one trial doesn’t change the chances on another. When you sample without replacement, treat the trials as independent only if the sample is less than 10% of the population (the 10% condition).
- Number: the number of trials, n, is fixed in advance.
- Same probability: the probability of success, p, is the same on every trial.
If you keep going until the first success instead of fixing n, the count follows a geometric distribution, not a binomial one. AP® Statistics questions often ask you to name the distribution and check the conditions before you calculate, so state them in context: “each shot is a make or a miss, shots are independent, n = 10, p = 0.7.”
The binomial formula
The probability of exactly k successes is
P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ
Each piece has a job:
- pᵏ is the probability of k successes in a row, and (1 − p)ⁿ⁻ᵏ the probability of the n − k failures.
- C(n, k) = n! ÷ (k!(n − k)!) counts the different orders those successes can come in. For 8 makes in 10 shots, there are 45 ways to choose which 8 shots go in.
Every order has the same probability, so you multiply that probability by the number of orders. On a TI-84, C(n, k) is n nCr k, under MATH, then PRB.
Exactly, at most, at least: turning words into symbols
Most mistakes with binomial problems happen before any calculation, when the words are turned into an inequality. Use this table:
| The question says | Probability | TI-84 command |
|---|---|---|
| exactly x | P(X = x) | binompdf(n, p, x) |
| at most x, no more than x | P(X ≤ x) | binomcdf(n, p, x) |
| fewer than x, less than x | P(X ≤ x − 1) | binomcdf(n, p, x − 1) |
| at least x, no fewer than x | 1 − P(X ≤ x − 1) | 1 − binomcdf(n, p, x − 1) |
| more than x | 1 − P(X ≤ x) | 1 − binomcdf(n, p, x) |
| between a and b (inclusive) | P(X ≤ b) − P(X ≤ a − 1) | binomcdf(n, p, b) − binomcdf(n, p, a − 1) |
The key fact is that X only takes whole-number values. For a normal distribution, < and ≤ give the same area, but for a binomial count they don’t: P(X < 3) leaves out X = 3, so it equals P(X ≤ 2). The calculator shows this translation as the first step whenever it applies.
binompdf vs. binomcdf
Both are in the TI-84’s DISTR menu (press 2nd, then VARS).
- binompdf(n, p, x) is the probability distribution function: the height of one bar, P(X = x).
- binomcdf(n, p, x) is the cumulative distribution function: all the bars from 0 up to x added together, P(X ≤ x).
Because binomcdf always starts at 0, “at least” and “more than” need the complement rule, P(A) = 1 − P(not A). The complement of “at least 8” is “at most 7,” which is why the worked example used 1 − binomcdf(10, 0.7, 7). On the AP exam, name the distribution and its parameters (binomial, n = 10, p = 0.7) and the probability you want, P(X ≥ 8), as well as the answer; calculator syntax on its own, with no labeled parameters, may not earn full credit.
Mean and standard deviation
A binomial distribution’s center and spread come straight from n and p:
| Measure | Formula | n = 20, p = 0.3 |
|---|---|---|
| Mean (expected value) | μ = np | 20 × 0.3 = 6 |
| Variance | σ² = np(1 − p) | 20 × 0.3 × 0.7 = 4.2 |
| Standard deviation | σ = √(np(1 − p)) | √4.2 ≈ 2.049 |
Interpret the mean as a long-run average: if you repeated the 20 trials many times, the average number of successes would be about 6, and a typical result would differ from 6 by about 2.
Reading the shape of the bar chart
The bar chart shows how the probability spreads across the possible counts:
- When p = 0.5, the distribution is symmetric about n/2.
- When p is small, it’s skewed right: most of the probability is near 0, with a long tail of rarer high counts. When p is large, it’s skewed left.
- As n grows, the shape becomes more symmetric and bell-shaped. When np ≥ 10 and n(1 − p) ≥ 10, a normal distribution with the same mean and standard deviation is a good approximation; the sampling distribution of a sample proportion relies on the same idea.
Try the dice example (12 rolls, p = 1/6) to see a right-skewed distribution, then change p to 0.5 to watch it become symmetric.
Binomial probability on the AP® Statistics exam
The binomial distribution is part of AP® Statistics Unit 4, Probability, Random Variables, and Probability Distributions. Expect to identify a binomial setting, check the conditions, calculate exact and cumulative probabilities, and find and interpret the mean and standard deviation. For more practice, read Introduction to the Binomial Distribution and Parameters for a Binomial Distribution, and browse the AP® Statistics cheat sheets. After a practice test, estimate your score with the AP® Statistics Score Calculator.
FAQ
What is the difference between binompdf and binomcdf?
binompdf(n, p, x) gives the probability of exactly x successes, P(X = x). binomcdf(n, p, x) gives the cumulative probability of x or fewer, P(X ≤ x), which is the sum of binompdf from 0 to x. For n = 10 and p = 0.5, binompdf(10, 0.5, 5) = 0.2461 and binomcdf(10, 0.5, 5) = 0.6230.
How do I find “at least” or “more than” probabilities?
Use the complement, because binomcdf only adds from 0 up. At least x is P(X ≥ x) = 1 − P(X ≤ x − 1), so type 1 − binomcdf(n, p, x − 1). More than x is P(X > x) = 1 − P(X ≤ x). Fewer than x is P(X ≤ x − 1), so use binomcdf(n, p, x − 1).
What are the conditions for a binomial distribution?
Remember BINS: Binary (each trial is a success or a failure), Independent trials, a fixed Number of trials n, and the Same probability of success p on every trial. If you sample without replacement, the trials are close enough to independent when the sample is less than 10% of the population.
What are the mean and standard deviation of a binomial distribution?
The mean is μ = np and the standard deviation is σ = √(np(1 − p)). For n = 20 trials with p = 0.3, μ = 20 × 0.3 = 6 and σ = √(20 × 0.3 × 0.7) = √4.2 ≈ 2.049. The mean is the number of successes you would expect on average over many repetitions.
When can I use a normal approximation instead?
When both np and n(1 − p) are at least 10, the binomial distribution is close to normal with mean np and standard deviation √(np(1 − p)). With a calculator, the exact binomial answer is just as easy to get, so use binomcdf when you can.
Can I enter p as a fraction or a percent?
Yes. Type 0.3, 30% or a fraction like 1/6. A fraction stays exact, which is useful for dice (p = 1/6) and cards, and it appears that way in the TI-84 command.