Guides

How to segment customers

RFM, behavioral and clustering-based segmentation compared, and what turns a segment from an analysis artifact into something teams actually use.

customer segmentation groups customers so that a team can treat different groups differently — a different email, a different retention offer, a different product recommendation — instead of sending everyone the same message and hoping it lands for most of them. The methods range from a spreadsheet formula anyone can compute to a statistical clustering model, and the right choice depends far less on statistical sophistication than on whether the resulting segments are stable, explainable, and something a team will actually build a campaign around.

RFM: simple, explainable, and still useful

RFM analysis scores every customer on three dimensions — Recency (how long since their last purchase), Frequency (how often they buy), and Monetary value (how much they spend) — usually by bucketing each into quintiles and combining the scores into a small number of segments like "champions," "at risk," or "lost." Its appeal is that it needs only transaction data you almost certainly already have, produces segments anyone in the business can understand without a statistics background, and has a direct, intuitive link to action: a customer who was Frequency-5 and is now Recency-1 (hasn't bought in a long time) is an obvious win-back campaign target without any further analysis. Its limit is that it only sees transactions — it says nothing about why someone is at risk, or what would actually bring them back, and it treats a customer who stopped buying because they switched to a competitor the same as one who stopped because the product no longer fits their need.

Behavioral segmentation

Behavioral segmentation groups customers by what they do rather than by transaction value alone — features used, content viewed, support tickets filed, channel preferences. This requires event-level tracking most RFM analysis doesn't need, but it captures intent and fit in a way pure transaction data can't: two customers with identical purchase histories can be in completely different places in their relationship with the product if one uses it daily and the other logged in once. Behavioral segments tend to be more actionable for product and lifecycle decisions specifically (what to show, what to recommend, when to intervene) where RFM is stronger for pure marketing and win-back targeting.

Clustering: letting the data find the groups

Clustering algorithms, most commonly k-means, find groups in customer data statistically rather than through a predefined rule like RFM's fixed three dimensions. This can surface segments a human wouldn't have thought to define — an unexpected combination of behaviors that turns out to predict churn or expansion — but it comes with real costs: the resulting clusters need a human to interpret and name them before anyone can act, the number of clusters (k) is a choice that meaningfully changes the result and isn't determined by the algorithm alone, and clusters built on noisy or poorly chosen features can be statistically real but practically meaningless. Clustering is worth the investment when you suspect the useful segmentation isn't the obvious one (high value vs. low value) and you have both the data and the analytical time to validate what comes out; it's overkill for a team that just needs a defensible win-back list by next week.

What makes a segment actually get used

The gap between an interesting segmentation analysis and a segmentation strategy a company runs on is usually one of these:

  • Stability. A segment definition that reshuffles customers wildly every time it's recomputed can't support a campaign built around it — by the time the campaign launches, half the audience has moved to a different segment.
  • A clear owner and a clear action per segment. A segmentation with no defined next step per group is an analysis, not a strategy. "At-risk high-value" needs an actual retention play attached, not just a label.
  • Reachability. A statistically elegant segment nobody can actually target — because the identifying data doesn't sync to the channel that would act on it — is not useful no matter how well it was built.
  • A foundation of resolved identity. Segmentation is only as good as the unified customer record underneath it; a segment built on fragmented, unmatched records will misclassify anyone whose activity is split across identities that were never resolved into one profile.

Tools that build and activate segments

  • Building segments from a warehouse-native unified event stream, potentially self-hosted. RudderStack collects and resolves customer events into your own warehouse, where segmentation logic can be built directly in SQL or through its audience tooling and synced out via reverse ETL.
  • Governed segmentation across many downstream marketing and analytics destinations. mParticle applies identity resolution and schema validation before segments are built, then fans audiences out to a large connector library.
  • Acting on behavioral segments in real time, on-site or in email. Dynamic Yield builds and targets behavioral segments directly into personalized on-site, in-app and email experiences, validated with built-in A/B testing.
  • Segmentation expressed through search and browse ranking rather than campaigns. Algolia's personalization layer re-ranks search and recommendation results based on a user's past behavior — a narrower, search-specific form of behavioral segmentation rather than a general-purpose segmentation platform.

Questions to ask before you commit

  • Do we have the underlying identifiers to resolve a customer's activity into one profile before segmenting it?
  • How stable is this segment definition — does a customer stay in the same segment for at least a campaign cycle?
  • Does every segment we define have an owner and a specific next action attached?
  • Can the segment actually be synced to the channel that would act on it, or does it only live in a dashboard?

Common mistakes

  • Running an elaborate clustering exercise and never operationalizing the result because nobody defined an action per segment.
  • Segmenting on transaction data alone (RFM) for a decision that actually depends on product usage or intent.
  • Recomputing segments so frequently, or on such noisy data, that a campaign audience shifts underneath a live campaign.
  • Building segmentation before resolving identity, so the same customer is unknowingly split across two segments.
  • Treating a segmentation as permanent — customer behavior and the product both change, and segment definitions should be revisited on a schedule.

For the unified customer record segmentation depends on, see how to build a customer 360. Browse customer data platform tools and personalization engine tools for the full field.

Related tools

Terms used in this guide

Latest on this topic