Marketing Strategy

Ecommerce customer retention, measured and improved

See how ecommerce customer retention is measured in Shopify, from repeat purchase rate to lifetime value, and which levers bring customers back to buy again.

Published May 6, 2026 16 min read
Ecommerce customer retention cover with a cohort dashboard inside a gold lens over warm lit coffee bar shelves
In this article
Key takeaways
  • Shopify's Returning customers and One-time customers reports give you repeat purchase rate in two numbers, with no app needed.
  • Bain's 2001 retention figure came from financial services, where a 5% retention gain lifted profit over 25%.
  • Calculate lifetime value on margin, because the customer spend totals in Shopify's reports include taxes and shipping.
  • In NRF and Happy Returns' 2025 research, about 71% of consumers said a poor return made them less likely to shop again.
  • McKinsey's 2020 survey found paid loyalty members 60% more likely to spend more, against 30% for free programs.

Ecommerce customer retention is how well your store turns first-time buyers into customers who order again, and you track it with four numbers. Those are repeat purchase rate, retention rate, churn and customer lifetime value. Shopify’s own Customers reports already hold most of the inputs, so you can see where your store stands before you spend anything on apps or campaigns.

Get this wrong and every month starts from zero. A store that wins first orders and then loses those customers has to buy its revenue again through ads, so the marketing bill climbs faster than sales. If you haven’t worked out what a customer is worth before you pay to win one, our DTC marketing guide walks through that break-even calculation.

What does ecommerce customer retention actually measure?

Retention measures whether customers come back, and four metrics describe it from different angles. Each one answers a different question, so a store can look healthy on one and weak on another. The table sets out what each metric tells you, how to calculate it and where Shopify keeps the inputs.

MetricThe question it answersHow to calculate itWhere the inputs live in Shopify
Repeat purchase rateWhat share of your customers have ever ordered twice?Customers with two or more orders ÷ all customers with at least one orderReturning customers and One-time customers reports
Retention rateOf the customers you had at the start of a period, how many kept buying?(Customers at the end − new customers gained) ÷ customers at the startCustomer cohort analysis report, which offers customer retention rate as a metric
Churn rateWhat share of customers did you lose in the period?100% minus the retention rate for the same periodThe cohort report, or a segment built on last order date
Customer lifetime valueWhat is a customer worth across every order?Average order value × orders per customer × marginCohort analysis with amount spent per customer, plus the Predicted spend tier report

The first two get mixed up most often. Repeat purchase rate looks at every customer you’ve ever had, so it moves slowly and still carries last year’s buyers. Retention rate follows one group through one window, so it shows this quarter’s problem while repeat purchase rate is still averaging it away. Track both.

Shopify’s help center defines the building blocks. A returning customer is one “who placed an order, and whose order history already includes at least one order,” and the One-time customers report covers everyone “whose order history includes only one order.” Shopify also says the reports you can see depend on your plan, so check the Customers category before you plan around one.

For how these four sit beside acquisition cost, return on ad spend and margin in a full reporting set, see our guide to ecommerce marketing metrics.

Why is a repeat customer worth more than a new one?

The most quoted retention statistic comes from Bain & Company, and it reads differently in its original context. In a 2001 brief titled “Prescription for cutting costs,” Bain wrote that “in financial services, for example, a 5% increase in customer retention produces more than a 25% increase in profit.” A 2006 article on Bain’s site described a Bain & Company theory that a 5% rise in retention can lift profits by as much as 95%. The 25% figure describes financial services, not online stores, and the 2006 article doesn’t tie the 95% to any industry, so treat both as a direction rather than a forecast for your own profit.

The reasons Bain gave do carry over to ecommerce. Return customers “tend to buy more from a company over time,” they cost less to serve as they do, they refer others, and they’ll often pay a premium rather than switch to a seller they don’t know. Bain’s 2001 brief also warned that many firms were “wasting half their marketing expenses on disloyal customers who will never stick around long enough to pay back the acquisition investment.”

Take a customer who cost you $40 in ads, as an example figure. If they never return, one order has to earn back the whole $40. If they order four times, the same $40 is spread across four orders’ worth of margin, and the last three needed no new ad to win them. Every point of retention you add lowers the acquisition cost each order has to carry.

If you’re still forecasting a new store, give repeat orders their own line in your store’s business plan, so you can see how much of the profit depends on them.

How do you calculate repeat purchase rate and retention rate in Shopify?

Start with repeat purchase rate, because Shopify hands you both inputs. Go to Analytics > Reports, filter the category to Customers and open two reports. The Returning customers report lists everyone “whose order history includes two or more orders,” and the One-time customers report lists everyone with exactly one. Divide the returning count by the two counts added together.

Here’s a worked example with illustrative numbers. If the reports show 1,800 returning customers and 4,200 one-time customers, your repeat purchase rate is 1,800 ÷ 6,000, or 30%.

Two details change the answer. Shopify notes that customer report data “is based on the entire order history” of the customers in the report, so a November first-time buyer who reorders in December shows as a repeat customer even in a November-only view. Reports also display a maximum of 1,000 rows, though totals still cover every row, so read the total or export the report rather than counting lines.

For retention rate, open the Customer cohort analysis report. It groups customers by the month of their first order and shows what each group did in the months that followed, and its Metric menu includes customer retention rate, so you can read retention for each cohort without doing the math by hand. The classic formula takes customers at the end of a period, subtracts the new customers gained during it and divides by customers at the start. Begin a quarter with 2,000 active customers, end it with 2,300 after gaining 700 new ones, and retention is (2,300 − 700) ÷ 2,000, or 80%.

Pick a period that matches how often people buy what you sell. A coffee store can judge retention monthly. A furniture store measuring monthly will see almost nobody come back and draw the wrong conclusion. To see how much of each month’s sales came from people who had bought before, the New vs returning customers report splits first-time and returning customers by any time unit you choose.

How does churn turn into customer lifespan?

Churn is the share of customers you lose in a period, so it’s 100% minus your retention rate for the same period. A subscription store knows exactly when someone churns, because they cancel. A store selling one-off orders doesn’t, since nobody emails to say they’ve stopped buying. You have to set the lapse point yourself.

Set it from your own reorder pattern, not a round number. In the Customer cohort analysis report, look at the month columns where second orders usually land. If most arrive within 60 days of the first order, a customer with nothing in 180 days has very likely moved on. Shopify’s segment editor can then find those people with a filter such as last_order_date < -180d, which gives you both a churn count and a win-back list.

Once churn is steady, it tells you how long the average customer stays, because lifespan is roughly one divided by the churn rate. For example, a store losing 25% of its active customers each quarter keeps the average customer for about four quarters, or a year. Cut churn to 12.5% and the average lifespan doubles to two years, which doubles lifetime value without adding a single new customer.

That arithmetic is why small changes in churn matter more than they look. A drop from 25% to 20% a quarter sounds modest, but it stretches the average customer from four quarters to five, a 25% gain in lifetime orders from the same buyers.

How do you calculate customer lifetime value for an ecommerce store?

The simplest historical formula multiplies three numbers you already have. Average order value × average orders per customer × margin gives you what a customer is worth over the period you measured. Use margin rather than revenue, because a customer who spends $150 with you on products that cost you $90 to land and ship hasn’t made you $150.

Take illustrative figures of a $60 average order, 2.5 orders per customer and a 45% margin. That customer brings in $60 × 2.5, or $150 in revenue, and is worth $150 × 0.45, or $67.50 in margin. That’s the most you can spend to acquire one and break even across those orders. Use contribution margin if you know it, meaning what’s left after product cost, shipping, payment fees and packaging, because gross margin alone still flatters the number.

Watch the revenue figures Shopify gives you. The Returning customers report shows the total each customer has spent “including taxes, discounts, shipping, and any refunds,” so strip out tax and shipping and apply your margin before you call it lifetime value.

The better method follows cohorts. In the Customer cohort analysis report, choose Amount spent per customer as the metric. Read across a row and you see one cohort’s value build month by month since its first order. Read down a column and you see whether newer cohorts are worth more or less than older ones at the same age, which tells you whether recent acquisition is bringing in better or worse customers.

Turn on Show projections and Shopify estimates future spend per customer from your store’s own data over the previous 24 months. If you don’t have 24 months of history, the toggle doesn’t appear.

Where does Shopify lifetime value show up in your admin?

Beyond the cohort report, three parts of your admin rank customers by what they’re worth or are likely to be worth. Each one is calculated from your store’s data only, not from industry averages.

  • Predicted spend tier. Shopify sorts customers who have bought into High, Medium and Low tiers based on how often they purchased, their average order compared with your store’s average, how many orders they placed and how recently they ordered. Your store needs over 100 sales before the tier appears.
  • RFM customer analysis. Each customer gets a score from 1 to 5 for recency, frequency and monetary value, where a 5 means “the top 20% of the dimension for your store.” Shopify then places customers into 11 groups, from Champions and Loyal to At risk and Dormant.
  • Customer segments. Filters such as amount_spent and number_of_orders let you pull any value band into a list you can email, export or exclude from a discount. The same groups can change what returning shoppers see on your site, which our guide to personalizing what each shopper sees covers.

Shopify can also tell you whether your retention is good for a store like yours. In the Customer cohort analysis report, the Comparison menu includes Benchmarks, which shows the median, 25th percentile and 75th percentile customer retention rate for similar stores at a weekly, monthly or quarterly grain. Shopify builds that peer group from order volume, primary market country and the product categories you sold in the past 30 days, so you need at least one product with an assigned category sold in that window.

What should your post-purchase flows do?

The weeks after a first order decide whether you get a second one. Shopify Messaging has templates for most of the flows below, and each flow should be tied to a retention number so you know what it’s meant to move.

FlowWhen it sendsThe number it should move
Thank-you and how-to emailAfter the first and second ordersTime to second order
Cross-sell for the first purchaseAfter the first orderOrders per customer
Replenishment reminderShortly before the product usually runs outRepeat purchase rate
Win-backA set time after the last orderChurn
Top-customer welcomeWhen a customer enters your highest-value segmentRetention of your best customers

Define your top customers from your own data, such as the Champions and Loyal RFM groups or the High predicted spend tier, rather than a round spend figure. A store with a $25 average order and a furniture store will never agree on what a big spender looks like.

Time each flow from your own cohort data. If the cohort report shows most second orders landing in month 1 or 2, your cross-sell has to arrive before that, not after. For the replenishment reminder, estimate a product’s usual life from the Returning customers report, which lists each customer’s first order date, most recent order date and number of orders.

Our guide to Shopify email flows covers setup, consent and timing for each of these. For campaign calendars and flows that go past Shopify’s templates, read our guide to ecommerce email campaigns.

Do loyalty programs keep customers buying?

They can, if the reward changes behavior instead of paying people for orders they’d have placed anyway. McKinsey’s 2020 survey on loyalty programs found that members of paid loyalty programs were 60% more likely to spend more on the brand after subscribing, while free programs raised that likelihood by 30%. McKinsey’s 2020 research also found that 50% of paid-program cancellations happened within the first year, and the most frequent reason was not using the benefits enough to justify the cost.

Those findings point to four design rules for a store.

  • Reward the order you’re missing. If your repeat purchase rate is low, put the biggest reward on the second order, not the tenth.
  • Make the first benefit usable right away. A member who earns nothing they can use for months is the one who cancels in year one.
  • Target by behavior. Shopify’s RFM table suggests offering “memberships or loyalty programs” to Active customers and giving Champions “exclusive deals and early access to new products.”
  • Cost rewards on margin. Points, tiers and paid memberships all hand value back, and that value comes out of margin, not revenue. On an example $60 order with a 45% margin, a $5 discount costs its full $5, about 19% of the $27 you keep, while a free product with a $5 price tag costs you only its landed cost.

Measure a program honestly. The customers who join first are usually the ones who were already buying, so comparing members with non-members flatters the program. Compare each member’s order rate in the months before joining with the months after, or hold back a random group from a new perk and compare the two.

Where does a referral program fit?

A referral program turns customers you’ve kept into customers you didn’t have to buy. It belongs after retention is working, because a customer who never came back is unlikely to recommend you to a friend. Shopify’s RFM table recommends a referral program for Champions, the group with very recent purchases, many orders and the most spend.

Timing matters as much as the reward. Ask once the product has arrived and the customer has shown a positive signal, such as a good review or a second order, rather than at checkout. Pay the referrer in store credit rather than cash, so the reward brings them back for another order of their own. Then track referred customers’ repeat purchase rate separately, since a referral program that brings in one-time bargain hunters adds orders without adding retention.

Our guide to setting up a Shopify referral program covers how to build one, from choosing an app to sizing the reward.

When does a subscription improve retention?

A subscription improves retention when your product runs out on a schedule. It turns the decision to reorder into a default, which is what retention is. The risk moves with it, because product piling up unused at home is what turns a subscriber into a cancellation.

The Shopify Subscriptions app lets you create auto-billed subscriptions that renew weekly, monthly or yearly, and customers can resume, skip or cancel from their customer account. The app reports active, paused and canceled subscriptions, so you can watch how many people pause instead of leaving.

The churn math from earlier runs month by month here. While monthly churn holds steady, a subscriber’s lifetime value is roughly the margin from one month’s order divided by monthly churn, so an example subscriber who leaves $12 of margin a month at 8% monthly churn is worth about $150.

Offer a pause before the cancel button. Recurly’s 2026 State of Subscriptions data, drawn from 76 million subscribers across every kind of subscription, found that top brands offering a pause before cancel saw pause usage rise 337%, and 3 out of 4 of those pausers returned within months.

Warn subscribers before a price rise reaches their card. In a Harris Poll of 3,087 US adults that Zuora commissioned for its 2025 Subscription Economy Index, price increases were the most common reason for canceling a subscription in 2024, cited by 47% of those who canceled. Send the notice ahead of the renewal that carries the new price, say what the subscriber gets for it, and put a pause or a longer interval in the same message.

Win back the subscribers who do leave by answering the reason they gave. Recurly’s 2026 research found 51% of consumers saying they canceled a subscription simply because they weren’t using it enough, so a slower delivery interval is often a better offer than a discount. Ask for the reason when someone cancels, then match the offer to it, such as a longer interval for too much product, a pause for time away or a new variety for boredom.

The Customer cohort analysis report shows whether subscriptions are actually retaining people. Its cohort definition can filter by subscription on the first order, and each cohort’s details include a ratio of one-time to subscription orders. Compare customers whose first order was a subscription with those who bought once, a few cohorts apart, before you decide to push subscriptions harder.

How do service and returns decide the second order?

A first order that goes wrong ends most relationships before your retention emails get a chance. Zendesk’s 2025 CX Trends Report, based on surveys of nearly 5,100 consumers across 22 countries, found 63% of them willing to switch to a competitor after just one bad experience. A late parcel with no update or an unanswered question about sizing can cost you every future order from that customer.

Returns are where this shows up most in ecommerce. A 2025 report on retail returns from the National Retail Federation and Happy Returns found that about 71% of consumers are less likely to shop with a retailer again after a poor returns experience, up from 67% in 2024. In the same 2025 NRF and Happy Returns research, 82% called free returns a major consideration when buying, 76% said they were more likely to choose a return option with an instant refund or exchange, and the report estimated that 19.3% of online sales would be returned in 2025.

Shopify’s return rules let you set the policy in one place. You choose a return window of 14, 30 or 90 days, unlimited or a custom number of days, and you decide whether return shipping is free, a flat fee charged once per return or a label the customer buys. You can add a restocking fee and mark final sale items. Rules attach to each order when it’s placed, so a change only affects future orders.

Self-serve returns let customers start a return from their order status page without contacting you, and when you approve one you can add exchange items. An exchange keeps the customer and the revenue, while a refund closes the relationship. Lead with exchanges and store credit for size and color returns, and track whether customers who returned something go on to order again.

What we’d measure first in your store

We’d start with the number every later order depends on, which is whether first-time buyers come back at all. Pull your repeat purchase rate from the Returning customers and One-time customers reports. It takes five minutes and gives you a baseline.

Next, open the Customer cohort analysis report and find two things, the share of each monthly cohort that orders again within 90 days, and the month when most second orders arrive. Turn on the retention benchmark if your store qualifies. Then work out lifetime value on margin for your three most recent full-year cohorts, so you know what a customer is worth now, not three years ago.

A weak second-order rate points to the first order itself, meaning delivery, service, returns and your post-purchase emails. A strong second order with heavy churn later points to loyalty, subscriptions and win-back. Good retention with low lifetime value points to order value and cross-sells. Don’t buy a loyalty app before you know which of the three your store has.

Ecommerce customer retention improves fastest when you work on the one stage where most customers drop away, not on every tactic at once. If you’d like help with the retention emails behind those numbers, our ecommerce email marketing agency can build and run them for your store.

Frequently asked questions

What is the average customer retention rate in e-commerce?

There isn't one reliable average, because retention depends on how often your product is bought and the window you measure it over. A store selling refills keeps far more customers month to month than one selling mattresses. The most useful comparison is inside Shopify, where the Customer cohort analysis report can show the median, 25th percentile and 75th percentile customer retention rate for stores similar to yours in order volume, market and product categories.

Is 90% customer retention good?

It depends on what the 90% measures. For a subscription measured monthly, 90% retention means losing one subscriber in ten every month, so only about 53% of a starting group is still subscribed after six months (0.9 multiplied by itself six times). For a store selling one-off orders, it would mean nine in ten first-time buyers ordered again in the period. Check how any figure was calculated, then compare it with your own cohort report and Shopify's benchmark for similar stores.

How to find customer lifetime value on Shopify?

Go to Analytics, open Reports, filter the category to Customers and choose Customer cohort analysis, then set the metric to Amount spent per customer. Each row shows what one cohort has spent on average since its first order. With 24 months of data, Show projections estimates future spend. Remove tax and shipping and apply your margin to turn that revenue figure into lifetime value.

What's LTV in ecommerce?

LTV, or lifetime value, is what a customer is worth to your store across every order they place, not just the first. Revenue-based LTV adds up what they spend. Profit-based LTV multiplies that by your margin, which is the version to use when you decide how much you can pay to acquire a customer. It rises when customers order more often, spend more per order or stay longer.

What does it mean to retain a customer?

Retaining a customer means they buy from you again after their first order, within a window that fits how often your product is needed. In Shopify's terms, a returning customer is one who places an order when their history already includes at least one. A retained customer is one you don't have to pay to win again, so more of each later order's margin reaches your profit.

What is the concept of customer loyalty?

Customer loyalty is a customer's tendency to choose your store again when other options are available, and it shows up as repeat orders, higher spend over time and recommendations. Retention measures the behavior, while loyalty is the preference behind it. Bain and Company's 2001 brief on loyalty noted that return customers tend to buy more over time, refer others and often pay a premium rather than switch.

Do loyalty programs actually increase sales?

They can, though the effect depends on the design. McKinsey's 2020 survey on loyalty programs found members of paid programs were 60% more likely to spend more on the brand after subscribing, against 30% for free programs. Members are often customers who were already loyal, so judge a program by comparing members' order rates before and after joining, not against everyone else.

Are loyal customers more profitable?

Usually, because repeat orders carry no new acquisition cost and loyal customers tend to buy more over time. Bain and Company's 2001 brief said that in financial services a 5% increase in customer retention produces more than a 25% increase in profit. That figure comes from financial services, not retail, so test it in your own store by comparing lifetime value on margin across cohorts.

How do you calculate customer lifetime?

Divide 1 by your churn rate for a period, which holds when churn stays roughly steady. If you lose 20% of your active customers each quarter, the average customer stays about five quarters. For one-off purchases, first define churn as no order within a set number of days, based on how long your customers usually take to reorder, then measure what share of customers cross that line each period.

WANT THIS DONE FOR YOU?

Talk to the strategist who would run your account.

Found this useful? Share it.

Free · Written in 24 hours · No pitch

Get your free website audit.

A written report in your inbox within 24 hours, with three fixes you can ship the same week, whether or not you hire us.

Written in 24 hours · 10,000+ audits run · 300+ clients since 2021