Sensitivity, specificity and predictive values
14 min
- Calculate diagnostic sensitivity against the reference classification
- Calculate diagnostic specificity against the reference classification
- Calculate positive and negative predictive values
Try first
Get the idea
A diagnostic accuracy study sorts every participant twice: once by the test being studied and once by a reference standard that decides who has the target condition. The four possible pairings form a two-by-two table.1,2
| Reference: condition present | Reference: condition absent | |
|---|---|---|
| Test positive | True positive (TP) | False positive (FP) |
| Test negative | False negative (FN) | True negative (TN) |
Each measure is a fraction of one row or one column, and the skill is choosing which.
Down the columns: sensitivity and specificity
These start from what the reference standard says.
- Sensitivity works down the first column. It is the share of the people the reference standard calls positive that the test also calls positive.
- Specificity works down the second column, among the people the reference standard calls negative.
sensitivity = TP ÷ (TP + FN) × 100%
specificity = TN ÷ (TN + FP) × 100%
Across the rows: predictive values
Predictive values start from the test result a clinician receives.1,3
- The positive predictive value (PPV) is the share of positive results that are true.
- The negative predictive value (NPV) is the share of negative results that are true.
PPV = TP ÷ (TP + FP) × 100%
NPV = TN ÷ (TN + FN) × 100%
When the population changes
The two pairs behave differently when the tested population changes.1,3
- Sensitivity and specificity describe the test at a stated cutoff, in the kind of population studied, and they can still differ from one study setting to another.
- Predictive values also depend on prevalence, the share of tested people who have the condition. As a condition becomes rarer, false positives make up a larger part of the positive row, so PPV falls and NPV rises, even with the same test and cutoff.
Check the denominator
A quick check catches most errors: name the denominator before dividing.
- A column total gives sensitivity or specificity.
- A row total gives a predictive value.
References
- US Food and Drug Administration. Statistical Guidance on Reporting Results from Studies Evaluating Diagnostic Tests: Guidance for Industry and FDA Staff. Final guidance. Issued March 13, 2007. Accessed September 23, 2026.
- Clinical and Laboratory Standards Institute. Evaluation of Qualitative, Binary Output Examination Performance. 3rd ed. CLSI guideline EP12. Clinical and Laboratory Standards Institute; 2023. Accessed August 31, 2026.
- Bishop ML, Fody EP, Van Siclen C, Mistler JM, Moy M. Clinical Chemistry: Principles, Techniques, and Correlations. 9th ed. Jones & Bartlett Learning; 2023.
Watch one
A screening test has a sensitivity of 95% and a specificity of 90%. It is used in 1,000 people, 10% of whom have the condition. What are the PPV and NPV in this group?
- Split the group by the reference standard: 10% of 1,000 = 100 with the condition and 900 without.
Predictive values need counts in every cell, and prevalence says how the people divide between the two columns.
- Fill that column: TP = 0.95 × 100 = 95, so FN = 100 − 95 = 5.
Sensitivity is a fraction of the condition-present column.
- Fill the other column: TN = 0.90 × 900 = 810, so FP = 900 − 810 = 90.
Specificity is a fraction of the condition-absent column.
- PPV = 95 ÷ (95 + 90) = 95 ÷ 185 = 51.4%.
PPV starts from everyone with a positive result, so it uses the test-positive row.
- NPV = 810 ÷ (810 + 5) = 810 ÷ 815 = 99.4%.
NPV starts from everyone with a negative result, so it uses the test-negative row.
Your turn
Results
- Calculate diagnostic sensitivity against the reference classification
- Calculate diagnostic specificity against the reference classification
- Calculate positive and negative predictive values
To review
3 questions from this step will come back in Review.
Next step: Iron-binding capacity and transferrin saturationReview nowOpen the part
Keep
Sources checked
The rest of this step
A short briefing, a demonstration at the bench and 3 practice problems.
A free account opens the rest and keeps your progress.