Specificity definition
Specificity is the proportion of actual negative cases that a classifier correctly identifies as negative.
Specificity in a picture
How it works
Divide true negatives by true negatives plus false positives. Specificity is also called the true negative rate. It complements the false positive rate, since these rates split all actual negatives into correct rejections and false alarms.
Worked examples
A detector leaves 45 of 50 clean parts unflagged. Find specificity.
45/50 = 90%.
A filter has specificity 0.97. Find the false positive rate.
1 − 0.97 = 0.03.
If all negatives are correctly rejected, what is specificity?
100% if there is at least one actual negative.
Common mistake
Specificity divides by actual negatives. Negative predictive value divides by cases predicted negative.
Quick check
What is the alternative name for specificity?
Show answer
True negative rate.
Do false negatives enter its formula?
Show answer
No.
If the false positive rate is 1%, what is specificity?
Show answer
99%.
Sources
Flashcard
Specificity
Reveal the definition
Specificity is the proportion of actual negative cases that a classifier correctly identifies as negative.
Effortless Math. “Specificity.” Math Dictionary.



