Articles
Aug. 30, 2022

RFM Analysis: How to Segment Customers and Increase Loyalty

RFM Analysis: How to Segment Customers and Increase Loyalty
Alla

Alla

PhD, Financial consultant at Datawiz

Last updated: October 3, 2026

Every retailer depends on repeat purchases, and how well that relationship works depends on using the right approach for each customer. That starts with properly segmenting the customer base, and RFM analysis is one of the most reliable ways to do it.

What Is RFM Analysis?

RFM analysis is a marketing approach for segmenting all of a chain's customers based on recency, frequency, and monetary value. The resulting segments let you analyze the customer base, identify key buyers, and build the most effective strategy for each group.

RFM breaks down into three indicators:

  • Recency (R): how recently a customer last purchased in the chain.
  • Frequency (F): the total number of purchases in the selected period, meaning how regularly a customer buys.
  • Monetary (M): the total value of a customer's purchases, or their average receipt.

Integrated with a Business Intelligence (BI) system, RFM analysis can run in real time using data from the entire chain, not just one store, which makes it possible to catch a shift in a customer's behavior as it happens rather than weeks later.

The Purpose of RFM Analysis

RFM analysis is based on the Pareto principle: 80% of turnover is brought by 20% of regular customers, while the remaining 80% of customers account for only 20% of turnover. Every retailer needs to focus attention and resources on that smaller, high-value group.

RFM segmentation makes those buyers easy to identify. Beyond that, it minimizes marketing spend and increases profit by answering questions like:

  • Which customers generate the most revenue and matter most to the chain?
  • Which customers are at risk of being lost?
  • Which customers respond best to advertising campaigns?
  • Which marketing campaign works best for each segment?
  • Which customers can be retained, and how do you grow their interest?
  • How do you move customers from a "sleeping" group into "active buyers"?

The core rule behind all of this: keep the best customers, move the "medium" customers up toward the best group, and win back the "almost lost" ones.

RFM analysis also pairs well with ABC and XYZ analysis, since one segments customers while the other segments products. Used together, a BI system can automate both and point marketing spend at the combinations that actually move revenue.

The Sequence of RFM Analysis

Getting useful results depends on following the process accurately. There are four steps.

Step 1: Gather Information

Collect the necessary data on chain customers for the selected period, whether that's a year, quarter, or month:

  • Customer name and surname, or card number.
  • Phone number and email for communication.
  • Dates of purchases.
  • The cost of purchases.
  • Average receipt.

This data is easy to access when the loyalty program is set up properly and integrated with receipt data.

Step 2: Segment the Customer Base

Divide all customers into groups by recency, frequency, and monetary value. For each criterion, three groups are typically used:

Recency:

  1. Purchased recently.
  2. Purchased not too long ago.
  3. Purchased a long time ago.

Frequency:

  1. Purchases rarely.
  2. Purchases not often.
  3. Purchases often.

Monetary:

  1. High purchase value.
  2. Medium purchase value.
  3. Low purchase value.

Grouping can be done through expert judgment, where analysts set the ranges themselves, or through quantiles, where the distribution follows arithmetic calculation:

  • For Recency: (0–33%) = group 1; (33.1–66%) = group 2; (66.1–100%) = group 3.
  • For Frequency and Monetary: (0–33%) = group 3; (33.1–66%) = group 2; (66.1–100%) = group 1.

The exact 33% and 66% cutoffs depend on the actual distribution of recency, frequency, and monetary values in the sample, and those become the grouping limits for the three segments.

Each customer gets a three-digit score. A customer in group 333 is the lowest value to the chain: a small, one-time purchase a long time ago. A customer in group 111 is a strategic customer: frequent, high-value, recent purchases. The result is a matrix of 27 segments.

Step 3: Analyze Segments and Build Marketing Campaigns

This is the step where the analysis turns into action: personalized offers and strategic moves to raise loyalty and sales. The main directions for each segment:

Regular customers

SegmentWho they areRecommended action
111Strategically important customers. This 20% brings 80% of the chain's profit.Show them they matter: a personal "gold" card or VIP status, genuine appreciation or a gift. Discounts and bonuses aren't the point here.
112Regular customers, now buying mostly online with an average receipt.Move them toward VIP (111) with targeted discounts, promotions, and bonuses.
113Loyal customers who spend a little.Add bonus points, offer a gift for an extra purchase, or set a bonus threshold tied to receipt size.
121Loyal customers who buy irregularly but spend a lot.Study their purchase patterns, offer novelties from related categories, and ask for feedback on what they expect from the chain. Skip discounts here.
122-123Customers who purchase occasionally.Stay present with regular reminders: promotional offers and bonuses.
131-133New customers.This group can become regular customers. Engage actively: useful information, product recommendations, invitations to social media groups, promotions, or the loyalty program. The goal is building a relationship from the start.

Sleeping customers

SegmentWho they areRecommended action
211-213Sleeping regular customers who purchased not too long ago.Remind them with promotional mailings and bonus offers, and send a short survey to find out why they stopped buying.
221-223Sleeping infrequent customers.Same approach: reminders plus a survey to understand the gap.
231-233Customers who bought once and went quiet.Send a short survey to understand their needs and where the chain fell short.

Lost customers

SegmentWho they areRecommended action
311VIP customers who are leaving.Worth winning back. Include a survey, bonus, and promotional offer in outreach.
312Valuable regular customers who are leaving.Same approach as 311, scaled to their value.
313Regular customers with a minimal receipt who are leaving.Same approach, lighter incentive.
321-323Customers who bought a few times, then stopped.Try to win them back and understand why they stopped. A short survey by email works well here.
331-332One-time customers with a high or medium receipt.Ask for feedback on why they didn't return, and offer a strong promotion. There's a real chance of bringing them back.
333Likely lost customers.An automatic reactivation email is worth sending, but don't invest more time or effort beyond that.

Step 4: Review RFM Segments After Running Campaigns

After mailings, promotions, and surveys, review the RFM segments and how their composition changed. How often to repeat the analysis depends on how fast the business moves: a large chain with high sales volume and many customers should refresh the data monthly, while smaller or slower-moving chains can do it less often.

The goal of repeating RFM analysis is to see what the campaigns actually achieved and how the segments shifted. If a previously lost customer moved into an active group, that's the signal to stop sending them reactivation emails.

Advantages and Limitations of RFM Analysis

Main advantages:

  • Increases customer loyalty.
  • Optimizes advertising spend by targeting it precisely.
  • Simple to implement.
  • Integrates easily with other customer interaction tools, including loyalty programs.
  • Works for small, medium, and large businesses.
  • Lets you profile each segment to understand the target audience more precisely.

Who RFM analysis doesn't fit well:

  • Companies with a customer base under 10,000 contacts.
  • Companies built around one-time sales rather than repeat purchases.

To run through these steps without manual spreadsheet work, the "RFM Analysis" report on the Datawiz BI platform does the segmentation automatically, tracks how customers migrate between groups over time, analyzes shopping carts by segment, and surfaces sales trends through dynamic visualizations.

FAQ

What is RFM analysis?

RFM analysis is a method for segmenting customers based on three factors: how recently they purchased (Recency), how often they purchase (Frequency), and how much they spend (Monetary). It groups customers into segments so a retailer can target each one with the right strategy instead of treating the whole customer base the same way.

What does an RFM score like 111 or 333 mean?

Each digit represents a customer's group for Recency, Frequency, and Monetary, from 1 (best) to 3 (worst) in a typical three-group setup. A score of 111 is a top customer: recent, frequent, high-value purchases. A score of 333 is the lowest-value customer: an old, one-time, low-value purchase.

How often should RFM analysis be repeated?

It depends on how fast the business moves. A large chain with high transaction volume should refresh RFM segments monthly. Smaller or slower-moving businesses can run it less often, but it should always be repeated after a major campaign to see how the segments actually shifted.

When doesn't RFM analysis work well?

It's a weak fit for businesses with fewer than around 10,000 customers, since the segments get too small to act on, and for businesses built on one-time transactions rather than repeat purchases, since there's no ongoing relationship to segment.

How is RFM analysis different from ABC or XYZ analysis?

RFM segments customers. ABC and XYZ segment products, by profitability and by how predictable demand is. They answer different questions, and used together through a BI platform, they help target marketing spend at the product-customer combinations that actually drive revenue.

Share

BI

Make decisions based on real data with Datawiz BI