RFM Segmentation: Scoring Customers and Matching Offers to Each Segment
How to score customers on recency, frequency and monetary value, name the segments and send each one an offer that actually changes behavior
Key takeaways
RFM analysis scores each customer on three behavioral measures: how recently they bought, how often they bought and how much they spent. A few simple rules turn those scores into segments a marketer can act on.
In a worked example of 20 customers, a quarter of them (the loyal high-value segment) produce 40.6% of 12-month spend, while the at-risk segment, customers who used to buy often but have gone quiet, holds another third.
A rigid rule can misfile customers: two first-time buyers who are 40 days past their first order fall outside the "new" segment, exactly in the window where most new customers are lost.
A customer's value is not the same as the effect of an offer. Discounts sent to loyal customers mostly subsidize purchases they would have made anyway; offers belong where they can change behavior.
Comparing members with non-members overstated a loyalty program's effect fourfold in the example (0.8 extra orders against 0.2 in a randomized test). Every retention program should keep a small control group.
Most online sellers spend the bulk of their marketing budget on winning first orders and give much less thought to what happens afterwards. Yet the second and third orders are where a customer starts to pay back what it cost to acquire them, and they are also where the budget leaks most quietly: the same discount code goes to everyone on the list, whether they were about to leave, were going to buy anyway or were never going to come back at any price. The question is not whether to spend on retention but on whom.
Consider Moc Son, a hypothetical specialty coffee brand that sells through a large marketplace, its own website and a messaging app. Its second-year marketing plan set a target: 40% of new customers should still be buying six months after their first order. Three months in, the data showed about 28%. The team proposed two fixes. The first was a points program run through the messaging app, crediting 5% of every order's value as points to redeem for gifts. The second was a monthly delivery subscription with a 5% discount. The marketing lead backed the points program with a persuasive number: over six months, customers who had joined the program bought 2.4 orders on average, against 1.6 orders for those who had not, a 50% difference.
The owner asked one question: weren't the people who signed up for points already the ones who bought more? That question goes to the weak spot of most customer retention reports. Not every customer is alike, not every offer creates new orders and not every measurement measures what it claims to.
This article works through the problem in five sections. Section 1 sets out the central idea of customer relationship management: allocating effort according to value. Section 2 briefly shows why retention should be measured by cohort. Section 3 introduces RFM scoring and applies it to 20 simulated customers. Section 4 matches offers to segments and explains the trap of rewarding the most loyal customers with discounts, then measures the true effect of the points program. Section 5 discusses using AI to personalize messages within the limits of customer consent.
1. Customer relationship management and allocating effort by value
This section explains why segmentation is a budgeting decision before it is an analytical one.
Customer relationship management (CRM) is an approach that uses data about individual customers to build and maintain profitable relationships with them. A CRM system stores each customer's profile and history of interactions, and marketing automation uses that data to send the right message at the right moment, such as a reorder reminder when a customer's coffee is about to run out or an invitation to return after a period without purchases (Chaffey et al., 2024). The central idea of CRM is that a business should not treat every customer the same way, because not every customer brings the same value.
The measure of that value is customer lifetime value, the total contribution margin one customer brings in over the whole time they keep buying. Here it serves a different purpose from the usual one of judging acquisition spending: allocating care and retention effort. A common scheme places customers on two axes, current value and estimated future value, and sorts them into tiers such as bronze, silver, gold and platinum. Each tier gets its own strategy, and the bronze tier contains customers with little growth potential who are often unprofitable, so the aim with them is to reduce the cost of contact rather than to keep them at any price (Chaffey et al., 2024).
That last point often causes discomfort because it runs against the instinct that every customer is precious. But retention resources are limited, and a dollar of discount sent to a customer who is not profitable is a dollar that cannot go to a customer with potential. For a coffee brand, the typical bronze customer buys only with a deep discount code during a marketplace mega-sale: their contribution margin is close to zero, and a retention offer only teaches them to wait for the next sale.
2. Measuring retention by cohort
Before dividing customers into segments, retention has to be measured correctly. This section keeps the cohort idea short because it serves only as background for the segmentation that follows.
The most common measure, "the share of customers who came back this month", mixes new and existing customers, so it shifts whenever the inflow of new customers changes: a month with many new customers makes the return rate look worse even though nothing has deteriorated. The better approach is to follow a cohort, all customers who made their first purchase in the same period, and track what share of them still buy in later months. The benefit of retention rarely shows up as an immediate jump in revenue; it shows up as the durability of a cohort, whose customers return more often, spend more and stay active longer (Knights, 2026). Figure 1 compares two Moc Son cohorts of 450 new customers each.

The cohort acquired before the change keeps 28% of its customers after six months, or 126 people. The cohort acquired after the subscription and membership program keeps 38%, or 171 people. The shape of the curves carries two lessons. First, customers leave fastest right after the first order: the older cohort loses 38% of its customers in the first month alone, so every touchpoint (a thank-you card in the parcel, a brewing guide by message, a reorder reminder when the bag is nearly empty) is worth most in the first 30 to 60 days. Second, the curve flattens: customers who have returned two or three times leave much less often.
The two cohorts were acquired at different times, so the gap between them may come from the new program, but it may also come from seasonality or from different sources of customers. A cohort comparison is far better than a pooled return rate, but it is not causal evidence. Causal evidence needs a controlled experiment, which Section 4 runs.
3. Scoring customers with RFM
When the customer list reaches thousands of names, a business needs a simple way to decide what to do with whom. This section introduces RFM, the simplest and most durable rule-based segmentation for retail, and applies it to a small worked example.
3.1. Three measures and how to score them
RFM analysis sorts customers by three behavioral measures: recency (how long since the last purchase), frequency (how many purchases) and monetary value (how much was spent). The technique was used by catalog retailers long before e-commerce; electronic CRM extends it beyond purchase history to measures such as visit frequency, logins or email response rates (Chaffey et al., 2024). The three measures are not independent of each other. Fader et al. (2005) linked recency and frequency to lifetime value with a probability model and showed that a long silence weighs more heavily for a customer who used to buy often, because for that customer the silence is stronger evidence of having left. This is why a sensible scheme looks at combinations of scores rather than at any single measure.
There are two ways to set the cut-offs. One divides customers evenly into levels by percentile; the other lets the marketer set thresholds based on knowledge of the customers and the product's buying cycle. If a bag of coffee lasts a household about a month, 30 days is a natural recency cut-off for Moc Son. Table 1 shows the thresholds its marketing team chose, with spending converted at 25,000 Vietnamese dong to the US dollar.
From these scores, customers are assigned to four segments with a clear management meaning, applying the rules in order. Loyal high-value: a total score of 8 or more. At risk: a recency score of 1 but two or more orders, meaning customers who used to buy often but have not come back for a long time. New: a first purchase within the last 30 days (frequency score 1, recency score 3). Needs nurturing: everyone else.
3.2. Applying the rules to 20 simulated customers
Figure 2 places 20 simulated Moc Son customers on a plane of recency and frequency, with dot size showing spending and color showing the segment.
Table 2 summarizes the size, share of spending and recommended action for each segment in Figure 2.
A quarter of the customers produce more than 40% of spending, and the at-risk segment holds a third of it, which makes it the segment most worth a win-back invitation: that third of revenue is the part the business is currently in danger of losing. The five at-risk customers include three who placed five to eight orders in the past year (C05, C08 and C17) and are now 95 to 130 days past their last purchase.
One detail deserves attention: no customer lands in the "new" segment. The two customers who have bought only once recently (C02 and C14) made that purchase 40 days ago, past the 30-day cut-off, so the rules file them under "needs nurturing" alongside long-dormant one-time buyers such as C01. According to Figure 1, they are in exactly the 30-to-60-day window where new customers are most often lost. Hard-coded rules can miss cases like these, which is why a marketer should read the data and not only the segment labels. A practical fix is to add a fifth segment, "second order due", for customers with one order made 31 to 60 days ago.
3.3. Matching offers to segments
Scores and labels are useful only if each segment gets a different treatment. Table 3 turns the segments into an offer plan, including what not to do with each one.
4. The trap of rewarding the most loyal customers with discounts
When a retention budget becomes available, the natural reflex is to "reward" the best customers with discount codes. This section explains why that is often the least effective use of the money, then returns to the owner's question from the introduction.
4.1. A customer's value is not the effect of an offer
The loyal high-value segment is the segment most likely to buy again even without an offer. The trap comes from confusing the value of a customer with the effect of an offer: an offer sent to someone who would buy anyway subsidizes a habit and creates no new orders. The same logic applies, less obviously, to the customers most at risk. In a study of retention campaigns at a telecommunications company and a membership organization, Ascarza (2018) found that targeting the customers with the highest predicted risk of leaving was not the most effective policy; targeting those whose behavior responded most to the campaign retained more customers. Risk and responsiveness are different quantities, and RFM scores measure only the first.
The safeguard is to send offers to segments where an offer is likely to change behavior (at-risk and new customers) and to test even there, while keeping the loyal segment engaged with recognition that costs no margin: first taste of a new roast, an invitation to a cupping session, a thank-you that uses their name.
4.2. Measuring the incremental effect instead of a raw comparison
Back to the number from the introduction: self-enrolled members bought 2.4 orders in six months and non-members 1.6. The gap of 0.8 orders is not the effect of the program, because people who chose to enroll were already the customers who liked the brand more. This is self-selection bias. To measure the real effect, Moc Son ran an experiment: it randomly split 1,000 new customers into a group that was invited and automatically enrolled (80%) and a control group that was not invited (20%). After six months, the invited group had bought 2.2 orders on average and the control group 2.0. Figure 3 sets the two comparisons side by side.
The incremental effect is 0.2 orders per customer, a quarter of the raw gap. Whether that is worth it depends on the cost. Under Moc Son's assumed unit economics, an average order is worth US$12.80 and leaves a contribution margin of US$5.94 on the brand's own channel. Each invited customer therefore adds about 0.2 × US$5.94 = US$1.19 of margin. But the program credits 5% of every order, not only of the extra ones: 2.2 orders × US$12.80 × 5% = US$1.41 in points per invited customer. If every point is redeemed, the 800 invited customers generate about US$950 of additional margin against about US$1,126 of points, a loss of roughly US$176. Unredeemed points would narrow the gap, but the conclusion is clear enough: the program that looked 50% better in the raw comparison is close to break-even at best.
The general principle is that every retention program should keep a small control group that receives no offer, so that the effect can be measured rather than assumed. The control group costs a few lost orders; it buys the ability to stop spending on programs that do not work.
5. Using AI to personalize within the limits of consent
This section shows how generative AI can speed up RFM work and where its limits lie.
Generative AI makes personalization much cheaper: writing a separate message for each RFM segment, or even for each customer, takes seconds. A sample prompt, used with an attached file: "I sell [product] through [channel]. The attached file is an anonymized customer table; each row has a customer ID, days since last purchase, number of orders and total spend over 12 months. Please (1) propose cut-offs that divide each of R, F and M into 3 levels; (2) group customers into 4 to 5 segments with a clear management meaning and report each segment's size and share of spending; (3) for each segment, propose one goal and one sample message under 60 words; (4) say which segments should not receive discount offers and why."
Personalization has two limits that technology does not remove. The first is consent. Data protection law in many jurisdictions follows the principle of purpose limitation: personal data collected for one purpose, such as delivering an order, should not simply be reused for an incompatible purpose, such as advertising, without a proper legal basis (European Parliament & Council of the European Union, 2016). For that reason, only anonymized data should go into an AI tool; customer names, phone numbers and addresses should never be pasted in. The second is comfort: personalization that is too precise can make customers feel watched and damage the very trust it is meant to build. Every RFM score and segment count produced by AI must be checked in a spreadsheet, because AI tools often miscount rows, and every automated message should be reviewed by a person before it is sent in bulk.
Conclusion
Retention starts with measuring correctly. Following cohorts shows that customers leave fastest right after the first order, so the first 30 to 60 days are when care has the most leverage. RFM analysis sorts customers by three simple behavioral measures and turns the scores into segments with names and actions. In the worked example it shows that a small share of customers produces a large share of spending, while the at-risk segment holds a substantial part of the revenue the business may be about to lose. Simple rules also have blind spots, such as first-time buyers who have just passed the 30-day cut-off, so the segments should be read together with the data behind them.
The most important lesson is to separate a customer's value from the effect of an offer. Loyal customers are the most valuable, but offers sent to them rarely create new orders; offers belong with the segments where they can change behavior, and loyal customers are better kept with recognition. The points program that looked 50% more effective in a raw comparison produced a quarter of that effect in a randomized test and did not clearly pay for itself. A small control group in every program is the cheapest way to learn whether retention money is actually retaining anyone.
References
Ascarza, E. (2018). Retention futility: Targeting high-risk customers might be ineffective. Journal of Marketing Research, 55(1), 80–98. https://doi.org/10.1509/jmr.16.0163
Chaffey, D., Arturi, T., & Edmundson-Bird, D. (2024). Digital business and e-commerce management (8th ed.). Pearson. https://www.pearson.com/store/en-gb/p/digital-business-and-e-commerce/P200000010770
European Parliament & Council of the European Union. (2016). Regulation (EU) 2016/679 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data (General Data Protection Regulation). Official Journal of the European Union, L 119, 1–88. https://eur-lex.europa.eu/eli/reg/2016/679/oj
Fader, P. S., Hardie, B. G. S., & Lee, K. L. (2005). RFM and CLV: Using iso-value curves for customer base analysis. Journal of Marketing Research, 42(4), 415–430. https://doi.org/10.1509/jmkr.2005.42.4.415
Knights, M. (2026). The future of shopping: Using digital, data and AI to win with customers. Kogan Page. https://checkout.koganpage.com/product/the-future-of-shopping-9781398627925




Discussion about this post