Grocery & retail

ABC inventory analysis: focus on the items that make your profit

Most of your money comes from a small share of your items. Here is how to find them, why ranking by profit changes the list, and what to do differently with A, B and C.

Petra team26 November 20267 min read

A shop scene, illustrative photo
Photo via StockSnap (CC0)

A mobile accessories shop in Amman stocks 1,900 items. The owner spends Saturday mornings counting cables, chasing a supplier about a missing box of cleaning kits and rearranging phone cases. Meanwhile, the screen protectors that earn him more gross profit than anything else in the shop have run out twice this month, because nobody was watching them.

ABC inventory analysis fixes that by ranking your items by their share of sales or profit. A small group of items, typically 15 to 20% of the catalogue, usually brings 70 to 80% of the value: those are your A items. The next group is B, and the long tail is C. You then treat each class differently: A items get frequent counts, tight reorder points and price checks, while C items get simple rules and less of your time.

This guide walks through the method with a worked example, shows why ranking by profit can change the list, adds the XYZ dimension, and gives a policy table you can copy.

The method in five steps

  1. 1
    Choose the value

    Use annual sales value per item for cash and traffic, or annual gross profit for earnings. Ideally do both.

  2. 2
    Export twelve months

    Take value per item for the last 12 months (6 if the shop is newer). Include items with zero sales.

  3. 3
    Sort and accumulate

    Sort from highest to lowest, add a running total and divide it by the grand total to get a cumulative percentage.

  4. 4
    Draw the lines

    A up to about 80% cumulative, B up to about 95%, C for the rest. The exact cut-offs are a choice, not a law.

  5. 5
    Set rules per class

    Decide counting frequency, service level, reorder review, shelf space and price checks for each class.

A worked example, by sales

To show the mechanics, here are ten product lines from the fictional accessories shop, with their annual sales:

Item Annual sales (JOD) Share Cumulative Class
Phone chargers 18,000 31.0% 31.0% A
Wireless earbuds 14,000 24.1% 55.2% A
Screen protectors 8,000 13.8% 69.0% A
Power banks 6,000 10.3% 79.3% A
Cables 4,000 6.9% 86.2% B
Phone cases 3,000 5.2% 91.4% B
Car holders 2,000 3.4% 94.8% B
Memory cards 1,600 2.8% 97.6% C
Stylus pens 900 1.6% 99.1% C
Cleaning kits 500 0.9% 100% C
Total 58,000

With only ten lines the A group looks large. In a real catalogue of 1,900 items, the same calculation typically puts a few hundred items in A. The principle is identical.

The same list, ranked by profit

Sales tell you what moves. Profit tells you what pays. Add each item's gross margin and recalculate.

Item Sales (JOD) Gross margin Gross profit (JOD) Rank by profit Class by profit
Screen protectors 8,000 60% 4,800 1 A
Phone chargers 18,000 20% 3,600 2 A
Wireless earbuds 14,000 25% 3,500 3 A
Cables 4,000 50% 2,000 4 A
Phone cases 3,000 55% 1,650 5 B
Power banks 6,000 20% 1,200 6 B
Car holders 2,000 45% 900 7 B
Stylus pens 900 50% 450 8 C
Cleaning kits 500 60% 300 9 C
Memory cards 1,600 15% 240 10 C
Total 58,000 18,640

Two things change. Screen protectors move from third to first: they make a quarter of the shop's gross profit, so running out of them is the most expensive stock-out in the shop. Cables move from B to A by profit, and power banks drop to B. The owner's Saturday counting effort was going to the wrong items.

The lesson: if your system knows the cost of each item, rank by gross profit as well as sales. If it does not, fix that first, because every profit decision depends on it.

Adding XYZ: how steady is demand?

ABC tells you how important an item is. XYZ tells you how predictable it is, which decides how you reorder it.

Calculate the coefficient of variation for each item: the standard deviation of weekly sales divided by average weekly sales. Common cut-offs:

  • X: below 0.5. Steady sellers, easy to forecast.
  • Y: 0.5 to 1.0. Variable, often seasonal or promotion-driven.
  • Z: above 1.0. Erratic, with many zero weeks and occasional spikes.

Worked example: chargers sell on average 60 units a week with a standard deviation of 15: CV = 15 / 60 = 0.25, so X. Power banks average 12 a week with a deviation of 10: CV = 0.83, so Y. Stylus pens average 3 a week with a deviation of 4: CV = 1.33, so Z.

Combining the two gives a matrix that tells you how to manage each group:

X (steady) Y (variable) Z (erratic)
A Automatic reorder, tight safety stock, aim for no stock-outs Reorder with a seasonal check, higher buffer Order by decision, not by formula; talk to the supplier about fast restock
B Regular reorder, standard buffer Periodic review, moderate buffer Small orders, accept some stock-outs
C Simple minimum, order rarely Order on demand Consider stocking on request only

The reorder rules for each cell are explained in our article on reorder point and safety stock.

The policy table: what changes by class

Policy A items B items C items
Stock counts Every 1 to 2 weeks Every quarter Twice a year or at the annual count
Service level target 95 to 98% About 95% About 90%
Reorder review Weekly Every two weeks Monthly
Supplier price checks Every order Quarterly Yearly
Shelf position Eye level, near the counter Standard Lower shelves, back of shop
Who decides orders Owner or manager Manager Rule or staff
Clearance review Rarely needed Each quarter Each quarter, stricter

Counting A items often is one of the lowest-cost ways to keep shrinkage in check. Our stock take guide explains how to count by class without closing the shop.

Use the A list when you talk to suppliers

The A list is also a negotiating tool. Group your A items by supplier and add up what you buy from each one in a year. If one wholesaler supplies JOD 15,000 of your A items, you are an account worth keeping, and you can ask for better prices, faster delivery or return terms on slow lines. A one point better price on JOD 15,000 of purchases is JOD 150 a year with no extra sales at all. The same list tells you which suppliers you cannot afford to lose, so you can keep a second source for those items.

The C tail: where dead stock grows

The C class is often 50 to 60% of the items in the catalogue and only a few percent of sales. That is where cash goes to sleep. Each quarter, look at the C items with no sale in 90 days and decide: keep, reorder smaller, or clear. Our article on dead stock gives a clearance ladder.

But do not delete C items blindly. Some C items complete a sale: the cleaning kit bought with a phone, the charger cable a customer expects you to have. Removing them can cost you the A sale they support. Ask "would a customer leave without this?" before you drop an item.

Mistakes that make ABC useless

  • No cost data. Without purchase cost per item you can rank only by sales, and miss the high-margin items.
  • Including services or deposits. Rank stock items only; services distort the totals.
  • New items judged on a few weeks. Mark new items separately until they have at least three months of sales.
  • Seasonal items ranked on the full year. Rank them on their season, or they look like C items and get understocked when it matters.
  • Treating C as "unimportant". C items are cheap to stock badly, but expensive to stock too much of.

Do it this week

Export twelve months of sales and profit per item, sort them, and mark your A items both ways. Compare the two lists and look at the items that move up when you rank by profit: they deserve better shelf space and tighter reorder points from next week. Redo the analysis each quarter. For the full stock routine around it, read inventory management for small shops, or book a demo to see profit by item on your own data.

Frequently asked questions

What is ABC analysis in inventory?

ABC analysis sorts items by their share of a value, usually annual sales or gross profit. A items are the few that make about 70 to 80% of the value, B items the next 15 to 20%, and C items the long tail that makes the last 5 to 10%. Each class then gets its own rules for counting, ordering and pricing.

How do I do an ABC analysis in Excel?

Export sales value per item for the last 12 months, sort from highest to lowest, add a column with the running total, and divide it by the grand total to get the cumulative percentage. Mark items up to about 80% as A, up to about 95% as B, and the rest as C.

Should ABC analysis use sales or profit?

Use both if you can. Ranking by sales shows what drives traffic and cash flow; ranking by gross profit shows what pays the bills. Items that are A by profit but B or C by sales, often high-margin accessories, deserve more shelf space and attention than a sales ranking alone gives them.

What is ABC XYZ analysis?

XYZ adds a second dimension: how stable demand is. X items sell steadily, Y items vary, Z items are erratic. Combining them gives nine groups, so an AX item (valuable and steady) gets a tight automatic reorder, while an AZ item (valuable but erratic) needs a human decision before each order.

How often should I redo the ABC analysis?

Every quarter for most shops, and before each major season. Items move between classes as tastes, prices and seasons change; a school item can be C in summer and A in late August.

Share this article

This article is general information, not legal, tax or financial advice. Laws and instructions change, so always check with the official authority or your accountant before deciding.

Try Petra on your own shop before you decide.

We set up a trial link for your kind of shop, with its items, to open on your phone or computer.

+962 77 284 6660Book a demo