Quick answer
RFM analysis is a method for scoring customers by their buying behaviour and grouping them into segments. It uses three criteria: recency (how long ago was the last purchase?), frequency (how often does the customer buy?) and monetary value (how much do they spend?). Each customer gets a score per criterion, for example 1 to 3 or 1 to 5. The combination produces segments such as top customers, at-risk regulars or new customers.
Key takeaways
- Three questions: when last (recency), how often (frequency), how much (monetary) – that is all RFM analysis needs.
- Scores instead of gut feeling: each customer gets 1 to 3 (or 1 to 5) points per criterion; the combination defines their segment.
- Recency is the early warning: a frequent customer who suddenly stays away is the most important signal in the whole analysis.
- Each segment needs a different approach: reward the top group, win back the at-risk, move newcomers to a second visit.
- A spreadsheet is enough for small shops: stamp card data gives you recency and frequency directly.
RFM analysis scores your customers on three criteria: recency (how long ago was the last purchase?), frequency (how often does the customer buy?) and monetary value (how much do they spend?). Each customer gets a score per criterion, and the combination determines their segment – from top regular to someone who is about to drift away.
The method comes from mail order and direct marketing, where businesses wanted to know early on who was worth sending a catalogue to. Today it is used by online stores as well as hair salons, cafés and bakeries. Its big advantage: it is simple, easy to understand and works with nothing more than a spreadsheet.
What is RFM analysis?
RFM analysis is based on a simple observation from retail: customers who bought recently, often and for a lot of money are more likely to buy again than others (Wikipedia: RFM). The three criteria in detail:
| Criterion | Question | Shop example |
|---|---|---|
| Recency (R) | When did the customer last visit? | Last stamp 5 days ago |
| Frequency (F) | How often did they come in the period? | 12 visits in 90 days |
| Monetary (M) | How much revenue did they bring? | €64 in 90 days |
Recency is often the most important criterion: a customer who used to come three times a week and has been missing for six weeks is a clear warning sign – even if their total spend still looks high.
RFM analysis is a form of customer segmentation based purely on actual buying behaviour, not on age, gender or postcode.
How RFM analysis works in 5 steps
- Set a period: it should cover several buying cycles – 90 days for a bakery or café, 6 to 12 months for a hair salon.
- Collect data: for each customer, the date of the last purchase, the number of purchases and the revenue in the period.
- Award points: 1 to 3 points per criterion (clear for small shops) or 1 to 5 points by rank (more precise with many customers).
- Build segments: group customers with similar score combinations.
- Act: define a suitable action for each segment – and check after a few weeks whether it works.
A simple scoring scheme for shops
An example for a café or bakery with a 90-day period:
| Points | Recency (last visit) | Frequency (visits in 90 days) | Monetary (revenue in 90 days) |
|---|---|---|---|
| 3 | within the last 14 days | 8 or more | €60 or more |
| 2 | 15 to 45 days ago | 3 to 7 | €20 to €59 |
| 1 | more than 45 days ago | 1 to 2 | under €20 |
Adjust the thresholds to your shop. For a hair salon, good recency is more like six weeks, and high frequency four visits in six months.
Shop example: a bakery in Vienna
A bakery analyses the stamp cards of six customers. It estimates monetary value as visits times average spend, because the card does not record individual amounts.
| Customer | Last visit | Visits (90 days) | Revenue (90 days) | RFM code | Segment |
|---|---|---|---|---|---|
| A | 2 days ago | 30 | €135 | 3-3-3 | Top customer |
| B | 40 days ago | 18 | €81 | 2-3-3 | Regular, slightly slipping |
| C | 60 days ago | 14 | €63 | 1-3-3 | At-risk regular |
| D | 5 days ago | 2 | €9 | 3-1-1 | New customer |
| E | 20 days ago | 5 | €22.50 | 2-2-2 | Occasional customer |
| F | 80 days ago | 1 | €4.50 | 1-1-1 | Lost |
The most valuable insight is customer C: a strong regular who has not been in for two months. Without an analysis, this kind of thing often only becomes obvious when it is too late.
Win back at-risk regulars automatically
mystamp shows lapsing regulars in the dashboard and sends customers who have not visited for 30 days an automatic push message on their phone.
- Free-forever plan
- Ready in 10 minutes
- No app for customers
RFM segments and what to do with them
| Segment | Typical code | What to do |
|---|---|---|
| Top customers | 3-3-3 | Thank them personally, add a surprise extra, do not flood them with discounts |
| Loyal regulars | 2-3-3, 3-3-2 | Reward loyalty visibly, for example with rewards for regular customers |
| New customers | 3-1-1 | Motivate a second visit, e.g. with a free stamp |
| Occasional customers | 2-2-2 | Create reasons to visit: promotions, reminders, new products |
| At-risk regulars | 1-3-3, 1-3-2 | Win them back quickly and personally – see how to win back customers |
| Lost customers | 1-1-1 | Send one win-back message, then let go |
For reaching at-risk customers, our win-back message templates give you ready-made wording.
Pros and cons of RFM analysis
Advantages:
- Easy to understand and possible with little data
- Based on real behaviour instead of assumptions
- Flags lapsing regulars early, complementing your churn rate
Disadvantages and limits:
- Only looks backwards, not at a customer’s potential
- Needs data that links purchases to individual customers
- With very few customers, segments are small and fluctuate a lot
How it differs from related methods
- The Pareto principle and ABC analysis only look at revenue; RFM adds recency and frequency.
- Customer lifetime value estimates a customer’s future value; RFM describes past behaviour.
- Cohort analysis compares groups by start date; RFM scores each customer individually.
Data protection
As soon as you link purchase data with names or contact details, you are processing personal data. You then need a legal basis under Art. 6 GDPR (DSGVO) and must inform customers under Art. 13 GDPR. Our guide to GDPR and customer data covers the details for Germany, Austria and Switzerland. This note is not legal advice.
Why it matters for small shops
Large retailers calculate RFM scores automatically in their CRM. Small shops do not need that: even a rough split into “active”, “slipping” and “gone” helps you reach the right customers at the right time. What matters is being able to link visits to individual customers in the first place.
A digital stamp card provides exactly that data: the date of the last stamp is the recency, the number of stamps the frequency. With mystamp, the dashboard shows your return rate and lapsing regulars. Customers who have not visited for 30 days automatically receive a push notification – essentially the most important RFM action, automated.
Related terms
- Customer segmentation: splitting customers into meaningful groups
- Pareto principle: why a few customers bring in a lot of revenue
- Repeat purchase rate: how many customers buy more than once
- Purchase frequency: frequency as a metric of its own
- CRM: systems that manage and analyse customer data
- Average transaction value: the basis for estimating monetary value
Frequently asked questions
What does RFM stand for?
RFM stands for recency, frequency and monetary value. Recency describes how long ago a customer last bought. Frequency counts how often they bought in a given period. Monetary value measures how much revenue they brought in during that period. Together, the three give a quick picture of how valuable and how active a customer is.
How does RFM analysis work?
You set a period, for example the last 90 days, and record for each customer the date of the last purchase, the number of purchases and the revenue. For each criterion you award points based on fixed thresholds or on rank. The three scores form an RFM code such as 3-3-2, which assigns the customer to a segment.
What is an example of RFM analysis?
A hair salon scores its clients: anyone who visited within the last six weeks gets 3 recency points, anyone who came at least four times in six months gets 3 frequency points, and anyone who spent more than €200 gets 3 monetary points. A client scoring 1-3-3 used to come often and spend a lot but has not been in for a while. She is an at-risk top client and deserves a personal message.
What are the typical RFM segments?
Common segments are top customers with high scores across all three criteria, loyal regulars with high frequency, new customers with high recency but few purchases, at-risk customers who used to come often and have now stopped, and lost customers with low scores everywhere. How many segments you create depends on how many customers you have.
Do I need special software for RFM analysis?
No. For a small shop, a spreadsheet is enough. What matters is that you can link purchases to individual customers, for example through a POS system with customer accounts, an appointment book or a digital stamp card. Larger retailers use CRM systems that calculate RFM scores automatically.
Is RFM analysis GDPR-compliant?
If you link purchase data to individuals, you are processing personal data and need a legal basis under Article 6 GDPR. Analysing your own customer data can often rely on legitimate interest, while email marketing usually requires consent. Inform customers in your privacy notice. Using anonymous card numbers without names lowers the risk considerably.
Sources & further reading
- RFM (market research) – Wikipedia
- Art. 6 GDPR – Lawfulness of processing – General Data Protection Regulation
- Art. 13 GDPR – Information to be provided where personal data are collected – General Data Protection Regulation
About this guide
Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.
Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us