Youden Index Calculator
Evaluate diagnostic test performance - enter sensitivity and specificity or raw counts to get J, LR+, LR−, PPV, and NPV.
📖 What is the Youden Index?
The Youden Index (also called Youden's J statistic or informedness) is a summary measure of diagnostic test performance that combines sensitivity and specificity into a single number: J = Sensitivity + Specificity − 1. Introduced by William J. Youden in 1950, it ranges from 0 (no better than chance) to 1 (perfect test). The index is widely used in clinical research, epidemiology, and machine learning to evaluate binary classifiers and to find the optimal cut-off point on a ROC curve.
Youden's J is geometrically the maximum vertical distance from the ROC curve to the 45-degree chance diagonal. Maximising J simultaneously optimises sensitivity and specificity under equal-weight assumptions. When the costs of false positives and false negatives differ (as in most real clinical situations), a weighted version of J or a different optimisation criterion may be preferred.
This calculator goes beyond just J to provide a complete diagnostic test evaluation: likelihood ratios (LR+ and LR−) quantify how much a positive or negative test result shifts the probability of disease; PPV and NPV give the probability of disease given the test result (requiring prevalence); accuracy is the overall proportion of correct classifications; F1 score is the harmonic mean of precision and recall; and the Matthews Correlation Coefficient (MCC) is the most balanced single metric for binary classification quality.
Applications span all of medicine and biostatistics: evaluating cancer screening tests, assessing machine learning model quality, optimising fraud detection thresholds, setting diagnostic cut-offs for blood biomarkers, comparing competing diagnostic protocols, and designing clinical decision support algorithms. Understanding all these metrics together - not just accuracy or sensitivity alone - is essential for responsible diagnostic test evaluation.
📐 Formulas
Sensitivity (Recall, TPR): Sens = TP / (TP + FN)
Specificity (TNR): Spec = TN / (TN + FP)
Positive Likelihood Ratio: LR+ = Sensitivity / (1 − Specificity)
Negative Likelihood Ratio: LR− = (1 − Sensitivity) / Specificity
PPV (with prevalence π): PPV = (Sens × π) / (Sens × π + (1 − Spec) × (1 − π))
NPV (with prevalence π): NPV = (Spec × (1 − π)) / (Spec × (1 − π) + (1 − Sens) × π)
Accuracy: Acc = (TP + TN) / (TP + FP + TN + FN)
F1 Score: F1 = 2TP / (2TP + FP + FN)
Matthews Correlation Coefficient: MCC = (TP×TN − FP×FN) / √[(TP+FP)(TP+FN)(TN+FP)(TN+FN)]