How to use this calculator
Free Positive predictive value calculator. Estimate the share of positive test results that are true positives from prevalence and test accuracy.
- Enter Prior probability (%), Sensitivity (%), Specificity (%). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Among positive results, estimate how many are true positives
Positive predictive value (PPV) is the share of positive test results that come from people who have the condition. It depends on the test’s sensitivity and specificity as well as the prior probability in the population being tested.
Inputs for this calculation
- Prior probability (%): Use the pretest prevalence expected in the group receiving this test; it is not inferred from the result.
- Sensitivity (%): The fraction of true cases the test detects as positive.
- Specificity (%): The fraction of non-cases the test correctly labels negative.
Formula and method
With prevalence π, sensitivity Se, and specificity Sp: PPV = Se·π ÷ [Se·π + (1 − Sp)(1 − π)]. The denominator is all positive results: true positives plus false positives.
Worked example
For prevalence 10%, sensitivity 90%, and specificity 95%, a group of 10,000 contains about 1,000 people with the condition. The test yields 900 true positives and about 450 false positives among those without it, so PPV = 900 ÷ (900 + 450) = 66.67%.
Reading the result
Under these assumptions, roughly two out of three positive results would be true positives in this population. The same test can have a different PPV where the condition is less or more common.
Assumptions and limits
This is a population-level estimate, not a diagnosis. Use performance estimates that match the specific test, population, setting, and testing procedure; confirmatory testing or clinical assessment may be needed.
Method references
Frequently asked questions
Why can an accurate test still have a modest PPV?
When prevalence is low, even a small false-positive share among the many unaffected people can be comparable to or larger than the true-positive count.
How do I use the Positive predictive value calculator?
Enter Prior probability (%), Sensitivity (%), Specificity (%). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Positive predictive value?
For prevalence 10%, sensitivity 90%, and specificity 95%, a group of 10,000 contains about 1,000 people with the condition. The test yields 900 true positives and about 450 false positives among those without it, so PPV = 900 ÷ (900 + 450) = 66.67%.
What does the Positive predictive value calculator calculate?
Free Positive predictive value calculator. Estimate the share of positive test results that are true positives from prevalence and test accuracy.
What assumptions apply to Positive predictive value?
This is a population-level estimate, not a diagnosis. Use performance estimates that match the specific test, population, setting, and testing procedure; confirmatory testing or clinical assessment may be needed.