Binomial Probability Calculator
This Binomial Probability Calculator finds the probability of exactly k successes in n independent trials, and shows the working line by line. It counts the ways the successes can be placed with combinations, finds the probability of a failure, and multiplies the number of ways by the chance of any one way happening. Each trial must have the same chance of success and not depend on the others. A bar chart then shows every outcome, so the pattern of the whole distribution can be seen.
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the number of ways to place the k successes.
- Find the probability of a failure.
- Substitute the values into the formula.
- Work out the two powers.
- Multiply to get the probability.
- Show the probability on a chart of every outcome.
Formula: Binomial Probability Formula
This formula gives the probability of exactly k successes in n trials. Multiply the number of ways by p to the power k and by 1 - p to the power n - k.
Useful Tips to Remember
The binomial formula is \(P(X = k) = \binom{n}{k}p^k(1 - p)^{n - k}\). It only applies when there is a fixed number of independent trials, each with the same probability of success. The probabilities of success and failure must add up to 1. For at most or at least questions, add up the probabilities of each value in the range.
Required knowledge
- How to count the ways to choose k items from n, covered in the Combinations Calculator.
- How to find the probability of a failure, covered in the Complement Rule Calculator.
Where Is Binomial Probability Used?
Binomial probability gives the chance of an exact number of successes in a fixed number of independent trials, each with the same probability of success. It fits any yes-or-no situation repeated many times, such as heads in coin tosses, faulty items in a batch, or customers who click an advert. Factories use it for quality control, doctors use it to predict how many patients respond to a treatment, and sports analysts use it to model free throws or penalty kicks. It is also the basis of many statistical tests.
- Finding the chance of a number of faulty items in a batch
- Predicting how many patients respond to a treatment
- Working out the chance of passing a multiple-choice test by guessing
- Modelling free throws or penalty kicks in sport
- Estimating how many customers will click an advert
Binomial Probability Practice Problems
Example 1 finds the chance of 3 successes in 10 trials with \(p = 0.5\), and Example 2 finds the chance of 2 sixes in 5 dice rolls. Try the formula yourself before opening each example. For two more free worked examples, check out the Binomial Probability Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the number of ways to place the k successes.
- Find the probability of a failure.
- Substitute the values into the formula.
- Work out the two powers.
- Multiply to get the probability.
- Show the probability on a chart of every outcome.
Formula
Formula: Binomial Probability Formula
This formula gives the probability of exactly k successes in n trials. Multiply the number of ways by p to the power k and by 1 - p to the power n - k.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of exactly \(3\) successes in \(10\) trials, when each trial succeeds with probability \(0.5\).
Step 2
Step 2 - Write the formula.
In this problem: Each way of placing the successes has probability \(p^{k}(1 - p)^{n - k}\), and \({}^{n}C_{k}\) counts how many ways there are.
Step 3
Step 3 - Find the number of ways to place the k successes.
In this problem: Choosing which \(3\) of the \(10\) trials are the successes gives \({}^{10}C_{3} = 120\) ways.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Put n and r into the formula.
- Cancel the biggest factorial.
- Work out the top and the bottom.
- Divide.
Formula
Formula: Combinations Formula
This formula counts how many ways there are to choose r items from n when the order doesn't matter. Put in n and r, then work out the factorials.
Step 1
Step 1 - Set up the problem.
In this problem: There are \(n = 10\) items and \(r = 3\) of them are chosen. The order they are chosen in doesn't matter.
Step 2
Step 2 - Write the formula.
In this problem: \(n!\) means multiplying every whole number from \(n\) down to \(1\), and \(0! = 1\).
Step 3
Step 3 - Put n and r into the formula.
In this problem: Put \(n = 10\) and \(r = 3\) into the formula. \(n - r = 10 - 3 = 7\).
Step 4
Step 4 - Cancel the biggest factorial.
In this problem: The bigger factorial on the bottom is \(7!\). Write \(10!\) as \(10 \times 9 \times 8 \times 7!\), so \(7!\) is on the top and the bottom and cancels.
Step 5
Step 5 - Work out the top and the bottom.
In this problem: Multiply the top: \(10 \times 9 \times 8 = 720\). Work out the bottom: \(3! = 3 \times 2 \times 1 = 6\).
Step 6
Step 6 - Divide.
In this problem: Divide the top by the bottom: \(720 \div 6 = 120\). So there are \(120\) ways to choose \(3\) items from \(10\).
Final Answer
Step 4
Step 4 - Find the probability of a failure.
In this problem: A trial that doesn't succeed fails, so \(1 - 0.5 = 0.5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the probability of A and take it away from 1.
Formula
Formula: Complement Rule Formula
This formula gives the probability that A does not happen. Take P(A) away from 1.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability that A does not happen, when \(P(A) = 0.5\).
Step 2
Step 2 - Write the formula.
In this problem: A either happens or it doesn't, and those two chances add up to 1.
Step 3
Step 3 - Substitute the probability of A and take it away from 1.
In this problem: Replacing \(P(A)\) with \(0.5\) gives \(1 - 0.5 = 0.5\).
Final Answer
Step 5
Step 5 - Substitute the values into the formula.
In this problem: Replacing \({}^{n}C_{k}\) with \(120\), \(p\) with \(0.5\) and \(1 - p\) with \(0.5\) gives \(P(X = 3) = 120 \times 0.5^{3} \times 0.5^{7}\).
Step 6
Step 6 - Work out the two powers.
In this problem: The successes give \(0.5^{3} = 0.125\) and the failures give \(0.5^{7} = 0.0078125\).
Step 7
Step 7 - Multiply to get the probability.
In this problem: Multiplying the three numbers gives \(P(X = 3) \approx 0.1172\).
Step 8
Step 8 - Show the probability on a chart of every outcome.
In this problem: Each bar is the probability of that many successes. The orange bar is \(k = 3\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Find the number of ways to place the k successes.
- Find the probability of a failure.
- Substitute the values into the formula.
- Work out the two powers.
- Multiply to get the probability.
- Show the probability on a chart of every outcome.
Formula
Formula: Binomial Probability Formula
This formula gives the probability of exactly k successes in n trials. Multiply the number of ways by p to the power k and by 1 - p to the power n - k.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of exactly \(2\) successes in \(5\) trials, when each trial succeeds with probability \(\frac{1}{6}\).
Step 2
Step 2 - Write the formula.
In this problem: Each way of placing the successes has probability \(p^{k}(1 - p)^{n - k}\), and \({}^{n}C_{k}\) counts how many ways there are.
Step 3
Step 3 - Find the number of ways to place the k successes.
In this problem: Choosing which \(2\) of the \(5\) trials are the successes gives \({}^{5}C_{2} = 10\) ways.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Put n and r into the formula.
- Cancel the biggest factorial.
- Work out the top and the bottom.
- Divide.
Formula
Formula: Combinations Formula
This formula counts how many ways there are to choose r items from n when the order doesn't matter. Put in n and r, then work out the factorials.
Step 1
Step 1 - Set up the problem.
In this problem: There are \(n = 5\) items and \(r = 2\) of them are chosen. The order they are chosen in doesn't matter.
Step 2
Step 2 - Write the formula.
In this problem: \(n!\) means multiplying every whole number from \(n\) down to \(1\), and \(0! = 1\).
Step 3
Step 3 - Put n and r into the formula.
In this problem: Put \(n = 5\) and \(r = 2\) into the formula. \(n - r = 5 - 2 = 3\).
Step 4
Step 4 - Cancel the biggest factorial.
In this problem: The bigger factorial on the bottom is \(3!\). Write \(5!\) as \(5 \times 4 \times 3!\), so \(3!\) is on the top and the bottom and cancels.
Step 5
Step 5 - Work out the top and the bottom.
In this problem: Multiply the top: \(5 \times 4 = 20\). Work out the bottom: \(2! = 2 \times 1 = 2\).
Step 6
Step 6 - Divide.
In this problem: Divide the top by the bottom: \(20 \div 2 = 10\). So there are \(10\) ways to choose \(2\) items from \(5\).
Final Answer
Step 4
Step 4 - Find the probability of a failure.
In this problem: A trial that doesn't succeed fails, so \(1 - \frac{1}{6} = \frac{5}{6}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the probability of A and take it away from 1.
Formula
Formula: Complement Rule Formula
This formula gives the probability that A does not happen. Take P(A) away from 1.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability that A does not happen, when \(P(A) = \frac{1}{6}\).
Step 2
Step 2 - Write the formula.
In this problem: A either happens or it doesn't, and those two chances add up to 1.
Step 3
Step 3 - Substitute the probability of A and take it away from 1.
In this problem: Replacing \(P(A)\) with \(\frac{1}{6}\) gives \(1 - \frac{1}{6} = \frac{5}{6} \approx 0.8333\).
Final Answer
Step 5
Step 5 - Substitute the values into the formula.
In this problem: Replacing \({}^{n}C_{k}\) with \(10\), \(p\) with \(\frac{1}{6}\) and \(1 - p\) with \(\frac{5}{6}\) gives \(P(X = 2) = 10 \times \left(\frac{1}{6}\right)^{2} \times \left(\frac{5}{6}\right)^{3}\).
Step 6
Step 6 - Work out the two powers.
In this problem: The successes give \(\left(\frac{1}{6}\right)^{2} = \frac{1}{36} \approx 0.02778\) and the failures give \(\left(\frac{5}{6}\right)^{3} = \frac{125}{216} \approx 0.5787\).
Step 7
Step 7 - Multiply to get the probability.
In this problem: Multiplying the three numbers gives \(P(X = 2) \approx 0.1608\).
Step 8
Step 8 - Show the probability on a chart of every outcome.
In this problem: Each bar is the probability of that many successes. The orange bar is \(k = 2\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Binomial Probability Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Binomial Probability Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.