Tools › Finance and Business › Marketing › Customer Concentration › Method
Customer Concentration: Method
Open the free Customer Concentration and RFM Analysis
Customer Concentration: How Much Revenue Rests on How Few Accounts
The tool takes sales rows (customer, date, amount) or a table of revenue by customer, and shows how unevenly revenue is spread over the customers and, with two periods, what the customers of the earlier period did in the later one. It describes the entered figures; it is an illustration, not financial or investment advice.
The idea: rank, add up, compare with equal customers
Total each customer's revenue, rank the customers from largest to smallest and add the shares up as you go down the list. Three questions follow. How much do the first few hold (the top-account shares)? How far is the whole list from a list of equal customers (the index and the Gini coefficient)? And are last period's large accounts still there (the two-period section)?

The measures
For the n customers with revenue above zero in a period: xi is the revenue of customer i, T the total, and si = xi / T its share.
| Measure | Formula | Range and reading |
|---|---|---|
| Share of the k largest accounts | sum of the k largest si | k / n when all customers are equal, up to 100 % |
| Herfindahl-Hirschman index (HHI) | sum of (100 si)2 | 10,000 / n when all customers are equal; 10,000 with one customer |
| Equivalent number of equal customers | 10,000 / HHI | n when all customers are equal; 1 with one customer |
| Gini coefficient | 1 − 2 × area under the Lorenz curve | 0 when all customers are equal; (n − 1) / n when one customer holds everything |
| Revenue at risk (a what-if) | T − revenue of the k largest | plain subtraction; no forecast |
The index. The U.S. Department of Justice defines the HHI as the sum of the squared shares, with shares in percent: four firms with 30, 30, 20 and 20 percent give 302 + 302 + 202 + 202 = 2,600. The agencies use it for the shares of sellers in a market; this page applies the same arithmetic to the shares of customers in one seller's revenue. Squaring makes large shares count far more than small ones: in the opening example the four largest of 37 accounts supply 258 of the 434 points. The 2023 Merger Guidelines attach thresholds to the index (a market above 1,800 with a change of more than 100). Those thresholds are about competition among sellers in a market and are not applied here: they say nothing about a customer list.
The equivalent number. Five equal customers have an index of 5 × 202 = 2,000, so an index of 2,000 is "like five equal customers". A list of 37 customers with an index of 434 spreads its revenue as unevenly as 23 equal customers would.
The Lorenz curve and the Gini coefficient. Order the customers from smallest to largest. The Lorenz curve plots, against the share of customers counted so far, the share of revenue they hold. With equal customers it is the diagonal; the more revenue sits with few accounts, the further it sags. The Gini coefficient is the area between the diagonal and the curve as a fraction of the whole triangle under the diagonal. With the customers in ascending order it has the closed form
G = ∑ (2i − n − 1) x(i) / (n T), i = 1 … n,
which the page computes; its test compares that with the trapezoid area under the curve. This is the coefficient of the customers as pasted, with no small-sample correction, so its ceiling is (n − 1) / n and not 1: with 4 customers, one of which holds everything, G = 0.75.
Top shares and the index answer different questions. A top-10 share of 50 % can be ten accounts of 5 % or one of 41 % and nine of 1 %; the index tells them apart (250 against about 1,690 from those ten alone). The Gini coefficient in turn depends on the long tail: adding many tiny customers raises it without changing what the large accounts hold.
Periods
With sales rows the page cuts two periods from the analysis date. Calendar years: the later period runs from 1 January of the analysis date's year to the analysis date, the earlier one is the whole year before. Trailing twelve months: the later period is the twelve months ending on the analysis date, the earlier one the twelve months before that. A customer counts in a period when its net revenue there, sales less credit notes, is above zero. With a ready table the two columns are the two periods.
Two periods: the revenue bridge and retention
With pi the earlier and ci the later revenue of customer i (zero when it did not buy):
| Step | Customers | Amount |
|---|---|---|
| New accounts | pi = 0, ci > 0 | sum of ci |
| Expansion | ci > pi > 0 | sum of ci − pi |
| Contraction | 0 < ci < pi | sum of pi − ci |
| Lost accounts | pi > 0, ci = 0 | sum of pi |
earlier revenue + new + expansion − contraction − lost = later revenue
The identity is exact; the page carries money in whole cents and prints both sides.
- Net revenue retention = (earlier revenue + expansion − contraction − lost) / earlier revenue: what the earlier period's customers bring in the later period, as a share of what they brought. It leaves new accounts out and can exceed 100 %.
- Gross revenue retention = (earlier revenue − contraction − lost) / earlier revenue: the same without the increases. It cannot exceed 100 %.
- Customers retained = customers with revenue in both periods / customers of the earlier period.
These are practitioner conventions and companies define them differently (on recurring revenue only, by month, by cohort, with or without price increases). The page prints the formula it used with the numbers in it, so a figure can be set beside another definition. The page also follows the earlier period's largest accounts one by one into the later period: grew, shrank, unchanged or lost, and their revenue together against the revenue of everyone else. That is where growth carried by new accounts while the old large accounts shrink becomes visible; the opening example shows revenue up 19.5 % with the earlier customers bringing 79.1 % of what they brought.
Recency, frequency and monetary classes (RFM)
From dated rows, every customer gets three values: recency, the days from its last purchase to the analysis date; frequency, the number of different dates on which it bought; and monetary value, its net revenue (or, as an option, net revenue per purchase date, close to the average amount per transaction that Fader, Hardie and Lee describe, so that it is not a second count of frequency). Each value is placed in a class from 1 to 5 by four rising limits: class 1 up to the first limit, class 2 up to the second, and so on to class 5 above the fourth. For recency the order is reversed, so that 5 is always the favorable end: the most recent, the most frequent, the largest. The limits are either the 20th, 40th, 60th and 80th percentiles of the customers (nearest rank: the value at position ⌈p n⌉ of the sorted list) or cut points you enter. Customers with equal values always share a class, so quintile classes are unequal where many customers tie, for example when most bought only once.
The page prints the limits used, the customers per class, and a grid of recency class by frequency class with the customers and the share of revenue in each cell. RFM scoring is a direct-marketing convention with many variants, not a standard; the classes rank the customers of this list against each other and say nothing about any customer's future.
What it assumes
- One code is one customer. The page does not know that two codes belong to one parent, or that one code is a distributor serving many buyers.
- Revenue as pasted is the right measure. Margin, contract length, switching costs and the customer's own health are not in the data.
- The two periods are comparable. With calendar years and an analysis date before 31 December the later period is a part-year; the page says so.
- A customer with no revenue in the later period is "lost" for that period only; it may buy again later.
When it misleads
- Project and seasonal businesses. A customer that buys one large project every third year looks new, lost and new again; retention figures mean little there.
- Short periods. The shorter the period, the more concentrated any list looks, because fewer customers happen to buy in it.
- Many tiny customers. A long tail of very small accounts raises the Gini coefficient and the customer count while the top shares and the index hardly move. Read the measures together.
- Retention on total revenue. Net revenue retention computed on all revenue mixes recurring and one-time sales; subscription businesses usually compute it on recurring revenue.
- Credits. A customer whose credit notes exceed its sales in a period is left out of that period, and the page says how many and how much.
Common mistakes
- Squaring shares as fractions and then reading the result on the 0 to 10,000 scale: 0.302 is 0.09, 302 is 900.
- Applying the merger-guideline thresholds to a customer list.
- Reading total revenue growth as retention: growth includes new accounts, net revenue retention does not.
- Comparing a part-year with a full year.
- Counting one customer twice because its code is spelled two ways (the page treats capital and small letters as the same, nothing more).
- Treating an RFM class as a fixed property: the quintile limits move with the list, so the same customer can change class when other customers are added.
- Quoting a Gini coefficient without the number of customers: its largest possible value depends on it.
What is and is not checked
The index follows the definition and example of the U.S. Department of Justice (30, 30, 20, 20 gives 2,600) and the 2023 Merger Guidelines (five equal firms 2,000; six equal firms 1,667). The Gini coefficient follows the U.S. Census Bureau's description (based on the difference between the Lorenz curve and perfect equality) and is checked against the area under the curve. Every figure on the page is checked against a separately written computation on the five example cases and 300 random ones. The retention and RFM definitions are conventions stated on the page, not taken from a standard. Rows are limited to 5,000 and customers to 1,000.
Related tools
Cohort Retention and CLV also reads transaction rows, but groups customers by the period of their first purchase, follows each group over time and projects lifetime value; this page ranks customers by size within a period and compares two periods. Pareto and Root Cause ranks the causes of a problem and draws the running share. Inventory Policy sorts stocked items into A, B and C classes by value, the same ranking applied to parts. Financial Ratios reads the statements that the revenue total comes from. What this page adds to them is the view of revenue by customer: the shares, the index, the curve, and the fate of last period's largest accounts.