Positive Predictive Value Epi
Enter your 2x2 contingency table values to instantly compute PPV, NPV, sensitivity, specificity, and likelihood ratios for diagnostic test evaluation.
2×2 Contingency Table
Enter raw cell counts from your diagnostic study.
Disease +
Disease −
Test +
Test −
TP — True Positives: disease+ & test+
FP — False Positives: disease− & test+
FN — False Negatives: disease+ & test−
TN — True Negatives: disease− & test−
Enter values and click Calculate to see results.
Predictive Values
PPV
—
Positive Predictive Value
NPV
—
Negative Predictive Value
Test Performance
Sensitivity
—
True Pos. Rate
Specificity
—
True Neg. Rate
Accuracy
—
Overall
Likelihood Ratios
LR+
—
Positive LR
LR−
—
Negative LR
LR+ > 10 strongly rules in; LR− < 0.1 strongly rules out.
Population Summary
Total N
—
Prevalence
—
Disease +
—
Disease −
—
Test +
—
Test −
—
Summary
Enter your 2x2 contingency table values to instantly compute PPV, NPV, sensitivity, specificity, and likelihood ratios for diagnostic test evaluation.
How it works
- Fill in the four cells of the 2x2 table: True Positives, False Positives, False Negatives, True Negatives.
- The tool calculates totals for disease-positive, disease-negative, test-positive, and test-negative groups.
- Sensitivity = TP / (TP + FN); Specificity = TN / (TN + FP).
- PPV = TP / (TP + FP); NPV = TN / (TN + FN).
- LR+ = Sensitivity / (1 − Specificity); LR− = (1 − Sensitivity) / Specificity.
- Prevalence and overall accuracy are computed from the full table totals.
Use cases
- Evaluate a screening test before clinical adoption.
- Compare the accuracy of two competing diagnostic assays.
- Calculate post-test probability for a patient given a known prevalence.
- Teach epidemiology students the relationship between prevalence and PPV.
- Assess a rapid antigen test vs. a reference PCR standard.
- Determine whether a high-specificity or high-sensitivity test is appropriate.
- Audit published diagnostic studies for reported accuracy metrics.
- Plan sample sizes for diagnostic accuracy studies based on target PPV.
Frequently Asked Questions
Last updated: 2026-07-24 ·
Reviewed by Nham Vu