Inferensys

Glossary

Weighted Mean Absolute Percentage Error (WMAPE)

A forecast accuracy metric that scales the absolute error by the actual value, weighted by the volume or revenue of each item, providing a business-relevant measure of total portfolio error.
Accountant reviewing ASC 606 revenue recognition automation on laptop, financial data visible, casual office setup.
FORECAST ACCURACY METRIC

What is Weighted Mean Absolute Percentage Error (WMAPE)?

A business-relevant forecast accuracy metric that weights absolute percentage errors by the actual volume or revenue of each item, providing a true measure of total portfolio error.

Weighted Mean Absolute Percentage Error (WMAPE) is a forecast accuracy metric that calculates the sum of absolute errors across all items divided by the sum of actual values, effectively weighting each item's error by its contribution to total volume or revenue. Unlike standard Mean Absolute Percentage Error (MAPE), WMAPE prevents low-volume items with extreme percentage errors from distorting the overall accuracy assessment.

WMAPE is the preferred metric for demand forecasting in retail and supply chain contexts because it aligns accuracy measurement with business impact. A 50% error on a high-revenue product is weighted proportionally more than a 50% error on a slow-moving SKU, giving supply chain directors a single, interpretable number that reflects true portfolio-level forecast quality.

FORECAST ACCURACY METRICS

Key Characteristics of WMAPE

Weighted Mean Absolute Percentage Error (WMAPE) is a business-centric forecast accuracy metric that scales absolute percentage errors by the actual value or volume of each item, providing a single, interpretable measure of total portfolio error.

01

Volume-Weighted Error Calculation

WMAPE addresses the flaw in standard MAPE by weighting each item's error by its actual demand volume. This prevents low-volume, high-percentage-error items from distorting the overall accuracy metric.

  • Formula: WMAPE = Σ(|Actual - Forecast|) / Σ(Actual)
  • Weighting Factor: Each absolute error is implicitly weighted by the item's actual value
  • Result: A single percentage representing the total portfolio's error relative to total demand
  • Interpretation: A 10% WMAPE means total forecast error equals 10% of total actual demand
02

Business-Relevant Accuracy

WMAPE aligns forecast accuracy measurement with business impact by prioritizing high-revenue or high-volume items. An error on a top-selling SKU contributes proportionally more to the metric than an error on a slow-moving item.

  • Revenue Alignment: Directly correlates with financial impact of forecast errors
  • Inventory Optimization: Guides safety stock calculations for items that matter most
  • Executive Reporting: Provides a single, defensible number for supply chain performance
  • Trade-Off Visibility: Reveals whether accuracy gains come from high-volume or low-volume items
03

Comparison with MAPE and MAE

WMAPE sits between Mean Absolute Percentage Error (MAPE) and Mean Absolute Error (MAE) in its properties. It retains the percentage interpretability of MAPE while avoiding its infinite values and small-denominator distortions.

  • vs. MAPE: WMAPE is not skewed by items with near-zero actuals; MAPE can explode to infinity
  • vs. MAE: WMAPE provides a relative, scale-independent percentage; MAE is in raw units
  • vs. RMSE: WMAPE is less sensitive to large outliers than Root Mean Squared Error
  • Limitation: WMAPE is undefined when total actual demand is zero across the entire portfolio
04

Handling Zero Actual Values

A critical limitation of WMAPE is its behavior with zero actual demand. While individual items with zero actuals do not cause division-by-zero errors, they can mask forecast inaccuracies.

  • Mechanism: Items with zero actual demand contribute zero to the denominator Σ(Actual)
  • Risk: A forecast of 100 units for an item with 0 actual demand adds 100 to the numerator but 0 to the denominator
  • Mitigation: Filter out items with zero actuals and zero forecasts before calculation
  • Alternative: Use complementary metrics like MAE for intermittent demand items
05

WMAPE in Hierarchical Forecasting

WMAPE is naturally coherent across aggregation levels, making it ideal for evaluating hierarchical forecasts. The weighted sum property ensures that category-level WMAPE can be derived from SKU-level errors.

  • Bottom-Up Consistency: WMAPE at the aggregate level equals the volume-weighted combination of lower-level WMAPEs
  • Roll-Up Integrity: Total portfolio WMAPE is mathematically consistent with individual category WMAPEs
  • Drill-Down Capability: Enables root-cause analysis by decomposing aggregate error into component contributions
  • Use Case: A retailer can identify which product category contributes most to total forecast error
06

Implementation in Demand Forecasting Pipelines

WMAPE is straightforward to implement in production forecasting systems and serves as a primary evaluation metric during model selection and monitoring.

  • Calculation: Requires only actuals and forecasts vectors; no complex distributional assumptions
  • Model Selection: Use WMAPE as the objective for hyperparameter tuning when business impact matters
  • Monitoring: Track WMAPE over time to detect concept drift or data quality degradation
  • Thresholds: Typical industry benchmarks range from 10-20% WMAPE for retail demand forecasting at the SKU-week level
FORECAST ERROR METRICS

WMAPE vs. MAPE vs. MAE

A comparison of three common forecast accuracy metrics, highlighting how WMAPE addresses the business-critical shortcomings of MAPE and MAE in portfolio-level demand forecasting.

FeatureWMAPEMAPEMAE

Full Name

Weighted Mean Absolute Percentage Error

Mean Absolute Percentage Error

Mean Absolute Error

Formula Basis

Σ(Weight × |Actual - Forecast|) / Σ(Weight × Actual)

Mean of (|Actual - Forecast| / Actual)

Mean of |Actual - Forecast|

Unit of Measure

Percentage (%)

Percentage (%)

Original units (e.g., dollars, units)

Handles Zero Actuals

Sensitivity to Low-Volume Items

Low (weighted by volume/revenue)

High (equal weight per item)

High (absolute error dominates)

Business Relevance

Directly measures portfolio financial impact

Misleading for heterogeneous portfolios

Lacks scale context

Best Use Case

Aggregate demand forecasting across SKUs with varying volumes

Homogeneous product lines with similar volumes

Unit-level model training loss function

Interpretability for Executives

High (weighted portfolio error)

Low (skewed by slow-movers)

Low (not scale-relative)

FORECAST ACCURACY

Frequently Asked Questions

Clear answers to the most common questions about Weighted Mean Absolute Percentage Error (WMAPE) and its role in measuring demand forecasting performance for supply chain and retail operations.

Weighted Mean Absolute Percentage Error (WMAPE) is a forecast accuracy metric that measures the total absolute deviation of predictions from actuals, normalized by the sum of actual values. Unlike standard MAPE, WMAPE weights each error by the magnitude of its corresponding actual value, giving more influence to high-volume or high-revenue items. The formula is: WMAPE = Σ|Actual - Forecast| / Σ|Actual|. This calculation produces a single, business-relevant percentage representing the total portfolio error. For example, if a retailer forecasts 100 units for Product A and 10 units for Product B, but actuals are 90 and 20 respectively, the unweighted MAPE would be distorted by Product B's high percentage error, while WMAPE correctly reflects that Product A's 10-unit miss is far more operationally significant than Product B's 10-unit miss.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.