OhMyCalc

ROC AUC Calculator

Calculate the ROC curve point and estimated AUC from confusion matrix values. Understand your classifier's discrimination ability with this simple tool.

How to Use the ROC AUC Calculator

  1. Enter True Positives (TP).
  2. Enter True Negatives (TN).
  3. Enter False Positives (FP).
  4. Enter False Negatives (FN).
  5. Click Calculate to get TPR, FPR, and AUC.

使用场景

公式

TPR = TP/(TP+FN). FPR = FP/(FP+TN). AUC ≈ TPR×(1−FPR/2) — single-point trapezoidal approximation.

常见问题

What is AUC?
AUC (Area Under the ROC Curve) measures a classifier's ability to distinguish between classes. AUC of 1.0 is perfect; 0.5 is random.
What is TPR?
True Positive Rate (sensitivity/recall) = TP / (TP + FN).
What is FPR?
False Positive Rate (fall-out) = FP / (FP + TN), the rate of incorrectly classified negatives.