Conditional Probability: Meaning, Formula, and Examples
Conditional probability is the likelihood of an outcome occurring given that another event has already happened. By establishing that a specific condition is true, conditional probability updates the original chances by restricting the sample space to only the relevant outcomes.
What does given mean in probability?
In probability, "given" means a specific condition is known to have occurred or is assumed to be true. This known information changes how you calculate the chances of subsequent events.
For example, the unconditional probability of drawing a red card from a standard deck is exactly half. However, if you are "given" the information that the drawn card is a heart, the probability of it being red becomes certain, because all hearts are red. The given condition provides new information that alters the expected probability under a condition.
Restrict the sample space
When a condition is given, the original sample space shrinks. The new total number of possible outcomes is restricted entirely to the event that has already occurred.
The given condition becomes the new restricted sample space.
Because the denominator is now smaller, you must also restrict the numerator. The successful outcomes are only the instances where both the new event and the given condition happen together.

Use conditional-probability notation
Conditional probability uses a vertical bar to indicate the condition. The notation is read as "the probability of event given event ".
The conditional probability formula divides the probability of both events occurring by the probability of the given condition:
This formula is valid provided that is not equal to zero. When working with whole counts instead of fractional probabilities, you can find the conditional chance by dividing the number of intersecting outcomes by the total number of outcomes in the given event:
Calculate from a Venn diagram
A Venn diagram probability model provides a visual way to find conditional probabilities. To find the probability of a new event given an existing condition, ignore all numbers outside the circle of the given condition.
The sum of the values inside the given circle forms the denominator. The overlapping region representing both events forms the numerator.

Calculate from a two-way table
Data organized in two-way tables makes conditional probability calculations straightforward. The given condition restricts your focus to a single specific row or a single specific column.
The total at the end of that specific row or column becomes your denominator. The cell where the new event intersects with the given condition provides the numerator.

Connect conditional and dependent events
Conditional probability reveals whether two events influence each other. If knowing that one event occurred changes the probability of a second event occurring, they are dependent events.
When an experiment involves multiple dependent stages, probability tree diagrams are powerful visual tools. The first set of branches shows unconditional probabilities, while the second set of branches displays the conditional probability for each dependent outcome.

Worked examples
These conditional probability examples demonstrate how to restrict sample spaces and calculate accurate chances under a condition.
Example 1: Calculating from a Venn diagram
Question: A class has students. play tennis, play soccer, and play both. If a randomly chosen student plays tennis, what is the probability they also play soccer?
Method:
- Identify the given condition: The student plays tennis.
- Restrict the sample space: There are total students who play tennis. This restricted group becomes the denominator.
- Identify the intersection: There are students who play both sports. This is the numerator.
- Calculate the probability.
Answer: .
Check: Using the formula gives , which simplifies to .
Example 2: Calculating from a two-way table
Question: A cafeteria surveys customers. ordered coffee, and ordered tea. Of the coffee drinkers, ordered a pastry. Of the tea drinkers, ordered a pastry. What is the probability that a customer ordered coffee, given that they ordered a pastry?
Method:
- Identify the given condition: The customer ordered a pastry.
- Find the restricted total: Calculate the total number of pastry orders. total pastries. This is the highlighted denominator.
- Identify the intersection: The number of customers who ordered both coffee and a pastry is . This is the numerator.
Answer: .
Check: The total number of customers () is not used because the "pastry" condition restricted the denominator.
Example 3: Comparing reverse conditions
Question: A fair six-sided die is rolled. Event is rolling an even number (). Event is rolling a number greater than (). Show that and are not equal.
Method:
- Find the intersection of the two events: , which is outcome.
- Calculate : The given condition has outcomes. The intersection has outcome. .
- Calculate : The given condition has outcomes. The intersection has outcome. .
Answer: and . Therefore, the probabilities differ.
Check: . . Both match the intersection probability.
Common mistakes
A frequent error is assuming that probability of given is identical to the probability of given . As shown in the previous example, reversing the given condition changes which set acts as the denominator, producing completely different probabilities.

Another common mistake is forgetting to adjust the total sample space. Students sometimes use the addition rule of probability for union concepts but fail to restrict the total when a specific condition is given. The denominator must only include the outcomes within the given condition.
Frequently asked questions
What is the difference between joint and conditional probability?
Joint probability measures the chance of two events occurring together out of the entire original sample space. Conditional probability measures the chance of an event occurring out of a restricted sample space where another event is already known to have occurred.
Can a conditional probability equal ?
Yes. If the occurrence of the given event guarantees the occurrence of the other event, the conditional probability is . For instance, the probability of drawing a red card given that the card is a heart is .
Practice questions

Based on the Venn diagram, what is the probability that a randomly chosen student takes Science given that they take Math?
If , , and the probability of both events occurring is , what is ?

Based on the table, what is the probability of selecting a cat, given that the selected animal is female?
Which statement correctly describes how to calculate conditional probability?
The value of is always equal to the value of .
The denominator is always the probability of the entire sample space.
The given condition restricts the possible outcomes to a smaller sample space.
The numerator represents outcomes that only satisfy the given condition.
The given condition restricts the possible outcomes to a smaller sample space.

The tree diagram shows the probabilities of drawing two consecutive counters without replacement from a bag of red and blue counters. What is the value of , which represents ?
