What Is Sensitivity vs. Specificity in Diagnostic Tests?

Every medical test can be wrong in two different ways: it can miss a condition that is there, or flag one that isn’t. Sensitivity and specificity are the two scores that measure each kind of mistake separately. A test can score highly on both and still give a surprising number of wrong positives when the condition being tested for is rare.

What Sensitivity and Specificity Each Measure

Sensitivity is the share of people who truly have the condition whose test comes back positive.1Wikipedia. Sensitivity and specificity If 100 people with an infection are tested and 95 test positive, the test’s sensitivity is 95%.2Johns Hopkins Center for Health Security. Understanding the Accuracy of Diagnostic and Serology Tests: Sensitivity and Specificity The other 5 are missed cases, called false negatives, who are told they’re fine when they aren’t.2Johns Hopkins Center for Health Security. Understanding the Accuracy of Diagnostic and Serology Tests: Sensitivity and Specificity

Specificity is the share of people without the condition whose test correctly comes back negative.1Wikipedia. Sensitivity and specificity If 100 healthy people are tested and 93 test negative, specificity is 93%.2Johns Hopkins Center for Health Security. Understanding the Accuracy of Diagnostic and Serology Tests: Sensitivity and Specificity The other 7 get a false positive, a false alarm.2Johns Hopkins Center for Health Security. Understanding the Accuracy of Diagnostic and Serology Tests: Sensitivity and Specificity Because the two numbers are measured on different groups, a test can be strong on one and weak on the other.

A smoke alarm shows the difference. One that goes off whenever you make toast is sensitive, since it is unlikely to miss a real fire, but it isn’t specific. One that sounds only for a roaring blaze is specific but not sensitive, because a smoldering fire can get past it.

Both numbers are calculated by testing people whose true status is already known, using a more definitive method such as a lab culture, a biopsy, or long-term follow-up. A test’s scores are only as good as that reference standard, and for some conditions the standard is itself imperfect. Published figures are therefore best estimates, not exact facts. Your own result never enters the calculation, so the numbers describe the test’s track record, not the person holding the result.

The two mistakes feel different from the patient’s side. After a false negative, you leave reassured and may ignore symptoms or skip follow-up, so the error is invisible at first. After a false positive, you usually learn the truth only after more testing, and you live with the worry in the meantime. The two errors aren’t equally costly in every situation, which is why the scores are reported separately instead of being merged into one “accuracy” number.

Which Number Matters for a Negative Result and Which for a Positive

Doctors use a shortcut: when specificity is high, a positive result rules the condition in.3PubMed Central. Beyond SpPIN and SnNOUT: Considerations with Dichotomous Tests During Assessment of Diagnostic Accuracy When sensitivity is high, a negative result rules it out.3PubMed Central. Beyond SpPIN and SnNOUT: Considerations with Dichotomous Tests During Assessment of Diagnostic Accuracy A highly sensitive test rarely misses real cases, so a negative from it is reassuring.4PubMed Central. Screening tests: a review with examples That makes highly sensitive tests useful for screening, where the goal is not to miss anyone.4PubMed Central. Screening tests: a review with examples

If nearly every sick person would have tested positive, a negative makes it unlikely you belong to the sick group. That holds only for the condition the test targets, and only if the test was done when the condition could be detected. It also says nothing about other illnesses with similar symptoms.

The positive side works the same way in reverse. If nearly every healthy person would test negative, a positive is an unusual outcome for someone healthy. That’s why a highly specific test is a good choice for confirming a diagnosis before starting treatment. The rule only holds when specificity is very high.

Rapid tests show how lopsided the two numbers can be. In community COVID testing, a standard rapid antigen test caught only about half of infections, about 52%, yet gave no false positives.5PubMed Central. Diagnostic accuracy of point-of-care testing methods for SARS-CoV-2 detection in community quarantine and isolation settings A positive from it was very reliable, but it missed nearly half of infections, so a negative was far less reassuring. Rapid flu tests in clinics catch roughly 50 to 70% of cases.6PubMed Central. Clinical Impact of Rapid Point-of-Care PCR Influenza Testing in an Urgent Care Setting: a Single-Center Study

Because these tests miss many early cases, a negative from a home test doesn’t clear you. After a negative with clear symptoms, ask about retesting a day or two later or getting a PCR or other lab test, which catches more cases.

Why Improving One Usually Worsens the Other

Many tests measure a level, such as a blood marker, and call it positive above a chosen cutoff.7PubMed Central. Sensitivity, Specificity, Receiver-Operating Characteristic (ROC) Curves and Likelihood Ratios: Communicating the Performance of Diagnostic Tests Lowering the cutoff catches more true cases and raises sensitivity.7PubMed Central. Sensitivity, Specificity, Receiver-Operating Characteristic (ROC) Curves and Likelihood Ratios: Communicating the Performance of Diagnostic Tests But it also flags more healthy people, so specificity falls.7PubMed Central. Sensitivity, Specificity, Receiver-Operating Characteristic (ROC) Curves and Likelihood Ratios: Communicating the Performance of Diagnostic Tests Test designers therefore pick a cutoff that balances misses against false alarms for the test’s purpose.8PubMed. ROC-ing along: Evaluation and interpretation of receiver operating characteristic curves

The stakes guide that choice. For a dangerous disease that is treatable early, missing cases is costly, so cutoffs lean sensitive. When follow-up is invasive or harmful, cutoffs lean specific. Your result is also less certain if it sits near the cutoff than if it lands far above or below it, so it’s worth asking your doctor where your number fell.

Sick and healthy people’s marker levels overlap in the middle, so wherever the line is drawn, some sick people fall below it and some healthy people above it. No cutoff makes a test perfect.

Repeating tests shifts the balance too. Calling someone positive if either of two tests is positive catches more cases but adds false alarms.9PubMed Central. A review of methods for the analysis of diagnostic tests performed in sequence Requiring a second, confirming test to also be positive cuts false alarms and makes a positive more trustworthy.10PubMed. A practitioner’s guide to developing critical appraisal skills: How to understand and interpret frequentist and Bayesian approaches applied to serial and parallel diagnostic testing

This is why a doctor orders a second test: a first screening test is often tuned not to miss anyone, so some of its positives are false alarms. A positive screen is the start of a process, not a diagnosis.

Why a Positive Result Can Be Wrong Even From an Accurate Test

The chance that a positive result is real, called positive predictive value, rises and falls with how common the condition is.11PubMed Central. Biostatistics and Epidemiology Principles for the Toxicologist: The “Testy” Test Characteristics Part II: Positive Predictive Value and Negative Predictive Value Sensitivity and specificity themselves are usually treated as fixed features of the test.11PubMed Central. Biostatistics and Epidemiology Principles for the Toxicologist: The “Testy” Test Characteristics Part II: Positive Predictive Value and Negative Predictive Value So when a condition is rare, a positive result is less likely to be real,12PubMed Central. Foundational Statistical Principles in Medical Research: Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value and a negative is more likely to be right.12PubMed Central. Foundational Statistical Principles in Medical Research: Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value In a mostly healthy group, even a small false-alarm rate produces many false positives compared with the few true cases.11PubMed Central. Biostatistics and Epidemiology Principles for the Toxicologist: The “Testy” Test Characteristics Part II: Positive Predictive Value and Negative Predictive Value

Counting people instead of percentages makes this clear.13PubMed. Using natural frequencies to improve diagnostic inferences Suppose 10 in 1,000 people have a condition, and the test catches 95% of cases and clears 93% of healthy people. About 9 real cases test positive. But about 69 of the 990 healthy people also test positive. Only about 1 in 9 positives in that group is real.

Flip the situation and the picture changes. Using the same 95% and 93% test, if half of a group had the condition, most positives would be real. In that high-prevalence group, a negative becomes less reassuring, the mirror image of the rare case.

The same logic applies to symptoms. Use one test on people with symptoms and on people with none, and a positive is much more likely to be real in the symptomatic group. The test didn’t change; what changed is how many truly sick people were in the group before testing started. That’s why a doctor’s knowledge of your symptoms and history counts as part of the result. It also explains routine screening: it tests people with no symptoms, where conditions are uncommon, so screening tests need very high specificity.

After a surprising positive, a few questions are worth asking:

  • How common is this condition in someone with my age and history?
  • How many positives like mine turn out to be real?
  • What confirming test comes next, and when?
  • Do my symptoms or family history change the odds?

What a Wrong Result Can Cost You

False positive results can lead healthy people into more tests and unnecessary treatment.14PubMed Central. Diagnostic testing: a key component of high-value care That can bring injury, expense, anxiety and lost time.14PubMed Central. Diagnostic testing: a key component of high-value care14PubMed Central. Diagnostic testing: a key component of high-value care

A positive screen usually triggers a chain: repeat imaging or labs, then perhaps a biopsy or other invasive procedure, each with its own risks and waiting time. Each step can carry a small chance of complication, so the harm grows with how far down the chain someone goes.

False negatives can also cause serious harm by delaying needed care.15PubMed. The dangers of false-positive and false-negative test results: false-positive results as a function of pretest probability Timing is a common culprit. Early in an infection there may be too little to detect, and testing too soon is a frequent cause of missed cases. A negative PCR test early in an infection shouldn’t alone end precautions if exposure or symptoms suggest infection.16PubMed Central. Variation in False-Negative Rate of Reverse Transcriptase Polymerase Chain Reaction-Based SARS-CoV-2 Tests by Time Since Exposure

All this feeds into whether to get a test at all. A test is worth it when its benefits clearly outweigh its harms. Routine mammograms for women under 40 are an example of testing a low-risk group, where false alarms are common. A useful question is what you’d do differently depending on the result; if nothing would change, the test may not help.

Can You Trust the Accuracy Figures You Read

A test’s accuracy can differ between settings like family practice, emergency rooms and hospitals, because the patients differ.17Catalogue of Biases. Spectrum bias Studies that compare severe cases against healthy volunteers make the test look much better than it is.17Catalogue of Biases. Spectrum bias Real patients with mild, early or unusual illness are harder for the test to classify.18CASRAI. Spectrum Bias in Diagnostic Test Accuracy Accuracy measured on easy comparisons doesn’t carry over, even though the test itself hasn’t changed.18CASRAI. Spectrum Bias in Diagnostic Test Accuracy

On a test box or in the news, look for both numbers, not just one impressive figure. Ask whether the test was studied in people like you, with mild or no symptoms. A claim of 99% accuracy may come from obvious cases. For home tests, compare the figures with what your doctor’s lab offers.

FDA clearance doesn’t require proof that using a test improves patients’ outcomes.19PubMed Central. Translation of proteomic biomarkers into FDA approved cancer diagnostics: issues and challenges Clearance generally means a test measures what it claims with acceptable accuracy, not that testing people with it leads to better health.