Comparing mean absolute error with RMS error
Mean absolute error and root mean square error summarize the same errors in different ways. This worksheet uses short error lists to show where they agree and where squaring pulls them apart.
Two summaries of one list of errors
Mean absolute error (MAE) adds the sizes of the errors, ignoring sign, and divides by the count. Root mean square error (RMSE) squares each error, averages the squares, and takes the square root. Both come back in the unit of the original errors, so a list of errors in dollars gives summaries in dollars. The difference lies in how large errors are treated. Squaring makes a miss of 4 count sixteen times as much as a miss of 1 before the averaging, so RMSE grows when a few errors are big. MAE gives each unit of miss the same weight. When a report quotes only one of them, the choice shapes the story it tells.
The pair 0 and 4
Take two errors, 0 and 4. The mean absolute magnitude is (0 + 4) / 2 = 2. For RMSE, the squares are 0 and 16, the mean square is 8, and the square root is about 2.828. The RMS calculator on this site returns that value, and the average calculator returns 2 for the same two entries. Any list of errors with both a zero and a larger value will behave this way. The gap of 0.828 between the two summaries comes entirely from the spread in magnitudes: one perfect prediction and one miss of 4 give a lower typical size under MAE than under RMSE. The pair is small enough to compute by hand and big enough to show that RMSE is larger than MAE when magnitudes differ. Their ratio, 2.828 / 2, is about 1.414, the square root of 2, which is the largest ratio possible with two entries.
The equal-magnitude control
Now use 2 and 2. The mean absolute magnitude is 2, the mean square is 4, and its square root is 2. Both summaries agree. This control matters because it shows when RMSE equals MAE: all error magnitudes must be the same. In every other case RMSE is strictly larger, which follows from the fact that the quadratic mean of nonnegative numbers is at least their arithmetic mean. The comparison of 0 and 4 against 2 and 2 holds the mean magnitude constant at 2, so the only thing that differs is how the same total error is spread across the entries.
Where the ratio between them grows
Concentrating the same total error in fewer entries widens the gap. Four errors of 1, 1, 1 and 5 have a mean absolute magnitude of 2, and a mean square of (1 + 1 + 1 + 25) / 4 = 7, so RMSE is the square root of 7, about 2.646. Four errors of 0, 0, 0 and 8 also have an MAE of 2, but their mean square is 64 / 4 = 16 and RMSE is 4, double the MAE. A spread-out list such as 1, 2 and 3 has MAE 2 and RMSE of the square root of 14/3, about 2.160. For a fixed MAE, RMSE ranges from equal to MAE up to the square root of the number of errors times MAE, reached when a single error carries everything.
Signed errors need care before averaging
The average calculator computes an ordinary mean, so it returns the mean absolute error only when the entries are already absolute values. That is why the worksheet notes that the entered values are magnitudes. Signed errors of -3 and 3 average to 0, which hides a miss of 3 in each direction, while their RMS is 3. The mean of signed errors is the bias, a useful summary of its own, and it can be zero when a model is badly wrong in both directions. Take absolute values before using the average calculator for MAE. RMS needs no such step, since squaring removes the sign.
Choosing between them for a given job
Pick the metric that matches how errors cost you. If a miss of 4 is exactly twice as bad as a miss of 2, MAE reflects that. If large misses are disproportionately costly, such as a forecast that causes a stockout or a sensor reading that trips an alarm, RMSE reflects it better. Many fields report both, and the ratio of RMSE to MAE gives a quick sense of how uneven the errors are. A ratio near 1 means similar magnitudes. A ratio well above 1 points to a few large errors worth examining on their own.
Comparing models fairly
Metrics are only comparable when computed on the same errors, in the same unit and over the same cases. A model with a lower MAE can have a higher RMSE, because the two summaries can disagree about ranking: one model may be accurate on most cases and wrong badly on a few, while another is moderately off everywhere. The pair 0 and 4 and the pair 2 and 2 show it directly. Both have MAE 2, yet the RMSE values differ. State which metric you used, how errors were defined (prediction minus observation or the reverse, raw or percentage), and what rows were included.
What the worksheet leaves open
The page computes two summaries of a supplied list and does not rank a model, select a tolerance or decide what error is acceptable. It also does not adjust for the number of observations, test significance or account for outliers that arise from data entry mistakes. Check for obvious entry errors before concluding that a model misses by a large amount, because a single mistyped value affects RMSE far more than MAE. After the square root, the RMS result is in the same unit as the errors, but the mean square before the root is in squared units, which is where confusion often starts.
A forecasting example in dollars
Imagine a short run of daily sales forecasts that miss actual sales by 3, 1, 2 and 6 dollars. The mean absolute error is 12 / 4 = 3 dollars. The squared misses are 9, 1, 4 and 36, which sum to 50, so the mean square is 12.5 and RMSE is about 3.536 dollars. Now suppose a second forecaster misses by 3, 3, 3 and 3. The MAE is again 3, yet the RMSE is exactly 3. A reader who sees only MAE would call the two equal. The RMSE of 3.536 against 3 reveals that the first forecaster's misses are uneven, with one day of 6 dollars doing most of the damage. The numbers are illustrative and are not drawn from any real forecast.
Reproduce the checks
Unequal error magnitudes
Open the Root Mean Square Calculator and enter:
- Numbers
0,4
Expected output:
Rms
2.8284271247461903Squaring gives mean square eight.
Their mean absolute magnitude
Open the Average calculator and enter:
- Values
0,4
Expected output:
Arithmetic mean
2All entered values here are already absolute magnitudes.
Equal-magnitude control
Open the Root Mean Square Calculator and enter:
- Numbers
2,2
Expected output:
Rms
2Equal magnitudes make RMS and absolute mean coincide.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- Primary definition and convention reference ↗ · 2026-10-08
- NIST: Measures of location ↗ · 2026-10-08