Conditional Probability
Worked example: P(A|B) 0.4 times P(B) 0.25 → joint 0.1 — press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!
And then →
Grade 12Grade 12 Math
Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning.
share your results
Conditional Probability explained
Conditioning throws away every outcome in which B did not happen and re-normalises what is left, which is why you divide by P(B). Roll one die: P(it is a 2) = 1/6, but if you are told the roll is even, only three outcomes survive and P(2 | even) = (1/6)/(1/2) = 1/3. Probabilities go in as decimals from 0 to 1 (the % unit is available too).
In September 1990 Marilyn vos Savant told Parade readers that a contestant on Let's Make a Deal should switch doors after Monty Hall opens a losing one, because switching wins 2/3 of the time. Some 10,000 letters arrived, roughly a thousand from people with PhDs, insisting she was wrong; Paul Erdős stayed unconvinced until he saw a simulation. The host's choice is not independent of where the car is, and conditioning on which door he opened is the whole game. The standard trap is confusing P(A|B) with P(B|A): almost every fatal cycling accident involves a bicycle, yet almost no bicycle ride is fatal.
Conditional Probability formula
- = Probability of A given B
- = Probability both occur
- = Probability of B
Missing one of these? Work it out first, then come back
- Probability of A given B — General Multiplication Rule, Addition Rule (Mutually Exclusive Events)
- Probability both occur — Multiplication Rule (Independent Events), General Multiplication Rule
- Probability of B — Addition Rule (Mutually Exclusive Events), General Addition Rule