Conditional Probability Notes
These Conditional Probability Notes explain how to find the probability of one event once another is known to have happened, with the working shown line by line. Knowing that B happened shrinks the possible outcomes down to B, so the probability of A becomes the share of B where A also happens. That share is the probability of both divided by the probability of B. The pattern is the starting point for the multiplication rule and for Bayes' theorem.
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the two probabilities into the formula.
- Divide to get the conditional probability.
Formula: Conditional Probability Formula
This formula gives the probability of A once B is known to have happened. Divide the probability of both by P(B).
Useful Tips to Remember
Conditional probability is \(P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)}\), the chance of \(A\) once \(B\) is known to have happened. Divide by the probability of the condition \(B\), not of \(A\). \(P(A \mid B)\) is usually different from \(P(B \mid A)\). If the events are independent, knowing \(B\) does not change the chance of \(A\).
Required knowledge
- How the probability of both events is found, covered in the Multiplication Rule of Probability Calculator.
Where Is Conditional Probability Used?
Conditional probability finds the chance of an event once you know another event has happened, written \(P(A \mid B)\). It is how probabilities are updated with new information, which is the basis of medical testing, insurance pricing and weather forecasting. Doctors use it to find the chance of a condition given a symptom, insurers use it to price policies for drivers of different ages, and streaming services use it to recommend shows based on what you watched. Many real decisions depend on a probability under a certain condition.
- Finding the chance of a condition given a symptom
- Pricing insurance based on age or driving history
- Recommending films and products based on past choices
- Forecasting rain given today's weather
- Working out card probabilities once some cards are known
Conditional Probability Practice Problems
Example 1 uses \(P(A \cap B) = 0.12\) and \(P(B) = 0.4\), and Example 2 uses the dice fractions \(\frac{1}{36}\) and \(\frac{1}{6}\). Examples 3 and 4 give you two more problems of the same kind to try. Try dividing yourself before opening each example.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them 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.
- Substitute the two probabilities into the formula.
- Divide to get the conditional probability.
Formula
Formula: Conditional Probability Formula
This formula gives the probability of A once B is known to have happened. Divide the probability of both by P(B).
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of A once we know B has happened, when \(P(A \cap B) = 0.12\) and \(P(B) = 0.4\).
Step 2
Step 2 - Write the formula.
In this problem: Knowing B happened shrinks the possible outcomes to B, so the chance of both is divided by the chance of B.
Step 3
Step 3 - Substitute the two probabilities into the formula.
In this problem: Replacing the two probabilities gives \(P(A \mid B) = \frac{0.12}{0.4}\).
Step 4
Step 4 - Divide to get the conditional probability.
In this problem: Dividing gives \(0.12 \div 0.4 = 0.3\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the two probabilities into the formula.
- Divide to get the conditional probability.
Formula
Formula: Conditional Probability Formula
This formula gives the probability of A once B is known to have happened. Divide the probability of both by P(B).
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of A once we know B has happened, when \(P(A \cap B) = \frac{1}{36}\) and \(P(B) = \frac{1}{6}\).
Step 2
Step 2 - Write the formula.
In this problem: Knowing B happened shrinks the possible outcomes to B, so the chance of both is divided by the chance of B.
Step 3
Step 3 - Substitute the two probabilities into the formula.
In this problem: Replacing the two probabilities gives \(P(A \mid B) = \frac{\frac{1}{36}}{\frac{1}{6}}\).
Step 4
Step 4 - Divide to get the conditional probability.
In this problem: Dividing gives \(\frac{1}{36} \div \frac{1}{6} = \frac{1}{6} \approx 0.1667\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the two probabilities into the formula.
- Divide to get the conditional probability.
Formula
Formula: Conditional Probability Formula
This formula gives the probability of A once B is known to have happened. Divide the probability of both by P(B).
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of A once we know B has happened, when \(P(A \cap B) = 0.2\) and \(P(B) = 0.5\).
Step 2
Step 2 - Write the formula.
In this problem: Knowing B happened shrinks the possible outcomes to B, so the chance of both is divided by the chance of B.
Step 3
Step 3 - Substitute the two probabilities into the formula.
In this problem: Replacing the two probabilities gives \(P(A \mid B) = \frac{0.2}{0.5}\).
Step 4
Step 4 - Divide to get the conditional probability.
In this problem: Dividing gives \(0.2 \div 0.5 = 0.4\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the two probabilities into the formula.
- Divide to get the conditional probability.
Formula
Formula: Conditional Probability Formula
This formula gives the probability of A once B is known to have happened. Divide the probability of both by P(B).
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the probability of A once we know B has happened, when \(P(A \cap B) = \frac{3}{52}\) and \(P(B) = \frac{1}{4}\).
Step 2
Step 2 - Write the formula.
In this problem: Knowing B happened shrinks the possible outcomes to B, so the chance of both is divided by the chance of B.
Step 3
Step 3 - Substitute the two probabilities into the formula.
In this problem: Replacing the two probabilities gives \(P(A \mid B) = \frac{\frac{3}{52}}{\frac{1}{4}}\).
Step 4
Step 4 - Divide to get the conditional probability.
In this problem: Dividing gives \(\frac{3}{52} \div \frac{1}{4} = \frac{3}{13} \approx 0.2308\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Conditional Probability Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Conditional 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.