Book an LTV:CAC Gameplan

Guide Retention

RFM segmentation: score your customers and email each segment its own message

Lilou & Ben7 min read

On client accounts we use RFM to decide who gets which message, because a customer who ordered last week and one who ordered last year should not receive the same email. This guide covers what RFM means, how to score customers from an orders export, a worked example, the five segments we build in Klaviyo with the message each one gets, and what Klaviyo’s own RFM report does.

What does RFM segmentation mean?

RFM stands for recency, frequency and monetary value. Each one is a number you can pull from an orders export:

  • Recency. Days since the customer’s most recent order. A customer who ordered 20 days ago is more likely to respond than one who ordered 200 days ago. It works like ringing around for a Saturday barbecue: the friend who called last week will probably pick up, and the one you last heard from at the Year 12 formal probably won’t.
  • Frequency. How many orders the customer has placed. Each order counts once, however many items it holds. A trolley with twelve tins of cat food is still one trip to the shops.
  • Monetary value. Total spent across those orders. We use the amount after discounts and refunds, the same basis as our customer lifetime value calculator, so the segments and the LTV figures line up.

Scoring each customer on all three gives you a short code, such as 3-3-3 for a recent, frequent, high-spending customer. You then group the codes into a handful of segments. Five is plenty for most stores, because every segment needs a different message to be worth having.

What is email segmentation, and where does RFM fit?

Email segmentation means splitting your list into groups and sending each group what suits it. You can split by what people bought, where they live, how they joined or how they behave. RFM is a behaviour split, built entirely from order history, and it answers one question: how warm is this customer right now?

That makes it a good first split for a store, because order data is already in Shopify and it maps onto the stages in our lifecycle marketing guide. Other splits, such as product interest, sit on top of it. A customer’s answers to a quiz or preference question, covered in our zero-party data guide, are a good second layer once the RFM base is in place.

How do you score customers from an orders export?

You need a Shopify orders export with customer email, order date and order total. Collapse it to one row per customer with three columns: days since last order, number of orders and total spent. Then score each column:

  1. The quintile method. Rank customers on one measure, cut the list into five equal groups and give the best group a 5 and the lowest a 1. It works well for recency and monetary value. Frequency breaks down wherever most customers have placed one order, because a fifth of the list can’t be separated from the rest. It’s like ranking a footy squad where most players have had one game: you can spot the captain, and everyone else is tied for last.
  2. The bands method. Set your own cut-offs and give a 1, 2 or 3. This is what we use for stores of most sizes, because the bands can follow the product. Klaviyo’s RFM report also marks its top score as a 3, so the two line up.

For the bands, we set recency from the product’s own reorder gap, the median days between a first and second order, which you can measure with the steps in our replenishment timing guide. A score of 3 is within one gap of the last order, 2 is one to two gaps, and 1 is more than two gaps. For frequency, 1 order is a 1, 2 orders is a 2 and 3 or more is a 3. For monetary value, we split customers into thirds by total spent, so the cut-offs come from your own data.

A worked example: one made-up store, three customers

Take a made-up store selling a consumable with a 60-day reorder gap. Recency bands are 3 for 60 days or fewer, 2 for 61 to 120 and 1 for more than 120. Spend is split in thirds: 3 for $250 or more in total, 2 for $120 to $249 and 1 for under $120. Three customers from the export:

  • Mia. Last order 20 days ago, 4 orders, $310 spent. Scores R3 F3 M3, so she’s a VIP.
  • Tom. Last order 15 days ago, 1 order, $62 spent. Scores R3 F1 M1, so he’s a new customer.
  • Priya. Last order 140 days ago, 3 orders, $240 spent. Scores R1 F3 M2, so she’s lapsed. Her history says she was a regular, which is a different message from the one a one-time buyer who lapsed should get.

Run the same rules across the whole export and every customer lands in one segment. In this made-up store of 4,000 customers, that comes out as 380 new, 520 repeat, 240 VIP, 700 lapsing and 2,160 lapsed. Those add up to 4,000, which is the first check: every customer sits in exactly one segment, with none missing and none counted twice.

Which segments do we build in Klaviyo, and what does each get?

We group the scores into five segments. Check the rules from the top down, so a customer who qualifies as a VIP is placed there first.

Five RFM segments and the first message each gets
SegmentScoresFirst message
VIPR3 F3 M3Early access
RepeatR3 F2+Reorder prompt
NewR3 F1Usage tips
LapsingR2Timely reminder
LapsedR1Win-back
  • VIP. Recent, frequent and high-spending. They get launches, early access and a thank you. We leave discounts out unless their order gaps show they need one. Our ecommerce loyalty program guide covers what else suits them.
  • Repeat. Ordered recently and more than once. They get replenishment reminders timed from the reorder gap, and a cross-sell for a second product after a reorder.
  • New. One order, placed recently. They go through the second-order flow and a usage-tips sequence, with the aim of a second order.
  • Lapsing. One to two reorder gaps since the last order. A reminder that explains why the product matters lands here, before the habit fades.
  • Lapsed. More than two gaps. They enter the win-back flow. If they don’t respond, a sunset flow stops mailing them, which protects inbox placement. We split this segment by frequency so a former regular and a one-time buyer get different copy.

Build each segment as a Klaviyo segment from “what someone has done” conditions on Placed Order: count of orders over all time for frequency, and a time-frame condition for recency. Klaviyo’s segments help article describes the “what someone has done” condition type and uses spending over a set amount as its VIP example. Segments in Klaviyo update on their own, so a customer moves from new to repeat to lapsing without anyone editing a list. SMS goes only to people who have opted in to texts.

Does Klaviyo have an RFM feature?

Yes. Klaviyo has an RFM analysis report that scores customers on recency, frequency and monetary value. In its own words, “recency uses day limits, while frequency and monetary value use percentiles of your customer data.” Klaviyo’s RFM analysis report article says an account needs at least 500 customers who have placed an order, at least 180 days of order history with orders in the last 30 days, and some customers with three or more orders. The report isn’t on every Klaviyo plan, so check yours first.

If your account has it, the report is a quick way to see group sizes and to use RFM properties in segments. If it doesn’t, or the account is under 500 customers, the export method above gives you the same shape with bands you control. We tend to set the bands by hand, because tying recency to the product’s reorder gap suits a consumable store better than a fixed day count. Klaviyo’s own definitions and group names are the ones to follow when you build inside its report.

Klaviyo now lets an account run up to four RFM models, each with its own conversion metric and its own thresholds, set by value or by percentile with a preview of the group sizes. Its multiple RFM models article says the default recency cut-offs are 365 and 180 days, and that prebuilt segments and the Action Center use only the first model. Custom thresholds mean the reorder-gap bands from this guide can live inside Klaviyo, so a 60-day product can be scored on 60 and 120 days in place of a full year.

We’ve worked with 60+ businesses. Our beauty case study shows one brand where we timed replenishment emails to how customers use the product and added VIP launches. Bring an orders export, rough is fine, and we’ll score your customers together and show you the five segment sizes. Book an LTV:CAC Gameplan.

How do you check the segments are working?

Four checks, in the order we run them on a new account:

  1. Sizes add up. The five segments should sum to your total customers with orders. A gap or an overlap means a rule is wrong.
  2. Overlap with flows. A customer already inside the win-back flow should be held out of campaigns aimed at the same segment, so they don’t get two messages on the same day.
  3. Revenue per recipient by segment. In Klaviyo’s campaign and flow reports, compare the segments. VIP and repeat usually rank above lapsed. If lapsed outranks them, recheck the rules and the bands.
  4. Refresh the bands. Re-measure the reorder gap and the spend thirds every quarter, since both move as your range and prices change. Bands left alone for a year go stale like the paprika at the back of the pantry.

How does RFM connect to lifetime value?

RFM is a map of where each customer sits on the way to their full value. Each segment points at one of the five levers in our customer lifetime value guide: new customers are the second-order rate, repeat customers are reorder frequency, VIPs are order value and margin, and lapsing and lapsed customers are how long people keep ordering. Moving customers up from one segment to the next raises CLV, which lifts the ratio in our LTV:CAC ratio guide without spending more on acquisition.

More guides

  1. 01RetentionEcommerce loyalty programs: which type to choose and how to tell it’s working6 minread
  2. 02RetentionCustomer retention strategies for an online store, in the order we build them6 minread
  3. 03RetentionLifecycle marketing for online stores: the seven stages and what to send6 minread
  4. 04RetentionHow to calculate customer retention rate for an online store6 minread
  5. 05RetentionZero-party data: what it is, how stores collect it, and how we use it7 minread
  6. 06LTV:CACThe LTV:CAC ratio for ecommerce: formula and what good looks like7 minread

Invitation

LTV:CAC Gameplan with Lilou & Ben

30 minutes, free. We look at what a new customer costs you and what they’re worth after, and you keep the three changes we’d make first either way.

Book an LTV:CAC Gameplan