RFM segmentation for Shopify: VIP, Loyal, At-Risk & Dormant
RFM sorts your customers by how recently, how often, and how much they buy — then turns that into segments you can actually act on. Here's how to score it and what to do with each group.
What is RFM segmentation?
RFM segmentation groups customers by three behavioral dimensions:
- Recency — how recently did they last purchase?
- Frequency — how often do they purchase?
- Monetary — how much do they spend?
These three together predict future behavior better than any single metric. A customer who bought yesterday, buys monthly, and spends a lot is a very different person from one who bought once a year ago — and RFM makes that difference explicit and actionable.
How to score RFM (1–5)
The standard method ranks your customers on each dimension and assigns a 1–5 score (5 = best). Quintiles are common: the top 20% of customers by recency get R5, the next 20% R4, and so on.
| Dimension | Score 5 (best) | Score 1 (worst) |
|---|---|---|
| Recency | Bought very recently | Long time since last order |
| Frequency | Many orders | A single order |
| Monetary | High total spend | Low total spend |
The core segments and what to do
| Segment | RFM pattern | What to do |
|---|---|---|
| VIP | High R, high F, high M | Reward and protect — early access, perks, concierge care. Losing these costs the most. |
| Loyal | High F, solid M | Nurture and upsell — loyalty incentives, cross-sell complementary products. |
| At-Risk | Previously high, recency slipping | Win back now — a timely, personalized nudge before they fully lapse. |
| Dormant | Low R, long inactive | Reactivate with a stronger offer; some won't return, so cap spend. |
| New | High R, F = 1 | Onboard toward a second purchase — the riskiest moment for one-time buyers. |
The At-Risk segment is where retention dollars work hardest: these customers were valuable and haven't left yet. Pair the segment with a win-back campaign to catch them in time.
Applying RFM to Shopify data
Shopify gives you everything RFM needs: order dates (recency), order counts (frequency), and order totals (monetary). The practical steps:
- Pull each customer's orders and compute days-since-last-order, order count, and total spend.
- Rank and assign 1–5 scores per dimension across your customer base.
- Map score combinations to named segments.
- Refresh regularly — RFM is a moving picture, not a one-time snapshot.
Doing this by hand in a spreadsheet works once, but it goes stale fast. Tools that read your Shopify data keep segments current automatically.
Beyond RFM: adding churn risk
RFM is descriptive — it tells you where a customer is. Predictive churn scoring adds where they're heading, by reading behavioral signals on top of RFM. Combining the two — segment by RFM, prioritize by churn risk — is the most effective setup.
Frequently asked questions
What is RFM segmentation?
RFM groups customers by Recency (how recently they purchased), Frequency (how often), and Monetary value (how much they spend). Each customer is scored on each dimension, and the combined score sorts them into segments like VIP, Loyal, At-Risk, and Dormant.
How do you calculate an RFM score?
Rank customers on each of recency, frequency, and monetary value and assign each a score, commonly 1–5 where 5 is best (e.g. R5 F4 M5). The three scores combine into a segment — high on all three indicates a VIP.
What are the main RFM segments?
VIPs (high on all three), Loyal customers (frequent buyers), At-Risk customers (previously good but recency is slipping), and Dormant customers (long inactive). Each segment calls for a different retention action.
See your store's churn risk in 2 minutes
Take the free ChurnMiser retention audit — answer 7 questions and get a personalized revenue-leak report showing exactly where you're losing customers. No credit card.
Take the free retention audit →Or install ChurnMiser from Shopify and start scoring customers today.
ChurnMiser