MAD Calculator (Mean Absolute Deviation)

Calculate Mean Absolute Deviation to measure forecast accuracy in units. Determine the average absolute difference between actual and forecast demand.

e.g.: 100, 120, 110, 130 (one value per period, oldest first)
e.g.: 105, 115, 108, 140 (same length as actuals)
MAD (Mean Absolute Deviation)
5.50
Average absolute error in units
MAD as % of Avg Demand
4.8%
Volatility: Low
Approx. Std Deviation (σ)
6.88
MAD × 1.25, for safety stock calculation
Average Demand
115.0
Across 4 periods

Error Range

Minimum Deviation
2.00
Best-case forecast accuracy
Maximum Deviation
10.00
Worst-case forecast accuracy
Total Absolute Deviation
22.00
Sum of all 4 period errors

Period-by-Period Deviations

PeriodActualForecast|Deviation|
P11001055.00
P21201155.00
P31101082.00
P413014010.00

Safety Stock Recommendations

Forecast is reliable, standard safety stock sufficient

Service LevelZ-ScoreSuggested Safety StockUse Case
90%1.289 unitsBasic service level
95%1.6511 unitsStandard in many industries
99%2.3316 unitsHigh service reliability
99.9%3.0921 unitsCritical inventory

Forecast Quality Assessment

Volatility Level
Low
MAD is 4.8% of average demand
Forecast Stability
Stable
Lower MAD = more predictable demand
Planning notes, formulas, and examples

About the MAD Calculator (Mean Absolute Deviation)

Mean Absolute Deviation (MAD) measures forecast accuracy in the same units as demand — pieces, cases, or dollars. Unlike MAPE, which expresses error as a percentage, MAD gives you the average absolute number of units by which the forecast misses actual demand.

MAD is especially useful when comparing forecasts for items with similar demand volumes or when you need to translate forecast error into inventory buffer requirements. Many safety stock formulas use MAD as an input to calculate the amount of buffer stock needed.

This calculator takes pairs of actual and forecast values and computes MAD, along with the total absolute deviation and number of periods evaluated.

Use the result to compare operating scenarios, pressure-test assumptions, and rerun the model when volumes, rates, or service targets change.

Use the output to compare options, spot the main cost drivers, and rerun the math when lane assumptions or operating constraints change.

Use the output to compare options, spot the main cost drivers, and rerun the math when lane assumptions or operating constraints change.

When This Page Helps

MAD is the most practical forecast error metric for operations because it speaks the language of the warehouse — units. It directly feeds into safety stock calculations and helps planners understand how much buffer inventory is needed to compensate for forecast inaccuracy.

How to Use the Inputs

  1. Enter actual demand values separated by commas.
  2. Enter corresponding forecast values separated by commas.
  3. Ensure both lists have the same number of values.
  4. Review the MAD result in demand units.
  5. Use MAD to calibrate safety stock levels.
  6. Track MAD over time to measure forecasting improvement.
Formula used
MAD = (1/n) × Σ|Actual_i − Forecast_i| Where n is the number of periods.

Example Calculation

Result: MAD = 5.5 units

Absolute deviations: |100-105|=5, |120-115|=5, |110-108|=2, |130-140|=10. MAD = (5+5+2+10)/4 = 22/4 = 5.5 units. On average, the forecast misses by 5.5 units per period.

Tips & Best Practices

  • MAD is used as an input for safety stock: Safety Stock = z × MAD × 1.25 (approximate conversion from MAD to standard deviation).
  • Lower MAD means less safety stock needed and lower inventory investment.
  • MAD doesn't indicate bias direction — combine with Forecast Bias for a complete view.
  • Compare MAD across items at similar demand levels for meaningful ranking.
  • For items with very different scales, use MAPE or MASE for cross-item comparison.
  • Track MAD by SKU family and update safety stock parameters as MAD changes.

MAD and Safety Stock

Many supply chain textbooks derive safety stock as z × σ × √L, where σ is the standard deviation of demand. Since MAD ≈ 0.8 × σ for normally distributed data, you can substitute σ ≈ 1.25 × MAD. This makes MAD a practical, easy-to-compute input for safety stock calculations.

Tracking MAD Over Time

Plot MAD monthly alongside changes in forecasting methods or data sources. A declining MAD trend confirms that your improvements are working. Be alert to sudden MAD increases that may signal data quality issues, demand pattern shifts, or supply disruptions.

MAD by Product Segment

Group SKUs by demand pattern (stable, trending, seasonal, intermittent) and track MAD for each group separately. Stable-demand items should have low MAD; intermittent items will naturally have higher MAD. Setting group-specific MAD targets is more meaningful than a single company-wide target.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • MAD is the average of the absolute differences between actual demand and forecast demand across all periods. It measures forecast error magnitude in the same units as demand.