Sensitivity and Specificity Calculator
Calculate sensitivity and specificity from true and false positive and negative counts.
Formula
Sensitivity = TP/(TP+FN); specificity = TN/(TN+FP), expressed as percentages
Sensitivity ≈ 100×(80)÷((80)+(20)) · Specificity ≈ 100×(90)÷((90)+(10))
How to use
- Enter true positive and false negative counts.
- Enter true negative and false positive counts.
- Read both percentages for your reference labels.
Examples
- TP=80, FN=20, TN=90, FP=10 give 80% and 90%.
Frequently asked questions
What is sensitivity?
The fraction of actual positives detected as positive.
What is specificity?
The fraction of actual negatives detected as negative.
What if a denominator is zero?
That measure is undefined; include at least one actual positive and one actual negative.
Sources
Updated: