Diagnostic reasoning

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.

Calculation mode
Educational support only. Interpret test results with clinical context and current references.
NAVLE study mode

Use this as a short teaching loop: name the denominator, choose the metric, then decide whether prevalence changes the answer.

Sensitivity

Of animals that truly have the disease, how many test positive?

TP / (TP + FN)
Specificity

Of animals that truly do not have the disease, how many test negative?

TN / (TN + FP)
Positive predictive value

Of animals with a positive test, how many truly have the disease?

TP / (TP + FP)
Negative predictive value

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
Drill 1: low-prevalence screening

A screening test has 95% sensitivity and 90% specificity, but disease prevalence is 2%. Which result metric becomes the main trap?

Drill 2: disease-present denominator

In diseased animals, 72 test positive and 18 test negative. The question asks for the test's ability to detect disease. Which metric?

Drill 3: high-sensitivity rule-out

A test has 98% sensitivity and 70% specificity. A NAVLE-style question asks what a negative result is best used for.

Drill 4: high-specificity rule-in

A test has 70% sensitivity and 98% specificity. A NAVLE-style question asks what a positive result is best used for.

2x2 table
Test resultDisease presentDisease absent
PositiveTPFP
NegativeFNTN
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.