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
Mean Absolute Error (MAE)
—
Min Error
—
Max Error
—
Pairs
—
Per-Pair Breakdown
| # | Actual | Predicted | |Error| | Magnitude |
|---|
Copied!
Summary
Enter actual and predicted values to instantly calculate Mean Absolute Error (MAE) for evaluating regression model accuracy.
How it works
- Enter your actual (observed) values — one number per line or comma-separated.
- Enter your predicted (model output) values in the same order.
- Click "Calculate MAE" to compute the result.
- The tool computes the absolute difference for each pair, then averages them.
- 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