Free Tools › Sensitivity & Specificity Calculator

Sensitivity and Specificity Calculator

Enter true and false positives and negatives to get sensitivity, specificity, predictive values, likelihood ratios and accuracy, each with a 95% confidence interval.

FreeNo account neededYour data stays in your browser

Condition presentCondition absent
Test positiveTrue positivesFalse positives
Test negativeFalse negativesTrue negatives

Results

Sensitivity90.0% (95% CI 82.6% to 94.5%)
Specificity85.0% (95% CI 79.4% to 89.3%)
Positive predictive value (PPV)75.0% (95% CI 66.6% to 81.9%)
Negative predictive value (NPV)94.4% (95% CI 90.1% to 97.0%)
Positive likelihood ratio (LR+)6.00
Negative likelihood ratio (LR−)0.118
Diagnostic odds ratio51.00
Accuracy86.7% (95% CI 82.4% to 90.1%)
Prevalence in this sample33.3%PPV and NPV depend on prevalence
Youden's index0.750

Confidence intervals for proportions use the Wilson score method.

Get new free research tools firstOccasional emails when we add tools and guides. No spam.

We only use your email to send these updates, never share it, and you can unsubscribe by replying to any email or writing to info@timelyscholar.com. Privacy Policy

How to Use the Sensitivity & Specificity Calculator

  1. 1

    Enter the 2×2 table

    Type the true positives, false positives, false negatives and true negatives, comparing the index test with the reference standard.

  2. 2

    Read accuracy

    See sensitivity, specificity and overall accuracy, each with a Wilson 95% confidence interval.

  3. 3

    Read predictive values

    See PPV and NPV, which depend on the prevalence in your sample (shown in the table), plus positive and negative likelihood ratios.

  4. 4

    Use the summary measures

    Report the diagnostic odds ratio and Youden's index, or take the likelihood ratios to the Fagan nomogram to work out post-test probabilities.

Sensitivity, specificity and predictive values

Sensitivity is the proportion of people with the condition who test positive; specificity is the proportion without it who test negative. They describe the test itself.

Positive and negative predictive values tell you how likely a result is to be correct, and they depend on how common the condition is in the population tested. Likelihood ratios combine sensitivity and specificity and do not depend on prevalence.

Full guide: Fagan nomogram: how to use likelihood ratios and post-test probabilities

How it is calculated

Sources

Sensitivity & Specificity Calculator: FAQ

Why do PPV and NPV change between populations?

They depend on prevalence. The same test has a lower PPV where the condition is rare.

How do I interpret likelihood ratios?

The further LR+ is above 1, the more a positive result raises the probability of the condition; the closer LR− is to 0, the more a negative result lowers it. Values near 1 change the probability very little.

Related Free Tools

Chat on WhatsApp