ABC Analysis in Inventory: How to Do It Step by Step, With XYZ
ABC analysis sorts inventory items by their annual consumption value (annual quantity × unit cost) and splits them into three groups: A items, roughly 20% of items making up about 80% of the value; B items, the next group making up about 15%; and C items, the many remaining items making up about 5%. XYZ analysis adds a second view: how stable each item's demand is.
The point is focus. You cannot manage thousands of items with the same care, so you spend your attention where the money is. This guide does both analyses step by step on a small example.
Step 1: calculate annual consumption value
For every item: Annual value = annual quantity × unit cost
Step 2: sort from highest to lowest
Step 3: calculate the cumulative share
Add up the values from the top and divide each running total by the grand total.
Step 4: draw the lines
Common cut-offs: A up to about 80% of cumulative value, B up to about 95%, C the rest. The exact lines are a choice, not a rule.
Worked example: ten items
| Item | Annual value | Share | Cumulative | Class |
|---|---|---|---|---|
| P01 | €48,000 | 48.0% | 48.0% | A |
| P02 | €31,000 | 31.0% | 79.0% | A |
| P03 | €9,500 | 9.5% | 88.5% | B |
| P04 | €6,200 | 6.2% | 94.7% | B |
| P05 | €2,100 | 2.1% | 96.8% | C |
| P06 | €1,400 | 1.4% | 98.2% | C |
| P07 | €900 | 0.9% | 99.1% | C |
| P08 | €500 | 0.5% | 99.6% | C |
| P09 | €250 | 0.25% | 99.85% | C |
| P10 | €150 | 0.15% | 100.0% | C |
Two items (20% of the items) make 79% of the value. Six items (60%) make only 5%. That pattern, roughly following the Pareto principle, shows up in almost every warehouse.
What to do with each class
| A items | B items | C items | |
|---|---|---|---|
| Review | Weekly or more often | Monthly | Quarterly |
| Forecast | Item by item, with care | Statistical | Simple rules |
| Safety stock | Calculated per item | Calculated | Generous, it is cheap |
| Stock counts | Often | Regularly | Once or twice a year |
| Supplier attention | High | Medium | Low, automate |
C items often get generous safety stock because a stockout of a cheap part can stop as much as a stockout of an expensive one, while the extra stock costs very little.
XYZ analysis: how predictable is demand?
ABC tells you how much an item is worth. XYZ tells you how hard it is to forecast. Use the coefficient of variation (CV) of demand per period:
CV = standard deviation of demand / average demand
| Item | Monthly demand (6 months) | CV | Class |
|---|---|---|---|
| X example | 100, 104, 97, 101, 99, 103 | 0.02 | X: stable |
| Y example | 80, 120, 60, 140, 90, 110 | 0.26 | Y: varies |
| Z example | 0, 0, 40, 5, 0, 120 | 1.59 | Z: erratic |
The table uses X below 0.25, Y from 0.25 to 1.0 and Z above 1.0. Some companies draw the X line at 0.5 instead. As with ABC, the lines are a choice.
Combining them
| X (stable) | Y (variable) | Z (erratic) | |
|---|---|---|---|
| A | Automate replenishment, low safety stock | Forecast carefully, review often | Work with customers, consider make to order |
| B | Automate | Statistical forecast | Review the need to stock it |
| C | Automate, order in bulk | Simple rules | Stock generously or do not stock |
AZ items deserve the most attention: high value and hard to predict.
Common mistakes
- Classifying by quantity instead of value. A screw you use a million of may still be a C item.
- Never repeating it. Run it at least twice a year; items move between classes.
- Treating C items as unimportant. They are cheap, not unimportant.
Exercise
Five items have these annual values: €70,000, €18,000, €7,000, €3,500, €1,500. Classify them with cut-offs at 80% and 95%.
Solution
Total = €100,000. Cumulative: 70%, 88%, 95%, 98.5%, 100%. Item 1 is A. Items 2 and 3 are B (the cumulative share reaches exactly 95% at item 3). Items 4 and 5 are C.
Questions people ask
What is the 80/20 rule in inventory?
It is the observation that about 20% of items usually account for about 80% of the value. ABC analysis is built on it.
Is ABC analysis based on cost or on sales?
Usually on annual consumption value at cost. Some companies use sales value or margin instead.
How often should ABC analysis be done?
At least once or twice a year, and after big changes in the range or in demand.
Practise it
In Play Supply Chain you manage stock across many items and see where attention pays off. Start with the free challenges.
Related reading
Don't just read about supply chains. Play them.
- The first 5 challenges are free, with the same game engines and debriefs as Premium
- Your stars and your level are saved to your profile
- No credit card, no spam
More in Planning
- Beer Game Strategy: How to Win the Beer Distribution Game
- Inventory Management Game: A Dice Exercise That Teaches Reorder Points
- Safety Stock and Reorder Point Practice Problems With Solutions
- EOQ Practice Problems With Step-by-Step Solutions
- Forecasting Practice Problems: Moving Average, Exponential Smoothing and MAPE, With Solutions
- Supply Chain Case Study With Solution: A Stockout Problem Solved Step by Step
- WAPE vs MAE vs MAPE vs RMSE: Which Forecast Error Metric to Use
- Push vs Pull Supply Chain: The Difference, With Examples