
Repeat Purchase Rate Formula and How to Read It
The repeat purchase rate formula is (customers with two or more purchases ÷ unique customers with at least one purchase) × 100. Over 12 months, 2,700 of 10,000 customers equals 27 percent.
Popular guides still treat that result like a universal grade. Paste it next to another brand's score, they say, and you'll know whether loyalty is healthy. The grade only exists inside one window and one definition of who counts as a customer. Change the dates, or switch from everyone who bought to a first-purchase cohort, and the percentage moves even when buying habits don't.
The useful habit is narrower than that advice. Name the formula, the window, and the denominator, then read the result only against a matching clock.
Why One Repeat Rate Misleads
Say you run a store and the report shows 27 percent. A peer cites something near 48 percent and treats the gap as lost customers. The instinct is to blame the post-purchase emails. Often the gap is the clock.
The base formula is customers who bought at least twice in a stated period, divided by unique customers who bought at least once in that same period, times 100. That percentage is a share of people, not of orders or revenue.
A cafe counts guests who came back this year, not the extra cups they ordered. One daily regular still counts as one person.
Two clocks get separated below. A period returning-customer rate covers the dates on the report. A cohort rate asks only whether first-time buyers ordered again inside 30, 60, 90, or 365 days. A strong all-time rate can sit beside a weak 90-day rate.
If you are sorting retention metrics for a Shopify store, hold both views. Next come the inputs, a 10,000-customer walkthrough, windows that must not be mixed, and the orders to drop before the percentage is trusted.
The Repeat Purchase Rate Formula in One Store
Repeat purchase rate equals customers with two or more purchases in the window, divided by unique customers with at least one purchase in that same window, times 100. Qualtrics lays out that structure the same way Zendesk and Square do, though some guides say repeat customer rate instead.
Take a 12-month online store with 10,000 unique buyers. If 2,700 of them placed at least a second order, the rate is 27%. The window belongs in the same place as the people, because it is part of the answer.
| Input | What to count | Worked example |
|---|---|---|
| Numerator | Customers with 2 or more completed purchases in the window | 2,700 |
| Denominator | Unique customers with at least 1 purchase in the same window | 10,000 |
| Result | (numerator ÷ denominator) × 100 | 27% |
| Window | The dates that must be stated with the percentage | 12 months |
Count people, not orders
The numerator is people. A buyer with twelve orders still counts once, so one fan can't inflate the metric. The denominator is deduplicated buyers, and one-time customers stay in it.
Drop the one-time buyers and you're no longer using the repeat purchase rate formula. You're asking how loyal the already-loyal group is, which looks flattering and tells you nothing about the file as a whole.
Guest checkout breaks this on Shopify. The same email split into two customer IDs looks like two strangers. The numerator shrinks, the denominator grows, and the rate falls even though one person bought twice. Merge on email, or on a stable customer ID, before you divide.
The window is part of the sentence
Thirty days, a quarter, and 12 months ask different questions.
- Thirty days fits a product that should run out fast.
- A quarter fits a slower consumable, where a second buy inside a month would be unusual.
- Twelve months fits a durable, where almost nobody has a reason to return in a quarter.
A short window can suit consumables. Durable products often need a longer observation period. Changing the window changes the result, so 27% with no dates beside it isn't finished.
This rate also isn't customer retention rate. Retention tracks customers present at the start who are still active at the end. Repeat purchase rate tracks who bought again inside the dates you chose. Write the window beside 27% before you compare it with any other store.
Which Orders to Count Before You Divide
A customer enters the numerator only after a second completed purchase, and completed has to mean the same thing in every report. Sort the awkward orders before you divide, or the percentage credits a buy the customer never kept.

Use one rule per case, then freeze that rule in the report footnote.
| Order case | Rule | Distortion it prevents |
|---|---|---|
| Second completed purchase | Count only after completion, same definition in every report | Pending orders counted as repeats |
| Fully refunded or canceled order | Drop | Credits a purchase the customer undid |
| Test orders and staff accounts | Drop | Inflates repeats with internal activity |
| Wholesale B2B invoices | Separate rate | Large invoices read as retail loyalty |
| Subscription renewal | Label or separate | Pushes the rate toward the subscription median |
| Split shipment from one checkout | Count as one order | One checkout looks like a repeat |
| Replacement for damaged item | Not a new purchase | Free replacement looks like a second buy |
| Partial refund, item kept | Still counts | Real purchases lost from the numerator |
| Reversed order | Does not count | Undone purchase credited |
Where the file usually lies
Refunds and cancels are the first leak. Leave a fully reversed order in and you've credited a purchase the customer undid. A partial refund where the customer kept the item still counts, because the sale stood.
Internal noise is next. Test orders and staff accounts aren't shoppers. Wholesale invoices aren't a retail second purchase either, so they get their own rate. Two large B2B bills will otherwise read as loyalty.
Automatic and logistical doubles are the subtle pair. A subscription renewal should be labeled or pulled into its own view, or automatic bills make a one-time catalog look stickier than the manual reorders are. A split shipment from one checkout is one order. A free replacement for a damaged item isn't a new purchase.
The short video below talks through why customer counts and order counts diverge once those cases pile up.
Paste this footnote on the report: "Numerator requires a second completed order; fully refunded, canceled, test, staff, replacements, and reversed orders are excluded; wholesale and subscription orders are reported separately; a split shipment from one checkout counts once; a partial refund where the item was kept still counts."
Period Rate Versus Fixed Window Cohorts
Put the two questions next to each other before you pick a benchmark.
Period returning customer rate divides customers who bought again inside the selected dates by all customers with at least one purchase in those dates. It is final when the date range closes.
N-day cohort repeat rate is narrower. Of customers whose first purchase starts the cohort, what share places a qualifying second order within 30, 60, 90, or 365 days? The Interconnections DTC benchmark set states it as cohort members with a second order inside N days, divided by everyone in that first-purchase cohort, times 100.
| View | Numerator | Denominator | When the number is final |
|---|---|---|---|
| Period returning customer rate | Customers who bought again inside the selected dates | All customers with at least one purchase in those dates | When the date range closes |
| N-day cohort repeat rate | Cohort members with a second order within N days | Every customer in that first-purchase cohort | Only after N days have passed for the whole cohort |
| Purchase frequency | Orders | Customers | Not a repeat purchase rate |

Why older buyers get a head start
An all-time blend is a race where some runners started last year. They've had more months to come back than last month's buyers, so the percentage favors age. A fixed window removes that head start and keeps new customers comparable with older ones.
Practical rule: A cohort rate isn't final until every member has had the full N days.
Mixing immature cohorts with finished ones pulls the blended number down. Publish the rate, the cohort size, whether the window has elapsed, and what counts as a qualifying order. Without those four notes, a dip can be unfinished time rather than a worse offer.
What a holdout can actually prove
A post-purchase email, replenishment reminder, loyalty offer, or bundle, tested against a randomized holdout, can move 90-day cohort repeat rate in a way a blended store rate can't prove. The cohort holds acquisition timing still. The holdout holds the offer still. If only the treated group rises, you have a cause, not a seasonal bump across the whole file.
The same DTC set found repeat-order rates from 12% to 67.8% across 15 brands, with a median of 38.8%. Replenishment cycle, price, category, and business model dominate any single good score. Purchase frequency, orders divided by customers, sits in the table so it doesn't get smuggled in as a repeat rate. It answers how often, not whether a second purchase happened.
Benchmarks That Do Not Compare
Chasing one good benchmark pushes unlike catalogs onto the same scoreboard. Two medians get quoted as if they compete. They don't.
Shopify's repeat customer guide notes that one 2026 dataset reported a median 90-day cohort repeat rate of 13.45%, while another reported a 12-month median of 47.8% for subscription brands. The windows and the populations differ, so the figures aren't directly comparable. A consumables store with a modest 90-day cohort isn't losing to a subscription brand measured over a year.
| Figure | Window and population | What it is safe to conclude |
|---|---|---|
| 13.45% median | 90-day cohort in a 2026 dataset | Early repurchase only; not an annual loyalty score |
| 47.8% median | 12 months, subscription brands | Renewals by design; not a target for one-time catalogs |
| High all-time repeat rate | No fixed second-order deadline | Older buyers had more time; says little about recent cohorts |

Don't average those rows. Shopify defines returning customer rate as returning customers divided by customers in the selected period. Cohort measurement divides customers who repurchase inside a defined window by the original new-customer cohort. A store can post a high all-time repeat rate and still show weak 30-, 60-, or 90-day repurchase behavior.
Show three views together: period returning-customer rate, fixed-window cohort repeat rate, and the spread of days until the second order. Also say whether canceled, refunded, test, subscription, wholesale, and split orders are included. Optimizing toward one good benchmark invites false comparisons across categories with very different replenishment cycles.
Match the window to the catalog
Replenished goods such as beauty and food usually deserve a look at roughly 30 to 90 days. Durables sit closer to a year. Subscriptions should be read on their renewal cycle, not on a one-time catalog's clock.
A short window on a sofa store looks artificially weak, because almost nobody needs a second sofa that fast. A 12-month window on coffee looks artificially strong, because nearly every bag has had time to run out.
Compare a store only with the same window, the same new-versus-all denominator, and a similar replenishment cycle.
Read the Rate With Its Notes
Start with 1,000 unique customers, 700 of whom purchased more than once. The repeat customer rate is 70%, from (700 ÷ 1,000) × 100. This customer retention metrics guide is clear that the figure doesn't mean 70% of orders came from returning customers, and it doesn't say how many extra orders those customers placed.

Two pictures of order mix
Say those 700 each place three further orders while the other 300 buy once. Returning customers then dominate order volume, even though the rate only said who came back. Flip the mix. A store can show a 25% repeat purchase rate and still generate substantially more than 25% of its orders from returning customers when that segment buys often.
Repeat purchase rate is a customer-level percentage. It isn't purchase frequency, and it isn't repeat-order volume. You need deduplicated records and a rule that a repeat customer has at least two completed purchases.
eCommerce is noncontractual. Unlike a subscription, you often can't see a customer formally end the relationship, so a one-time buyer never files a resignation. Set an inactivity cutoff, or a fixed window, before you call anyone lapsed. Otherwise every buyer from years ago still sits in a lifetime file and moves the math.
Five fields on every report
Publish these beside the percentage:
- Dates or N-day window: The period the rate claims to cover.
- Denominator: All buyers in those dates, or only the first-purchase cohort.
- Minimum orders: At least two completed purchases, on deduplicated people.
- Refunds and cancellations: What was dropped and what still counts.
- Cohort start and maturity: The start date, and whether the window has fully elapsed.
Pair the rate with the distribution of days to the second order. That spread tells you whether a 90-day window fits the catalog or cuts the story off while people are still on their way back.
Three decisions, then stop
- Agreement. If the period rate and the mature cohort rate agree, and both fit the replenishment cycle, use that pair as the baseline.
- A flattering lifetime number. If the all-time rate is high but the 90-day cohort is weak, fix the path after the first order instead of celebrating the lifetime figure.
- Unfinished time. If cohorts are still immature, wait out the window rather than declaring a drop.
When a Shopify store's clean 90-day cohort stays weak after those inputs are consistent, the next step is a conversion audit from first order to second order, including post-purchase email and on-site offers. We do that research under our Conversion Rate Optimization service. How repeat behavior feeds value over time is covered in our guide to customer lifetime value.
If the rate is clean and the 90-day cohort is still soft, the gap is usually the path between orders, not the formula. ECORN's conversion research and audits, under Conversion Rate Optimization, are built for Shopify stores that need that path checked against a stated window and denominator. Visit ECORN when you want that audit tied to how your repeat purchase rate is built.
[Related Media]



