Overview
Sensitivity measures how well a test catches real positives. This works it out from a confusion matrix, along with specificity and the two predictive values.
Enter your counts of true positives, false negatives, true negatives and false positives. For a medical test result, always ask a clinician to help interpret it.
Worked examples
| Inputs | Result |
|---|---|
| True Positives88False Negatives12True Negatives190False Positives18 | Sensitivity: 88%Specificity: 91.35%PPV: 83.02%NPV: 94.06% |
Show 2 more examples
| True Positives45False Negatives5True Negatives900False Positives50 | Sensitivity: 90%Specificity: 94.74%PPV: 47.37%NPV: 99.45% |
| True Positives99False Negatives1True Negatives95False Positives5 | Sensitivity: 99%Specificity: 95%PPV: 95.19%NPV: 98.96% |
Sensitivity by true positives
With the calculator's starting values, the sensitivity is 88%. The table shows how it changes with the true positives.
| True Positives | Sensitivity |
|---|---|
| 60 | 83.33% |
| 80 | 86.96% |
| 88starting value | 88% |
| 100 | 89.29% |
| 120 | 90.91% |
Other inputs: False Negatives: 12 · True Negatives: 190 · False Positives: 18. Change them in the calculator above for your own numbers.
How it works
Sensitivity is true positives out of all real positives. Specificity is true negatives out of all real negatives. Positive and negative predictive values, PPV and NPV, ask the reverse question: of those who tested positive or negative, how many were correct? Unlike sensitivity and specificity, PPV and NPV change with how common the condition is.
The formula
| TP | True positives, correctly flagged |
| FN | False negatives, missed cases |
| TN | True negatives, correctly cleared |
| FP | False positives, false alarms |
Practical tips
- 88 true positives and 12 false negatives give 88% sensitivity.
- A rare condition can give a low PPV even with a good test, because false alarms outnumber real cases.
- High sensitivity helps rule a condition out, and high specificity helps rule it in.
Frequently asked questions
What's the difference between sensitivity and specificity?
Sensitivity is how many real positives are caught. Specificity is how many real negatives are correctly cleared.
Is sensitivity the same as recall?
Yes. Machine learning calls it recall or the true positive rate.
Which matters more?
It depends on the cost of each error. Screening for a serious illness favors sensitivity, while a confirmatory test favors specificity.