XYZ analysis sorts the things you stock by how predictable their demand is. X items sell about the same every period. Y items move around. Z items are erratic: big one month, nothing the next. It's a companion to ABC analysis, which sorts by value. ABC says what matters most. XYZ says what you can plan for. The measure is the coefficient of variation: the standard deviation of an item's demand divided by its average. A low number means steady. Where to draw the lines between X, Y and Z is a convention and not a law, and I've used cut-offs of my own in the example. The use is in treating the classes differently, which the trigger's maker didn't. Below is the sum, four made-up products, what to do with each class, and a sheet. Six months of history, as in the example, is thin.
The short version
- X: steady demand. Y: variable. Z: erratic.
- Coefficient of variation = standard deviation ÷ average demand.
- Set your own cut-offs. The example uses 0.25 and 0.5.
- X items can run on tight stock. Z items need a buffer, or to be made to order.
- A seasonal item reads as Z on a short history, even if its season is predictable.
- TaroStack suggests reorder points from how stock actually moves. More below.
The sum
For each item, over the same run of periods:
Average = total demand ÷ number of periods
Coefficient of variation = standard deviation ÷ average
| Item | M1 | M2 | M3 | M4 | M5 | M6 | Average | Std dev | CV | Class |
|---|---|---|---|---|---|---|---|---|---|---|
| Almond granola | 410 | 395 | 430 | 405 | 420 | 400 | 410 | 13 | 0.03 | X |
| Maple granola | 180 | 240 | 150 | 260 | 170 | 230 | 205 | 44 | 0.22 | X |
| Holiday spice granola | 0 | 0 | 20 | 310 | 620 | 40 | 165 | 253 | 1.53 | Z |
| Granola bars | 90 | 60 | 140 | 40 | 150 | 75 | 93 | 44 | 0.48 | Y |
The cut-offs here are 0.25 or less for X, up to 0.5 for Y, and above that Z. They're a starting point of mine. Look at where your own items fall and move the lines so the classes mean something.
The standard deviation is the sample kind, dividing by one less than the number of periods. In a spreadsheet that's the function for a sample.
What to do with each class
| Class | Demand | I'd |
|---|---|---|
| X | Steady | Hold little. Reorder on a simple rule. A forecast from the average will be close |
| Y | Variable | Hold a buffer sized to the swings. Look for the cause: promotions, a few large customers |
| Z | Erratic | Don't trust an average. Make to order where you can, or hold a deliberate buffer and accept some waste |
The trigger's rule, two weeks of stock for everything, was too much for the almond granola and too little for the bars. The bars' CV of 0.48 says a month can be 40 or 150. Two weeks at the average covers neither.
How to size a buffer from the variation is in safety stock formula.
With ABC
ABC ranks items by value. Put the two together and each item gets two letters:
| X: steady | Y: variable | Z: erratic | |
|---|---|---|---|
| A: high value | Plan tightly. Worth getting exactly right | Worth the effort to understand the swings | The dangerous corner: valuable and unpredictable |
| C: low value | Automate and forget | A generous buffer is cheap | Carry plenty or drop it |
AZ is where money gets lost both ways, in stockouts and in write-offs. If you have one, it deserves a conversation with the customers who drive it. ABC on its own is in ABC analysis inventory example.
Seasonal isn't the same as erratic
The holiday granola scores 1.53, deep in Z. But it isn't unpredictable. It sells in November and December every year. Six months that straddle a season make any seasonal item look wild.
Two ways round it: use a full year or more of history and compare the same months, or take seasonal items out of the analysis and plan them by the calendar.
Limits
- Six periods is thin. More history gives steadier answers.
- Demand you couldn't meet isn't in the sales figures. A month you ran out looks like a low month.
- For food, shelf life caps the buffer whatever the class says.
Ways to forecast each class are in demand forecasting methods.
Get the sheet
Download the XYZ analysis sheet. One sheet and a read-me: a row for each item with six months of demand. It works out the average, the standard deviation, the coefficient of variation and a class. Four made-up products are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.
Where this stops working
The analysis is run once, from numbers copied out of somewhere. Demand changes: the bars get a wholesale account and steady up, the maple granola loses a shop and turns erratic. A sheet filled in last spring still calls them Y and X, and the reorder rules set from it are wrong in a new way.
How TaroStack does it
TaroStack doesn't label items X, Y and Z. It works from the same thing the analysis measures: how stock actually moves.
Sales orders are kept in TaroStack, so the history is there without copying. The reorder list works in days of cover, with reorder points suggested from how stock really moves. With planning, on Growth, forecasts are filled from your own history, with safety stock and a minimum and maximum for each item.
Each lot carries its date, and a forecast shows what will expire unsold, which is the cost of a buffer that was too big.
| The job | An analysis in a spreadsheet | In TaroStack |
|---|---|---|
| Each item's demand history | Copied out by hand | Forecasts filled from your own history, on Growth |
| A reorder point that fits the item | One rule for everything | Suggested from how it moves |
| A buffer for the erratic ones | A guess | Safety stock by item, on Growth |
| What an oversized buffer cost | Found at the back of the shelf | A forecast of what will expire |
Lots, recipes and cost are on every plan, from $9.99 a month. Planning starts at Growth, $39 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.
