Sensitivity and Specificity Calculator (PPV, NPV & Accuracy)

Calculate a test's sensitivity, specificity, positive and negative predictive value, accuracy, precision (F1), likelihood ratios and Youden index from a 2×2 table of true/false positives…

Results

Enter your details and click Calculate to see your results.
About This Calculator

Sensitivity = TP ÷ (TP + FN): the share of people with the condition who test positive. Specificity = TN ÷ (TN + FP). PPV = TP ÷ (TP + FP) and NPV = TN ÷ (TN + FN) at the table's prevalence.

Enter a different prevalence to see how PPV and NPV change in another population (Bayes' theorem).

Example

Example: 90 true positives, 30 false positives, 10 false negatives and 870 true negatives give a sensitivity of 90%, specificity of 96.67% and PPV of 75%.

Assumptions

Counts from a single 2×2 table; no confidence intervals.

Frequently Asked Questions

What is the difference between sensitivity and specificity?

Sensitivity catches true positives; specificity rules out true negatives.

Why is PPV low for rare diseases?

When prevalence is low, false positives outnumber true positives.

What is precision?

The same as PPV.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile