Industrial warehouse racking with pallets arranged in zones, showing items with steady and irregular demand

What XYZ analysis is

XYZ analysis sorts inventory items by how predictable their demand is: X items have steady consumption, Y items vary moderately (trend or seasonality) and Z items are irregular and hard to forecast. The measure is the coefficient of variation (CV) of consumption.

On its own it says nothing about the money involved, so it is usually crossed with ABC analysis, which ranks items by value. The result is the ABC-XYZ matrix: nine classes, each with its own replenishment policy.

Visual map of the ABC-XYZ matrix

The map summarizes the CV calculation, the X, Y and Z bands, the 3×3 matrix and the 10-item example.

ABC-XYZ INVENTORY MATRIX
Visual map 176: XYZ Analysis and ABC-XYZ Matrix for Inventory, with Example. Click the map to see it full size.Download the map as PNG

How to calculate CV and set X, Y and Z

Take the last 12 months of consumption (or weekly data for fast movers) and calculate the mean and the standard deviation. CV is the ratio of the two.

CV = standard deviation ÷ mean consumption

Common bands, which you should tune to your business:

Standard deviation is the concept covered in normal distribution and standard deviation. The calculations below use the population standard deviation of the 12 months.

Advertisement

Example: 10 items classified by ABC and XYZ

A fictional spare-parts store. Annual value is 12 months of consumption times unit price; the total is $520,330. The ABC class follows the cumulative percentage: up to 80% is A, up to 95% is B, above that is C.

ItemAnnual value ($)% of valueCumulative %ABCCVXYZClass
P01240,00046.146.1A0.02XAX
P0293,75018.064.1A0.74YAY
P0372,00013.878.0A0.03XAX
P0451,6009.987.9B1.56ZBZ
P0526,2005.092.9B0.27XBX
P0614,4002.895.7C0.02XCX
P079,5401.897.5C1.75ZCZ
P084,5900.998.4C0.59YCY
P094,5000.999.3C0.04XCX
P103,7500.7100.0C2.29ZCZ

Two cases show why XYZ matters. P02 is second in value, but its monthly usage is 300, 280, 0, 650, 310, 290, 0, 700, 320, 300, 0 and 600 units: mean 312.5, standard deviation 231.2 and CV 0.74. It is Y, so the class is AY. P04 has a mean of 71.7, a standard deviation of 112.1 and a CV of 1.56: it is Z, with usage concentrated in a few months, so the class is BZ.

The ABC-XYZ matrix

Crossing the two classifications, the 10 example items fall as follows:

X (steady)Y (variable)Z (irregular)
A (high value)2 items: P01, P031 item: P020
B (medium value)1 item: P0501 item: P04
C (low value)2 items: P06, P091 item: P082 items: P07, P10

Focusing on the cells with high value and low predictability (AY, AZ, BZ) pays off more than treating every item the same way.

Advertisement

Which policy for each cell

The safety stock calculation should use each item's real standard deviation, which makes XYZ a good filter for deciding where the effort is worth it.

Step by step to build your matrix

  1. Pull 12 months of consumption per item (actual issues, not cancelled sales orders).
  2. Calculate annual value, percentage and cumulative percentage, and classify as A, B and C.
  3. Calculate mean, standard deviation and CV for each item and classify as X, Y and Z.
  4. Build the 3×3 matrix and count the items and value in each cell.
  5. Define the policy per cell and review the classification every quarter or half year.
  6. Check outliers with cycle counting, counting class A items more often.

Common mistakes and limitations

Frequently asked questions

What do X, Y and Z mean in inventory?

They are demand predictability classes: X steady, Y variable and Z irregular, set by the coefficient of variation of consumption.

What is the difference between ABC and XYZ?

ABC classifies by the value of annual consumption. XYZ classifies by how regular demand is. One tells you how much an item is worth, the other how predictable it is.

How do you calculate the coefficient of variation?

Divide the standard deviation of consumption by the mean. In the example, P02: 231.2 ÷ 312.5 = 0.74.

What CV limits define X, Y and Z?

The most common are up to 0.5 for X, up to 1.0 for Y and above 1.0 for Z. No standard fixes them; adjust to your business.

What is the best period for the analysis?

Twelve months cover seasonality. For fast movers, use weekly data from the last 6 to 12 months.

Should AZ items be stocked?

Generally only with a minimum stock and a lead-time agreement with the supplier. Stocking to forecast ties up cash in an item the forecast handles poorly.

Advertisement

Sources

  1. SILVER, E. A.; PYKE, D. F.; THOMAS, D. J. Inventory and Production Management in Supply Chains. Boca Raton: CRC Press.
  2. CHOPRA, S.; MEINDL, P. Supply Chain Management: Strategy, Planning, and Operation. Pearson.
  3. SLACK, N.; BRANDON-JONES, A.; JOHNSTON, R. Operations Management. Pearson.
  4. BALLOU, R. H. Business Logistics/Supply Chain Management. Pearson.

Keep studying: trusted sources and links

Save this address: Manufatura Enxuta is your school for lean manufacturing. Come back whenever you need to study, with a complete article, a visual map and trusted sources. Follow one of the learning paths or check the A–Z glossary.

Want real pull production?

Download the free pull production e-book, with kanban, supermarkets and leveling.

Download the e-book
Photo of Vagner Soares

About the author

Vagner Soares

Lean Manufacturing & Behavioral Management Specialist

Over 20 years in the automotive and metalworking industries (GM and Dana), Lean Manufacturing practitioner since 2006. SENAI instructor and mentor in Brazil’s Brasil Mais Produtivo program, delivering consulting, training and audits for 50+ companies, combining quality, productivity and people development.