The Digital Frogs marketing consultancy Quote or appointment
E-commerce

How to calculate repeat purchase rate for a Shopify store

Repeat purchase rate is most useful when every customer in the calculation has had the same chance to buy again. Choose a first-purchase cohort and a follow-up window that fits the product’s buying cycle.

Define what counts as a repeat

A practical measure is the number of eligible customers who make a second qualifying purchase within the window, divided by the number of eligible first-time customers. Decide how to treat test orders, exchanges, gifts, fully refunded orders and customers who checked out under different email addresses. Apply the decision to both periods being compared.

Calculate an example with a mature cohort

Imagine 200 first-time buyers in January. All have now had 90 days since their first order. If 36 of them placed a second qualifying order within those 90 days, the 90-day repeat purchase rate is 36 ÷ 200, or 18%. Count a customer who made four purchases once in the numerator. Returning-customer share among this month’s buyers uses a different population and can move differently. Shopify’s customer and cohort reporting guide explains the available reports.

Compare customers with similar opportunities

A coffee subscription and an occasional equipment purchase have different natural renewal periods. Compare first-product category, acquisition source and discount use where the group is large enough. Give each cohort the full follow-up period before interpreting a drop. Calendar-month reporting can make a new cohort look weak simply because some of its buyers placed their first order yesterday.

Choose the next retention experiment

For replenishable products, use the observed reorder window to plan when to contact eligible customers. Use that window to plan your email marketing.

If customers reorder a consumable around a predictable date, test a relevant reminder. If they contact support before abandoning a second order, improve product guidance first. Measure incremental contribution after discount and email costs, alongside unsubscribes and returns. Our e-commerce retention work connects these observations to practical post-purchase changes.