A screening test has 95% sensitivity and 90% specificity, but disease prevalence is 2%. Which result metric becomes the main trap?
Sensitivity, specificity & diagnostic test accuracy calculator
Calculate sensitivity, specificity, PPV, NPV, likelihood ratios, and NAVLE-style test interpretation with study prompts for common exam traps.
NAVLE study mode
Use this as a short teaching loop: name the denominator, choose the metric, then decide whether prevalence changes the answer.
Of animals that truly have the disease, how many test positive?
TP / (TP + FN)
Of animals that truly do not have the disease, how many test negative?
TN / (TN + FP)
Of animals with a positive test, how many truly have the disease?
TP / (TP + FP)
Of animals with a negative test, how many truly do not have the disease?
TN / (TN + FN)
- "Correctly identifies diseased animals" points to sensitivity.
- "Correctly identifies non-diseased animals" points to specificity.
- "Given a positive result, what is the chance of disease?" points to PPV.
- "Given a negative result, what is the chance disease is absent?" points to NPV.
- "Disease is rare/common in this population" is usually a predictive-value trap.
Practice drills
In diseased animals, 72 test positive and 18 test negative. The question asks for the test's ability to detect disease. Which metric?
A test has 98% sensitivity and 70% specificity. A NAVLE-style question asks what a negative result is best used for.
A test has 70% sensitivity and 98% specificity. A NAVLE-style question asks what a positive result is best used for.
2x2 table
| Test result | Disease present | Disease absent |
|---|---|---|
| Positive | TP | FP |
| Negative | FN | TN |
Formula audit trail
- Sensitivity: TP / (TP + FN)
- Specificity: TN / (TN + FP)
- PPV: TP / (TP + FP)
- NPV: TN / (TN + FN)
Basis and limits
- Scope: arithmetic and interpretation support for educational and clinical reasoning workflows.
- Gold standard assumption: the 2x2 table assumes the disease-present and disease-absent columns come from an accepted reference standard.
- Predictive values: PPV and NPV depend strongly on prevalence and the population being tested.
- Clinical use: no diagnostic test should be interpreted without signalment, history, physical findings, pretest probability, and test limitations.
Related tools
Last reviewed: June 2026
Sources: Merck Veterinary Manual diagnostic test table; Ohio State College of Veterinary Medicine diagnostic testing review; NCBI StatPearls diagnostic testing accuracy overview.