XYZ Analysis Calculator

Classify inventory items by demand variability using coefficient of variation. X is stable, Y is moderate, Z is highly variable.

units
units
$
days
1.65 = 95%, 1.96 = 97.5%, 2.33 = 99%
%
XYZ Classification
Class X
Stable demand - easy to forecast
Coefficient of Variation
0.0800
Std Dev / Mean = 40 / 500
Forecastability Score
92.0%
High confidence forecasts
Safety Stock
26.9 units
Buffer at z=1.65 over 5-day lead time
Reorder Point
110.3 units
Lead time demand + safety stock
Annual Holding Cost
$1,730.90
25% of avg inventory value
Stockout Risk
Low
Based on CV of 0.08
Annual Demand
6,000
500 x 12 periods

CV Position on Scale

X (0.0)Y (0.5)Z (1.0+)2.0

XYZ Classification Reference

ClassCV RangeCharacteristics
X - StableCV < 0.50Highly predictable, easy to forecast, minimal safety stock needed
Y - Variable0.50 <= CV <= 1.00Moderate variability, forecast with caution, moderate safety stock
Z - ErraticCV > 1.00Unpredictable demand, difficult to forecast, high safety stock or MTO
Strategy Recommendations by Class
AspectX (Stable)Y (Variable)Z (Erratic)
Forecast MethodSimple moving averageWeighted/exponential smoothingQualitative or make-to-order
Safety StockLow (0.5-1x std dev)Medium (1-2x std dev)High or avoid stocking
Review PolicyPeriodic reviewContinuous reviewOrder on demand
Inventory StrategyContinuous replenishmentMin-max systemMake-to-order / JIT
Planning notes, formulas, and examples

About the XYZ Analysis Calculator

XYZ analysis classifies inventory items by the predictability of their demand patterns. It uses the coefficient of variation (CV), which is the standard deviation of demand divided by the average demand. Items with low variability (CV < 0.5) are classified as X — they are easy to forecast. Moderate variability (CV 0.5–1.0) items are Y, and highly variable (CV > 1.0) items are Z.

Understanding demand variability is essential for setting appropriate safety stock levels, choosing the right forecasting method, and designing replenishment rules. X-items can use lean inventory with minimal safety stock, while Z-items need large buffers or make-to-order strategies.

This calculator lets you input the average demand and standard deviation for an item to compute its coefficient of variation and XYZ classification.

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

When This Page Helps

While ABC analysis focuses on value, XYZ analysis focuses on forecastability. Combining both gives a two-dimensional view of your inventory. A high-value A-item with volatile Z-demand requires very different management than a high-value A-item with stable X-demand. XYZ analysis helps you allocate forecasting effort and safety stock budgets more effectively.

How to Use the Inputs

  1. Calculate the average demand per period (daily, weekly, or monthly).
  2. Calculate the standard deviation of demand over the same periods.
  3. Enter both values into the calculator.
  4. Review the computed coefficient of variation (CV).
  5. Check the XYZ classification result.
  6. Use the classification to set forecasting methods and safety stock policies.
  7. Repeat for each SKU to build a full classification matrix.
Formula used
CV = σ / μ Where: CV = Coefficient of Variation σ = Standard deviation of demand μ = Average (mean) demand Classification: X: CV < 0.5 (stable demand) Y: CV 0.5 – 1.0 (moderate variability) Z: CV > 1.0 (highly variable demand)

Example Calculation

Result: CV = 0.30 — Class X

CV = 60 / 200 = 0.30. Since 0.30 < 0.5, this item is classified as X — demand is stable and highly forecastable. Minimal safety stock is needed.

Tips & Best Practices

  • Use at least 12 months of data to calculate meaningful standard deviations.
  • Calculate CV at the same time granularity you use for planning (weekly, monthly).
  • X-items are good candidates for just-in-time or lean replenishment.
  • Z-items may benefit from postponement, make-to-order, or higher safety stock.
  • Combine XYZ with ABC analysis for a 9-cell matrix of inventory strategies.
  • New products without history default to Z until enough data accumulates.
  • Remove known outliers (promotions, one-time orders) before computing CV.

Why Demand Variability Matters

Forecasting accuracy and safety stock requirements are both driven by demand variability. An X-item with CV of 0.2 needs far less safety stock than a Z-item with CV of 1.5, even if both have the same average demand. Understanding this variability allows targeted inventory investment.

Computing CV in Practice

Export demand data from your ERP or POS system for each SKU over 12+ periods. Use a spreadsheet to calculate mean and standard deviation, then divide to get CV. Most ERP systems can be configured to calculate and display CV automatically.

Forecasting by XYZ Class

X-items respond well to simple moving averages or exponential smoothing. Y-items may need trend or seasonal models. Z-items often defy statistical forecasting — consider causal models, customer input, or judgmental adjustments for these items.

The XYZ Classification as a Living System

Demand patterns evolve with product lifecycle, market changes, and competitive dynamics. Run XYZ reclassification at least annually. Items graduating from Z to Y signal demand stabilization and may warrant inventory policy adjustments.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • XYZ analysis classifies inventory items by demand variability using the coefficient of variation. X-items have stable, predictable demand; Y-items have moderate fluctuations; Z-items have highly unpredictable demand.