Why forecast accuracy starts with the error
Every demand planner, supply chain analyst and finance controller eventually hears the question: "How good is our forecast?" The honest answer is never a feeling. It is a number, and the right number depends on what you want to know. Do you want to know how far off the forecast typically is? Whether it is consistently too high or too low? Whether one terrible month should count more than three slightly-off ones? Each of those questions has its own metric.
This free first lesson is for anyone who has a column of actuals and a column of forecasts in Excel and wants to measure them properly, whether you plan demand for consumer goods, forecast sales for a shop or check a budget against reality. We use Fernhill Home Care, a fictional company that sells dish soap, laundry pods and cleaning sprays to retailers, and twelve months of actuals and forecasts for one SKU. The numbers are the same as in the lab above, and they are illustrative only.
Every accuracy metric you will meet later in this course, MAPE, WAPE, bias, tracking signal, RMSE and forecast value added, is built from three simple building blocks: the error, the absolute error and the squared error. If you understand these three columns, the rest of forecast accuracy becomes a matter of how you add them up.
The core concept: three ways to look at one miss
The error of a period is the difference between forecast and actual. In this course the convention is error = forecast − actual, so a positive error means the forecast was too high (over-forecasting, which usually means extra stock), and a negative error means it was too low (under-forecasting, which risks lost sales). Many textbooks and software packages use actual − forecast instead. The maths is identical, only the sign flips, so always check which convention a report uses before you compare numbers.
The problem with the plain error is that it has a sign, and signs cancel. An over-forecast of 60 cases in one month and an under-forecast of 60 in the next average to zero, although both months were wrong. That is why accuracy metrics remove the sign. The absolute error =ABS(C2-B2) simply drops it: both months count as 60. The squared error =(C2-B2)^2 also removes the sign, but it changes the weighting: a miss of 10 counts 100, a miss of 100 counts 10,000. Squaring punishes large errors far more than small ones.
Averaging each column gives you three different statistics. The average of the signed errors is the mean error, which measures bias: the direction of the errors, not their size. The average of the absolute errors is the MAE, mean absolute error, the typical size of a miss in units. The average of the squared errors is the MSE, and its square root, the RMSE, brings it back to units while keeping the extra weight on big misses.
Worked example: twelve months for one SKU
Here is the full calculation, exactly as you build it in the lab. Column D holds the error, column E the absolute error and column F the squared error. The last two rows show the totals and the averages.
| Month (A) | Actual (B) | Forecast (C) | Error (D) =C2-B2 | Abs error (E) =ABS(D2) | Squared error (F) =D2^2 |
|---|---|---|---|---|---|
| Jan 2025 | 1,180 | 1,200 | +20 | 20 | 400 |
| Feb 2025 | 1,240 | 1,200 | −40 | 40 | 1,600 |
| Mar 2025 | 1,310 | 1,250 | −60 | 60 | 3,600 |
| Apr 2025 | 1,275 | 1,300 | +25 | 25 | 625 |
| May 2025 | 1,350 | 1,320 | −30 | 30 | 900 |
| Jun 2025 | 1,420 | 1,380 | −40 | 40 | 1,600 |
| Jul 2025 | 1,390 | 1,450 | +60 | 60 | 3,600 |
| Aug 2025 | 1,460 | 1,400 | −60 | 60 | 3,600 |
| Sep 2025 | 1,330 | 1,400 | +70 | 70 | 4,900 |
| Oct 2025 | 1,290 | 1,300 | +10 | 10 | 100 |
| Nov 2025 | 1,520 | 1,450 | −70 | 70 | 4,900 |
| Dec 2025 | 1,610 | 1,500 | −110 | 110 | 12,100 |
| Total | 16,375 | 16,150 | −225 | 595 | 37,925 |
| Average | -18.75 (mean error) | 49.58 (MAE) | 3,160.4 (MSE) |
Read the columns one at a time. The error column has 5 positive and 7 negative months. Its total is −225 cases, so the mean error is -18.75: over the year the forecast was a little too low on average, by about 19 cases a month. That sounds almost perfect, but the absolute error column tells a different story: the typical miss was 49.58 cases, more than two and a half times as large. The positive and negative errors hid most of the inaccuracy from the plain average.
The squared error column shows the third view. December's miss of 110 cases becomes 12,100, which is 32 % of the year's total squared error, although December is only one month in twelve and only 18 % of the total absolute error. This is why the RMSE (56.22) is higher than the MAE (49.58). RMSE is always at least as large as MAE, and the gap between them grows when a few large misses dominate.
Which number answers which question?
The four results side by side make the difference clear. None of them is "the" accuracy, each answers a different question, and a good accuracy report usually shows a size measure and a bias measure together.
| Measure | Excel formula | Result | Unit | What it tells you |
|---|---|---|---|---|
| Mean error (bias) | =AVERAGE(D2:D13) | -18.75 | cases | Direction: on average slightly under-forecast |
| MAE | =AVERAGE(E2:E13) | 49.58 | cases | Typical size of a miss |
| MSE | =AVERAGE(F2:F13) | 3,160.4 | cases² | Size of misses, big ones weighted heavily |
| RMSE | =SQRT(AVERAGE(F2:F13)) | 56.22 | cases | Like MAE, but penalises large misses |
| WAPE (preview of lesson 2) | =SUM(E2:E13)/SUM(B2:B13) | 3.6 % | % | Error relative to volume |
MAE is the easiest to explain to a sales director: "on average we are about 50 cases off per month". It is in the same unit as the forecast, and it treats every case of error the same way. RMSE is the better choice when big misses are disproportionately expensive, for example when a large under-forecast empties a retailer's shelf for a week. MSE itself is rarely reported because its unit (cases squared) means nothing to people, but it is what many statistical models minimise internally.
Both MAE and RMSE are measured in units, so you cannot compare them across products of very different size: an MAE of 50 is excellent for a SKU selling 10,000 cases and terrible for one selling 100. For comparisons across SKUs you need a relative measure such as WAPE, which the table previews and which lesson 2 covers in detail together with MAPE and its traps.
Is an MAE of 50 cases good or bad?
An accuracy metric on its own has no verdict attached. An MAE of 50 cases means something only when you compare it with something else. Three comparisons are useful in practice. First, compare it with volume: 50 cases on an average month of about 1,365 cases is roughly 3.6 % of demand, which for an established household product is a small error. Second, compare it with the same SKU in earlier periods: is the forecast getting better or worse over time? Third, compare it with a simple benchmark, such as a forecast that just repeats last month's actual.
The third comparison is the most revealing and the least used. If a forecast that anyone could make in two seconds is just as accurate as the forecast your team spends hours on, the effort adds no value. Measuring that difference is called forecast value added (FVA), and it is the second half of this course. For now, remember that a metric is a measuring stick, not a grade: it becomes meaningful once you hold it against a target, a trend or a benchmark.
One more practical point concerns the cost of errors. In many businesses an under-forecast and an over-forecast of the same size do not cost the same. Too little stock may mean lost sales and an annoyed retailer, too much may mean storage costs or, for products with a short shelf life, write-offs. MAE and RMSE treat both directions equally, which is exactly why you always keep the signed error and the bias next to them: they show which kind of error your forecast tends to make.
Step by step: building it in Excel
- Put the periods in column A, the actuals in column B and the forecasts in column C, one row per period, with headers in row 1. Make sure both columns use the same unit and the same period (a forecast made for March must sit next to March's actual).
- In D2 type
=C2-B2and press Enter. This is the error, forecast minus actual. - In E2 type
=ABS(D2). ABS returns the number without its sign. - In F2 type
=D2^2. The caret ^ raises to a power, so ^2 squares.=D2*D2gives the same result. - Select D2:F13 and press Ctrl+D to fill the three formulas down at once. Alternatively select D2:F2 and double-click the fill handle at the bottom right of the selection.
- In B15 type
=AVERAGE(E2:E13)for the MAE, and in B16=AVERAGE(D2:D13)for the mean error. Compare them: if the mean error is close to zero but the MAE is large, the errors are cancelling. - Optionally add
=SQRT(AVERAGE(F2:F13))for the RMSE. Format the results with one or two decimals via Home › Number › Decrease Decimal or Ctrl+1 › Number. - Press Ctrl+` (the key left of 1 on most keyboards) to show all formulas and check that every row refers to its own row. Press it again to go back to values.
=SUMPRODUCT(ABS(C2:C13-B2:B13))/COUNT(B2:B13). In Excel 365 =AVERAGE(ABS(C2:C13-B2:B13)) also works, because arrays are evaluated automatically. Helper columns are still better while you learn, because you can see every month.
Common mistakes and how to spot them
- Reporting the mean error as accuracy. A mean error close to zero only means the misses cancel. Always show an absolute measure (MAE, WAPE) next to it. Symptom: a "near-perfect" forecast that planners do not trust.
- Mixing sign conventions. One report uses forecast − actual, another actual − forecast, and suddenly the bias seems to flip. Write the convention in the header of the column.
- Doubling instead of squaring.
=D2*2is not the squared error. Squaring is=D2^2or=D2*D2. Symptom: column F is exactly twice column E. - Squaring the absolute error and expecting something different.
=ABS(D2)^2is correct but unnecessary, squaring already removes the sign. - Averaging the RMSE of several products. RMSE is not additive. To combine products, average their squared errors first and take the root at the end, or use a relative measure.
- Misaligned periods. A forecast copied one row too high compares February's forecast with January's actual. Symptom: errors that look like the month-to-month change of the actuals.
- Zeros instead of blanks. Future periods filled with 0 make the error look like the full forecast, or make averages too optimistic. Keep them empty.
- Comparing MAE across very different SKUs. MAE is in units, so large SKUs always look worse. Use a relative measure such as WAPE for cross-SKU comparisons.
Quick reference: functions and shortcuts used
| Function / shortcut | Use in this lesson | Example |
|---|---|---|
ABS | Absolute value: removes the sign of an error | =ABS(C2-B2) |
^ (power) | Squares the error | =(C2-B2)^2 |
AVERAGE | Mean error, MAE, MSE | =AVERAGE(E2:E13) |
SQRT | Square root, turns MSE into RMSE | =SQRT(AVERAGE(F2:F13)) |
SUMPRODUCT | MAE in one cell without helper columns | =SUMPRODUCT(ABS(C2:C13-B2:B13))/COUNT(B2:B13) |
SUMXMY2 | Sum of squared differences of two ranges | =SQRT(SUMXMY2(C2:C13,B2:B13)/COUNT(B2:B13)) |
COUNT | Number of periods with numbers | =COUNT(B2:B13) |
| Ctrl+D | Fill a formula down the selected range | D2 → D13 |
| Ctrl+` | Show formulas instead of values (press again to switch back) | Check columns D to F |
| Alt+= | AutoSum below a column | Totals in row 14 |
Real-world uses
- Monthly S&OP review. Demand planners report MAE and mean error per product family before the sales and operations planning meeting, so the discussion starts from facts rather than impressions.
- Safety stock planning. The size of past forecast errors feeds safety stock: the larger and more variable the errors, the more buffer stock a warehouse needs to reach the same service level. RMSE or the standard deviation of the errors is typically used here.
- Comparing two forecasting methods. Before switching from a simple moving average to a seasonal model, an analyst compares their MAE and RMSE on the same past months. Whichever has the lower error, without a strong bias, wins.
- Budget versus actual in finance. The same three columns work for revenue or cost budgets: error per month, absolute error for the size of the deviation, and the mean error to see whether budgets are systematically optimistic.
- Retail replenishment. A store chain checks which SKUs have large squared errors in peak months, because those big misses are the ones that cause empty shelves or markdowns.
What you will build in the rest of this course
This first lesson is free. Lessons 2 to 20 are part of the full course, a one-time purchase of $9.90, and they all use the same Fernhill Home Care data so you can see how each metric builds on the error columns from this lesson.
Lesson 2, MAPE vs WAPE vs sMAPE: Why MAPE Breaks on Small Actuals. You calculate the three percentage measures for ten SKUs and watch two tiny SKUs push MAPE to an absurd level while WAPE tells the real story. You will know which one to put in your report and why.
Lesson 3, Forecast Bias, Bias % & the Tracking Signal (with a Warning Rule). The mean error from this lesson becomes a proper bias percentage and a running tracking signal, and a formula flags the months where the forecast drifts out of a ±4 band.
Lesson 4, MAE & RMSE by SKU and by Product Family: Accuracy Depends on the Level. With AVERAGEIFS you calculate MAE and RMSE for three SKUs, add them up to the family level and see how much smaller the error becomes when errors offset each other.
Lesson 5, The Naive Benchmark & Forecast Value Added (FVA). Is your forecast better than simply repeating last month? You build the naive forecast and measure how much value the statistical model really adds.
Lesson 6, FVA Stairstep: Statistical Forecast vs Planner Override vs Consensus. You measure every step of the planning process and find the one that makes the forecast worse, which is often the most valuable finding in a forecasting review.
Lesson 7, Accuracy by Segment: ABC/XYZ Classes & Realistic Targets. Not every SKU can be forecast equally well. You classify SKUs by variability, set fair targets per class and calculate the volume-weighted WAPE of the important items.
Lesson 8, Mid-Course Dashboard: Accuracy %, FVA, Bias & a Trend Chart. Everything comes together in a monthly dashboard with accuracy against the naive benchmark, six-month FVA and bias, and a trend chart you can reuse for your own data.
Summary
Forecast accuracy starts with three columns: the error (forecast − actual), the absolute error and the squared error. Their averages answer different questions: the mean error shows bias, MAE shows the typical size of a miss, and RMSE gives extra weight to large misses. For Fernhill's SKU the mean error is only -18.75 cases, but the MAE is 49.58 and the RMSE 56.22, driven by December's miss of 110 cases.
Now build it yourself in the lab above: the three error columns in D, E and F, then the MAE in B15. Compare it with the mean error in B16, and you will never confuse bias with accuracy again.
Frequently asked questions
How do I calculate forecast error in Excel?
Subtract the actual from the forecast in each row, for example =C2-B2. A positive result means over-forecasting, a negative one under-forecasting. Some reports use actual minus forecast, which only flips the sign.
What is the difference between MAE and RMSE?
MAE is the average of the absolute errors and treats every unit of error equally. RMSE is the square root of the average squared error, so it gives large misses more weight and is always at least as large as MAE.
How do I calculate MAE in Excel?
Add a column with =ABS(C2-B2) and take =AVERAGE of that column. In one cell you can use =SUMPRODUCT(ABS(C2:C13-B2:B13))/COUNT(B2:B13).
How do I calculate RMSE in Excel?
Square each error with =(C2-B2)^2, average the squared errors and take the square root: =SQRT(AVERAGE(F2:F13)). Without a helper column you can use =SQRT(SUMXMY2(C2:C13,B2:B13)/COUNT(B2:B13)).
Why is the average forecast error not a good accuracy measure?
Positive and negative errors cancel each other out, so a forecast that is badly wrong in both directions can have an average error near zero. The average signed error measures bias, while accuracy needs absolute or squared errors.
Should forecast error be forecast minus actual or actual minus forecast?
Both conventions are common and give the same accuracy figures, only the sign of the error and the bias flips. Pick one, write it in your report and use it consistently.
Keep going: Forecast Accuracy & Forecast Value Added: MAPE, WAPE, Bias & FVA
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.
- MAPE vs WAPE vs sMAPE: Why MAPE Breaks on Small Actuals
- Forecast Bias, Bias % & the Tracking Signal (with a Warning Rule)
- MAE & RMSE by SKU and by Product Family: Accuracy Depends on the Level
- The Naive Benchmark & Forecast Value Added (FVA)
- FVA Stairstep: Statistical Forecast vs Planner Override vs Consensus
- Accuracy by Segment: ABC/XYZ Classes & Realistic Targets
- Mid-Course Dashboard: Accuracy %, FVA, Bias & a Trend Chart
- Forecast Lag: Accuracy 1, 2 and 3 Months Ahead & the Lead-Time Rule
- Seasonal Naive Benchmark & MASE: A Scale-Free Error for Seasonal SKUs
- Unit vs Value Accuracy: Weighting Forecast Errors by Revenue and Margin
- Promotions vs Base Months: Split the Accuracy and Find the Uplift Bias
- Zero Actuals, Launches & Phase-Outs: Clean Rules for the Accuracy Report
- Bias by Customer Channel: When Over- and Under-Forecasts Cancel in the Total
- The Cost of Forecast Error: Excess Stock vs Lost Margin by SKU
- Which Overrides Add Value? Override Size, Direction & Hit Rate
- Rolling 3-Month & Quarterly WAPE: Separating Real Improvement from Noise
- Forecastability: Expected WAPE from Demand Variability with SLOPE & INTERCEPT
- Forecast Ranges: Checking 80 % Interval Coverage and Width
- Final Project: SKU Accuracy Review Pack with FVA, Bias & Action Flags