Customers & growth · Marketing analytics
RFM analysis (recency, frequency, monetary)
Best for Startup to Growth
Use it when
You sell to repeat buyers and need to rank existing customers by how recently, how often and how much they buy, so each group gets a fitting offer or message.
Skip it when
- You need groups built from many behaviors at once, such as categories, usage and channel. Use Customer segmentation analysis, which this feeds.
- You need contacts grouped by simple event rules for email sends. Use Behavioral segmentation, which feeds this analysis.
- You need what each customer is worth in future margin. Use Customer lifetime value (LTV/CLV), which can take these scores as its input.
- Most customers have bought only once. Treat one-time buyers as their own group and use Retention curve analysis to see when buyers return.
What to apply first and what to use instead are listed below.
Approaches
Independent ranks
Rank all customers on recency, on frequency and on spend separately, and split each ranking into the same number of bins.
- Pro A score means the same thing for every customer, so a top frequency score always marks the most frequent buyers.
- Con In small customer bases, some combined scores hold many customers and others hold almost none.
Nested ranks
Rank customers on recency first, then rank frequency within each recency bin, and spend within each frequency bin.
- Pro Combined scores spread more evenly across customers, so every cell is large enough to act on.
- Con A frequency score depends on the recency bin, so the same score can mean different buying levels.
Inputs
- Order historyEvery order per customer with date and value, net of refunds and free orders, for at least the last 12 months, from the store, billing or order system.
- Customer IDOne identifier that links all of a customer's orders, from the CRM or customer table.
- Analysis dateThe day recency is counted back from, usually the day of the run.
- Number of binsHow many score levels per measure, such as three or five, chosen so each combined cell keeps enough customers to act on.
- Offer optionsThe offers, messages and service levels you can give each group, from the campaign plan.
Steps
- Build one row per customer with days since last order, number of orders and total or average order value in the period.
- Choose independent or nested ranks and the number of bins, and decide how tied values are handled.
- Score each customer on recency, frequency and spend, with the most recent, most frequent and highest spending in the top bin, and set one-time buyers apart.
- Join the three scores into a combined code, such as 5-5-5, and count customers in each combination.
- Group the combinations into a few named groups, such as best customers, recent first-time buyers, lapsed big spenders and inactive, with recency weighed first.
- Assign an offer or message to each group, save the groups in the email or CRM tool, and set a rerun date.
Output
An RFM table with a score on every customer record and a group summary, with the period, scoring method and number of bins written above it.
- Customer ID
- Recency, frequency and spend values
- Recency, frequency and spend scores
- Combined code
- Group name
- Group size and share of revenue
- Offer or message for the group
Done when
- Every customer with an order in the period has three scores and a combined code.
- The period, analysis date, scoring method, bin count and tie rule are written above the table.
- One-time buyers are kept in their own group.
- Every group has a size, a share of revenue and an assigned offer or message.
- Empty or near-empty combinations are merged into a neighboring group.
Measure
Send each group its offer and hold back a random share of each group as a control. Over the next one to three months, compare response rate and revenue per customer with the control for each group. Rerun the scores monthly or quarterly and track how many customers move up or down. It worked when the targeted groups beat their controls and fewer best customers slip into lapsed groups than in your previous periods.
Hypothetical example
Copperleaf Candles scores 18,000 customers with orders in the last two years, using independent ranks and three bins. Recent and frequent buyers with high spend, coded 3-3-3, are 1,600 customers but 31 percent of revenue, and they get early access to the winter range. Customers coded 1-3-3, frequent big spenders with no order in 10 months, number 900 and get a win-back offer. The 7,200 one-time buyers sit in their own group and receive a second-purchase discount. Each group holds back 10 percent as a control, and the team reruns the scores each quarter.
Common mistakes
- Treating a customer with many past orders but none lately as a top customer. Weigh recency first, since such buyers have often stopped.
- Mixing one-time buyers into the frequency ranks. Set them apart as their own group.
- Using so many bins that most combinations hold a handful of customers. Use fewer bins or merge small cells.
- Counting refunds and free orders as spend. Use net order value and leave out zero-value orders.
- Scoring once and reusing the groups for a year. Rerun the scores on a set schedule.
Sources
- IBM SPSS Direct Marketing 31 (RFM analysis chapter) · IBM
- Understanding scoring and customer groups in the recency, frequency, and monetary analysis (RFM) report · Klaviyo Help Center, 2026
- RFM and CLV: Using iso-value curves for customer base analysis · Peter S. Fader, Bruce G.S. Hardie and Ka Lok Lee, 2005
By company stage
Apply first
Nothing. You can start here.
Use instead
- Engagement-based segmentation
use RFM when purchase history drives value (e-commerce, repeat buying); use engagement-based segmentation when email activity is the main signal, as in content or B2B lists.
- Customer segmentation analysis
You need groups built from many behaviors at once, such as categories, usage and channel. Use Customer segmentation analysis, which this feeds.
- Behavioral segmentation
You need contacts grouped by simple event rules for email sends. Use Behavioral segmentation, which feeds this analysis.
- Customer lifetime value (LTV/CLV)
You need what each customer is worth in future margin. Use Customer lifetime value (LTV/CLV), which can take these scores as its input.
- Retention curve analysis
Most customers have bought only once. Treat one-time buyers as their own group and use Retention curve analysis to see when buyers return.
Where it sits
Open the marketing analytics roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account