Mean squared error (MSE) is the most widely used metric for scoring how well a regression or forecasting model's predictions match reality. This calculator walks through MSE alongside its two closest relatives — RMSE and MAE — so you can see not just the number but what it means for your model.
How MSE, RMSE, and MAE work
MSE = Σ(actual − predicted)² / n squares every residual before averaging, which means a single large miss can dominate the result — a residual twice as large contributes four times the squared error. RMSE = √MSE undoes the squaring at the end, returning the metric to the same units as your original data so it is directly comparable to the values you are predicting. MAE = Σ|actual − predicted| / n skips squaring entirely and averages the absolute size of each error, so it treats a miss of 10 as exactly twice as bad as a miss of 5 — no more, no less.
Inputs and what they mean
Enter your Actual values (the real, observed outcomes) and Predicted values (what a model or forecast produced) as two matching lists, separated by commas, spaces, or new lines. Order matters: the first actual value is paired with the first predicted value, and so on. Both lists must contain the same number of entries — the calculator flags a mismatch rather than guessing which values pair together.
Limits and edge cases
MSE and RMSE are sensitive to outliers: a single very large residual can inflate both metrics even if every other prediction is accurate, which is sometimes exactly what you want (when large errors are especially costly) and sometimes misleading (when one bad data point skews the whole score). MAE is more robust to outliers but treats all error sizes proportionally, so it can undersell the impact of a rare, severe miss. None of these three metrics alone tells you whether a model is statistically significant or will generalize to new data — for that, pair them with out-of-sample testing, a coefficient of determination (R²), or cross-validation.