Customer analysis guide

RFM analysis for ecommerce: worked Shopify examples

Understand purchase recency, frequency and spending, then choose a relevant next action for each customer group.

Conceptual illustration of a calendar, repeated shopping bags and coins around a customer grouping grid

What is RFM analysis?

RFM analysis groups customers using purchase recency, frequency and monetary value. It helps a store decide who may need onboarding, a relevant next purchase or a reason to return. Read the three dimensions together rather than relying on a single total score.

Three dimensions of purchase history
DimensionWhat it measuresHow to read it
RecencyTime since the most recent qualifying orderFewer days usually receive a higher recency score.
FrequencyNumber of qualifying orders in the defined observation windowMore orders receive a higher frequency score in the worked model below.
Monetary valueQualifying spending in that same windowHigher spending receives a higher monetary score; this is not profit.

RFM is one method within customer segmentation. It does not tell you whether someone has an active paid membership, can use a particular benefit or has agreed to marketing. Keep those decisions separate.

A worked RFM scoring example

Fictional educational model: a coffee store reviews customers at the start of September 25, 2026, using qualifying orders from September 25, 2025 through September 24, 2026. Recency is the difference in calendar dates between the review date and the latest qualifying order.

For this example, qualifying orders are paid merchandise orders excluding cancelled, test and fully refunded orders. Monetary value is merchandise revenue after discounts and refunds, excluding shipping, tax and membership fees, in one store currency. Partially refunded orders count once if merchandise revenue remains positive. Customers with no qualifying order in the window are left unscored and reviewed separately.

The thresholds below are chosen solely to demonstrate the calculation. They are not recommended coffee-store benchmarks, percentile bands or Shopify’s scoring rules.

Illustrative three-point thresholds
ScoreRecency in whole daysOrder countSpending in store currency
31 to 306 or more300 or more
231 to 902 to 5100 to less than 300
191 to 3651More than 0 to less than 100
Fictional customer records and calculated scores
CustomerLatest orderOrders / spendingDays / R-F-M
AlexSeptember 15, 20268 / 42010 / 3-3-3
BeaSeptember 20, 20261 / 455 / 3-1-1
CaseyMay 28, 20267 / 360120 / 1-3-3
DrewAugust 16, 20263 / 18040 / 2-2-2

Alex is a recent repeat buyer. Bea is new within this example’s history and may need useful product guidance. Casey has strong past activity but a longer gap, which warrants checking the product cycle and service history before a return campaign. Drew sits in the middle bands.

For Casey, 120 days maps to R = 1, seven orders to F = 3 and spending of 360 to M = 3. The result is 1-3-3. A customer with 3-1-3 also totals seven, but purchased recently and infrequently. Adding the digits would hide the difference that matters for the next message.

How Shopify’s native RFM groups differ

Shopify’s RFM customer analysis documentation describes store-relative scores from 1 to 5 using days since purchase, total orders and total spending. It provides named groups; individual numeric scores are not displayed in the admin. Our three-point example above must not be used to reproduce those groups.

Shopify’s documented grouping uses recency together with the rounded-down average of frequency and monetary scores: FM = floor((F + M) / 2). This differs from averaging all three digits into one score. Use the report’s assigned group rather than guessing it from a generic online scoring chart.

  1. In Shopify admin, open Analytics, then Reports, and find RFM customer analysis.
  2. Select a group and choose Preview segment to open it in the segment editor.
  3. Check the audience and add the eligibility conditions required for your intended action.

Shopify also documents the rfm_group segment filter. A report group is a starting audience, not confirmation that a promotion is suitable for everyone in it.

Turn an RFM group into a useful next action

These are original planning examples using selected Shopify group names. Check the current report and the customer’s actual history before acting. No fixed purchase delay or discount suits every category.

Campaign decisions after reviewing the RFM group
Group to reviewPossible actionChecks before sendingOutcome to measure
NewHelp the customer use the product they received.Delivery status, support issues and whether a second order already happened.Second purchase within a stated follow-up window.
ChampionsOffer relevant early access or recognition.Active membership, tier eligibility and whether the offer adds useful value.Participation and contribution after reward costs.
ActiveExplain a membership if its benefits fit the customer’s purchasing.Exclude active members from a join offer; check likely benefit cost and relevance.New memberships and subsequent benefit cost.
At riskAsk what changed or share a relevant reason to return.Category purchase cycle, recent orders, open service cases and channel eligibility.Qualifying purchases compared with a suitable baseline.
DormantReview whether a campaign is appropriate before offering an incentive.Usable history, marketing eligibility and whether expected contribution supports the cost.Incremental contribution, not attributed revenue alone.

Use our VIP email examples for recognition messages. The member win-back guide applies when membership has actually ended; purchase inactivity alone does not establish cancellation.

Separate purchase groups from membership eligibility

Two customers in the same purchase group can need different messages. A high-frequency non-member might benefit from learning about a paid tier. An active member may instead need help using a benefit they already have. Exclude that member from the join campaign.

Memberply’s documented Klaviyo integration syncs membership status and tier properties. Those properties are not RFM scores, and the integration does not change marketing consent. Verify the data available in your chosen platform before combining purchase and membership conditions.

If several campaigns select the same customer, choose a priority and suppress competing messages. Recheck eligibility before sending because a new order, membership change or service issue can make the original action inappropriate. The overlapping-audience example shows how to write that rule.

When an RFM score can mislead

  • Different purchase cycles: a long gap can be normal for furniture and unusual for a frequently replenished product.
  • Short histories: a new shopper has had less opportunity to accumulate orders. Do not assume a low frequency score means dissatisfaction.
  • Revenue without margin: returns, shipping subsidies and rewards can make high spending expensive to serve.
  • Changing comparisons: store-relative scores can move as the customer base changes. Review the underlying orders as well as the label.
  • Inconsistent definitions: changing date windows, currencies or refund treatment can change scores without a real change in customer behavior.
  • No cause or forecast: RFM summarizes recorded activity. It does not establish why a customer stopped ordering or guarantee future spending.

Measure the campaign rather than just the score

Record group membership when the test starts, choose the outcome window and keep the starting audience fixed for analysis. Continue rechecking sending eligibility, but do not move responders into a different analysis group after they purchase.

Fictional example: randomly assign 200 eligible customers to a campaign and 200 to a holdout. If 24 campaign customers and 20 holdout customers buy within 30 days, the rates are 12% and 10%, a two-percentage-point difference. Applied to the 200-person campaign group, that is an estimated four additional purchasing customers. One small test does not establish a reliable lift.

At an assumed 20 in contribution per additional purchaser before campaign-specific costs, four purchasers contribute 80. Subtract 100 in campaign costs and the example contributes negative 20. Count costs once and review uncertainty before scaling.

The ecommerce KPI worksheet helps distinguish order value, contribution and member retention. Its second-purchase measure uses 90 days after the first order, not the 30-day campaign window above. Use matching audiences and windows when comparing rates.

RFM analysis questions

What does RFM stand for?

RFM stands for recency, frequency and monetary value. It describes how recently customers purchased, how often they ordered and how much they spent under defined rules.

What is a good RFM score?

There is no universal score across stores and scoring systems. Higher scores generally indicate more recent, frequent or higher-spending customers within that model. Read each dimension and the underlying purchase history before choosing an action.

Does Shopify have RFM analysis?

Yes. Shopify documents an RFM customer analysis report with store-relative scores and named customer groups. Individual numeric scores are not shown in the admin. The report can be used to preview customer segments.

Can I use the three-point example as Shopify’s scoring formula?

No. The example is a fictional teaching model with explicit thresholds. Shopify uses its own store-relative five-point system and grouping rules. Use Shopify’s report for its native customer groups.

Does a low recency score mean a membership has ended?

No. Purchase recency and membership status are different facts. Verify current membership status before sending a rejoin message or describing benefits as unavailable.

Does Memberply calculate RFM scores?

This guide explains an analysis method and Shopify’s reports. Memberply’s documented Klaviyo profile sync provides membership properties, not RFM scores. Verify a separate purchase-data source for RFM conditions.

How often should I review RFM segments?

Choose a review schedule that fits your purchase cycle and campaign decisions. Keep the model definitions consistent, record each snapshot date and check current sending eligibility before each message.

Does RFM measure profit or customer lifetime value?

No. Purchase spending is not profit, and past order patterns are not a lifetime-value forecast. Review contribution after costs and use explicit assumptions for any future-value scenario.

Merchant reviews

Merchants use Memberply to launch practical membership programs

Read what merchants say about using Memberply for their membership programs. Read reviews on the Shopify App Store.

★★★★★

"The app is great and does exactly what i need it to. It is well priced and Doug is so great."

Olverum Official Store

United Kingdom

★★★★★

"Their pricing is fair, and their support is legendary."

Puzzery

Canada

★★★★★

"Our store is based in Argentina so we don't have access to Shopify Payments... Memberply solved it."

Elemental Outfit AR

Argentina

Match membership benefits to customer needs

Use Memberply to offer paid tiers and relevant benefits, then measure whether customers use and value them.

Install on Shopify