RFM analysis is a customer segmentation framework that scores customers across three dimensions: Recency (how recently they purchased), Frequency (how often they purchase), and Monetary value (how much they spend). Each customer gets a score on each dimension, and those scores are combined to identify distinct customer segments — from your most loyal high-value champions to your lapsed one-time buyers who need reactivation.
How to Calculate RFM Scores
- Recency (R): Days since last purchase. Score customers on a scale of 1-5, where 5 = purchased very recently.
- Frequency (F): Number of purchases in the analysis window (e.g., last 12 months). Score 1-5, where 5 = most frequent buyer.
- Monetary (M): Total spend in the analysis window. Score 1-5, where 5 = highest spender.
Each customer gets a three-digit score like R4-F3-M5, and customers with similar scores are grouped into segments.
Common segments:
- R5-F5-M5: Champions — your best customers
- R1-F1-M1: Lost — haven't bought in a long time, low frequency, low spend
- R4-F1-M2: Promising — recent first-time buyers worth nurturing
- R1-F4-M4: At-Risk — formerly high-value, haven't returned recently
Why RFM Analysis Matters for Ecommerce
Most D2C brands treat all customers the same: everyone gets the same newsletter, the same sale announcement, the same win-back discount. RFM analysis makes it possible to treat customers differently based on how valuable they actually are. Sending a 30% discount to a Champion customer wastes margin — they would have bought anyway. Sending the same offer to an At-Risk customer who hasn't purchased in 90 days could be the trigger that brings them back. Targeted communication based on RFM consistently outperforms spray-and-pray email marketing by 3-5× on revenue per email sent.
Real-World Example
A Shopify store selling Ayurvedic personal care products in India ran an RFM analysis and discovered that 8% of their customers (Champions) generated 45% of total revenue. They created a dedicated WhatsApp group for Champions, offering early access to new launches and personalised product recommendations. This segment's 12-month retention rate was already 85% — but the dedicated treatment pushed it to 93%. The remaining customers were segmented into campaigns based on their RFM score, with win-back flows triggered automatically for At-Risk and Lost segments.
How to Improve / Optimize RFM Analysis
- Automate RFM scoring in your ESP or CDP: Tools like Klaviyo, Clevertap, and MoEngage can run RFM analysis automatically and update segments dynamically.
- Match messaging to segment: Champions need exclusivity and early access. At-Risk customers need a compelling reason to return. Lost customers need your strongest offer plus a reminder of your value.
- Track segment migration over time: Are customers moving from Promising to Loyal? Are Champions dropping to At-Risk? Migration patterns tell you if your retention strategy is working.
- Combine RFM with product affinity data: Knowing a customer bought skincare products 3× in the last 6 months (high R, F, M) AND prefers natural ingredients lets you target them with new natural skincare launches rather than generic newsletters.
- Update RFM scores at least monthly: Customer behavior changes; stale scores lead to wrong targeting.
RFM Analysis in A/B Testing
Use RFM segments as the audience base for A/B tests. A win-back test on your Lost segment and a loyalty test on your Champions segment will produce very different results — and that is the point. Testing one message across your entire list blurs signal from different segments; testing within segments gives you cleaner, more actionable data.
Run smarter A/B tests with CustomFit.ai — 14-day free trial, no credit card required.