Diagnostic calculator
Enter the test's sensitivity and specificity, the number of people with the outcome and the sample size, then press Calculate.
Inputs
Confusion matrix
Total patients–
Diseased patients
(patients with the outcome)–
(patients with the outcome)–
Non-diseased patients
(patients without the outcome)–
(patients without the outcome)–
TP–
FN–
TN–
FP–
Non-diseased = sample size - diseased. TP = sensitivity x diseased; FN = diseased - TP. TN = specificity x non-diseased; FP = non-diseased - TN. Counts are expected values and can be fractional.