For most print-on-demand stores on Shopify, the best RFM analysis tool is the free RFM customer analysis report already in your Shopify admin. Use a spreadsheet if you want to see the math or add profit. Use Klaviyo's RFM once you have enough customers, and skip the R package unless you write code.

RFM stands for recency, frequency and monetary value. It sorts your buyers by how they shop, so you can reward the best ones and win back the ones drifting away. This guide compares the tools, shows the math and covers the part most guides skip: profit.

What do recency, frequency and monetary value mean?

Each letter is one question about a customer:

  • Recency (R): How many days since their last order? Fewer days is better.
  • Frequency (F): How many orders have they placed? More is better.
  • Monetary value (M): How much have they spent in total? More is better.

Each customer gets a score on each letter. A higher score means a better result. The three scores are written side by side, like 435, which means R4, F3, M5. As Shopify's RFM guide points out, 435 is a code, not the number four hundred thirty-five.

RFM is one of the core customer views in our guide to the KPIs and cohorts worth tracking. If you want the plain definition first, read what RFM analysis means in marketing.

Which RFM analysis tool should you pick?

Pick the tool that matches your store size and your skills. Here is how the four main options compare. The scales and rules come from Shopify's help docs, Klaviyo's RFM page and the CRAN rfm package docs.

Tool Score scale Setup Best for
Shopify RFM customer analysis report 1 to 5 None, it is built in Any Shopify store that wants groups fast
Klaviyo RFM 1 to 3 Klaviyo account plus store link Stores that already email through Klaviyo
Spreadsheet You choose One order export Small lists, or adding profit to the score
R "rfm" package You choose Install R and write code Sellers who already code

Some paid Shopify apps include RFM as one feature among many. Try the free report first, then decide if a paid app fills a real gap.

How does Shopify's built-in RFM report work?

Shopify gives each customer a three-digit score, with each digit from 1 to 5. According to Shopify, a 5 means the customer is in the top 20% of your store on that measure, and a 1 means the bottom 20%. The scores compare your buyers only to each other, not to other stores.

Shopify then places each customer into one of 11 groups. It uses the R score plus an "FM" score, which is the average of F and M, rounded down. A customer with F2 and M3 gets FM 2.5, which rounds down to 2.

To open it, go to Analytics > Reports in your Shopify admin. Filter by the Customers category, then open RFM customer analysis. Click any group name to see the customer list or to build a segment, which is a saved list of customers you can email.

What are Shopify's 11 RFM groups?

These are the groups and rules from Shopify's customer reports page:

Group Recency (R) FM score Who they are
Champions 5 above 3 Very recent, many orders, top spend
Loyal 3 to 4 above 3 Recent, many orders, high spend
Active 4 or 5 above 1, up to 3 Recent, some orders
New 5 1 or less Just bought, first orders
Promising 4 1 or less Recent, few orders, low spend
Needs attention 3 3 Fading, moderate spend
Almost lost 3 2 or less Fading, few orders
At risk 2 or less above 2, up to 4 Gone quiet, good history
Previously loyal 2 or less above 4 Gone quiet, great history
Dormant 2 or less 2 or less Gone quiet, little history
Prospects none none No orders yet

When is Klaviyo's RFM tool the better fit?

Klaviyo's RFM tool is better when you already send your email through Klaviyo. It scores on a 1 to 3 scale, so 333 is your best buyer and 111 is close to lost. The upside is that the segments sit right next to your flows.

The catch is the entry bar. Klaviyo recommends these minimums before you run RFM:

  • At least 500 customers who have placed an order
  • At least 180 days of order history
  • Orders within the last 30 days
  • Some customers with 3 or more orders

Shopify does not publish a minimum. In practice, RFM needs repeat buyers. If almost everyone has bought once, every frequency score is the same and the groups tell you little.

Can you run RFM analysis for free in a spreadsheet?

Yes. A spreadsheet is the only free option that lets you add profit to the score. It takes about an hour the first time.

Step 1: Export your orders. In Shopify, go to Orders and export them as a CSV file. Keep these columns: customer email, order date and order total.

Step 2: Build one row per customer. Use a pivot table with email as the rows. Add the latest order date (Max of date), the order count (Count) and the total spent (Sum of total).

Step 3: Work out recency. Add a column for days since last order. In Google Sheets or Excel, the formula is =TODAY()-B2, where B2 holds the last order date.

Step 4: Score each column 1 to 5. Use =PERCENTRANK.INC to rank each customer from 0 to 1. Then turn that rank into a score with =MIN(5,1+INT(rank*5)). For recency, flip it so fewer days gets the higher score: use 1 minus the rank.

Step 5: Join the scores. Combine them with =R2&F2&M2 to get a code like 435. Then sort and group.

Worked example: a store doing 340 orders a month

Say your store sells about 340 orders a month at a $31 average order. You export 12 months of orders and find 3,100 customers. Then you look at three buyers:

  • Maya: last order 9 days ago, 5 orders, $162 spent. She scores R5 F5 M5, a Champion.
  • Leo: last order 140 days ago, 4 orders, $128 spent. He scores R2 F5 M4. His FM is (5 + 4) ÷ 2 = 4.5, rounded down to 4, so Shopify calls him At risk.
  • Ana: last order 12 days ago, 1 order, $29 spent. She scores R5 F1 M1, which makes her New.

Each needs a different email: early access for Maya, a "we miss you" note for Leo and a welcome series for Ana.

Can a high-spending customer actually lose you money?

Yes. Monetary value counts sales, not profit. A buyer who only shops with big discount codes, or who asks for reprints, can rank high on M and still earn you very little.

Say Maya's $162 came from 5 orders. Each order had about $14 of supplier cost and $5 of shipping. She used a 25% code every time and got one free reprint. A quick check:

  • Sales after discounts: $162 × 0.75 = $121.50
  • Supplier cost and shipping: 5 × ($14 + $5) = $95
  • Reprint cost: $19
  • Profit: $121.50 − $95 − $19 = $7.50

Leo spent less, $128, but paid full price on four hoodies with no problems. With $16 supplier cost and $6 shipping per order, his profit is $128 − (4 × $22) = $40. He is worth five times more than Maya, yet the RFM score ranks her higher.

The fix is simple. Add a fourth column in your sheet for profit per customer. Before you spend money winning someone back, check that they were profitable to begin with.

What should you do with each RFM group?

Send each group one clear message, matched to where they are. A simple plan for a print-on-demand store:

  • Champions and Loyal: Early access to new designs, a review request, a referral code. Hold back discounts, because they buy anyway.
  • New and Promising: A welcome flow with your best sellers and a "how we print" story. Aim for the second order.
  • Needs attention and Almost lost: A new design in the niche they bought before, plus a small, time-limited offer.
  • At risk and Previously loyal: A personal win-back email. Give the bigger offer here, but only to buyers who were profitable.
  • Dormant: Put them in your regular newsletter. Do not spend ad money on them.

For a deeper set of plays, see RFM strategies for repeat business. To see how repeat sales feed your plans, read about sales analytics and forecasting.

How is RFM different from lifetime value and cohort analysis?

They answer different questions:

  • RFM sorts customers into groups right now, so you know whom to email.
  • Customer lifetime value (LTV) is the total a customer is worth over the whole time they buy from you.
  • Cohort analysis groups customers by the month of their first order. It shows whether newer buyers come back as often as older ones.

Use RFM for action this week, and LTV and cohorts to judge the business over months.

How do developers run RFM in R?

The R "rfm" package builds RFM tables from order data. You load your orders, then call rfm_table_order with the customer ID, order date, revenue and an analysis date. Then rfm_segment names the groups, as the CRAN docs show.

It also makes heatmaps and bar charts, but you need to know R. For most store owners, the Shopify report or a spreadsheet is faster.

Where does Victor fit?

Finding the groups is easy. Acting on them every week is the hard part, and that is the job of Victor, the AI employee from PodVector AI.

Victor reads your Shopify and Etsy orders and knows the real profit of each one. He sorts buyers by recency, order count, spend and profit. Then he builds the Klaviyo segments and the win-back flow for At risk buyers, and the welcome flow for New ones.

You can set a weekly task. Each Monday, Victor checks who slipped from Loyal to At risk, adds them to the win-back flow and writes a short report. He also does the rest of the store's work, from new designs and listings to orders and ads. Start with PodVector AI and let Victor take on your repeat-buyer emails.

FAQs

Is Shopify's RFM report free?

The RFM customer analysis report sits in the Shopify admin under Analytics > Reports, so you do not install or pay for an app to use it. It scores every customer and puts them in one of 11 groups. Check your plan's report list to confirm you can see it.

How many customers do I need before RFM is useful?

Klaviyo recommends at least 500 customers who have ordered and 180 days of order history, as stated on its RFM glossary page. Shopify does not set a minimum. If most of your buyers have ordered only once, wait until you have more repeat buyers.

Why do Shopify and Klaviyo give different RFM scores?

They use different scales. Shopify scores each letter from 1 to 5, and Klaviyo scores from 1 to 3. Compare groups inside one tool, not scores across two tools.

Does RFM show which customers are most profitable?

No. Monetary value counts sales, not profit. Add supplier cost, shipping, discounts and refunds per customer to see who actually earns you money.

How often should I rerun RFM analysis?

Rerun it on a schedule that matches how often your buyers come back. For most print-on-demand stores, monthly works well. Weekly helps during busy seasons, when buyers move between groups fast.