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
- 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.
- Total the value by customer. One row per customer, not per invoice.
- Sort from largest to smallest.
- Calculate each customer's share: customer value / total.
- Calculate the cumulative percentage by adding shares from the top down.
- 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.
- 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.
| Class | Cutoff (cumulative revenue) | Customers | % of customers | Revenue ($K) | % of revenue |
|---|---|---|---|---|---|
| A | up to 80% | 15 | 15% | 8,000 | 80% |
| B | 80% to 95% | 25 | 25% | 1,500 | 15% |
| C | above 95% | 60 | 60% | 500 | 5% |
| Total | 100 | 100% | 10,000 | 100% |
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.
- Export 12 months of sales from the ERP with customer, amount and, if available, cost or margin.
- 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.
- In column C, calculate the share: row value divided by the grand total.
- 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.
- 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.
- 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.