OneStopList

Gods and goddesses

Sensitivity vs Specificity: What’s the Difference?

Updated November 4, 2026

Sensitivity vs Specificity: What's the Difference?

Sensitivity and specificity are two statistical measures that describe how well a diagnostic test performs: sensitivity is the proportion of true positives correctly identified by the test, while specificity is the proportion of true negatives correctly identified. In simpler terms, a sensitive test catches most people with the condition (few false negatives), while a specific test correctly rules out those without the condition (few false positives).

Why These Two Measures Matter

Every medical test, from a rapid strep test to an MRI, has an inherent trade-off between sensitivity and specificity. A test that is highly sensitive is good at detecting a disease when it is present, but it may also produce more false positives. A test that is highly specific is good at confirming that a person does not have the disease, but it may miss some true cases. Clinicians choose tests based on what they are trying to achieve: screening a large population for a rare disease calls for high sensitivity, while confirming a diagnosis after symptoms appear calls for high specificity.

These measures are not fixed properties of a test; they depend on the threshold used to define a positive result. For example, a blood glucose test can be read at a lower cutoff to catch more pre-diabetics (higher sensitivity) or at a higher cutoff to avoid alarming healthy people (higher specificity). Changing the threshold moves the balance.

How Sensitivity and Specificity Are Calculated

To understand the numbers, you need to know the four possible outcomes of a test compared to the true condition:

  • True positive (TP): test positive, condition present.
  • False positive (FP): test positive, condition absent.
  • True negative (TN): test negative, condition absent.
  • False negative (FN): test negative, condition present.

Sensitivity = TP / (TP + FN). It answers: “Of all people who actually have the disease, what percentage does the test catch?” Specificity = TN / (TN + FP). It answers: “Of all people who do not have the disease, what percentage does the test correctly rule out?”

For example, if a test has 95% sensitivity, it will correctly identify 95 out of 100 people with the disease, but miss 5. If it has 90% specificity, it will correctly rule out 90 out of 100 healthy people, but falsely flag 10 as having the disease.

Interpreting Results: The Role of Prevalence

Sensitivity and specificity alone do not tell you how likely a positive result is correct. That depends on how common the disease is in the population being tested—the prevalence. This is where predictive values come in. Positive predictive value (PPV) is the probability that a positive test means the person truly has the disease. Negative predictive value (NPV) is the probability that a negative test means the person truly does not have it.

Consider a test with 99% sensitivity and 95% specificity, which sounds excellent. If used to screen a population where only 1% actually have the disease, then out of 10,000 people, 100 have the disease and 99 will test positive (true positives). Of the 9,900 healthy people, 5% (495) will test positive (false positives). So the PPV is 99 / (99 + 495) = about 16.7%. That means even with a positive result, there is only a 1 in 6 chance the person actually has the disease. This is why screening tests are not diagnostic; they are followed by more specific confirmatory tests.

How to Choose Between Sensitivity and Specificity

The choice depends on the clinical context and the consequences of a wrong answer. Here are the general rules:

  • High sensitivity is preferred when missing a disease is dangerous—for example, HIV screening, cancer screening, or tests for a condition that is easily treatable if caught early. False negatives are worse than false positives.
  • High specificity is preferred when a false positive would cause harm—for example, confirming a diagnosis before invasive surgery, or testing for a condition where a false positive leads to unnecessary anxiety, treatment, or cost.
  • Two-step testing often uses a highly sensitive test first (to catch all possible cases), then a highly specific test to confirm (to rule out the false positives).

In practice, most tests are designed to balance both, and the cutoff is chosen based on what is considered an acceptable trade-off. For instance, the ELISA test for HIV is highly sensitive, but a positive result is always confirmed with a Western blot, which is highly specific.

Common Misconceptions and Pitfalls

One common mistake is thinking that sensitivity and specificity are fixed, universal numbers. They are not. They are measured in a particular study population, and they can vary with disease severity, stage, and patient demographics. A test that is 95% sensitive in a hospital setting may perform differently in a community screening.

Another misconception is that a test with high sensitivity and high specificity is always the best choice. But even a near-perfect test can have low predictive value when the disease is rare, as shown above. Conversely, a test with moderate sensitivity and specificity can be very useful when used in a population with high prevalence.

Finally, people often confuse sensitivity with the false positive rate. The false positive rate is 1 – specificity. So a test with 95% specificity has a 5% false positive rate. Similarly, the false negative rate is 1 – sensitivity.

Real-World Examples

Mammography for breast cancer screening is a classic example. It has high sensitivity (around 80-90%) but lower specificity, especially in younger women with dense breast tissue, leading to false positives that require follow-up. This is why screening guidelines vary by age and risk.

Rapid antigen tests for COVID-19 are less sensitive than PCR tests, especially in asymptomatic people, but they are highly specific. A positive rapid test is very likely correct, but a negative test does not rule out infection. This is why negative rapid tests are often repeated or confirmed with PCR.

Prenatal screening for Down syndrome (the quad screen) is designed to be highly sensitive to catch as many cases as possible, but it also produces many false positives. That is why a positive screen is followed by diagnostic tests like amniocentesis, which is highly specific but invasive.

Alternatives and Complementary Measures

While sensitivity and specificity are the most common measures, they are not the only ones. The receiver operating characteristic (ROC) curve plots sensitivity against 1 – specificity for all possible cutoffs, helping to choose the optimal threshold. The area under the ROC curve (AUC) summarizes overall accuracy, with 1.0 being perfect and 0.5 being no better than chance.

Likelihood ratios (LR+ and LR−) combine sensitivity and specificity into a single number that can be used to update the probability of disease after a test result. A positive likelihood ratio above 10 is considered strong evidence to rule in a disease, while a negative likelihood ratio below 0.1 is strong evidence to rule it out.

For tests that produce a continuous result, such as blood pressure or cholesterol, there is no single sensitivity or specificity—they depend on the chosen cutoff. This is why guidelines often recommend different cutoffs for different risk groups.

Frequently Asked Questions

What is the difference between sensitivity and specificity in simple terms?

Sensitivity is how good a test is at catching people who have the disease (true positive rate). Specificity is how good it is at correctly clearing people who do not have the disease (true negative rate). A sensitive test rarely misses a sick person; a specific test rarely falsely alarms a healthy person.

Which is more important: sensitivity or specificity?

Neither is universally more important. It depends on the situation. For screening a dangerous but treatable disease, sensitivity is more important to avoid missing cases. For confirming a diagnosis before a risky treatment, specificity is more important to avoid treating someone who does not need it. Many clinical decisions use both in sequence.

Can a test have 100% sensitivity and 100% specificity?

In theory, yes, but in practice almost never. Real tests have overlapping distributions of results for healthy and diseased people, so there is always a trade-off. A test that is 100% sensitive will typically have low specificity, and vice versa. Only a test with perfect discrimination would achieve both, and such tests are rare or nonexistent in medicine.

Why does a positive result not always mean the disease is present?

Because of false positives. Even a highly specific test can produce false positives when the disease is rare. The probability that a positive result is correct depends on the prevalence of the disease in the population being tested. This is why doctors consider the patient’s risk factors and often order confirmatory tests.

How do sensitivity and specificity relate to false positives and false negatives?

Sensitivity is the true positive rate, so 1 – sensitivity equals the false negative rate (missed cases). Specificity is the true negative rate, so 1 – specificity equals the false positive rate (false alarms). A test with 95% sensitivity has a 5% false negative rate; a test with 90% specificity has a 10% false positive rate.

Related

How pages are sourced and corrected: Sources and editorial policy.