Forecast accuracy describes how closely a set of predictions matches the observations that subsequently occur. A forecast can look reasonable on a graph while systematically underestimating demand or performing badly during important periods. Different error measures reveal different aspects of that performance. This guide uses original fictional datasets to calculate mean absolute error, root mean squared error, mean absolute percentage error and signed forecast bias. It also explains how to compare alternatives without introducing information that would not have been available when the forecasts were issued.
Quick Answer
Compare forecasts with actual observations from the same forecast horizon. Calculate signed errors for bias, absolute errors for MAE, squared errors for RMSE, and percentage errors only where the denominator is meaningful.
Table Of Contents
- Define The Forecast And Actual Observation
- Worked Example: A Weekly Stationery Order Forecast
- Calculate Mean Absolute Error
- Calculate Root Mean Squared Error
- Calculate Signed Forecast Bias
- Calculate Mean Absolute Percentage Error
- Worked Example: Zero Actual Demand
- Compare Methods Using The Same Evaluation Observations
- Avoid Information Leakage And Preserve The Forecast Horizon
- Connect Forecast Errors To Actual Decisions
- Reusable Forecast Accuracy Worksheet
- Frequently Asked Questions
Define The Forecast And Actual Observation
Before calculating an error, establish precisely what the forecast predicts. A daily count of submitted repair requests is different from the number of repair jobs accepted, completed or billed. A forecast of weekly units cannot be compared directly with a daily count unless the time boundaries are reconciled.
The open textbook Forecasting: Principles and Practice explains several widely used accuracy measures and the importance of assessing forecasts against observations not used to fit the forecasting model. This article applies those principles using small arithmetic examples.
The sign convention adopted here is actual minus forecast. A positive error therefore indicates an underforecast, while a negative error indicates an overforecast. Some organizations use the opposite convention, which reverses the interpretation of the mean signed error. Record the convention before reporting any bias measure.
Our behavior over time graph examples show why the observation period and definition of the measured quantity matter. A forecast comparison needs the same discipline. Each prediction should correspond to the correct observation and the information available at the relevant forecast origin.
Worked Example: A Weekly Stationery Order Forecast
Consider a fictional stationery supplier preparing for incoming orders. Four weekly forecasts were issued before their respective observation periods. The team records the actual number of eligible orders and the forecasts using the same counting definition.
| Week | Actual | Forecast | Error | Absolute Error | Squared Error |
|---|---|---|---|---|---|
| 1 | 100 | 90 | 10 | 10 | 100 |
| 2 | 120 | 130 | −10 | 10 | 100 |
| 3 | 80 | 100 | −20 | 20 | 400 |
| 4 | 100 | 95 | 5 | 5 | 25 |
| Total | 400 | 415 | −15 | 45 | 625 |
The first forecast is too low by ten orders. The second is too high by ten, the third is too high by 20 and the fourth is too low by five. Signed errors can cancel when combined, so their sum alone does not describe the typical error magnitude.
The total absolute error is 45 orders, while the sum of squared errors is 625 squared-order units. Each quantity will support a different summary. The raw errors remain useful because a single aggregate measure cannot reveal when the largest miss occurred.
The example contains only four fictional observations. Its purpose is to make the calculations reproducible, not to establish that a particular forecasting method is reliable for a real supplier.
Calculate Mean Absolute Error
Mean absolute error, abbreviated MAE, is the sum of absolute errors divided by the number of evaluated predictions. The calculation removes the sign before averaging, so overforecasts and underforecasts contribute according to their magnitude.
In the stationery example, MAE equals 45 divided by four, or 11.25 orders. The unit is the same as the quantity forecast. A reader can interpret the result as an average absolute deviation of 11.25 orders across these four observations.
If another method has an MAE of nine orders on the same observations, it has a lower average absolute error in this comparison. That does not automatically establish that the method will perform better in every future period. Examine the evaluation design and the particular consequences of different errors.
MAE is a useful measure when error magnitude is meaningful in the original unit. However, comparing MAE across series with very different scales may be misleading. An average error of ten orders may be small for a large service and large for a small one. Our data stratification examples illustrate the importance of comparable groups and denominators.
Calculate Root Mean Squared Error
Root mean squared error, abbreviated RMSE, is the square root of the average squared error. Squaring gives greater weight to large deviations. Taking the square root returns the measure to the original unit of the forecast.
For the stationery example, divide the sum of squared errors, 625, by four. The result is 156.25. Its square root is 12.5 orders. The RMSE exceeds the MAE of 11.25 orders because the errors have different magnitudes.
| Calculation | Result |
|---|---|
| Sum Of Squared Errors | 625 |
| Mean Squared Error | 156.25 |
| RMSE | 12.5 Orders |
| MAE | 11.25 Orders |
RMSE can be useful when large errors are especially consequential. A forecast that occasionally misses demand by a large amount may require more attention than a method with smaller consistent deviations. The appropriate measure nevertheless depends on the decision. Squared error is a mathematical weighting convention, not a direct measure of every business consequence.
For the same finite set of errors, RMSE cannot be smaller than MAE. If a calculation produces the opposite relationship, examine whether different observations, weights or units were used. A simple reconciliation can identify calculation or data-alignment mistakes before results are reported.
Calculate Signed Forecast Bias
The mean signed error in the example is the sum of signed errors divided by four. Negative 15 divided by four gives negative 3.75 orders. Under the declared actual-minus-forecast convention, this indicates average overforecasting of 3.75 orders in the evaluated observations.
The signed error is useful for recognizing directional patterns. It is not a substitute for MAE. For example, errors of positive 30 and negative 30 produce a mean signed error of zero, even though both forecasts miss their observations by 30 units. A bias summary can therefore look excellent while the underlying forecasts are inaccurate.
Examine the chronological pattern before applying a correction. If recent forecasts consistently underestimate demand after a change in the service, a historical average bias that includes older overforecasts may obscure the current condition. Our run chart examples explain how the order of observations can reveal information hidden by an aggregate statistic.
A forecast adjustment should be evaluated on data not used to choose the adjustment. If a team calculates the average historical error and adds it to those same historical forecasts, the resulting mean error may improve mechanically. That does not establish that the correction will work for future predictions.
Calculate Mean Absolute Percentage Error
Mean absolute percentage error, abbreviated MAPE, expresses the absolute error for each observation as a percentage of that observation’s actual value and then averages those percentages. For the example, the absolute percentage errors are 10%, approximately 8.33%, 25% and 5%.
| Week | Absolute Percentage Error |
|---|---|
| 1 | 10.00% |
| 2 | 8.33% |
| 3 | 25.00% |
| 4 | 5.00% |
The mean is approximately 12.08%. The calculation is not obtained by dividing the total absolute error by the total actual quantity. That alternative calculation gives 45 divided by 400, or 11.25%, a different aggregate ratio.
MAPE may be difficult to interpret when actual values are small, zero or otherwise unsuitable as percentage denominators. Consider an actual demand of one and a forecast of two. The error is only one unit, but its absolute percentage error is 100%. An error of ten units against actual demand of 100 produces 10%. The percentage measure emphasizes relative error rather than absolute workload.
Do not automatically report one minus MAPE as a universal forecast accuracy percentage. MAPE can exceed 100%, and different organizations use different definitions of accuracy. A transparent report names the actual measure and describes its interpretation.
Worked Example: Zero Actual Demand
A fictional community event materials service forecasts eligible requests across three operating periods. The actual counts are zero, four and six, while the forecasts are two, five and four. The absolute errors are two, one and two.
| Period | Actual | Forecast | Absolute Error |
|---|---|---|---|
| 1 | 0 | 2 | 2 |
| 2 | 4 | 5 | 1 |
| 3 | 6 | 4 | 2 |
MAE equals five divided by three, approximately 1.67 requests. The aggregate absolute-error-to-actual-volume ratio is five divided by ten, or 50%. This ratio is often described as weighted absolute percentage error or WAPE for nonnegative actual quantities.
Ordinary MAPE is undefined for the first observation because its actual value is zero. Simply excluding the first observation would produce a MAPE of approximately 29.17% for the two remaining periods, but that result does not evaluate the zero-demand forecast. If such an exclusion is made for a specific purpose, report it explicitly and preserve the other errors.
When actual demand is intermittent, use measures that address the decision without hiding zero-demand periods. An overforecast during a zero-demand period can create unnecessary preparation or unused capacity. Our resource allocation examples demonstrate why actual resource consequences should be considered alongside numerical estimates.
Compare Methods Using The Same Evaluation Observations
Suppose a second forecasting method issued forecasts of 105, 110, 85 and 105 for the original four stationery weeks. Its errors are negative five, positive ten, negative five and negative five. Its absolute errors total 25, producing an MAE of 6.25 orders.
The squared errors total 175. Dividing by four gives 43.75, whose square root is approximately 6.61 orders. Its mean signed error is negative 1.25 orders. Its MAPE is approximately 6.15%.
| Measure | Original Method | Second Method |
|---|---|---|
| MAE | 11.25 | 6.25 |
| RMSE | 12.50 | 6.61 |
| Mean Signed Error | −3.75 | −1.25 |
| MAPE | 12.08% | 6.15% |
The second method performs better on these four observations according to all four reported measures, including smaller absolute bias. The comparison is valid only if both methods’ forecasts were generated from comparable information before the observations occurred. A method fitted after seeing all four actual values would not be a fair competing forecast for those same periods.
Our before and after solution review examples emphasize the importance of a comparable baseline and follow-up. Forecast evaluation applies that principle by maintaining common forecast horizons and observation populations.
Avoid Information Leakage And Preserve The Forecast Horizon
A one-week-ahead forecast should use only information available at the time it would have been made. If a spreadsheet calculates a prediction from values that include the actual observation being predicted, the resulting error may be artificially small.
One useful evaluation design holds out a later period from model development. Another uses rolling forecast origins, where the information available at each successive origin is used to generate predictions for a defined horizon. The evaluation then compares those predictions with the later actual observations. These approaches answer more realistic forecasting questions than fitting an entire historical series and describing the residuals as future forecast accuracy.
Consider a supplier that makes forecasts four weeks ahead for staffing decisions and one day ahead for final preparation. The shorter horizon may be much more accurate, but it cannot replace the longer-horizon measure when staff must be scheduled four weeks in advance. Assess accuracy separately by relevant horizon.
If a forecast was revised several times, retain the version available at the decision point. A final revision issued shortly before the observation may be useful for evaluating the last planning decision, but it should not silently replace the earlier forecast in an assessment of long-range planning performance.
Connect Forecast Errors To Actual Decisions
Suppose an independent picture frame shop needs to prepare administrative appointment capacity. Underforecasting may leave insufficient review time, whereas overforecasting may reserve time that cannot easily be used elsewhere. The costs of those two errors can differ.
A simple decision analysis might assign a consequence weight of two to underforecasted units and one to overforecasted units for a specified planning question. The resulting weighted loss is not MAE or RMSE. It is a separate model of the consequences the organization believes are relevant. Document and verify those assumptions rather than present the resulting value as an ordinary forecast statistic.
Our trade-off analysis examples illustrate why competing consequences should be made explicit. A forecasting method with lower average error may not always be the preferred method for a decision with asymmetric consequences or a critical timing boundary.
The team should also investigate whether forecast errors vary across relevant groups. An overall acceptable MAE may conceal systematic misses for customized requests or a particular operating period. Report the group-specific observations when they influence staffing, availability or the accepted result.
Reusable Forecast Accuracy Worksheet
| Field | Record |
|---|---|
| Forecast Target | Defined Quantity And Unit |
| Forecast Origin | Information Available At Issue |
| Horizon | Time Between Issue And Predicted Observation |
| Actual | Comparable Observed Result |
| Signed Error | Declared Difference Convention |
| Absolute Error | Magnitude Of Error |
| Squared Error | Error Squared |
| Percentage Error | Only Where Denominator Is Meaningful |
| Review | Comparable Measures, Bias, Exceptions And Decisions |
Retain the issued predictions and actual outcomes without replacing either retrospectively. Reconcile the observation count and report missing actual values separately. A missing outcome cannot be treated as a zero-demand period unless the measurement definition establishes that zero actually occurred.
Forecast accuracy is evidence about the quality of a prediction under a specified evaluation design. Review several measures, preserve the underlying observations and connect the findings to the actual decision. The goal is to improve planning, not to select whichever formula creates the most favorable historical percentage.
A useful supplementary review plots errors against time and forecast magnitude. If large negative errors occur only during one operating season, investigate whether relevant information was available before those forecasts were issued. If errors increase with the scale of demand, a relative measure or a suitable scaled comparison may provide useful context. These observations can guide model development, but an improved model still needs evaluation on comparable future or held-out observations.
Finally, do not interpret uncertainty in the forecast as a demonstrated error before the actual outcome exists. A prediction interval describes a range under a forecasting model, while an accuracy statistic summarizes realized comparisons. Both can support planning. The organization should evaluate interval performance separately where those intervals are used to make important resource decisions.
Frequently Asked Questions
What is forecast accuracy?
How closely issued forecasts correspond to subsequent comparable observations.
What is MAE?
The average magnitude of forecast errors in the original unit.
What is RMSE?
The square root of the mean squared forecast error.
What is forecast bias?
A directional error summary, often the mean signed error under a stated convention.
What is MAPE?
The mean absolute percentage error relative to actual observations.
Can MAPE be calculated when actual demand is zero?
The ordinary percentage error is undefined for that observation.
Is WAPE the same as MAPE?
WAPE uses an aggregate denominator; MAPE averages individual percentage errors.
Can signed errors cancel?
Yes, so report magnitude measures alongside directional bias.
How should models be compared?
Use the same target, horizon, available information and evaluation observations.
Does a lower historical error guarantee future accuracy?
It provides evidence for the evaluated observations, not a guarantee.
