Home · Statistics · Probability & Combinatorics · False Positive Calculator
False Positive Calculator
Given a test's sensitivity, specificity and the prevalence of the condition, the share of positive results that are false alarms — the false discovery rate, and the flip side of post-test probability.
What this calculator does
Given a test's sensitivity, specificity and the prevalence of the condition, the share of positive results that are false alarms — the false discovery rate, and the flip side of post-test probability. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Bayes' theorem on a population: of every 100 people, prev have the condition and sens% of them test positive, while (100−spec)% of the healthy (100−prev) also test positive.
The false discovery rate is the false positives' share of all positive results, 100% minus the positive predictive value.
At low prevalence even a specific test produces mostly false positives, because the healthy group is so much larger.
Worked example
With the example inputs this page opens with (prevalence (%) 10, sensitivity (%) 95, specificity (%) 90), the result is 48.65. Change any figure and the result updates with the same formula.
Quick reference
| Prevalence (%) | Result |
|---|---|
| 5 | 66.67 |
| 8 | 54.76 |
| 10 | 48.65 |
| 12.5 | 42.42 |
| 15 | 37.36 |
| 20 | 29.63 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Is the false discovery rate the same as the false positive rate?
No. The false positive rate is 100 − specificity: the share of healthy people who test positive. The false discovery rate is the share of positive results that are false, and it depends strongly on prevalence.
Why do most positives come out false when a condition is rare?
With prevalence at 1%, a 95%-specific test still flags 5% of the 99% who are healthy — about 5 false alarms for every 1 true case the test can possibly find. The healthy majority overwhelms the count.
How does the False Positive Calculator work?
Given a test's sensitivity, specificity and the prevalence of the condition, the share of positive results that are false alarms — the false discovery rate, and the flip side of post-test probability. Prevalence (%) · Sensitivity (%) · Specificity (%) → False discovery rate (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the False Positive Calculator need?
Prevalence (%) · Sensitivity (%) · Specificity (%) → False discovery rate (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.