Free calculator
Customer retention rate calculator
Retention rate is the share of customers you had at the start of a period who are still customers at the end. In ecommerce nobody cancels, so first decide what counts as an active customer, then enter three counts.
How it is calculated
- Customer retention rate
(customers at the end − new customers) ÷ customers at the start
- Customers kept
customers at the end − new customers
- Customers lost
customers at the start − customers kept
- Churn rate
100% − retention rate
- Change in active customers
(customers at the end − customers at the start) ÷ customers at the start
A worked example
A store counts a customer as active if they ordered in the last 12 months. On 1 January it had 5,000 active customers. During the year 1,800 new customers placed a first order, and on 31 December 5,200 customers were active. 5,200 − 1,800 = 3,400 of the original customers are still active, a retention rate of 68% and a churn rate of 32%: 1,600 customers lost. The active base still grew by 4%, because new customers made up for the ones who lapsed.
Assumptions and limits
- All three counts must use the same rule for "active". Change the window and the rate changes with it.
- The calculation cannot tell which customers came back: it assumes every customer at the end who is not new was also active at the start. A customer who lapsed and returned during the period counts as kept.
- If the numbers do not add up, for example more customers kept than you started with, the calculator caps the rate at 100%. Check the counts.
- With 0 customers at the start, there is nothing to divide by, so the rates show n/a.
Ecommerce retention is not subscription retention
A subscription business knows the day a customer leaves: they cancel. An online store never gets that signal. A customer who has not ordered for eight months may be gone, or may simply not need anything yet. That is why ecommerce retention depends on a rule you choose, such as "ordered in the last 12 months", and why the right window depends on how often your products are bought. A coffee store might use 3 months, a furniture store 24.
Choosing the period and the window
Measure over a period at least as long as the time between orders for most of your customers, or nearly everyone looks lost. Keep the same rule from one period to the next, so a change in the rate means customers behaved differently, not that the definition moved.
Retention rate and repeat purchase rate
Retention follows the whole customer base: how much of it you kept. The repeat purchase rate follows one cohort: how many of them ever came back. A store can have a growing active base and a falling retention rate at the same time, when it wins new customers faster than it keeps them, as in the example above.
What keeps customers active
Customers stay when there is a reason to order again at the right time: replenishment reminders for products that run out, post-purchase emails that lead to a second order, and a win-back flow before a customer passes the line where you count them as lost.
AI-powered. Human-managed.
Want help turning the numbers into a plan?
Get a free growth plan: we look at your store and show where email, SMS and lead capture could make the biggest difference.
Managed Ecommerce Growth: €1,000 a month per store, platform and email sending included.