0.3333
0.9971
9.4905
0.0556
0.3333
0.9971
9.4905
0.0556
The Predictive Values (PPV, NPV) Calculator computes positive and negative predictive values along with likelihood ratios from known sensitivity, specificity, and disease prevalence. These are the metrics that matter most to clinicians and patients: given a test result, what is the probability that the diagnosis is correct?
While sensitivity and specificity describe test performance in isolation, predictive values incorporate prevalence to answer the real clinical question. Likelihood ratios provide a prevalence-independent way to update pre-test probability to post-test probability using Bayes' theorem.
Positive Predictive Value (probability that a positive test result is truly positive):
$$PPV = \frac{\text{Sens} \times \text{Prev}}{\text{Sens} \times \text{Prev} + (1 - \text{Spec}) \times (1 - \text{Prev})}$$
Negative Predictive Value (probability that a negative result is truly negative):
$$NPV = \frac{\text{Spec} \times (1 - \text{Prev})}{\text{Spec} \times (1 - \text{Prev}) + (1 - \text{Sens}) \times \text{Prev}}$$
Positive Likelihood Ratio — how much a positive result increases the odds of disease:
$$LR^+ = \frac{\text{Sensitivity}}{1 - \text{Specificity}}$$
Negative Likelihood Ratio — how much a negative result decreases the odds of disease:
$$LR^- = \frac{1 - \text{Sensitivity}}{\text{Specificity}}$$
Likelihood ratios are used with the Fagan nomogram: multiply pre-test odds by LR to get post-test odds. LR+ > 10 and LR− < 0.1 indicate a very useful diagnostic test.
PPV answers: "If I test positive, what's the chance I'm actually sick?" Low PPV in low-prevalence settings is the false positive paradox.
NPV answers: "If I test negative, what's the chance I'm truly healthy?" NPV is typically high when prevalence is low.
LR+ > 10: A positive result is strong evidence for the disease. LR+ of 2–5 is moderate, < 2 is weak.
LR− < 0.1: A negative result effectively rules out the disease. LR− of 0.2–0.5 is moderate, > 0.5 is weak.
Inputs
Results
Even with 99.8% sensitivity and 99.5% specificity, PPV is only 37.4% at 0.3% prevalence. LR+ = 200 is excellent.
Inputs
Results
PPV = 75.2% at 15% prevalence. LR+ = 17.2 is strong; LR− = 0.15 is good for ruling out.
Because they incorporate the base rate of the disease. In a population where 1% are sick, there are 99 healthy people for every sick person. False positives from the large healthy group can overwhelm true positives from the small sick group, reducing PPV. This is Bayes' theorem in action.
Likelihood ratios quantify the diagnostic value of a test independent of prevalence. LR+ tells you how much more likely a positive result is in a sick person versus a healthy person. They can be applied to any pre-test probability to compute post-test probability using the odds form of Bayes' theorem.
Draw a line from pre-test probability through the likelihood ratio to read the post-test probability. Mathematically: convert pre-test probability to odds, multiply by LR, convert back to probability. Post-test odds = pre-test odds × LR.
Yes. When prevalence is high (> ~50%), PPV can exceed sensitivity. At the extreme (prevalence near 100%), PPV approaches 100% regardless of specificity because almost everyone is truly positive.
A test with LR+ > 10 and LR− < 0.1 is considered highly informative. The key is the combination: high sensitivity (few missed cases) AND high specificity (few false alarms). No single metric captures overall test quality — consider ROC AUC for a single summary.
When a second test is applied to positive results from the first, the effective prevalence for the second test is the PPV of the first test (much higher than population prevalence). This dramatically improves the final PPV, which is why confirmatory testing is standard practice.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Lottery Odds Calculator
Probability Calculators
Probability Calculator
Probability Calculators
Conditional Probability Calculator
Probability Calculators
Monty Hall Problem Calculator
Probability Calculators
Combinations Calculator (nCr)
Probability Calculators
Permutations Calculator (nPr)
Probability Calculators