Mean Absolute Error Calculator

Enter actual and predicted values to instantly calculate Mean Absolute Error (MAE) for evaluating regression model accuracy.

Input Values

MAE Formula

MAE = (1/n) × ∑ |actuali − predictedi|

Where n is the number of observations, and the sum is over all observation pairs.

Enter values and click Calculate to see results

Copied!

Summary

Enter actual and predicted values to instantly calculate Mean Absolute Error (MAE) for evaluating regression model accuracy.

How it works

  1. Enter your actual (observed) values — one number per line or comma-separated.
  2. Enter your predicted (model output) values in the same order.
  3. Click "Calculate MAE" to compute the result.
  4. The tool computes the absolute difference for each pair, then averages them.
  5. Review per-pair breakdown to identify where your model performs poorly.

Use cases

  • Evaluate regression model performance in machine learning experiments.
  • Compare multiple models to select the best predictor.
  • Diagnose which observations have the highest prediction error.
  • Quickly sanity-check predictions from spreadsheet data.
  • Teach or demonstrate MAE as a metric in data science courses.
  • Validate forecast accuracy for time-series or demand-planning models.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu