Team Operations

RFM Analysis: Segment Customers by Recency, Frequency and Value

Learn how to build a simple transactional segmentation without pretending scores predict loyalty. Includes an original example and practical worksheet.

By Finta Editorial TeamReviewed by AI-assisted editorial/source reviewPublished December 5, 2026Last reviewed December 5, 2026

A glass ring, repeated emerald pieces and an amber core occupy three distinct waterside levels.

What you will learn

  • Define each RFM component consistently.
  • Calculate an original three-band example.
  • Inspect refunds, new customers and ambiguous segment labels.

RFM analysis groups customers using recency, frequency and monetary value: how recently they purchased, how often they purchased and how much they spent under a stated definition. Choose the customer unit, observation window and transaction rules before assigning scores. A segment is a useful description of past behavior, not proof of future loyalty or permission to send a campaign.

The method is most informative when repeat transactions are relevant to the business. A one-time implementation service and a frequently replenished product do not need the same scoring windows.

What you will learn

  • Define each RFM component consistently.
  • Calculate an original three-band example.
  • Inspect refunds, new customers and ambiguous segment labels.

What do recency, frequency and monetary value mean?

Shopify's RFM guide distinguishes elapsed time since the last purchase, purchase count in an analysis period and total spend in that period. Monetary value is not automatically average order value, profit or lifetime value.

Define the transaction boundary before scoring

ComponentDefinition for this exerciseQuestion to resolve in real data
RecencyElapsed days from the latest eligible purchase to one shared cutoff.What qualifies as a purchase rather than a canceled attempt?
FrequencyDistinct eligible orders in the last 90 days.Are repeat payment events being mistaken for separate orders?
Monetary valueNet purchase amount in that same 90-day window, in one currency.How are refunds, taxes, shipping and currency conversion treated?

Use stable customer and transaction identifiers. A changed email address does not necessarily create a new customer; a shared name does not prove two people are the same. Preserve unresolved identity cases before producing the customer totals.

Work a three-band RFM scoring example

Original fictional exercise: The following thresholds are invented for teaching. They are not recommended business benchmarks, and no real customers are represented.

  • Recency: 30 days or less = 3; 31–60 days = 2; more than 60 days = 1.
  • Frequency: one order = 1; two through four = 2; five or more = 3.
  • Monetary: below $100 = 1; $100 through $599.99 = 2; $600 or more = 3.

Original customer scoring, with all inputs stipulated

CustomerDays / orders / net spendR / F / MWhat remains unknown
A5 days / 6 orders / $6003 / 3 / 3Future purchases and satisfaction.
B45 days / 5 orders / $9002 / 3 / 3Whether the longer interval is unusual for this product.
C70 days / 1 order / $401 / 1 / 1Whether another purchase was ever expected.
D2 days / 1 order / $5003 / 1 / 2Whether the customer has had time to buy again.

You may display A as “333,” provided you explain that it is a three-part label, not three hundred thirty-three dollars or a measured probability. Do not add the component scores and assume every combination with the same total has the same meaning. A recent first-time purchaser differs from an older frequent purchaser.

Should RFM scores use fixed thresholds or quantiles?

Both are possible conventions, but they answer different needs. Fixed bands preserve a stated business meaning. Quantiles place customers relative to the current distribution. In a small dataset, ties and many identical purchase counts can make neat equal-sized groups impossible. Document the rule instead of breaking ties arbitrarily to create an attractive chart.

Avoid turning segment labels into conclusions

Calling C “lost” would go beyond the example. The customer may have bought a product that rarely needs replacement. Calling D “low loyalty” ignores that a new customer has had little opportunity to repeat. Compare similar purchase cycles and observation maturity.

Refunds can change monetary value without changing how many orders were originally placed. Keep the approved event and netting rules visible. If an entire order is canceled, decide consistently whether it belongs in any component. Do not remove inconvenient transactions after inspecting a segment's performance.

Can RFM tell you which customers are most profitable?

Not without relevant cost evidence. High spend can coexist with substantial service, fulfillment or acquisition costs. Use the customer-value lesson for the separate observed-versus-modeled contribution question. RFM is transaction segmentation, not a complete profitability model.

Copy the RFM definition and review worksheet

Decision and appropriate customer unit:
Shared observation cutoff and frequency/spend window:
Eligible purchase, cancellation and refund rules:
Customer and order identity checks:
Currency and monetary-value basis:
Recency bands and inclusive boundaries:
Frequency bands and tie handling:
Monetary bands and tie handling:
Component scores, preserved separately:
New-customer and purchase-cycle exceptions:
Proposed segment question, not inferred motive:
Permitted next action and accountable owner:

Use market segmentation when the job is choosing which market need to investigate, rather than grouping existing purchase behavior.

Copyable AI prompt

Try this with Aurora AI in Finta, Codex, or Claude using authorized, de-identified transactions.

Calculate RFM components for [permitted customer/order data] using [cutoff], [window], [eligibility/refund rules] and [explicit scoring bands]. Preserve the underlying measures and each component score. Flag unresolved identity, ties, immature customers and different purchase cycles. Do not infer loyalty, profitability, consent or future buying. Return a reproducible segmentation draft; do not launch a campaign or change records.

Bring a reviewed segment and its actual question to Finta's Customer Health Analyst when preparing account context. Decide what would be helpful before deciding whom to contact.