Skip to content
OneKitly

A Test That Is 99% Accurate Is Right One Time in Six

Published 11/30/2026 · 3 min read · Developer tools

Lena Hoffmann

Lena Hoffmann — Science & education writer at OneKitly

Mathematics · Physics

Checked against 2 sources

View profile →
In short

Take ten thousand people, one per cent of whom have the condition. The hundred who do produce 99 positives, because the test catches 99% of them. The 9,900 who do not produce 495 positives, because five per cent of them test positive anyway. That is 594 positive results of which 99 are real: a positive result means a 16.7% chance of having the condition, not 99%. Nothing is wrong with the test — the arithmetic is dominated by the fact that the healthy group is ninety-nine times larger.

Advertisement

For a condition affecting 1% of people, a test catching 99% of cases with a 5% false-positive rate produces 99 true positives and 495 false ones.

The false-positive rate does the damage, not the sensitivity

Hold the prevalence at one per cent and the sensitivity at 99%, and simply improve the false-positive rate: at 5% a positive is real 16.7% of the time, at 1% it is real half the time, and at 0.1% it is real 91% of the time. Sensitivity is what a manufacturer advertises and specificity is what decides whether a positive means anything, which is why screening programmes are designed around the second number and why a test good enough for a hospital ward can be useless as a mass screen.

Counting people is easier than the formula

Bayes' theorem written as a ratio of probabilities is famously hard to hold in the head, and the same calculation expressed as counts out of ten thousand is not. Studies of how doctors and patients reason with test results find the natural-frequency version answered correctly far more often than the percentage version, by the same people. The tool prints both for that reason: the formula is what generalises, and the table of counts is what convinces.

Chance a positive is real
Same test, four prevalences
PrevalenceTrue / false positivesChance a positive is real
0.1%10 / 5001.9%
1%99 / 49516.7%
5%495 / 47551.0%
20%1,980 / 40083.2%
Bayes Theorem CalculatorCompute the posterior probability P(A|B) with the probability tree, the natural-frequency restatement and the base-rate lesson that makes a 99 % accurate test right only 16.7 % of the time.Try the tool →
Advertisement

Frequently asked questions

Does a second test fix the problem?
Largely, and that is why medicine works this way. After a positive result the prevalence in the group being retested is no longer one per cent but 16.7%, and running the same test again on that group makes a second positive real about eighty per cent of the time. The catch is that the two tests must fail independently: a second run of the same technology on the same sample often repeats the same error, which is why confirmation usually uses a different method.
Is this only about medical tests?
The same arithmetic governs fraud alerts, spam filters, security screening and every automated flag raised against a rare event. A system that catches 99% of fraudulent transactions with a one per cent false alarm rate, applied to a stream where one transaction in a thousand is fraudulent, produces ten true alerts and a hundred false ones. Whether that is useful depends entirely on what an alert costs to check, which is a question about operations rather than about the model.

Articles you may find interesting

All guides →

Related tools

This explains how test arithmetic works; it says nothing about any particular test or result. A positive or negative result is interpreted by a clinician who knows the test, the prevalence in your situation and your history.

Sources

Spotted a mistake in this article?