The short answer
Bayes’ theorem tells you how much to believe something after you see new evidence. The easy way to use it is to picture a crowd of people: count how many have the thing, how many of those the evidence would flag, how many others it would flag by mistake, and compare. How common the thing is to begin with, the base rate, often matters more than how accurate the evidence is.
Here is a problem that trips up a lot of people, doctors included. The numbers are made up for the example.
A condition affects 1 in 100 people. A screening test catches 90% of the people who have it. It also gives a false positive to 9% of the people who don’t. Someone tests positive. How likely is it that they have the condition?
If your instinct says something close to 90%, you’re in good company, as the research below shows. The real answer is about 9%.
Count people, not percentages
The trick is to stop working with percentages and count people instead. Imagine 10,000 people taking the test:
- Who has the condition? 1 in 100 of 10,000 is 100 people. The other 9,900 don’t.
- Of the 100 who have it, how many test positive? 90% of 100 is 90.
- Of the 9,900 who don’t, how many test positive anyway? 9% of 9,900 is 891.
- How many positives in total? 90 + 891 = 981.
- What share of the positives really have it? 90 out of 981, which is about 9%.
| Test positive | Test negative | Total | |
|---|---|---|---|
| Has the condition | 90 | 10 | 100 |
| Doesn’t have it | 891 | 9,009 | 9,900 |
| Total | 981 | 9,019 | 10,000 |
The test isn’t bad. It catches 9 out of 10 real cases. The trouble is that the people without the condition outnumber those with it 99 to 1, so even a small error rate in that big group produces far more false alarms (891) than there are true cases to find (90).
This way of laying out the numbers is called natural frequencies, and it helps a lot. In a 1995 study, Gerd Gigerenzer and Ulrich Hoffrage gave 60 university students, none of whom knew Bayes’ theorem, 15 problems like this one. When the information came as probabilities, 16% of the students’ answers showed correct Bayesian reasoning. When the same information came as natural frequencies, that rose to 46%. With a shorter way of presenting the information, the figures were 28% for probabilities and 50% for frequencies. The same paper describes an earlier report in which 95 of 100 doctors, given this kind of screening problem in percentages, put the chance at 70% to 80% when the correct answer was 7.8%.
You can run your own numbers through the Bayes’ theorem calculator, which shows the answer as a crowd of people.
The formula
The counting above is Bayes’ theorem. Here it is as a formula (the Stanford Encyclopedia of Philosophy has the full treatment):
P(A | B) = P(B | A) × P(A) ÷ P(B)
Read P(A | B) as “the probability of A, given B”. In the example:
- A is “has the condition” and B is “tests positive”.
- P(A) is the base rate, also called the prior: 1%, or 0.01.
- P(B | A) is the chance of a positive if you have it: 90%, or 0.9.
- P(B) is the overall chance of a positive. It has two parts: true positives (0.9 × 0.01 = 0.009) plus false positives (0.09 × 0.99 = 0.0891), which add up to 0.0981.
So P(A | B) = 0.9 × 0.01 ÷ 0.0981 = 0.009 ÷ 0.0981 ≈ 0.092, or about 9%. That’s the same 90 out of 981 from the table, written as decimals.
The answer, P(A | B), is called the posterior: what you should believe after seeing the evidence.
Now suppose the person takes a second, independent test with the same accuracy, and it’s positive too. Today’s posterior becomes tomorrow’s prior. Of the 981 people who tested positive the first time, 90 have the condition. A second test flags 90% of them, which is 81, and 9% of the other 891, which is about 80. So about 81 of 161 positives are real: roughly 50%. One positive moved the chance from 1% to 9%. Two moved it to about 50%. This step-by-step adjustment is what people mean by Bayesian updating.
The base rate fallacy
Ignoring the 99-to-1 split is called the base rate fallacy: judging by the specific evidence and forgetting how common the thing is to begin with.
Amos Tversky and Daniel Kahneman showed it with a simple experiment, described in their 1974 paper in Science. People read short personality sketches said to be drawn from a group of 100 engineers and lawyers, and judged how likely each person was to be an engineer. One group was told the pool held 70 engineers and 30 lawyers. Another was told 30 engineers and 70 lawyers. The two groups gave essentially the same answers. The mix in the pool, which should have mattered a great deal, barely registered.
With no sketch at all, people used the base rates correctly. But give them a description written to say nothing useful (a 30-year-old man, married, no children, able, motivated and well liked) and they put the chance he was an engineer at 50%, whatever the mix in the pool. A description that told them nothing made them drop the base rate entirely.
Everyday uses
A spam filter
Say 10% of your email is spam. The word “free” appears in 60% of spam and in 5% of real email. Out of 1,000 emails, 100 are spam and 60 of those contain “free”. Of the 900 real emails, 45 contain “free”. So an email with “free” in it is spam 60 times out of 105, about 57%.
That’s suggestive but not enough to delete an email. Real filters combine many words at once. In his 2002 essay A Plan for Spam, Paul Graham described a filter that combined the spam probabilities of the fifteen most telling words in each message.
A smoke alarm
In most homes, burnt toast and smoky pans are common and kitchen fires are rare. So when the kitchen alarm sounds, the likeliest explanation is the toast.
You still get up and check. Bayes tells you how likely each explanation is, but what you do about it also depends on the cost of being wrong: checking a false alarm costs seconds, and ignoring a real fire can cost far more.
A rumor at work
A colleague tells you the office is moving. Suppose that, in your experience, about 1 in 5 office rumors turn out true. This colleague passes on 80% of the true rumors they hear and 10% of the false ones. Picture 100 rumors: 20 true, of which the colleague passes on 16; 80 false, of which they pass on 8. So a rumor from this colleague is true 16 times out of 24, about 67%.
Their tip makes the move much more likely than the 20% you’d have guessed before, and still leaves a 1 in 3 chance it’s wrong. That’s enough to start planning around, but not to start packing.
How to use it in practice
- Start with the base rate. Before looking at the evidence, ask how common the thing is in this group.
- Ask how often the evidence shows up when the thing isn’t true. That’s the false alarm rate, and it’s the number people forget.
- Picture 1,000 or 10,000 people and count both groups.
- Compare true alarms with all alarms.
- Update again as new, independent evidence arrives.
The same habit helps with health headlines, which often quote relative risks without the base rate. The guide to relative vs absolute risk covers that side.
Common questions
What is the base rate fallacy?
It is judging how likely something is from the specific evidence in front of you while ignoring how common that thing is in general. Assuming a positive result on a fairly accurate test means you almost certainly have a rare condition is the classic case. When the condition is rare, false alarms from the much larger healthy group can outnumber the true positives.
What is the difference between a prior and a posterior?
The prior is how likely something is before you see the new evidence, often the base rate. The posterior is how likely it is afterward. Bayes’ theorem is the rule that turns one into the other, and today’s posterior becomes the prior for the next piece of evidence.
Why does a second positive test change the answer so much?
Because the first positive result has already raised the starting probability. In the example on this page, one positive takes the chance from 1% to about 9%, and a second independent positive takes it from about 9% to about 50%. That only holds if the second test’s errors are independent of the first, which isn’t true if you repeat the same test on the same sample.
Sources
- How to Improve Bayesian Reasoning Without Instruction: Frequency Formats, Psychological Review 102(4), 684–704 (Gerd Gigerenzer and Ulrich Hoffrage, 1995). Accessed November 14, 2026.
- Judgment under Uncertainty: Heuristics and Biases, Science 185(4157), 1124–1131 (Amos Tversky and Daniel Kahneman, 1974). Accessed November 14, 2026.
- Bayes’ Theorem, Stanford Encyclopedia of Philosophy (James Joyce). Accessed November 14, 2026.
- A Plan for Spam, Paul Graham, August 2002. Accessed November 14, 2026.