Sensitivity And Specificity Calculator
Work out sensitivity and specificity instantly with clear inputs, formula shown and shareable results.
About Sensitivity And Specificity Calculator
Sensitivity is the fraction of diseased people the test catches and specificity the fraction of healthy people it clears. Predictive values answer the patient's question instead, and they depend heavily on prevalence.
Formulas
Sensitivity and specificity
Sens = TP/(TP + FN), Spec = TN/(TN + FP)
Predictive values
PPV = TP/(TP + FP), NPV = TN/(TN + FN)
Worked example
With the default values below, Sensitivity And Specificity Calculator returns Sensitivity (true positive rate) of 0.90000000. Change any input above and every figure here is recalculated in your browser.
Inputs used
- True positivesminimum 0
- 90
- False negativesminimum 0
- 10
- True negativesminimum 0
- 855
- False positivesminimum 0
- 45
Results
- Sensitivity (true positive rate)
- 0.90000000
- Specificity (true negative rate)
- 0.95000000
- Positive predictive value
- 0.66666667
- Negative predictive value
- 0.98843931
Step by step
- 1Values used
- 2Sensitivity and specificity
- 3Predictive values
- 4Sensitivity (true positive rate)= 0.90000000
- 5Specificity (true negative rate)= 0.95000000
- 6Positive predictive value= 0.66666667
- 7Negative predictive value= 0.98843931
Assumptions and limits
- The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
For 90 TP, 10 FN, 855 TN and 45 FP?
Sensitivity is 90% and specificity 95%, but the positive predictive value is only 66.7%.
Why is PPV lower than sensitivity?
Because the healthy group is nine times larger here, so its 5% false-positive rate contributes many of the positives.
Related Calculators
- Addition Rule Of Probability Calculator
- ANOVA Two Way Calculator
- Bayesian Posterior Probability Calculator
- Beta Distribution Calculator
- Bonferroni Correction Calculator
- Bootstrap Confidence Interval Calculator
- Box Plot Calculator
- Central Limit Theorem Calculator
- Chi Square Distribution Calculator
- Chi Square Goodness Of Fit Calculator
You might also need
- Type I And Type II Error CalculatorAlso in Statistics & Probability
- Decile CalculatorAlso in Statistics & Probability
- F Distribution CalculatorAlso in Statistics & Probability
- Midrange CalculatorAlso in Statistics & Probability
- Z Test CalculatorAlso in Statistics & Probability
- Stem And Leaf Plot CalculatorAlso in Statistics & Probability
