# ROC Curve and AUC

> A curve that shows catches against false alarms. AUC sums it up in one number.

**Field:** Artificial Intelligence  
**Category:** Evaluation & Benchmarks  
**Also known as:** ROC Curve, AUC, ROC AUC, Area Under the Curve, ROC

## Think of it like

It is like a dial on a smoke alarm. Turn it one way to catch more fires, and it beeps at toast more.

## Definition

A ROC curve shows how a yes or no model trades catching cases against false alarms, at every setting of its cutoff. Most such models give a score, and a cutoff decides which scores count as yes. Each cutoff gives one point: the share of real yeses caught against the share of nos wrongly flagged. AUC, the area under the curve, sums it up in one number. An AUC of 0.5 is no better than a coin toss, and 1 is perfect.

## Example

Emma's two models have AUCs of 0.81 and 0.93. The second one ranks real frauds above honest payments far more often, at any cutoff.

## Why it matters

It judges a model without first choosing a cutoff. You can pick the cutoff later, to fit the cost of each mistake.

## Common mistake

Trusting a high AUC when real yeses are very rare. Then look at precision too, since false alarms can still swamp the catches.

## Three principles

- **Every cutoff.** One point each.
- **Catches vs false alarms.** The trade.
- **AUC sums it up.** 0.5 is chance.

## Related terms

- [Precision (Machine Learning)](https://learn.benibix.com/term/ai/precision)
- [Recall (Machine Learning)](https://learn.benibix.com/term/ai/recall)
- [Confusion Matrix](https://learn.benibix.com/term/ai/confusion-matrix)
- [Classification (Machine Learning)](https://learn.benibix.com/term/ai/classification)
- [Decision Threshold](https://learn.benibix.com/term/ai/decision-threshold)

![A curve rising from the bottom left to the top right, above a straight diagonal line for a coin toss. The shaded area under the curve is the AUC.](https://learn.benibix.com/diagrams/ev-roc-curve.svg)

---

Source: https://learn.benibix.com/term/ai/roc-curve
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
