Every Single CalculatorOne place for every calculator
÷Everyday math

Sensitivity and specificity calculator

How good a test is, from its four outcome counts.

Example: You are judging a test or a spam filter.

Your numbers

Drawn from your numbers. It redraws as you type.
  • Sensitivity0
  • Specificity0
  • Positive predictive value0
  • Negative predictive value0
  • Accuracy0

How it is worked out

Sensitivity = true positives ÷ all who have it. Specificity = true negatives ÷ all who do not.

A worked example

A test that finds 90 of 100 real cases and clears 80 of 100 healthy people is 90% sensitive and 80% specific.

How we know this calculator is right

Before this calculator went on the site, 8 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Used by: students.