# Mean Absolute Error (MAE)

> The average size of a model's misses when it guesses numbers. Lower is better.

**Field:** Artificial Intelligence  
**Category:** Evaluation & Benchmarks  
**Also known as:** MAE

## Think of it like

It is like guessing how many sweets are in some jars. You add up how far off each guess was.

## Definition

Mean absolute error, or MAE, measures how far a model's guesses are from the true numbers. For each guess, you take the gap and drop any minus sign. Then you take the average of all those gaps. The result is in the same unit as what you predict, such as euros or degrees. An MAE of 2 degrees means the guesses are off by 2 degrees on average. Lower is better, and 0 means every guess was exact.

## Formula

```
MAE = average of |true value - guess|
```

## Example

Jack's model guesses each day's top temperature in London. Over 30 days, its guesses are off by 1.5 degrees on average, so its MAE is 1.5.

## Why it matters

It is the easiest error score to explain. Anyone can read it as the usual miss, in real units.

## Common mistake

Comparing MAE across tasks with different units. An MAE of 5 is tiny for house prices and huge for shoe sizes.

## Three principles

- **Average gap.** The size of each miss, sign dropped.
- **Real units.** It reads in euros, degrees or days.
- **Every miss counts.** Each one by its own size.

## Related terms

- [Root Mean Squared Error (RMSE)](https://learn.benibix.com/term/ai/root-mean-squared-error)
- [R-Squared](https://learn.benibix.com/term/ai/r-squared)
- [Regression (Machine Learning)](https://learn.benibix.com/term/ai/regression)
- [Mean (Average)](https://learn.benibix.com/term/general/mean)
- [Baseline Model](https://learn.benibix.com/term/ai/baseline-model)
- [Linear Regression](https://learn.benibix.com/term/ai/linear-regression)

## Told apart from

- [MAE vs RMSE](https://learn.benibix.com/compare/mae-vs-rmse): People think RMSE is just another way to write the average miss, like MAE. It is not. MAE counts each miss by its size. RMSE squares each miss first, so one big miss pulls it up far more. When the two are far apart, a few wild misses are hiding in the data.

![Five dots sit near a straight line, each joined to it by a short gap. One dot sits far away. Three boxes show the scores: MAE, RMSE and R-squared.](https://learn.benibix.com/diagrams/ai5-regression-errors.svg)

---

Source: https://learn.benibix.com/term/ai/mean-absolute-error
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.
