Product Metrics

Search

Free calculator

ABC analysis calculator

Paste your products with revenue, and cost if you have it. The calculator ranks them, shows which products are A, B and C, and how the classes change when you rank by profit instead of revenue.

Your products

One product per line. Paste from Excel or Google Sheets, or open a CSV file. Up to 20,000 lines.

Everything runs in your browser. Your data is not uploaded.

Rank by
Class limits (cumulative share)
%
%

C is the rest. The 80/95 split is a convention, not a rule.

Your classes

Class A holds 3 of 10 products (30%) and 80% of your revenue.

Products and value per class
ClassProductsShare of productsShare of revenue
A330%80%
B330%15%
C440%5%
Cumulative share by product rank

Illustrative data

Products ranked by value, with cumulative share and class
RankProductRevenueShareCumulativeClass
1P140,00040.0%40.0%
2P225,00025.0%65.0%
3P315,00015.0%80.0%
4P46,0006.0%86.0%B
5P55,0005.0%91.0%B
6P64,0004.0%95.0%B
7P72,0002.0%97.0%C
8P81,5001.5%98.5%C
9P91,0001.0%99.5%C
10P105000.5%100.0%C

ABC analysis ranks products by one number and cuts the list where the running total passes 80% and 95%.

Sort your products from the highest value to the lowest. Work out each product's share of the total and add the shares up as you go down the list. Products up to 80% of the running total are A, up to 95% are B, and the rest are C.

The 80/95 split follows the Pareto principle and is a convention. Change the limits in the calculator if your range calls for different ones.

How the calculator treats your data

Ties
Products with the same value keep the order you pasted them in.
The top product
It is always A, even when it alone carries more than 80%.
Zero
A product with zero revenue or profit is ranked last and is C.
Negative or missing values
Left out of the ranking and counted under the results. When you rank by profit, products without a cost are left out too.

Worked example: ten products, €100,000.00 revenue

Worked example: ten products, €100,000.00 revenue
RankProductRevenueCumulativeClass
1P1€40,000.0040.0%A
2P2€25,000.0065.0%A
3P3€15,000.0080.0%A
4P4€6,000.0086.0%B
5P5€5,000.0091.0%B
6P6€4,000.0095.0%B
7P7€2,000.0097.0%C
8P8€1,500.0098.5%C
9P9€1,000.0099.5%C
10P10€500.00100.0%C

A is 3 of 10 products (30%) and 80% of revenue. B is 3 products and 15%. C is 4 products (40%) and 5%.

Illustrative data

Rank by profit and the A list changes.

Revenue shows what sells; profit shows what earns. The same ten products, with margins of 10%, 20%, 40%, 50%, 40%, 30%, 40%, 30%, 20%, 10%, make a profit of €4,000.00, €5,000.00, €6,000.00, €3,000.00, €2,000.00, €1,200.00, €800.00, €450.00, €200.00, €50.00: €22,700.00 in total.

Rank by profit and the A list changes.
Rank by profitProductProfitCumulativeClassBy revenue
1P3€6,000.0026.4%AA
2P2€5,000.0048.5%AA
3P1€4,000.0066.1%AA
4P4€3,000.0079.3%AB
5P5€2,000.0088.1%BB
6P6€1,200.0093.4%BB
7P7€800.0096.9%CC
8P8€450.0098.9%CC
9P9€200.0099.8%CC
10P10€50.00100.0%CC

P1 is the biggest product by revenue but earns the thinnest margin of the A group, and P4 is B by revenue but A by profit.

Illustrative data

What to ask about each class before you change anything.

A products

Your few big products. Check stock cover so they do not run out, and check the margin: a big seller with a thin margin earns less than its rank suggests.

B products

The middle. Watch them: a B product can grow into A, and ranking by profit shows which ones already earn like one.

C products

The long tail. Ask why each one sits there: little demand, too much stock, a weak margin, or ad spend that does not come back.

Stock cover and slow stock in Inventory Insights

ABC and XYZ analysis measure different things.

ABC groups products by how much they carry. XYZ groups them by how steady their demand is: X sells evenly, Y varies with trends or seasons, and Z is hard to predict. Combined, AX products are big and predictable, and CZ products are small and erratic. This calculator does the ABC part.

Questions about ABC analysis.

What is ABC analysis?

ABC analysis ranks products by one number, usually revenue or profit, and groups them into A (the few that carry most of it), B and C (the many that carry little). With the usual limits, A products make up 80% of the total, B the next 15% and C the last 5%.

How do you do an ABC analysis in Excel?

Put product names in column A and values in column B, and sort by column B from largest to smallest. In C2 enter =SUM($B$2:B2)/SUM($B$2:$B$11) and fill it down: that is the cumulative share. In D2 enter =IF(C2<=0.8,"A",IF(C2<=0.95,"B","C")) and fill it down. Change $B$11 to your last row. Or paste the columns into the calculator above.

Should I rank by revenue or profit?

Rank by profit when you know the cost. Revenue rewards products that sell a lot at a thin margin; profit shows which products actually earn. In the example above, P4 moves from B to A when ranked by profit.

What is ABC XYZ analysis?

It combines ABC (share of value) with XYZ (how steady demand is) into nine groups, from AX to CZ. AX products matter most and are easy to plan; CZ products are small and hard to predict.

Does my data leave my browser?

No. The calculator reads the pasted text or CSV file in your browser and sends none of it to a server. Reload the page and it is gone.

ABC uses one number. Product Segmentation uses two.

ABC ranks products by a single number. Product Segmentation segments them by volume and return, six segments from Stars to Ghosts.

See Product Segmentation
Analyse your products for freeLog in with Google, no credit card