Home · Statistics · Probability & Combinatorics · Youden Index Calculator
Youden Index Calculator
Youden's J statistic for a diagnostic test: sensitivity plus specificity minus 1 — the standard single number for choosing the best cut-off point on an ROC curve.
What this calculator does
Youden's J statistic for a diagnostic test: sensitivity plus specificity minus 1 — the standard single number for choosing the best cut-off point on an ROC curve. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Sensitivity and specificity enter as fractions (0–1), so J also lies between 0 (a useless test) and 1 (a perfect test).
J is the greatest vertical distance between the ROC curve and the diagonal chance line; the cut-off achieving it is the usual 'optimal' threshold.
It weights a missed case and a false alarm equally, which may not match the real costs of the two errors.
Worked example
With the example inputs this page opens with (true positives 80, false positives 10, false negatives 20, true negatives 90), the result is 0.7000. Change any figure and the result updates with the same formula.
Quick reference
| True positives | Result |
|---|---|
| 40 | 0.5667 |
| 64 | 0.6619 |
| 80 | 0.7000 |
| 100 | 0.7333 |
| 120 | 0.7571 |
| 160 | 0.7889 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How is the Youden index used to pick a threshold?
Compute J at every candidate cut-off and choose the one with the largest J. That point maximises the sum of sensitivity and specificity, balancing catches against false alarms.
Can the Youden index be negative?
Yes, if sensitivity + specificity is below 1 the test performs worse than chance at that cut-off — its positive and negative labels are effectively inverted.
How does the Youden Index Calculator work?
Youden's J statistic for a diagnostic test: sensitivity plus specificity minus 1 — the standard single number for choosing the best cut-off point on an ROC curve. True positives · False positives · False negatives · True negatives → Youden index J. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Youden Index Calculator need?
True positives · False positives · False negatives · True negatives → Youden index J. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.