Home/Blog/Conditional Probability: The Concept That Breaks Intuition

Conditional Probability: The Concept That Breaks Intuition

Conditional probability is where human intuition fails most dramatically. The Monty Hall problem, medical tests, and the prosecutor's fallacy all trace back to one misunderstood concept.

P
The Probability Lab Team
July 4, 2026

Conditional probability is the probability of an event given that another event has already occurred. It is written P(A|B) — the probability of A given B. This notation is simple. The concept is not — it is one of the most reliably counterintuitive ideas in mathematics.

The basic formula

Conditional probability
P(A|B) = P(A and B) / P(B)

The probability of A given B equals the probability
of both A and B occurring divided by the probability of B.

The Monty Hall problem

The most famous illustration of conditional probability is the Monty Hall problem. You choose one of three doors. Behind one is a car; behind two are goats. The host, who knows what is behind each door, opens a different door revealing a goat. Should you switch?

Most people say it does not matter — that it is now 50/50 between the two remaining doors. This is wrong. You should always switch. Your original door has a 1/3probability of hiding the car. The remaining door has a 2/3probability. The host's action, which was not random, transferred probability.

Try it yourself in our Monty Hall simulator — run 1,000 trials switching vs. staying and watch the 2/3 emerge from the data.

Medical tests and false positives

Conditional probability is critical in medicine. Consider a disease affecting 1 in 1,000 people. A test for this disease is 99% accurate — it correctly identifies 99% of people who have the disease and correctly rules out 99% of people who do not.

If you test positive, what is the probability you actually have the disease?

Medical test example
Population: 100,000 people
Diseased: 100 (1 in 1,000)
Healthy: 99,900

True positives:  100 × 0.99 = 99
False positives: 99,900 × 0.01 = 999

P(disease | positive test) = 99 / (99 + 999) ≈ 9%

A positive result from a 99% accurate test means
only a 9% chance of actually having the disease.
When a disease is rare, most positive tests are false positives — even with a highly accurate test. This is why screening programs for rare conditions require careful design.

The prosecutor's fallacy

In legal contexts, conditional probability errors have sent innocent people to prison. The prosecutor's fallacy confuses P(evidence | innocent) with P(innocent | evidence). A DNA match might have a 1-in-a-million chance of occurring in an innocent person — but in a country of 70 million, that means 70 people would match by chance. The evidence is less decisive than it appears.

Why intuition fails

Human brains are not naturally equipped for conditional probability. We tend to treat events as independent when they are not, and we anchor too heavily on prior expectations. The solution is not to trust intuition — it is to write out the sample space and apply the formula. The math is reliable even when the gut is not.

Interactive Tool

Put the theory into practice

Try the Monty Hall Simulator
Share𝕏 Share

Continue Reading

Probability Deep Dive

The House Edge: What 2.70% Actually Means Over Time

8 min readProbability Deep Dive

The Birthday Paradox: Why 23 People Is All It Takes

7 min readProbability Deep Dive

The Law of Large Numbers: Why More Flips Always Wins

6 min read