Most ecommerce stores treat all customers the same: one email blast, one discount, one message. RFM segmentation breaks your customer base into behaviorally distinct groups so you can send the right message to the right person at the right time. This skill takes raw order data, scores each customer on Recency (how recently they bought), Frequency (how often), and Monetary value (how much they've spent), assigns them to named segments, and recommends specific marketing actions for each group.
DecisionStrongAcceptableWeakData windowRolling 12–24 monthsLast 12 months fixedAll-time (biases toward old customers)Scoring methodQuintile-based (1–5 per dimension)Quartile-based (1–4)Binary high/lowSegment namingNamed behavioral segments (Champions, etc.)Numbered clustersR/F/M score onlyMonetary metricNet revenue (post-refund)Gross revenueOrder count onlyRecency baselineCategory purchase cycle-adjustedFixed 30/60/90/180 daysNo adjustmentAction specificitySegment-specific campaigns and offersGeneric retention vs. win-backMass email to all
Pull a customer-level order export with: Customer ID (or email), Order Date, and Order Value (net of refunds). Set your analysis window (recommended: rolling 24 months for stable categories, 12 months for fashion/seasonal). Remove test orders, internal orders, and wholesale accounts.
For each customer:
Divide your customer base into quintiles for each dimension. Score 5 = best, 1 = worst.
If you have fewer than 500 customers, use quartiles (1–4) to avoid artificially small quintile buckets.
Use the following segment mapping (adjustable by business):
SegmentR ScoreF ScoreM ScoreDescriptionChampions4–54–54–5Bought recently, buy often, spend the mostLoyal Customers3–53–53–5Regular buyers with above-average spendPotential Loyalists4–52–32–3Recent buyers, could become loyal with nurturingNew Customers4–51anyJust made their first or second purchasePromising3–41–21–2Recent buyers, light frequency and spendNeeds Attention2–32–32–3Above-average overall but recency decliningAbout to Sleep2–31–21–2Recency dropping, below-average engagementAt Risk1–23–53–5Were Champions or Loyal but haven't returnedCan't Lose Them14–54–5Haven't bought in a long time, were high-valueHibernating1–21–21–2Low across all dimensions, minimal engagementLost11–21–2Haven't purchased in longest time, low value
Healthy segment distributions for a mature ecommerce store:
If Champions exceed 30%, your scoring window is too narrow. If Lost exceeds 60%, customer acquisition is outpacing retention.
Map each segment to a specific message, offer, channel, and cadence. See the output template for the full campaign matrix.
Re-run the RFM analysis every 30–90 days (shorter for high-frequency categories like consumables, longer for furniture or appliances). Track segment migration: customers moving from Needs Attention to At Risk is a warning signal; customers moving from Promising to Loyal is a success signal.
Input data summary:
RFM Score Distribution:
text
Champions (R4-5, F4-5, M4-5): 187 customers (7.8%)
Loyal Customers (R3-5, F3-5, M3-5): 312 customers (13.0%)
At Risk (R1-2, F3-5, M3-5): 203 customers (8.5%)
Can't Lose Them (R1, F4-5, M4-5): 89 customers (3.7%)
New Customers (R4-5, F1): 445 customers (18.5%)
Potential Loyalists (R4-5, F2-3, M2-3): 276 customers (11.5%)
Needs Attention (R2-3, F2-3, M2-3): 334 customers (13.9%)
About to Sleep (R2-3, F1-2, M1-2): 201 customers (8.4%)
Hibernating (R1-2, F1-2, M1-2): 298 customers (12.4%)
Lost (R1, F1-2, M1-2): 55 customers (2.3%)
Key Actions:
Projected Revenue Impact:
Challenge: High purchase frequency means standard RFM windows miss the nuance of subscription vs. occasional buyers.
Solution: Separate the analysis for subscribers (recency = days since last subscription renewal) and non-subscribers (standard RFM), then merge segments with adjusted scoring.
Adjusted recency buckets for coffee (avg. reorder cycle = 28 days):
Finding: 340 R1 customers with F4-5 (frequent buyers who've lapsed) = 14% of customer base. This "At Risk Power Buyer" sub-segment exists in most consumable brands but gets missed with standard quarterly RFM windows.
Action: Target these 340 with a personalized reactivation campaign: "Your usual order is overdue" + 15% one-time reactivation discount. Expected reactivation rate: 35–45%.
Using all-time data instead of a rolling window. A customer who bought 50 times in 2019 but nothing since 2022 looks like a Champion in all-time data but is Lost in any meaningful current sense. Always use a rolling window.
Not adjusting for purchase cycle. A 90-day recency cutoff is fine for a general retailer but meaningless for a daily supplement brand where lapsing after 45 days is already a warning sign.
Treating Monetary as gross revenue. High-return customers can have high gross revenue but negative net revenue. Use post-refund net revenue for M scoring.
Building 11 segments when you only have 200 customers. With small datasets, collapse to 5–6 named segments. Micro-segments with 3 customers can't be acted on.
Forgetting to exclude wholesale and B2B accounts. A single wholesale account can dominate your F and M quintiles and skew the entire scoring model.
Running RFM once and never updating it. Customer behavior shifts over time. Segment scores should be refreshed at least quarterly; monthly is better for fast-moving categories.
Applying identical discounting to all non-Champion segments. At Risk and Can't Lose Them need discounts; New Customers need education and social proof; Promising customers need curated recommendations. One offer doesn't fit all.
Ignoring segment migration trends. If 20% of last quarter's Loyal Customers are now in Needs Attention, you have a systemic retention problem that won't be solved by a single campaign.
Not tracking RFM campaign performance by segment. You can't improve what you don't measure. Always tag campaigns with the RFM segment they targeted and report conversion by segment.
Using RFM as the only segmentation layer. RFM tells you what customers do, not why. Combine with product category data or survey responses to build fuller personas.