Sensitivity & Specificity Calculator
Compute sensitivity, specificity, PPV, NPV and accuracy from a 2×2 table.
Input Data
Input True positive TP.
Input False negative FN.
Input False positive FP.
Input True negative TN.
Results
0.8
0.9
0.888889
0.818182
0.85
Sensitivity = TP/(TP+FN).
At a glance:Sensitivity & Specificity Calculator: enter parameters to compute results; complements related calculators.
Formula
Sensitivity = TP/(TP+FN).
Specificity = TN/(TN+FP).
PPV = TP/(TP+FP), NPV = TN/(TN+FP).
Accuracy = (TP+TN)/N.
How to Use
- Enter TP, FN, FP, TN of the 2×2 table.
- It returns sensitivity, specificity and predictive values.
Case Studies
TP=80,FN=20,FP=10,TN=90 → sens=0.8, spec=0.9
PPV = 80/90 ≈ 0.8889, NPV = 90/110 ≈ 0.8182.
FAQ
How to trade off sensitivity vs specificity?
Screening favors sensitivity (fewer misses); confirmation favors specificity (fewer false alarms).
Related Tools
References
Content review: Calculatorism Science Team. Formula and numeric tests verified; results for reference only.