False Positive Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter how common the condition is, the test's sensitivity and specificity and a group size to see how many positive results are expected to be false.
Result
Expected false positives
Expected true positives
- Expected positive results in all
- Chance a positive result is a true positive (PPV)
- Share of positive results that are false
- False positive rate (1 − specificity)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Prevalence (% of the group with the condition): enter a number from 0 to 100.
- Sensitivity, in percent: enter a number from 0 to 100.
- Specificity, in percent: enter a number from 0 to 100.
- Group size (people tested): enter 1 or more.
- Read the result: Expected false positives; the panel also shows Expected true positives, Expected positive results in all, Chance a positive result is a true positive (PPV), Share of positive results that are false and False positive rate (1 − specificity).
How this calculator works
True positives = N × prevalence × sensitivity; false positives = N × (1 − prevalence) × (1 − specificity). The false positive rate is 1 − specificity: the share of people without the condition who test positive.
Positive predictive value PPV = TP ÷ (TP + FP), Bayes' theorem applied to the test; the false discovery rate is FP ÷ (TP + FP) = 1 − PPV. When the condition is rare, even a specific test gives more false than true positives: the false positive paradox.
This is a probability calculation on the figures you enter; it is not a diagnosis and does not interpret anyone's test result.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Prevalence (% of the group with the condition) | ||
| Specificity | % | |
| Group size (people tested) | ||
| Expected false positives |
Worked example
| Prevalence (% of the group with the condition) | 1 |
|---|---|
| Sensitivity | 90% |
| Specificity | 95% |
| Group size (people tested) | 10,000 |
| Expected true positives | 90 |
|---|---|
| Expected positive results in all | 585 |
| Chance a positive result is a true positive (PPV) | 15.38% |
| Share of positive results that are false | 84.62% |
| False positive rate (1 − specificity) | 5% |
Expected false positives 495
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Why are most positives false when a condition is rare?
With 1% prevalence, 90% sensitivity and 95% specificity in 10,000 people, 90 true positives are found but 495 of the 9,900 people without the condition also test positive, so only about 15.38% of positives are true.
What is the difference between the false positive rate and the false discovery rate?
The false positive rate is the share of negatives (people without the condition) who test positive. The false discovery rate is the share of positive results that are wrong, and it depends on prevalence.