Medical AtlasPROJECT IMG
✎ Sketch Notes🏛️ 3D LibraryMy Desk

Sensitivity & specificity

Sensitivity is the proportion of people with disease who test positive; specificity is the proportion without disease who test negative. They are properties of the test and do not change with prevalence. High-sensitivity tests rule out (SnNOut); high-specificity tests rule in (SpPIn).

Overview

Every diagnostic test is judged against a gold standard (the best available reference test). Results fall into a 2 x 2 table:

Disease +Disease -
Test +TP (a)FP (b)
Test -FN (c)TN (d)

Sensitivity = TP / (TP + FN) = a/(a+c): of all diseased people, how many test positive. Specificity = TN / (TN + FP) = d/(b+d): of all healthy people, how many test negative.

  • False-negative rate = 1 - sensitivity.
  • False-positive rate = 1 - specificity.

Clinical meaning

PropertyMemory aidUseExamples
High sensitivitySnNOut: a Sensitive test, when Negative, rules OUTScreening; ruling out dangerous diseaseD-dimer for PE (low pretest), HIV immunoassay, CT for subarachnoid hemorrhage within 6 hours
High specificitySpPIn: a Specific test, when Positive, rules INConfirmation before risky treatmentWestern blot historically, biopsy, anti-CCP for rheumatoid arthritis

A test with 100% sensitivity has no false negatives, so a negative result excludes disease. A test with 100% specificity has no false positives, so a positive result confirms disease.

Effect of prevalence and cutoffs

Sensitivity and specificity are intrinsic to the test and its cutoff: they do not change when prevalence changes (unlike predictive values). They do change when the cutoff changes:

  • Lowering the cutoff for a positive result (for example, calling fasting glucose of 110 diabetic instead of 126) catches more true cases: sensitivity rises, specificity falls, false positives increase.
  • Raising the cutoff does the opposite: specificity rises, sensitivity falls, false negatives increase.

There is always a trade-off unless a better test is used. This trade-off is drawn as an ROC curve.

Worked example

A new test is given to 200 patients, 100 with and 100 without disease (by biopsy). 90 diseased patients test positive, and 80 healthy patients test negative.

  • Sensitivity = 90/100 = 90%.
  • Specificity = 80/100 = 80%.
  • False positives = 20; false negatives = 10.

Always build the table with disease status in columns; sensitivity and specificity are calculated down the columns, predictive values across the rows.

Combining tests

  • Serial testing (second test only if the first is positive; both must be positive): increases specificity and PPV, decreases sensitivity. Example: screening immunoassay followed by confirmatory test.
  • Parallel testing (both done at once; either positive counts): increases sensitivity and NPV, decreases specificity. Example: troponin plus ECG in the emergency department for chest pain.

Spectrum effect

Reported sensitivity can be misleading if the test was studied only in very sick patients (easy to detect) versus very healthy controls. In real practice, with milder cases, sensitivity and specificity are often lower. This is called spectrum bias.

Exam vignette approach

A rapid strep test is studied against throat culture in 500 children. Read the question for the words "of those with the disease" (sensitivity) or "of those without the disease" (specificity); "of those who tested positive" signals PPV. When asked which test to choose for a disease that is fatal if missed but easily treated, pick the most sensitive test; when a positive result leads to surgery or lifelong therapy, pick the most specific test, or confirm with one.

🔥 Exam pearls

  • Sensitivity = TP/(TP+FN); specificity = TN/(TN+FP).
  • SnNOut: negative result on a highly sensitive test rules out disease.
  • SpPIn: positive result on a highly specific test rules in disease.
  • Changing prevalence does not change sensitivity or specificity.
  • Lowering the positivity cutoff raises sensitivity and lowers specificity.
  • Serial testing raises specificity; parallel testing raises sensitivity.
© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.