VerifiedEvidence: highv1.0.0

Specificity

The proportion of individuals who truly do not have a condition who are correctly identified as negative by a diagnostic test.

Last reviewedDarrin Baines IP Ltd

Concept Architecture

Concept


Theoretically, Specificity is a diagnostic accuracy measure that quantifies the ability of a test to correctly identify individuals who do not have a target condition. It represents the probability that a diagnostic test yields a negative result when the condition is truly absent and is founded on conditional probability theory. The concept exists to evaluate the capacity of a diagnostic test to minimise false-positive results and accurately exclude disease.

Mathematically, Specificity is represented as the proportion of true negative results among all individuals who are truly free of the condition according to a reference standard. It is a probability ranging from 0 to 1 or equivalently 0% to 100%. Higher specificity indicates a greater ability to correctly classify disease-free individuals and reduce false-positive diagnoses.

In practice, Specificity is estimated from diagnostic accuracy studies by comparing the results of an index test with those of an accepted reference standard. It is widely applied in screening programmes, diagnostic evaluation, health technology assessment and health economic modelling to assess test performance, estimate downstream healthcare consequences and support diagnostic decision-making.


Purpose


Used to quantify the ability of a diagnostic test to correctly identify individuals without disease, evaluate diagnostic performance and support clinical and health economic decision-making.


Mathematical Formulae

Primary Formula

Specificity = TN / (TN + FP)

where:

  • TN = true negatives
  • FP = false positives

Supporting Formulae

False Positive Rate = FP / (TN + FP)

False Positive Rate = 1 ? Specificity

LR? = Sensitivity / (1 ? Specificity)

LR? = (1 ? Sensitivity) / Specificity

where:

  • LR? = positive likelihood ratio
  • LR? = negative likelihood ratio

Related Mathematical Methods

  • Sensitivity
  • Positive Predictive Value
  • Negative Predictive Value
  • Positive Likelihood Ratio
  • Negative Likelihood Ratio
  • Bayes' Theorem
  • Receiver Operating Characteristic Analysis
  • Diagnostic Odds Ratio

Example


A diagnostic study evaluates a new blood test for detecting sepsis.

Among 400 patients confirmed not to have sepsis:

  • True negatives = 360
  • False positives = 40

Specificity:

Specificity = 360 / (360 + 40)

Specificity = 360 / 400 = 0.90

Specificity = 90%

The test correctly identifies 90% of individuals who are free of sepsis.


Excel Implementation

FunctionExample FormulaHealth Economics Application
Division=B2/(B2+C2)Calculates Specificity from true negatives and false positives.
Percentage=(B2/(B2+C2))*100Expresses Specificity as a percentage.
IF=IF((B2+C2)>0,B2/(B2+C2),"")Prevents division by zero when calculating Specificity.
ROUND=ROUND(B2/(B2+C2),3)Formats Specificity for reporting in diagnostic evaluations.

VBA (Optional)


A VBA macro can automatically calculate Specificity and related diagnostic performance measures for multiple diagnostic tests and generate comparative evaluation reports.


Sources

  • Zhou XH, Obuchowski NA, McClish DK. Statistical Methods in Diagnostic Medicine. 2nd ed.
  • Altman DG, Bland JM. Diagnostic tests 1: Sensitivity and specificity. BMJ. 1994;308:1552.
  • Bossuyt PM, Reitsma JB, Bruns DE, et al. STARD 2015: an updated list of essential items for reporting diagnostic accuracy studies. BMJ. 2015;351:h5527.
  • Deeks JJ, Altman DG. Diagnostic tests 4: likelihood ratios. BMJ. 2004;329:168?169.
  • Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation.

Library

Publications

1
  • Book

    Statistical Analysis of Cost-Effectiveness Data — Willan & Briggs, 1st Edition ed., 2006 (John Wiley & Sons)

    A synthesis of statistical methods for analysing cost-effectiveness data, including net-benefit regression, confidence intervals for the ICER, cost-effectiveness acceptability curves, and covariate adjustment. Part of the Wiley Statistics in Practice series.

Frequently Asked Questions (6)

  • What is specificity?

    The proportion of individuals who truly do not have a condition who are correctly identified as negative by a diagnostic test.

    Source: Altman & Bland 1994

  • What does the specificity of a test measure?

    Specificity is the proportion of people who truly do not have a condition that a test correctly identifies as negative. It measures how well a test clears the healthy, so a highly specific test rarely labels a well person as diseased and produces few false positives. This makes specificity important for confirming disease, since a positive result from a very specific test strongly suggests the condition is genuinely present. How well a test spares the healthy is what it captures. Sackett and colleagues (1991) describe this measure.

    Source: Sackett et al. 1991

  • How is specificity calculated?

    Specificity is calculated as the number of true negatives divided by the total number of people who truly do not have the condition, that is true negatives plus false positives. It requires a reference standard to establish who genuinely lacks the condition. So specificity is calculated from the proportion of those without the condition who test negative, giving the true negative rate, which is a property of the test and does not depend on the prevalence of the condition, distinguishing it from predictive values, and it is estimated by comparing test results against a definitive reference standard in people known not to have the condition.

    Source: Altman & Bland 1994

  • What does high specificity mean?

    High specificity means a test correctly identifies most people who do not have the condition, producing few false positives, so a positive result from a highly specific test is fairly reliable for confirming the condition. This is why highly specific tests are valued when a false positive would be harmful or costly. So high specificity indicates that the test rarely flags the condition when it is absent, which makes a positive result useful for ruling disease in, though a highly specific test may still miss cases, so specificity is considered alongside sensitivity to judge overall performance.

    Source: Sackett et al. 1991

  • How does specificity differ from sensitivity?

    Specificity is the proportion of those without the condition who test negative, the true negative rate, while sensitivity is the proportion of those with the condition who test positive, the true positive rate. Specificity concerns correctly excluding the condition when absent, and sensitivity detecting it when present. There is often a trade-off, since increasing specificity can lower sensitivity. So specificity and sensitivity are complementary measures of a test's performance, one capturing how well it rules the condition out and the other how well it finds it, and both are needed to characterise a diagnostic test fully.

    Source: Altman & Bland 1994

  • Why is specificity important?

    Specificity is important because it shows how well a test correctly excludes a condition when it is absent, which matters where false positives would lead to harm, anxiety, or unnecessary further testing and treatment. A highly specific test gives confidence that a positive result is unlikely to be a false alarm. So specificity matters for judging a test's ability to avoid mislabelling healthy people as diseased, guiding its use where false positives are costly, and because it is a property of the test independent of prevalence, it characterises the test consistently across settings, complementing sensitivity and the prevalence-dependent predictive values.

    Source: Altman & Bland 1994

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 10 Dec 2025

Content version: 1.0.0

Canonical Identity

Term code
HE-ES-RM-041

Stable URI · Machine-readable · Resolvable · CC BY 4.0