Youden Index Calculator
Diagnostic accuracy
- Inputs: sensitivity is 86.40 percent and specificity is 79.20 percent at the chosen cut-off.
- As proportions: sensitivity 0.864 and specificity 0.792.
- Youden sum: 0.864 + 0.792 - 1 = 0.656.
- Youden index result: 0.656 - the cut-off keeps 82.80 percent balanced accuracy.
Every diagnostic test that ends in a yes-or-no answer lives or dies at its cut-off. Set the threshold low and the test catches nearly every case but cries wolf constantly; set it high and it stays quiet until the evidence is overwhelming, missing early cases on the way. Youden's index, proposed by W. J. Youden in 1950, compresses the trade-off at any single cut-off into one number: sensitivity plus specificity minus one. A test no better than a coin flip scores zero, a perfect test scores one, and every real test sits in between.
Give the calculator a sensitivity and a specificity - as percentages, at whatever cut-off you are evaluating - and it returns Youden's J, both likelihood ratios and the balanced accuracy. The examples cover a balanced test, a sensitivity-leaning one and a specificity-leaning one, because the index treats those leans in instructively different ways.
Worked examples
Youden index of a balanced test
(86.4 · 79.2)
| Youden index J | 0.656 |
| Positive likelihood ratio (LR+) | 4.15 |
| Negative likelihood ratio (LR-) | 0.17 |
| Balanced accuracy (%) | 82.80 |
Youden index of a rule-out test
(92.7 · 64.5)
| Youden index J | 0.572 |
| Positive likelihood ratio (LR+) | 2.61 |
| Negative likelihood ratio (LR-) | 0.11 |
| Balanced accuracy (%) | 78.60 |
Youden index of a rule-in test
(71.3 · 95.8)
| Youden index J | 0.671 |
| Positive likelihood ratio (LR+) | 16.98 |
| Negative likelihood ratio (LR-) | 0.30 |
| Balanced accuracy (%) | 83.55 |
One number for one cut-off
The arithmetic could hardly be plainer. Convert the two percentages to proportions, add them, subtract one. In the first worked example a sensitivity of 86.4 percent and a specificity of 79.2 percent become 0.864 and 0.792, and J is 0.656. Geometrically, J is the height of the ROC curve above the diagonal chance line at that cut-off - the maximum vertical distance between the curve and chance is the best J the test can offer, which is why the cut-off that maximises J is the standard data-driven choice.
What J deliberately ignores is prevalence. It grades the test's discrimination at the cut-off, not the probability that a positive result is true in your clinic, which depends on how common the condition is in the people you test. Two settings can share a J of 0.656 and produce utterly different predictive values. That separation is a feature when you are comparing tests or cut-offs, and a trap when you forget that J is not a statement about any individual patient's result.
The equal weighting is the other deliberate choice. J treats a missed case and a false alarm as equally costly, because sensitivity and specificity enter symmetrically. Real decisions rarely weight them equally - a missed cancer and a false-positive scare are not the same event - so J is best used as the first screen of candidate cut-offs, with the likelihood ratios and the clinical costs arbitrating between the finalists.
- J = sensitivity + specificity - 1, with both entered as proportions.
- J is the ROC curve's height above the chance diagonal at that cut-off.
- J ignores prevalence; it grades discrimination, not predictive value.
- J weights false positives and false negatives equally.
J, likelihood ratios and balanced accuracy
The supporting values on this page unpack what J compresses. The positive likelihood ratio divides sensitivity by the false-positive rate: the first example's 4.15 means a positive result is about four times as likely in someone with the condition as in someone without it. The negative likelihood ratio divides the false-negative rate by specificity: 0.17 means a negative result is about a sixth as likely in a case as in a non-case. Clinicians who think in odds can carry these two numbers straight into a pre-test to post-test calculation, which J alone does not support.
Balanced accuracy is the average of sensitivity and specificity - 82.80 percent in the first example - and it is related to J by simple arithmetic: J is twice the balanced accuracy minus one, in proportion terms. It exists on the page because accuracy language is how many readers first meet the trade-off, and because it exposes a common reporting trick: a test can boast a high headline accuracy in a low-prevalence sample by calling almost everyone negative, while its balanced accuracy, and its J, tell the truth.
The second and third examples show J arbitrating between opposite leans. The sensitivity-leaning test - 92.7 percent sensitive, 64.5 percent specific - scores J of 0.572 with a weak LR+ of 2.61 but a strong LR- of 0.11: it is a rule-out tool. The specificity-leaning test - 71.3 and 95.8 - scores the higher J of 0.671, driven by an LR+ of 16.98: a strong rule-in tool. J ranks the second test lower overall while the likelihood ratios explain why you might still choose it for screening.
| Example profile | J | LR+ | LR- | Best role |
|---|---|---|---|---|
| Balanced (86.4 / 79.2) | 0.656 | 4.15 | 0.17 | General-purpose cut-off |
| Sensitivity-leaning (92.7 / 64.5) | 0.572 | 2.61 | 0.11 | Ruling out |
| Specificity-leaning (71.3 / 95.8) | 0.671 | 16.98 | 0.30 | Ruling in |
Worked examples
Example 1: Sensitivity 86.4; Specificity 79.2. Youden index J = 0.656. Supporting values: Positive likelihood ratio (LR+) 4.15; Negative likelihood ratio (LR-) 0.17; Balanced accuracy (%) 82.80. Inputs: sensitivity is 86.40 percent and specificity is 79.20 percent at the chosen cut-off. As proportions: sensitivity 0.864 and specificity 0.792. Youden sum: 0.864 + 0.792 - 1 = 0.656. Youden index result: 0.656 - the cut-off keeps 82.80 percent balanced accuracy.
Example 2: Sensitivity 92.7; Specificity 64.5. Youden index J = 0.572. Supporting values: Positive likelihood ratio (LR+) 2.61; Negative likelihood ratio (LR-) 0.11; Balanced accuracy (%) 78.60. Inputs: sensitivity is 92.70 percent and specificity is 64.50 percent at the chosen cut-off. As proportions: sensitivity 0.927 and specificity 0.645. Youden sum: 0.927 + 0.645 - 1 = 0.572. Youden index result: 0.572 - the cut-off keeps 78.60 percent balanced accuracy.
Example 3: Sensitivity 71.3; Specificity 95.8. Youden index J = 0.671. Supporting values: Positive likelihood ratio (LR+) 16.98; Negative likelihood ratio (LR-) 0.30; Balanced accuracy (%) 83.55. Inputs: sensitivity is 71.30 percent and specificity is 95.80 percent at the chosen cut-off. As proportions: sensitivity 0.713 and specificity 0.958. Youden sum: 0.713 + 0.958 - 1 = 0.671. Youden index result: 0.671 - the cut-off keeps 83.55 percent balanced accuracy.
Choosing a cut-off by maximising J
The standard workflow is to compute J at every candidate cut-off from a validation sample and take the maximum. It is objective, reproducible and blind to everything except discrimination - which is both its appeal and its limit. If the costs of the two error types differ by a factor of ten, the J-optimal cut-off will be systematically wrong for your setting, and a cost-weighted analysis should overrule it. J's proper role is to give you the shortlist and a defensible default, not to make the clinical judgement for you.
A second caution is statistical. The cut-off that maximises J in one sample is partly capitalising on that sample's noise, so its J is optimistically biased; honest practice estimates the chosen cut-off's performance in fresh data. When two cut-offs tie on J, prefer the one whose likelihood ratios match your purpose - rule-in or rule-out - as the second and third examples illustrate.
Where Youden's index came from
Youden was a statistician at the US National Bureau of Standards, and his 1950 paper in Cancer proposed the index for rating diagnostic tests - a setting where, then as now, enthusiasts quoted sensitivity alone and hoped nobody asked about the false positives. The insistence that a rating must punish both error types at once was the paper's real contribution, and it is why the index survived the arrival of the ROC framework that later absorbed it: J turned out to be a natural geometric feature of the curve, the height above chance.
Modern diagnostic literature reports J less often than AUC, the area under the whole ROC curve, but the two answer different questions. AUC grades a test across all cut-offs, including ones nobody would use; J grades the one cut-off you are actually considering. For a clinician choosing an operating point, or a researcher defending one, J remains the more decision-relevant number - provided its equal-cost assumption is stated out loud.
Reporting J honestly
A J value quoted without its cut-off and its two ingredients is close to meaningless, because the same test posts a different J at every threshold. Report all four numbers - cut-off, sensitivity, specificity, J - and, where the audience will use them, the likelihood ratios as well; this page's output block is a reasonable template. In the first example that means saying: at the chosen cut-off, sensitivity 86.4 percent, specificity 79.2 percent, J of 0.656, LR+ of 4.15 and LR- of 0.17.
Finally, remember what J cannot see. It says nothing about calibration, nothing about prevalence-driven predictive values, and nothing about whether the reference standard itself was trustworthy. It is one honest number about discrimination at one cut-off - which, used as exactly that, is still one of the most useful numbers in diagnostic research.
FAQs
What is Youden's index?
A single-number summary of a diagnostic test at one cut-off: sensitivity plus specificity minus one, with both as proportions. It equals the height of the ROC curve above the chance line at that cut-off, running from 0 for a useless test to 1 for a perfect one.
What Youden index does the first worked example give?
Sensitivity of 86.4 percent and specificity of 79.2 percent give J of 0.656, with a positive likelihood ratio of 4.15, a negative likelihood ratio of 0.17 and a balanced accuracy of 82.80 percent.
Which example is best for ruling out disease?
The second. Its J of 0.572 is the lowest of the three, but its negative likelihood ratio of 0.11 is the strongest - a negative result from a 92.7 percent sensitive test is powerful evidence against the condition.
Which example is best for ruling in?
The third. Sensitivity of 71.3 percent with specificity of 95.8 percent gives the highest J, 0.671, and a positive likelihood ratio of 16.98 - a positive result is strong evidence for the condition.
Does Youden's index account for prevalence?
No. J grades discrimination at the cut-off only. Predictive values - what a positive or negative result means for the patient in front of you - depend on prevalence and must be computed separately, usually from the likelihood ratios this page reports.
Why not always pick the cut-off with the highest J?
Because J weights a missed case and a false alarm equally, and real clinical costs rarely do. The J-maximising cut-off is a defensible default and a good shortlist, but a strongly asymmetric cost structure should overrule it.