ABC and XYZ analysis in inventory management: what each class changes in a distributor's orders
ABC analysis ranks SKUs by their share of revenue: A items carry most of it, C items the long tail. XYZ analysis ranks the same SKUs by how much weekly demand varies. Together they set where planning effort goes: review frequency, forecast method and how much buffer each line carries.

Part of Inventory replenishment for distributors: from forecast to purchase order, line by line
A distributor with thousands of SKUs cannot give every order line the same attention. ABC and XYZ analysis is the usual way to decide which lines get it. This article classifies twelve invented sample SKUs, gives the Excel formulas, and then covers the part most explanations skip: what each class should change on the purchase order. It is part of our guide to inventory replenishment, where the order line itself is worked out.
Key takeaways
- ABC sorts SKUs by cumulative share of revenue. The 80% and 95% cut-offs are a convention, and the share of SKUs that lands in A depends on your assortment.
- XYZ sorts SKUs by the coefficient of variation (CV) of demand: standard deviation divided by the mean. The common cut-offs, 0.5 and 1.0, are also conventions with no single academic origin.
- CV depends on the period length. In the sample, one A item is Y on weekly data and X on the same sales summed into months.
- A "service level per class" table is a starting convention. Research comparing class-based targets with cost-based ones found the class-based approach well short of cost-optimal [1], [2].
- A critical C item can deserve a higher service level than an A item. A cost-based rule per SKU shows this in one line of Excel [3].
What is ABC analysis in inventory management?
ABC analysis splits SKUs into three groups by demand value (units sold × price), so that management effort goes where the money is; it is the most common way to group a large assortment [1]. A items are the few that carry most of the revenue, C items are the long tail, and B items sit between.
To classify, add up revenue per SKU over one period, sort from largest to smallest, and compute each SKU's cumulative share of the total. A common convention puts SKUs up to 80% of cumulative revenue in A, up to 95% in B and the rest in C.
Here is that convention applied to twelve SKUs of an invented bathroom-fittings distributor, over 26 weeks of sales:
Invented sample SKU | Revenue, 26 weeks (€) | Share | Cumulative | ABC | Weekly CV | XYZ |
|---|---|---|---|---|---|---|
MX-BSN-10 Basin mixer | 47,317 | 26.4% | 26.4% | A | 0.20 | X |
SH-CHR-01 Shower head, chrome | 45,827 | 25.6% | 52.0% | A | 0.15 | X |
FL-HOS-15 Flexible hose 50 cm | 16,913 | 9.4% | 61.5% | A | 0.18 | X |
MX-THM-20 Thermostatic shower mixer | 16,898 | 9.4% | 70.9% | A | 0.68 | Y |
VL-ANG-12 Angle valve ½" | 12,341 | 6.9% | 77.8% | A | 0.23 | X |
TR-DRN-40 Shower drain channel 80 cm | 9,024 | 5.0% | 82.9% | B | 1.11 | Z |
RD-TWL-60 Towel radiator 60 cm | 8,010 | 4.5% | 87.3% | B | 0.79 | Y |
WC-SEA-02 Toilet seat, soft close | 7,680 | 4.3% | 91.6% | B | 0.40 | X |
GS-SIL-03 Silicone sealant, white | 7,413 | 4.1% | 95.8% | C | 0.19 | X |
SC-GLS-90 Glass shower screen 90 cm | 4,830 | 2.7% | 98.5% | C | 2.06 | Z |
BR-HOL-07 Toilet brush holder | 2,436 | 1.4% | 99.8% | C | 0.49 | X |
CR-SPR-05 Spare cartridge 35 mm | 314 | 0.2% | 100.0% | C | 2.06 | Z |
Five of the twelve SKUs (42%) carry 77.8% of revenue. With hundreds or thousands of SKUs the split differs: read how many land in A off your own curve rather than expecting 20%.
Cumulative share of SKU i = (revenue of all SKUs with revenue ≥ revenue of SKU i) ÷ total revenue. Class = A if cumulative share ≤ 80%, B if ≤ 95%, otherwise C (cut-offs are a convention).
- revenue: units sold × net price over the same period for every SKU, typically 12 months
- total revenue: sum over all SKUs that sold in the period
- 80% / 95%: conventional cut-offs; change them to fit your assortment
What is XYZ analysis and how is it calculated?
XYZ analysis ranks SKUs by how steady their demand is, often measured by the coefficient of variation (CV): the standard deviation of demand per period divided by the average [1]. X items sell at a steady rate, Y items fluctuate, and Z items are erratic or sell only now and then.
The common cut-offs are CV up to 0.5 for X, up to 1.0 for Y and above 1.0 for Z; some teaching material uses CV cut-offs of 0.1 and 0.25. We found no single academic source for any of them, so treat them as conventions and tune them to your data.
Take MX-THM-20, the thermostatic mixer. Over 26 weeks it sold 119 units: an average of 4.58 a week with a weekly standard deviation of 3.13, so CV = 3.13 ÷ 4.58 = 0.68, which is Y. Summed into six 4-4-5-week months, the same sales give a CV of 0.35, which is X. Neither is wrong. CV depends on the period length, so pick the period you order in (often weekly) and keep it fixed.
CV = standard deviation of demand per period ÷ average demand per period. Class = X if CV ≤ 0.5, Y if CV ≤ 1.0, otherwise Z (cut-offs are a convention).
- demand per period: units sold per week, with weeks of zero sales entered as 0, not left blank
- standard deviation: sample standard deviation over the same weeks
- 0.5 / 1.0: conventional cut-offs with no single academic origin
- SKUs with no sales in the window return #DIV/0!; leave them unclassified
Invented sample: 12 SKUs of a bathroom-fittings distributor, 26 weeks of sales
ABC classification: shipped
ABC only. XYZ and demand-pattern classes are not in the product.
SKUs by revenue (ABC) and by how steady their weekly sales are (XYZ)
- Share of revenue
- Cumulative share
- ABC cut-offs
| X (steady) | Y (fluctuating) | Z (erratic) | |
|---|---|---|---|
| A | 4 SKUsMX-BSN-10, SH-CHR-01, FL-HOS-15, VL-ANG-12 | 1 SKUMX-THM-20 | 0 SKUs– |
| B | 1 SKUWC-SEA-02 | 1 SKURD-TWL-60 | 1 SKUTR-DRN-40 |
| C | 2 SKUsGS-SIL-03, BR-HOL-07 | 0 SKUs– | 2 SKUsSC-GLS-90, CR-SPR-05 |
ABC: A up to 80% of cumulative revenue, B up to 95%, C the rest. XYZ by the coefficient of variation of weekly sales: X up to 0.5, Y up to 1, Z above. Convention: change to fit your assortment.
Data
| SKU | Revenue | Share | Cumulative | ABC | Weekly CV | XYZ |
|---|---|---|---|---|---|---|
| MX-BSN-10 | 47,317 | 26.4% | 26.4% | A | 0.20 | X |
| SH-CHR-01 | 45,827 | 25.6% | 52.0% | A | 0.15 | X |
| FL-HOS-15 | 16,913 | 9.4% | 61.5% | A | 0.18 | X |
| MX-THM-20 | 16,898 | 9.4% | 70.9% | A | 0.68 | Y |
| VL-ANG-12 | 12,341 | 6.9% | 77.8% | A | 0.23 | X |
| TR-DRN-40 | 9,024 | 5.0% | 82.9% | B | 1.11 | Z |
| RD-TWL-60 | 8,010 | 4.5% | 87.3% | B | 0.79 | Y |
| WC-SEA-02 | 7,680 | 4.3% | 91.6% | B | 0.40 | X |
| GS-SIL-03 | 7,413 | 4.1% | 95.8% | C | 0.19 | X |
| SC-GLS-90 | 4,830 | 2.7% | 98.5% | C | 2.06 | Z |
| BR-HOL-07 | 2,436 | 1.4% | 99.8% | C | 0.49 | X |
| CR-SPR-05 | 314 | 0.2% | 100.0% | C | 2.06 | Z |
The sample lands in the 3×3 matrix like this:
X (steady) | Y (fluctuating) | Z (erratic) | |
|---|---|---|---|
A | MX-BSN-10, SH-CHR-01, FL-HOS-15, VL-ANG-12 | MX-THM-20 | – |
B | WC-SEA-02 | RD-TWL-60 | TR-DRN-40 |
C | GS-SIL-03, BR-HOL-07 | – | SC-GLS-90, CR-SPR-05 |
What do you do with each cell of the ABC-XYZ matrix?
Each cell changes four things on the order: how often you review the line, how much buffer it carries, which forecast approach fits and how much a person checks before the PO goes out. The table is a common starting convention, not a sourced rule; the next section replaces its service-level column with numbers you can defend.
Cell | Service-level target (convention) | Review | Forecast approach | What changes on the order |
|---|---|---|---|---|
AX | Highest | Every order cycle, often weekly | Simple smoothing; automate | Order on rule; a planner checks exceptions only |
AY | High | Every cycle | Methods with trend or seasonality | Check the forecast against sales news before sending |
AZ | High, but not by buffer alone | Every line, by hand | Customer orders and project lists, not history | Buy against known demand; agree call-offs or shorter lead times with the supplier |
BX | High | Every second cycle | Simple smoothing | Order on rule; accept minimums that cover a few weeks |
BY | Medium | Every second cycle | Seasonal or trend method | Pre-build before the season rather than chase it |
BZ | Medium | Per order | Known demand where possible | Ask sales what drives the spikes before stocking for them |
CX | Medium | Monthly | Simple average | Accept large minimums; few orders a year |
CY | Lower | Monthly | Simple average | Keep the buffer small; check cover before topping up |
CZ | Lowest, or none | On demand | Often none: buy to order | Decide whether to stock it at all, except critical items |
The review column matters most to a buyer: AX lines can run on a rule, so the planner's time goes to AZ and BZ lines, where history explains little. On the C row the useful question is often the supplier's minimum: a large minimum order quantity on a CY or CZ item, where demand may not come back, can lock in months of stock for little revenue.
Why is one service level per class not cost-optimal?
Because the cost-minimising target depends on each SKU's order size, demand, holding cost and shortage cost, not on its revenue rank. A study on real company datasets (we read its abstract) found one service level per value or volume class well short of cost-optimal; a cost-based criterion did better and could include SKU criticality [2]. A 2025 overview of the field cites the same finding [1].
MIT's supply chain course gives the per-SKU rule. If each unit short costs c_s and each unit held costs c_e per year, the cost-minimising probability of a stock-out per order cycle is Q × c_e ÷ (D × c_s) [3]. Nothing in that rule mentions the class.
P(stock-out per cycle) = (Q × c_e) ÷ (D × c_s), valid when this is ≤ 1. Target cycle service level = 1 − P. Safety factor z = NORM.S.INV(1 − P).
- Q: order quantity, units per order
- D: demand, units per year
- c_e: cost of holding one unit for a year, € (unit cost × your annual carrying rate)
- c_s: cost of each unit short, € (lost margin, plus expediting or goodwill where it applies)
The rule treats each unit short as a backorder. If customers buy elsewhere instead, the standard lost-sales variant, Q × c_e ÷ (Q × c_e + D × c_s) (not in the MIT notes), gives slightly higher targets but the same ranking below.
Here is the rule on three of the sample SKUs. The 18% annual carrying rate and the shortage costs are invented sample inputs; use your own.
Invented sample SKU | Class | Q | D per year | c_e (€) | c_s (€) | Cost-based CSL |
|---|---|---|---|---|---|---|
SH-CHR-01 Shower head | AX | 600 | 7,700 | 1.28 (7.10 × 18%) | 4.80 (lost margin) | 97.9% |
BR-HOL-07 Brush holder | CX | 120 | 336 | 1.57 (8.70 × 18%) | 5.80 (lost margin) | 90.4% |
CR-SPR-05 Spare cartridge | CZ | 20 | 64 | 1.06 (5.90 × 18%) | 25.00 (margin plus a failed repair visit) | 98.7% |
The spare cartridge is the smallest item by revenue and jointly the most erratic, yet it earns the highest target: a missing cartridge costs an installer a wasted visit, not just a lost sale. A per-class convention would give it the lowest. Once a target is set, the safety stock and the order line follow as in the replenishment guide.
What else does each class change on a distributor's orders?
Beyond the service level, the class decides who checks the line, which lines you pull forward to meet a supplier minimum, what fills spare container space and how much rounding you accept. X lines absorb extra stock safely; Z lines do not.
- Who checks the line. AZ and AY lines are where a planner's judgement adds most; AX and CX lines can go out on the rule.
- How you meet supplier minimums. When a PO falls short of a supplier's minimum value, pull forward X lines, where the extra stock will sell, not Z lines.
- What tops up a container. Fill spare space with AX or BX items whose cover you can predict, never with Z items you may hold for a year.
- How much rounding you accept. Rounding a C item up to a full carton or pallet costs little cash if demand is steady (CX); on CY and CZ lines the stock may never sell. Rounding an A item by the same weeks of cover ties up a lot of cash.
The same export feeds forecasting and ordering; see what data you need for demand planning for the full checklist.
Where do ABC and XYZ mislead?
They mislead wherever past sales are a poor guide to future demand: near the cut-offs, on seasonal and intermittent items, after stock-outs and on new items. Ranking by revenue alone also ignores margin and supply risk. Each case below shows up in your own data.
- Cut-off cliffs. BR-HOL-07 has a CV of 0.49. At a cut-off of 0.5 it is X; at 0.45 it is Y. Any SKU near a boundary can flip class between runs. A practical guard (our guidance, not a published rule): move a SKU only after two runs in the new class.
- Seasonality counted as noise. RD-TWL-60, the towel radiator, sells about one a week at the start of the sample and climbs to eight or nine a week by the end (late autumn in this invented sample). Its CV of 0.79 makes it Y, yet a seasonal forecast can predict it well. CV measures variation, not forecast accuracy, and the two need not agree [1]. One fix (our suggestion) is to measure variability on forecast error rather than raw sales. A case study at a machinery maker reported clear gains from adding demand forecasts to ABC-XYZ, instead of classifying on past consumption alone [4].
- Many zero weeks. SC-GLS-90 and CR-SPR-05 sold nothing in 20 of 26 weeks. For items like these CV says little, and demand-pattern classes built on how often demand occurs and how much its size varies are the usual alternative [6]. We will cover them in a separate article on intermittent demand.
- Stock-outs recorded as low demand. A week with zero sales because the shelf was empty looks like a week with no demand, so an A item that ran out often can drop to B and look erratic. Mark stock-out weeks before classifying.
- Revenue is one criterion among several. Ranking by revenue ignores margin, item size and supply risk. Multi-criteria ABC methods have been in the literature since the 1980s [5], and the cost-based criterion above is another answer [2].
- New items. A SKU launched six weeks ago has little revenue and an unstable CV; classify it by hand until it has a full period of history.
How Allocates.ai uses ABC
ABC classification: shipped
Allocates.ai assigns ABC classes from your uploaded sales (shipped): it ranks SKUs by revenue over all the sales you upload and applies the same 80% and 95% cumulative cut-offs as the table above, leaving SKUs with no sales unclassified. XYZ and demand-pattern classes are not in the product. The forecast picks a method per SKU by backtest rather than by class (shipped).
Frequently asked questions
What is the 80/20 rule in ABC analysis?
It is the Pareto pattern: a minority of SKUs usually carries most of the revenue. "80% of revenue from 20% of SKUs" is a convention, not a measured constant. Use 80% as the A cut-off if it suits you, and read the share of SKUs from your own data.
What is the difference between ABC and XYZ analysis?
ABC ranks SKUs by value: how much revenue each brings. XYZ ranks them by variability: how much weekly demand moves around its average. ABC shows where the money is; XYZ shows how far history can be trusted to plan it. Together they give nine cells.
How often should I rerun ABC-XYZ classification?
Our guidance: every quarter, on the last 12 months of sales, so a full year of seasons is in every run. Monthly runs on short windows make borderline SKUs change class too often. Rerun sooner after a large range change or a lost customer.
Should C items always have a lower service level?
No. A low-value item can be critical to the customer, such as a spare part that stops an installation. A cost-based target per SKU, set from holding cost, order size, demand and the cost of a shortage, can rank such an item above an A item [3].
- Petropoulos, F. et al., arXiv, 2025. Operations & Supply Chain Management: Principles and Practice, §2.3 Inventory management (Babai & Prak), arXiv:2503.05749v2
- Teunter, R.H., Babai, M.Z. & Syntetos, A.A., Production and Operations Management, 2010. ABC classification: service levels and inventory costs. Production and Operations Management 19(3), 343–352
- MITx, MIT Center for Transportation & Logistics, 2015. Key Concepts Week 7 Lesson 1: Probabilistic Inventory Models (CTL.SC1x Supply Chain & Logistics Fundamentals)
- Scholz-Reiter, B., Heger, J., Meinecke, C. & Bergmann, J., Emerald, 2012. Integration of demand forecasts in ABC-XYZ analysis: practical investigation at an industrial company. International Journal of Productivity and Performance Management 61(4), 445–451
- Flores, B.E. & Whybark, D.C., Emerald, 1986. Multiple criteria ABC analysis. International Journal of Operations & Production Management 6(3), 38–46
- Syntetos, A.A., Boylan, J.E. & Croston, J.D., JORS, 2005. On the categorization of demand patterns. Journal of the Operational Research Society 56(5), 495–503


