December 4, 2026

Bayes’ Theorem and the Medical Test Paradox: Why a 90 Percent Accurate Positive Means About 9 Percent

A grid of dots with a few red and more orange highlights

A screening test catches 90 percent of people who have a condition and wrongly flags 9 percent of people who don’t. Someone tests positive. What’s the chance they have it? When the psychologist Gerd Gigerenzer put a version of this question to 160 gynecologists, the most common answer was 90 percent, according to a Cochrane colloquium abstract. The answer for the numbers he gave is about 10 percent. The gap isn’t about medicine; it’s about how probabilities combine, and Bayes’ theorem settles it in one line. Running the numbers, and a million simulated patients, shows where the intuition goes wrong and what actually raises the odds.

Video: 3Blue1Brown on YouTube

The question

The numbers Gigerenzer used

In a 2011 BMJ article, Gigerenzer laid out the mammography version:

Quantity Value Name
Share of women screened who have breast cancer 1% prevalence
Chance of a positive test if she has cancer 90% sensitivity
Chance of a positive test if she doesn’t 9% false positive rate

What doctors said

A Cochrane colloquium abstract by Gigerenzer reports that physicians’ estimates of the chance of disease after a positive result ranged widely, typically from 1 percent to 90 percent. It states that while the positive predictive value for mammography screening is about 10 percent, the most frequent answer of 160 gynecologists was 90 percent.

Why 90 percent feels right

The test is right 90 percent of the time for people who have the condition, so it feels as if a positive result should mean a 90 percent chance. That mixes up two different questions: how likely a positive is, given cancer, and how likely cancer is, given a positive.

A group of test tubes holding different liquids

Bayes’ theorem, one line

The formula

The probability of disease given a positive test is:

P(disease | positive) = P(positive | disease) × P(disease) ÷ P(positive)

The bottom term counts every way to test positive: true positives plus false positives.

Plugging in

True positives: 0.90 × 0.01 = 0.009. False positives: 0.09 × 0.99 = 0.0891. Total positive: 0.0981. So the chance of disease after a positive is 0.009 ÷ 0.0981, about 9.2 percent.

The same thing in people

Gigerenzer’s fix is to count people instead of probabilities. Out of 1,000 women: 10 have cancer, and 9 of them test positive. Of the 990 without cancer, about 89 test positive anyway. That’s 98 positives, of whom 9 have cancer, about 1 in 11.

A million simulated patients

Checking by brute force

A simulation for this post generated 1,000,000 people, gave each a 1 percent chance of having the condition, and then applied the test with the 90 percent and 9 percent rates. Of everyone who tested positive, 9,210 had the condition and 88,778 didn’t: 9.4 percent true positives, matching the formula within random variation.

Where the positives come from

The false positives outnumber the true ones nearly ten to one. Not because the test is bad for any one person, but because there are 99 healthy people for every sick one. A small error rate applied to a big group beats a high hit rate applied to a small one.

The negatives look better

The same numbers give a strong result for a negative test: of people who test negative, about 99.9 percent don’t have the condition. A screening test like this is much better at ruling out than ruling in.

A weighing scale

Prevalence changes everything

Same test, different groups

Keeping sensitivity at 90 percent and the false positive rate at 9 percent, and changing only how common the condition is:

Prevalence Chance of disease after a positive
0.1% 1.0%
0.3% 2.9%
1% 9.2%
5% 34.5%
10% 52.6%
30% 81.1%
50% 90.9%

What that means

The identical test means very different things depending on who takes it. Used to screen a general population where the condition is rare, a positive is usually a false alarm. Used on people who already have symptoms, where the condition is far more common, the same positive is usually right.

Another example from the literature

In a 2003 BMJ paper by Gigerenzer and Adrian Edwards, experienced doctors were asked about the Haemoccult test for colorectal cancer, with prevalence 0.3 percent, sensitivity 50 percent and a false positive rate of 3 percent. The paper gives the correct answer as about 5 percent. Doctors’ answers ranged from 1 to 99 percent, and about half answered 50 or 47 percent. The formula gives 4.8 percent.

What actually raises the odds

A second test

If a second, independent test also comes back positive, Bayes’ theorem runs again, starting from 9.2 percent instead of 1 percent. With the same rates, the chance of disease after two positives rises to about 50 percent. Real follow-up tests are rarely fully independent of the first, so this is an upper sketch, but it shows why positives on a screen lead to a different, more specific test rather than a diagnosis.

A lower false positive rate

The false positive rate matters more than the sensitivity when the condition is rare. At 1 percent prevalence and 90 percent sensitivity:

False positive rate Chance of disease after a positive
9% 9.2%
5% 15.4%
1% 47.6%
0.1% 90.1%

Only when false positives drop to about 1 in 1,000 does a positive start to mean what people assume it means.

Who gets tested

Raising the prevalence among those tested, by testing people with symptoms, risk factors or an earlier abnormal result, does the same job. That’s the logic behind screening in stages. Each stage narrows the group, so the same kind of positive result carries more weight at every step down the line.

A smoke detector on a ceiling

The odds shortcut

Likelihood ratio

Bayes’ theorem has a second form that’s easier to run in one’s head. Divide the sensitivity by the false positive rate: 0.90 ÷ 0.09 = 10. That number, the positive likelihood ratio, says a positive result is 10 times more likely in someone with the condition than in someone without it.

Multiply the odds

Convert the starting chance to odds. A 1 percent prevalence is odds of 1 to 99. Multiply by the likelihood ratio: 10 to 99. Convert back: 10 ÷ 109, about 9.2 percent, the same answer as before with no fractions inside fractions.

Chaining tests

The odds form makes repeat testing simple. Each independent positive multiplies the odds by 10 again. One positive takes 1 to 99 up to 10 to 99, about 9 percent; a second takes it to 100 to 99, just over 50 percent; a third, 1,000 to 99, about 91 percent. That matches the second-test result above and shows why it takes several independent pieces of evidence to overturn a low starting chance.

A negative result, the same way

A negative result has its own ratio: the chance of a negative with the condition, 0.10, divided by the chance without it, 0.91, about 0.11. Multiplying the starting odds of 1 to 99 by 0.11 gives about 1 in 900, the strong reassurance a negative provides in this example.

In code

def after_test(prior, sensitivity, false_pos, positive=True):
    odds = prior / (1 - prior)
    lr = sensitivity / false_pos if positive else (1 - sensitivity) / (1 - false_pos)
    odds *= lr
    return odds / (1 + odds)

print(after_test(0.01, 0.90, 0.09))         # about 0.092
print(after_test(0.01, 0.90, 0.09, False))  # about 0.0011

Feeding the first answer back in as the new prior reproduces the two-test and three-test figures. Run three times in a row on positive results, the function returns about 9.2, 50.3 and 91.0 percent.

Why the shortcut is worth learning

The odds form separates the two ingredients cleanly. The starting odds describe the person or population before the test. The likelihood ratio describes the test alone, and it doesn’t change from one population to the next. A clinician, a spam filter designer or anyone reading a news story about a new screening tool can keep those two pieces apart and combine them with one multiplication, instead of trying to juggle sensitivity, specificity and prevalence at once.

Beyond medicine

Spam filters and alarms

Any detector looking for something rare runs into the same arithmetic. A fraud alert, a security scanner or a spam filter with a small false positive rate will still produce mostly false alarms if the thing it hunts is rare enough.

The habit worth keeping

Gigerenzer’s 2011 article argues that natural frequencies, counts like “9 out of 98,” help both doctors and patients see through the confusion. The question to ask about any positive result is the one the 90-percent intuition skips: out of everyone who tests positive, how many actually have it?

A note on real tests

The 1 percent, 90 percent and 9 percent figures here are the illustrative values from Gigerenzer’s teaching example, not the performance of any particular test or clinic. Real numbers vary by test, population and age group, and the person to interpret a specific result is the clinician who ordered it.

Sources

  • Gerd Gigerenzer, “What are natural frequencies?” BMJ, 2011 (author’s copy, Max Planck repository): https://pure.mpg.de/pubman/item/item_2099208_1/component/file_2099207/GG_What_2011.pdf
  • Gerd Gigerenzer, “Helping doctors to understand screening tests,” Cochrane Colloquium abstract, 2008: https://abstracts.cochrane.org/2008-freiburg/helping-doctors-understand-screening-tests
  • Gerd Gigerenzer and Adrian Edwards, “Simple tools for understanding risks: from innumeracy to insight,” BMJ 2003: https://pmc.ncbi.nlm.nih.gov/articles/PMC200816

619 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *