RFM in plain words: who is close to a second order
RFM stands for recency, frequency and monetary value. It sorts customers by three facts from your order history: how long ago they last bought, how many times they have bought, and how much they have spent. For a shop that wants more second orders, the group to watch is one-time buyers who bought recently.
You do not need a data team to start. An export with a customer ID, an order date and an order value is enough to score every customer. From there you can pick out who should hear from you next, and with what message.
What RFM means
RFM is a way to rank customers using three numbers taken from past orders. Recency is the number of days since the last order. Frequency is the number of orders. Monetary value is the total or average amount spent. Each customer gets a score on each of the three, often from 1 to 5.
The method comes from direct mail, where catalogue senders had to decide who to post to first. It has lasted because past buying behaviour is a good guide to future buying. RFM tells you where each customer stands today, which is what you need to decide who to contact. The reasons behind a purchase need other data, such as surveys or reviews.
A common way to score is by quintiles. You sort customers by recency and split them into five equal groups. The most recent fifth scores 5 and the oldest fifth scores 1. You repeat the step for frequency and for monetary value.
Quintiles break down for frequency in most shops. If most customers have one order, they all tie, and five equal groups cannot be drawn. Fixed bands such as 1, 2 and 3 or more orders are easier to read and to act on.
Who is close to a second order
The customers closest to a second order are one-time buyers whose first order is still recent. Recent here means inside the gap in which your repeat customers usually come back. In RFM terms they have a high recency score and a frequency of 1. Their chance of buying again tends to fall as weeks pass without a second order.
To find that gap, take every customer who did place a second order. Measure the days between their first and second purchase, then look at the median and the spread. The shape depends on what you sell. A shop selling coffee will see shorter gaps than one selling sofas.
This gives you a time window grounded in your own data. One-time buyers inside the window are your best prospects. Those just past it are drifting. Those far past it have mostly gone, and contacting them often costs more attention than it returns.
A worked example with 5,000 customers
Take a shop with 5,000 customers over the last two years, and suppose the median gap between first and second order is 40 days. These figures are illustrative. Splitting the base by frequency and recency could look like this.
| Segment | Rule | Customers |
|---|---|---|
| Recent one-time buyers | 1 order, last order within 60 days | 900 |
| Lapsing one-time buyers | 1 order, 61 to 180 days ago | 1,400 |
| Lost one-time buyers | 1 order, more than 180 days ago | 1,700 |
| Repeat buyers | 2 or more orders | 1,000 |
The 900 recent one-time buyers are the group closest to a second order. They get a flow built around their first purchase: how to use the product, a follow-up product that fits it, and a reminder timed near the 40-day mark.
The 1,400 lapsing buyers need a different message, because the natural moment has passed. A clear reason to come back works better here than a generic newsletter. The 1,700 lost buyers get light, infrequent contact.
Monetary value then splits each group. A recent one-time buyer with a large first order may deserve a personal touch, such as a note from customer service. A buyer whose first order was a small discounted item may need no incentive at all.
How to build RFM segments from your own data
You can build a working RFM model in a spreadsheet from a shop platform export. The steps are the same whatever tool you use.
- Export all orders with customer ID, email, order date, order value and refund status.
- Remove cancelled and fully refunded orders, and merge customers who checked out as guests with the same email.
- Group by customer to get the last order date, the order count and the total spent.
- Set recency bands from your own gap between first and second order, and frequency bands of 1, 2 and 3 or more.
- Give each segment a plain name and refresh the scores at least weekly.
Plain names matter more than they seem. A segment called "recent one-time buyers" tells the person writing the email what to say. A score of 5-1-3 does not.
Where RFM falls short
RFM only looks backwards and treats every product the same. Monetary value is revenue, so a customer who buys only on discount can look more valuable than one who buys at full price. Seasonal products can make a loyal customer look lapsed between seasons.
RFM also cannot tell you whether a message caused the second order. Some recent one-time buyers would have come back anyway. To separate that from the effect of your emails, you keep a random share of each segment out of the flow and compare the two groups. This share is called a holdout group, and it is how the Repeat Loop measures the lifecycle flows it builds on segments like these.
Questions
- What data do I need to do an RFM analysis?
- You need one row per order with a customer identifier, the order date and the order value. Remove cancelled and fully refunded orders first, and merge duplicate customer records that share an email address.
- How often should RFM segments be updated?
- Recency changes every day, so segments used to trigger emails should be refreshed at least weekly. Thresholds such as the recency bands can be reviewed less often, for example each quarter.
- Is RFM useful for a shop where most customers bought only once?
- Yes. In that case frequency splits customers into one-time and repeat buyers, and recency does most of the work. Fixed bands such as 1, 2 and 3 or more orders work better than quintiles when most customers share the same frequency.