ABC analysis of customers: how to do it and put it to use

ABC analysis of customers ranks your accounts from largest to smallest, by revenue or margin over the last 12 months, and splits them into three classes by cumulative share. Class A holds the few customers behind most of your results. Use it to decide where to spend attention and to spot the big account that is quietly buying less.

What ABC analysis of customers is

ABC analysis of customers, also called customer ABC classification, sorts your accounts by how much each one contributes. The top contributors form class A, the middle group class B and the long tail class C. The payoff is knowing where sales, credit and account management should spend their time.

The logic comes from the Pareto principle. The economist Vilfredo Pareto observed in 1906 that about 80% of the land in Italy belonged to 20% of the people. The management consultant Joseph Juran adapted the idea to quality management starting in 1941 and later preferred the phrase "the vital few and the useful many." 80/20 is a convention and a rule of thumb, not a law: some customer bases split closer to 70/30, others to 90/10. Measure yours instead of assuming.

The analysis is the indicator behind a decision companies lose track of: the large customer who buys a little less every month while nobody notices. Our piece on decision intelligence covers it alongside four other decisions that share the same problem of being measured but never recorded or checked.

Step by step: building the analysis

  1. Pick the measure and the period. Use revenue or, better, gross margin over the last 12 months. Twelve months keeps seasonality from distorting the class.
  2. Total the value by customer. One row per customer, not per invoice.
  3. Sort from largest to smallest.
  4. Calculate each customer's share: customer value / total.
  5. Calculate the cumulative percentage by adding shares from the top down.
  6. Set the cutoffs. The usual split is A up to 80% cumulative, B from 80% to 95%, and C the rest. If your base is very concentrated, 70% and 90% may fit better. Write the cutoff in the spreadsheet so next month uses the same one.
  7. Tag each customer with a class and list who moved class since the last run.

An illustrative example: a distributor with 100 active customers and $10 million in revenue over 12 months. The table below shows the result after the cutoffs. Fifteen customers account for 80% of revenue and sixty account for 5%. The ten largest, in the same base, add up to 62% (illustrative).

That last figure is customer concentration: how much revenue sits in the top ten. It is a cash risk. Losing an account worth 8% of revenue changes the month, and losing two changes the quarter.

ABC analysis result for a base of 100 customers (illustrative values)
ClassCutoff (cumulative revenue)Customers% of customersRevenue ($K)% of revenue
Aup to 80%1515%8,00080%
B80% to 95%2525%1,50015%
Cabove 95%6060%5005%
Total100100%10,000100%

Illustrative values to show the format. In the working spreadsheet, each customer takes one row, with share, cumulative share and class.

Rank by margin, not only by revenue

Revenue shows who buys the most, not who leaves you the most money. Two customers show the gap: one buys $600K a year at an 8% margin and leaves $48K. The other buys $300K at 22% and leaves $66K. Ranked by revenue, the first is A and the second may be B. Ranked by margin, the order flips.

The difference often comes from the discounts, freight and payment terms granted to the large account. Contribution margin shows what remains after the costs that move with each sale and is the right base for this ranking. Keep both views side by side: a customer who is A on revenue and C on margin deserves a conversation about price, terms or conditions.

Payment terms matter too. A customer who pays in 60 days weighs differently from one who pays on delivery, and one who pays late may stop being worth it. That shows up in bad debt and DSO, and it is worth cross-checking against each customer's class.

How to spot the customer who is disappearing

The ranking is a snapshot. A customer on the way out shows up in it only at the end, after the drop in class. To catch the movement earlier, compare each class A customer against itself in two ways.

  • Month over month: this month's purchases against the average of the previous three months. A decline over three to five consecutive months, even a small one, is the pattern of a customer moving to another supplier.
  • Against the same period last year, to remove seasonality. A customer who buys less in January than in December may be normal. One who buys less this January than last January is not.

The whole base can grow and hide this. If three new customers make up for the drop at the largest account, total revenue holds steady, and only a customer-level view shows the change. That is why a portfolio total is not enough.

Spotting it is half the work. The other half is the decision. Write down what you will do (a visit, a review of terms, a direct question to the buyer), what you expect to see (purchases back to the 12-month level) and the date to check. The template is in the decision journal. The check fits into the monthly business review: on the agreed date, someone opens the row and compares the result with what was written. Without that, the customer who came back looks like proof the visit worked, and the one who did not looks like proof nothing could be done. That is hindsight bias and outcome bias at work.

When you have targets by customer or by account group, this reading feeds into target vs. actual tracking.

How to do it in Excel

Doing it in Excel takes under an hour the first time.

  1. Export 12 months of sales from the ERP with customer, amount and, if available, cost or margin.
  2. Build a PivotTable with customer in rows and the sum of the amount in values. Copy the result to a new sheet and sort largest to smallest.
  3. In column C, calculate the share: row value divided by the grand total.
  4. In column D, calculate the cumulative share: on the first row, equal to the share; from the second row down, previous cumulative plus the row's share.
  5. In column E, classify: =IF(D2-C2<0.8,"A",IF(D2-C2<0.95,"B","C")). The formula uses the cumulative share before the customer, so the account that crosses the cutoff lands in the higher class.
  6. For concentration, add the shares of the first ten rows.

With margin in place of revenue, the steps are the same. In Power BI and other tools the logic is also the same: a measure that totals the value by customer, a ranking and a running total. The place where the math happens changes, not the method. What usually slows things down is getting the data, and querying a database in natural language removes the export step.

Common mistakes in customer ABC analysis

  • Revenue only. A large, low-margin customer shows up as A and absorbs price and terms the margin cannot pay for.
  • A short window. Three months of sales show the quarter's peak, not the customer. Use 12 months.
  • Treating 80/20 as a law. It is a convention. Measure your own base and pick the cutoff that separates real groups.
  • Looking at the class and not the movement. The class A customer who fell 30% in six months is still A, and the one that needs the most attention.
  • Duplicate accounts. The same customer under two codes (headquarters and branches, for example) appears as two smaller customers. Merge them before classifying.
  • Not recording the action. Without the date and the expectation written down, the next meeting forgets what was decided.
  • Classifying once and never updating. The analysis is worth it when it is rerun every month and compared with the last one.

For deciding with data instead of memory, see also data-driven decision making. Entendo answers questions in plain language directly on the ERP database, in read-only mode, and shows the SQL so you can check it, which helps you redo the analysis by customer and by month without waiting on a report.

Sources

  • Wikipedia, Pareto principle: Pareto's observation on land ownership in Italy, Juran's adaptation to quality management, and 80/20 as a rule of thumb, not a law.

Frequently asked questions

How do you do an ABC analysis of customers?

Total each customer's revenue or margin over the last 12 months, sort from largest to smallest, calculate the cumulative percentage and apply the cutoffs. The usual split is A up to 80% cumulative, B up to 95% and C the rest.

How do you do a customer ABC analysis in Excel?

Export the sales, total by customer in a PivotTable, sort largest to smallest, calculate share and cumulative share, and classify with an IF formula on the cumulative share. The Excel section above gives the steps and the formula.

Can you do it in Power BI?

Yes. The logic is the same as in Excel: a measure that totals the value by customer, a ranking and a running total, with the class set by the cutoffs. The tool changes, the method does not.

How often should I update the analysis?

Every month, always on a trailing 12-month window with the same cutoffs. Compare with the previous run and list who changed class. For class A customers, also track month over month.

How is it different from ABC analysis of products?

The method is the same but the question changes. The product version shows where inventory and turnover sit. The customer version shows how dependent you are on a few accounts and who needs attention on sales, credit or price.

Does 80/20 always hold?

No. It is a convention and a rule of thumb, not a law. Some customer bases split closer to 70/30 and others to 90/10. Measure yours and record the cutoff you choose.

Want to rerun the analysis every month without waiting on reports?

Tell us which ERP and database you run. We will check whether a connection is possible and what an assisted implementation would look like.

Talk to our team
L

By Luciano de Oliveira

Founder & CEO, Sozo Data · Updated on