Use this binomial probability calculator to find the exact chance of a given number of successes in a fixed number of trials. Enter the number of trials, the probability of success on one trial and the target number of successes, then choose exactly, at most, at least, less than, more than, or between two values.
Enter your values
Try a worked example:
Exactly k
0.2051
P(X = 4) = 0.2051 · 20.51%
Binomial probability mass function
Each bar is P(X = x) for x = 0 to 10. The highlighted bar is k = 4.
How the probability is worked out
Full probability distribution (PMF table)
| Successes (x) | P(X = x) | Percentage | Cumulative P(X ≤ x) |
|---|
A binomial probability calculator finds the chance of a given number of successes in a fixed number of independent trials, each with the same success probability p. Enter n, p and k, choose exactly, at most, at least or between, and it returns the exact probability, mean np, variance np(1−p) and the full probability distribution.
What is binomial probability?
Binomial probability is the probability of getting a particular number of successes in a fixed number of independent trials, when each trial has only two outcomes — success or failure — and the probability of success stays the same on every trial. Tossing a coin ten times, answering ten multiple-choice questions by guessing, or testing twenty items from a production line are all binomial situations. The tool above gives the exact binomial probability, unlike the normal approximation to the binomial calculator, which gives the normal approximation to the same probability. Use this page when you need the exact answer; use that page when you want to see how close the normal curve comes to it.
How do you calculate binomial probability?
Use the binomial probability formula P(X = k) = C(n, k) × pk × (1 − p)(n − k), where C(n, k) = n! / (k! × (n − k)!) is the number of ways to choose k successes from n trials. First work out the binomial coefficient, then multiply by p raised to the power k and by (1 − p) raised to the power n − k. For cumulative probabilities, add the individual probabilities: for example, P(X ≤ 4) = P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4). The calculator above shows every step in its calculation ledger, so you can follow the working and check it by hand. The definitions used here follow the NIST/SEMATECH e-Handbook of Statistical Methods: Binomial Distribution.
What are the BINS conditions for a binomial distribution?
A situation is binomial only when all four BINS conditions hold. If any one fails, use a different distribution instead.
- B — Binary outcomes: each trial has exactly two outcomes, success or failure.
- I — Independent trials: the result of one trial does not change the probability on another.
- N — Number of trials is fixed: you know n in advance, and it does not change during the experiment.
- S — Same probability: the probability of success p is the same on every trial.
Sampling without replacement from a small population breaks independence, because p changes after each draw. If the population is large compared with the sample, the change is small and the binomial model is a reasonable approximation. For a worked set of checks, see the paired binomial distribution examples.
When should you use the normal approximation instead of exact binomial probability?
Use the normal approximation when n is large and you only need an approximate answer quickly, or when a question explicitly asks for it. The usual rule is that both np ≥ 5 and n(1 − p) ≥ 5. When either is below 5, the binomial distribution is too skewed for the symmetric normal curve, and the exact probability on this page is the right choice. For n = 100 and p = 0.5, np = 50 and n(1 − p) = 50, so the approximation is excellent: the exact P(X ≥ 60) is 0.0284 and the normal approximation gives 0.0287. For n = 10 and p = 0.5, the approximation is poor and the exact value matters. The full comparison is in the normal approximation to the binomial distribution guide, and the normal distribution calculator works directly with the bell curve when you already have a mean and standard deviation.
Worked examples
Example 1: exactly 4 heads in 10 coin tosses
n = 10, p = 0.5, k = 4. C(10, 4) = 210, p4 = 0.0625 and (1 − p)6 = 0.015625, so P(X = 4) = 210 × 0.0625 × 0.015625 = 0.2051. The mean is 5, the variance is 2.5 and the standard deviation is about 1.581. Also, P(X ≤ 4) = 0.3770 and P(X ≥ 5) = 0.6230.
Example 2: exactly 6 successes in 20 trials with p = 0.3
n = 20, p = 0.3, k = 6. The mean is np = 6, the variance is np(1 − p) = 4.2 and the standard deviation is about 2.049. The calculator gives P(X = 6) ≈ 0.1916. If you need the z-score for this mean and standard deviation, the z-score calculator converts any value in seconds.
Example 3: at most 8 successes in 50 trials with p = 0.2
n = 50, p = 0.2, k = 8. The mean is 10 and the standard deviation is about 2.828. Adding P(X = 0) through P(X = 8) gives P(X ≤ 8) = 0.3073. To summarise a set of results like this, the standard deviation calculator finds the spread of a data set, and the empirical rule probability finder finds the probability inside a range of a normal distribution.
How to use binompdf and binomcdf on a TI-84
On a TI-84, binompdf gives the probability of exactly k successes and binomcdf gives a cumulative probability. Press 2ND → VARS (DISTR), then choose B: binompdf( or C: binomcdf(. For exactly 4 successes in 10 trials with p = 0.5, enter binompdf(10, 0.5, 4) and press ENTER: the answer is 0.2051. For at most 4, enter binomcdf(10, 0.5, 4) and press ENTER: the answer is 0.3770. For at least 5, use the complement: 1 − binomcdf(10, 0.5, 4), which gives 0.6230. For between a and b inclusive, use binomcdf(n, p, b) − binomcdf(n, p, a − 1); for a = 3 and b = 6, that is binomcdf(10, 0.5, 6) − binomcdf(10, 0.5, 2). On a TI-84 Plus CE the same commands are under 2ND → VARS → DISTR, and the wizard asks for n, p and x separately.
Frequently asked questions
What is binomial probability?
Binomial probability is the probability of getting a specific number of successes in a fixed number of independent trials, each with the same probability of success. For n trials, success probability p and k successes, it is P(X = k) = C(n, k) × pk × (1 − p)(n − k).
When can you use the binomial distribution?
You can use it when all four BINS conditions hold: binary outcomes, independent trials, a fixed number of trials, and the same probability of success on every trial. If any condition fails, the binomial formula does not apply.
How do you calculate binomial probability by hand?
Find C(n, k) = n! / (k! × (n − k)!), then multiply by pk and by (1 − p)(n − k). For example, with n = 10, p = 0.5 and k = 4: C(10, 4) = 210, so P(X = 4) = 210 × 0.510 = 0.2051.
What is the difference between binompdf and binomcdf on a TI-84?
binompdf(n, p, k) gives the probability of exactly k successes, P(X = k). binomcdf(n, p, k) gives the cumulative probability of at most k successes, P(X ≤ k). For at least k, use 1 − binomcdf(n, p, k − 1).
When should I use the normal approximation instead of the exact binomial probability?
Use the normal approximation when n is large and both np ≥ 5 and n(1 − p) ≥ 5, and an approximate answer is enough. Otherwise, use the exact binomial probability on this page, especially for small n or p near 0 or 1.
What is the mean and standard deviation of a binomial distribution?
The mean is μ = np, the variance is σ2 = np(1 − p) and the standard deviation is σ = √(np(1 − p)). For n = 10 and p = 0.5, the mean is 5, the variance is 2.5 and the standard deviation is about 1.581.
Can the probability of success p be greater than 1?
No. A probability is always between 0 and 1. Enter p as a decimal, for example 0.5 for 50%, 0.3 for 30% or 0.05 for 5%. If you have a percentage, divide it by 100 first.
How do you find the probability of at least k successes?
Add the probabilities from k to n, or use the complement: P(X ≥ k) = 1 − P(X ≤ k − 1). For n = 100, p = 0.5 and k = 60, P(X ≥ 60) = 0.0284. The calculator above gives this directly when you choose “At least k”.
Source: the definitions and checks used here follow the NIST/SEMATECH e-Handbook of Statistical Methods.
More Tools to Explore
Try another free calculator, or browse all tools in one place.