What Is Mean Absolute Percentage Error (MAPE) — Definition And Calculation
Mean Absolute Percentage Error
Definition
A common forecast accuracy metric that measures average percentage error between forecast and actual results.
Overview
Mean Absolute Percentage Error is a common forecast accuracy metric that measures average percentage error between forecast and actual results. It expresses average forecast error as a percentage of actual values, which makes it easy to compare accuracy across SKUs, time periods, and business units.
How MAPE Is Calculated
MAPE is the mean of the absolute percentage errors for each forecasted point. For a series of n forecasts, the formula written in plain terms is:
MAPE = (1/n) × Σ (|Actual – Forecast| / |Actual|) × 100%
Where each term |Actual – Forecast| / |Actual| is the absolute percentage error for one observation. Percentages make the metric unitless and straightforward for communicating performance: a MAPE of 8% means the average forecast is off by eight percent of the observed values.
Why Warehouses And 3PLs Use It
Operational teams favor MAPE because it is:
- Communicable: Expressing error in percent is intuitive for stakeholders from operations to finance.
- Comparable: You can compare forecast accuracy across SKUs with very different volumes or price points without converting units.
- Actionable: Teams use MAPE targets (for example, MAPE < 10%) in SLAs, S&OP, and inventory planning to set clear performance expectations.
How It Varies By Use Case
MAPE behaves differently depending on demand patterns and business context. High-volume, stable SKUs tend to produce lower MAPE; intermittent or low-volume SKUs generate larger percentage swings because small absolute misses become large percentages. For aggregated forecasts (e.g., at product-family or site level), MAPE usually improves because positive and negative errors average out.
Limitations And Common Pitfalls
MAPE has well-known limitations that affect how you implement and interpret it in a warehouse or 3PL setting:
- Division By Zero: If Actual = 0 for any period, the percentage error is undefined. Intermittent demand (many zeros) makes raw MAPE unusable without adjustments.
- Bias Toward Low Actuals: Small actuals amplify percentage errors; a miss of 5 units on an actual of 1 unit produces a 500% error that can dominate the average.
- Asymmetry: Over-forecasts and under-forecasts are treated equally in absolute terms, but business impact may not be symmetric (stockouts often cost more than small overstocks).
Practical Example For A Warehouse
Imagine a fast-moving SKU with weekly actual demand: 100, 120, 110 and corresponding forecasts: 95, 130, 105. Absolute percentage errors are 5%, 8.33%, and 4.55%. MAPE = (5 + 8.33 + 4.55) / 3 = 5.96%. For inventory planners this single-digit MAPE indicates forecasts are reasonably accurate at the SKU-week level; however, planners would still check service-level impact and safety-stock math before adjusting replenishment.
Implementation Tips For Logistics Software
When you add MAPE to a WMS, TMS, or forecasting dashboard, follow these best practices:
- Handle Zeros: Exclude or replace zero-actual periods with a domain-appropriate small value or use alternative metrics (see below) when zeros are frequent.
- Segment Reporting: Report MAPE by volume-band or demand type (smooth, intermittent, lumpy) rather than only aggregate MAPE.
- Complement Metrics: Use MAPE together with MAD (Mean Absolute Deviation), RMSE, and bias to capture scale-sensitive errors and directional drift.
- Rolling Windows: Calculate MAPE on rolling windows (e.g., last 13 weeks) to detect recent degradation or improvements without overreacting to single-period anomalies.
When To Use Alternatives
Choose an alternative or adjusted version of MAPE when zeros or small demands distort results. Options used in logistics include:
- SMAPE (Symmetric MAPE): Scales errors by the average of actual and forecast, which reduces extreme percentages when actuals are near zero.
- WAPE (Weighted APE): Weights percentage errors by sales volume or dollar value to prioritize accuracy on higher-impact SKUs.
- MAE/RMSE: Use absolute or squared error measures when you need scale-sensitive views tied to inventory cost models.
In short, the Mean Absolute Percentage Error is a widely used, easy-to-communicate measure of forecasting accuracy expressed as a percentage. It helps warehouses and logistics teams compare forecast performance across items and sites, but it requires careful handling around zeros and low-volume SKUs and should be used alongside complementary metrics for decision-making.
Sources And Additional Reading (3)
- Accuracy measures
Hyndman, Rob J., and Athanasopoulos, George. “Accuracy measures.” OTexts, 2021, https://otexts.com/fpp3/accuracy.html.
- Mean absolute percentage error (MAPE) for forecasting
“Mean absolute percentage error (MAPE) for forecasting.” Microsoft, https://learn.microsoft.com/en-us/azure/machine-learning/algorithm-module-reference/metric-mean-absolute-percentage-error.
- Mean absolute percentage error
“Mean absolute percentage error.” Wikipedia, https://en.wikipedia.org/wiki/Mean_absolute_percentage_error.
More from this term
Looking for a 3PL?
Compare warehouses on Racklify and find the right logistics partner for your business.