Statistics & Probability

Sensitivity and Specificity Calculator

Evaluate a test using true and false positives and negatives.

Your numbers

Your results

Sensitivity
Sensitivity
—
Specificity
—
Positive predictive value
—
Negative predictive value
—
Accuracy
—
Positive likelihood ratio
—

Sensitivity and Specificity Calculator by TheCalcTools

How the Sensitivity and Specificity Calculator works

Enter the counts from your test results compared against the true condition.

Sensitivity is the share of people with the condition who test positive.

Specificity is the share without the condition who test negative.

The formula

Sensitivity = TP ÷ (TP + FN)Specificity = TN ÷ (TN + FP)

Worked example

Using the default values shown in the calculator:

True positives90
False positives30
False negatives10
True negatives870
  1. Sensitivity = 90 ÷ 100 = 90.0%.
  2. Specificity = 870 ÷ 900 = 96.7%.
  3. PPV = 90 ÷ 120 = 75.0%.

Result:

Sensitivity90.00%
Specificity96.67%
Positive predictive value75.00%
Negative predictive value98.86%
Accuracy96.00%
Positive likelihood ratio27.00

Frequently asked questions

Why does PPV depend on prevalence?

When a condition is rare, even a specific test produces many false positives compared with true positives, which lowers PPV.

What is a good sensitivity?

It depends on the use. Screening tests aim for high sensitivity so few cases are missed; confirmatory tests aim for high specificity.

Sources and further reading

More in Statistics & Probability · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.