Sensitivity and Specificity Calculator
Advanced diagnostic test evaluation tool. Calculate Sensitivity, Specificity, PPV, NPV, Likelihood Ratios, and Accuracy from a 2x2 Confusion Matrix.
Enter the raw counts for your population sample.
About
This Sensitivity and Specificity Calculator is a professional-grade biostatistical tool designed to evaluate the performance of binary classification tests. Whether analyzing a medical diagnostic test (e.g., Rapid Antigen, MRI) or a machine learning classification model, the validity of the results hinges on understanding the trade-offs between True Positives and False Negatives.
Accuracy alone is often a misleading metric, especially in datasets with class imbalance (low prevalence). This tool decomposes performance into granular metrics: Sensitivity (the ability to detect the condition), Specificity (the ability to exclude it), and Likelihood Ratios, which provide prevalence-independent measures of diagnostic utility. Correctly interpreting these values is critical for clinical decision-making, ensuring that patients are neither over-diagnosed (False Positives) nor missed (False Negatives).
Formulas
Sensitivity (True Positive Rate)
Measures the proportion of actual positives that are correctly identified. High sensitivity rules OUT disease (SnNOut).
Specificity (True Negative Rate)
Measures the proportion of actual negatives that are correctly identified. High specificity rules IN disease (SpPIn).
Positive Predictive Value (PPV)
Negative Predictive Value (NPV)
Likelihood Ratio Positive (LR+)
Reference Data
| Diagnostic Test | Condition | Sensitivity (Est.) | Specificity (Est.) |
|---|---|---|---|
| RT-PCR (Nasopharyngeal) | COVID-19 | 85% - 95% | > 99% |
| Rapid Antigen Test | COVID-19 | 60% - 80% | > 99% |
| Mammography | Breast Cancer | 87% | 89% |
| Pap Smear | Cervical Cancer | 55% - 80% | 90% - 98% |
| PSA (4.0 ng/mL cutoff) | Prostate Cancer | 21% | 91% |
| MRI | ACL Tear | 90% - 98% | 95% - 99% |
| D-Dimer | DVT (Thrombosis) | 95% - 98% | 40% - 60% |
| Troponin I | Myocardial Infarction | 90% - 99% | 85% - 95% |