False Positive Rate Calculator

Calculate false positive rate, PPV, NPV, and 11 diagnostic metrics from prevalence, sensitivity, and specificity with confusion matrix and PPV-prevalence curve.

PPV (Positive Predictive Value)
16.67%
990 TP out of 5940 positives
NPV (Negative Predictive Value)
99.99%
94050 TN out of 94060 negatives
False Positive Rate
5.00%
4950 false positives out of 99000 healthy
False Discovery Rate
83.33%
4950 / 5940 positive results are wrong
Overall Accuracy
95.04%
95040 correct out of 100000
Likelihood Ratio (+)
19.80
Strong diagnostic value

Confusion Matrix (n = 100,000)

Condition +Condition โˆ’Total
Test +990 (TP)4,950 (FP)5,940
Test โˆ’10 (FN)94,050 (TN)94,060
Total1,00099,000100,000

Diagnostic Metrics Summary

MetricValueDescription
Sensitivity (TPR)99.00%P(Test+ | Disease+)
Specificity (TNR)95.00%P(Testโˆ’ | Diseaseโˆ’)
PPV16.67%P(Disease+ | Test+)
NPV99.99%P(Diseaseโˆ’ | Testโˆ’)
FPR5.000%P(Test+ | Diseaseโˆ’) = 1 โˆ’ Specificity
FNR1.000%P(Testโˆ’ | Disease+) = 1 โˆ’ Sensitivity
FDR83.33%P(Diseaseโˆ’ | Test+) = 1 โˆ’ PPV
FOR0.011%P(Disease+ | Testโˆ’) = 1 โˆ’ NPV
LR+19.800Sensitivity / FPR
LRโˆ’0.0105FNR / Specificity
Accuracy95.04%(TP + TN) / N

PPV vs. Prevalence Curve

5%25%50%75%100%
Prevalence โ†’
Planning notes, formulas, and examples

About the False Positive Rate Calculator

False positive rates are critical in medical screening, drug testing, security screening, and any binary classification system. A test with 99% sensitivity and 95% specificity sounds excellent โ€” but when the condition is rare (say 1% prevalence), most positive results are actually false positives. This calculator reveals that counterintuitive reality.

Enter the prevalence, sensitivity, and specificity of any diagnostic test to see Complete View: confusion matrix with raw counts, positive and negative predictive values, false discovery rate, likelihood ratios, and a curve showing how PPV changes with prevalence. The population-scaled confusion matrix makes abstract probabilities concrete by showing actual numbers of true positives, false positives, true negatives, and false negatives.

This calculator is essential for understanding screening programs, evaluating diagnostic tests, and communicating risk to patients. The PPV-prevalence curve demonstrates why mass screening for rare conditions produces so many false alarms, and why targeted testing of high-risk groups is more effective.

When This Page Helps

Misunderstanding false positive rates leads to patient anxiety, unnecessary follow-up procedures, and poor clinical decisions. Studies show that even physicians often overestimate PPV for screening tests. This calculator makes the base rate fallacy tangible with concrete numbers.

The population-scaled confusion matrix and PPV-prevalence curve are powerful communication tools for explaining screening results to patients or stakeholders. Seeing that 5,940 positive results contain only 990 true cases is far more impactful than abstract probability statements.

How to Use the Inputs

  1. Enter the disease or condition prevalence as a percentage.
  2. Enter the test sensitivity (true positive rate) as a percentage.
  3. Enter the test specificity (true negative rate) as a percentage.
  4. Optionally adjust the population size to see scaled counts.
  5. Use presets for common scenarios: medical screening, drug tests, COVID tests.
  6. Review PPV, NPV, and 11 diagnostic metrics in the summary table.
  7. Examine the PPV-prevalence curve to see how results change with different base rates.
Formula used
PPV = TP / (TP + FP) = (Sensitivity ร— Prevalence) / (Sensitivity ร— Prevalence + (1 โˆ’ Specificity) ร— (1 โˆ’ Prevalence)) NPV = TN / (TN + FN) FPR = FP / (FP + TN) = 1 โˆ’ Specificity FDR = FP / (TP + FP) = 1 โˆ’ PPV LR+ = Sensitivity / (1 โˆ’ Specificity) LRโˆ’ = (1 โˆ’ Sensitivity) / Specificity

Example Calculation

Result: PPV = 16.67%, FDR = 83.33%, FPR = 5%, NPV = 99.99%

In a population of 100,000 with 1% prevalence: 1,000 are diseased, 99,000 healthy. The test correctly identifies 990 (TP) but misses 10 (FN). Among the healthy, 4,950 get false positives. So out of 5,940 positive results, only 990 (16.7%) actually have the disease. Most "positive" results are false alarms.

Tips & Best Practices

  • Low prevalence + high FPR = most positive results are false โ€” this is the base rate fallacy.
  • To rule in a disease: prioritize specificity (high specificity โ†’ high PPV) and use SpIN mnemonic.
  • To rule out a disease: prioritize sensitivity (high sensitivity โ†’ high NPV) and use SnNOUT mnemonic.
  • A two-step testing strategy (screen then confirm) dramatically improves PPV.
  • NPV is usually high for rare conditions โ€” a negative result is very reliable.
  • Compare LR+ across tests to find the most informative diagnostic test.

The Base Rate Fallacy in Medicine

The base rate fallacy โ€” ignoring how common a condition is when interpreting test results โ€” is one of the most well-documented cognitive biases in medicine. In a famous study by Casscells, Schoenberger, and Graboy (1978), most Harvard Medical School students and staff incorrectly estimated the PPV of a test with 95% sensitivity and 5% FPR in a population with 1/1000 prevalence. The correct answer is about 2%, but most answered 95%. This calculator helps combat that error.

Screening vs. Diagnostic Testing

Screening tests are applied to asymptomatic populations (mammography, newborn screening, airport security). Diagnostic tests are applied to symptomatic or high-risk individuals. Because screening populations have lower prevalence, screening tests almost always have lower PPV than the same test used diagnostically. This is why positive screening results require confirmatory testing.

Bayesian Reasoning with Natural Frequencies

Research by Gerd Gigerenzer shows that people reason about probabilities far better when presented with natural frequencies (e.g., "out of 1,000 women, 10 have cancer, 9 test positive...") rather than conditional probabilities. This calculator's confusion matrix with raw counts implements that approach, making Bayesian reasoning accessible to anyone.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • When prevalence is low, the false positives from the large healthy group vastly outnumber the true positives from the small diseased group. With 1% prevalence, there are 99 healthy people for every 1 sick person. Even a small FPR of 5% from 99,000 healthy people produces 4,950 false positives, dwarfing the 990 true positives.