How do you measure customer retention?

Faisal HouraniFaisal Hourani· Founder & eCommerce Growth Strategist
August 16, 2022Updated March 13, 20268 min read

Is your store leaking revenue?

Find out exactly where you're losing sales — takes 2 minutes.

Find Your Revenue Leaks

Customer retention measurement is the difference between guessing why growth has stalled and knowing exactly where to fix it. Most eCommerce store owners in Malaysia and Singapore track revenue and traffic religiously — but have no idea what percentage of their customers come back after the first purchase. We've worked with dozens of DTC brands across Southeast Asia, and the pattern is always the same: the stores that measure retention grow faster, spend less on ads, and make better decisions at every level.

If you're not tracking these numbers today, you're flying blind. Here's exactly how to measure customer retention — with formulas, benchmarks, and step-by-step instructions you can apply to your Shopify or WooCommerce store this week.


What Is the Core Customer Retention Formula?

The most fundamental retention metric tells you what percentage of your existing customers stayed with you over a given period.

Quick Answer: How do you measure customer retention?

Use the formula: ((E - N) / S) x 100, where E = end customers, N = new customers, S = start customers. The average ecommerce retention rate is around 30% over 12 months. Track five metrics together: retention rate, repeat purchase rate (target 30%+), churn rate, customer lifetime value (aim for 3:1 CLV-to-CAC ratio), and purchase frequency. Here's the formula:

Customer Retention Rate = ((E - N) / S) x 100

Where:

  • E = Number of customers at the end of a period
  • N = Number of new customers acquired during that period
  • S = Number of customers at the start of the period

Worked Example

Say you're a Malaysian skincare brand measuring retention over the last 90 days:

  • S (start): 1,200 customers on Day 1
  • N (new): 300 new customers acquired over 90 days
  • E (end): 1,350 customers on Day 90

Retention Rate = ((1,350 - 300) / 1,200) x 100 = 87.5%

That means 87.5% of your existing customers didn't churn over the quarter. That's solid — the average eCommerce retention rate is around 30% over 12 months, though this varies significantly by category and measurement period.

Choosing the Right Time Period

The question most store owners ask: how many days should I measure? The answer depends on your product's natural repurchase cycle:

Product Type Typical Repurchase Cycle Suggested Measurement Period
Skincare / beauty 45-60 days 90 days
Supplements / health 30-45 days 60 days
Coffee / food 14-30 days 30-60 days
Fashion / apparel 60-120 days 120-180 days
Electronics / gadgets 180-365 days 365 days

In our experience working with Malaysian DTC brands, most consumable product stores should measure on a 90-day rolling basis. This gives you enough data to see trends without waiting a full year to spot problems.


measure customer retention example

Which 5 Metrics Should You Track?

Customer retention rate alone doesn't tell the full story. Here are the five metrics you should track together for a complete picture:

1. Repeat Purchase Rate (RPR)

Formula: (Customers who bought more than once / Total customers) x 100

This is the simplest and most actionable retention metric. If 1,000 customers have bought from you and 280 have purchased at least twice, your RPR is 28%.

Benchmarks:

  • Below 20%: Needs immediate attention
  • 20-30%: Average for eCommerce
  • 30-40%: Good — you have working retention systems
  • 40%+: Excellent — typical of brands with strong loyalty programs

You can find this in Shopify under Analytics → Reports → "Returning customer rate" or calculate it manually from your customer data.

2. Customer Churn Rate

Formula: (Customers lost during a period / Customers at the start) x 100

Churn rate is the inverse of retention rate — they always add up to 100%. If your retention rate is 87.5%, your churn rate is 12.5%.

Why track both? Because churn is more emotionally impactful. Saying "we lost 150 customers last quarter" hits harder than "we retained 87.5%." It drives action faster.

3. Customer Lifetime Value (CLV)

Formula: Average Order Value x Purchase Frequency x Customer Lifespan

CLV tells you the total revenue a customer generates over their entire relationship with your brand. For example:

  • Average order value: RM180
  • Purchase frequency: 3.2 times per year
  • Average customer lifespan: 2.5 years
  • CLV = RM180 x 3.2 x 2.5 = RM1,440

This number is critical because it tells you how much you can afford to spend acquiring a customer. According to Harvard Business Review, a healthy CLV-to-CAC (customer acquisition cost) ratio is 3:1 or higher. If your CLV is RM1,440, you can afford up to RM480 in acquisition cost per customer and still be profitable.

4. Purchase Frequency

Formula: Total orders / Total unique customers (over a given period)

This metric tells you how often your customers buy. For most DTC eCommerce stores, purchase frequency sits between 1.5 and 3 orders per year. Top-performing brands with strong email marketing and loyalty programs hit 4-6 orders per year.

To improve purchase frequency, focus on:

  • Post-purchase email sequences that remind customers to reorder
  • Product recommendation emails based on purchase history
  • Loyalty programs that reward repeat purchases
  • Subscription options for consumable products

5. Time Between Purchases

Formula: Average number of days between a customer's first and second purchase

This metric is underrated but incredibly useful. If you know your average time between purchases is 52 days, you can set up win-back email campaigns to trigger at day 45 — before the customer goes silent.

In Shopify, you can calculate this using customer cohort reports or through tools like Klaviyo which tracks this automatically.


measure customer retention for ecommerce

How Do You Track These Metrics in Your Store?

Shopify Dashboard

Shopify provides several retention metrics out of the box:

  1. Go to Analytics → Reports
  2. Look for "Returning customer rate" — this is your repeat purchase rate
  3. Check "Sales by customer" to see top spenders and frequency
  4. Use Customers → Customer segments to create groups based on purchase behaviour

For deeper analysis, Shopify Plus users can access cohort analysis reports that show retention over time.

WooCommerce + Google Analytics

WooCommerce doesn't have built-in retention dashboards, but you can get there with Google Analytics 4:

  1. Set up Enhanced eCommerce tracking in GA4
  2. Go to Reports → Retention for cohort-based retention analysis
  3. Use Explorations → Cohort analysis to track return behaviour by acquisition month

Dedicated Retention Tools

For Malaysian and Singaporean stores doing RM50,000+ monthly revenue, dedicated tools provide much richer data:

Tool Best For Starting Price
Klaviyo Email + retention analytics Free up to 250 contacts
Smile.io Loyalty program + RPR tracking Free tier available
RetentionX Advanced CLV + cohort analysis $39/month
Metorik WooCommerce retention reports $20/month

We've found that Klaviyo provides the best balance of retention analytics and actionable automation for most DTC brands in our region.


measure customer retention strategy

How Do You Set Up a Monthly Retention Dashboard?

Here's the exact dashboard we recommend for our clients. Track these metrics monthly and compare quarter-over-quarter:

Metric Formula Target Your Store
Retention rate ((E-N)/S) x 100 80%+ (quarterly) ___
Repeat purchase rate Repeat buyers / Total buyers 30%+ ___
Churn rate Lost customers / Starting customers Below 20% (quarterly) ___
Customer lifetime value AOV x Frequency x Lifespan 3x+ your CAC ___
Purchase frequency Total orders / Unique customers 2.5+ per year ___
Time between purchases Avg days between 1st and 2nd order Category-dependent ___

If your repeat purchase rate is below 20% and your CLV is less than 2x your CAC, you have a retention problem that's actively costing you money. The good news: even basic email automation (a post-purchase sequence and a win-back campaign) can move these numbers significantly within 60-90 days.


Bottom Line

Measuring customer retention isn't optional — it's the foundation of profitable eCommerce growth. Start with the core retention rate formula, then layer in repeat purchase rate, CLV, and purchase frequency. Track monthly, compare quarterly, and take action on any metric that's trending downward. The stores that measure retention consistently are the ones that grow without endlessly increasing their ad spend.

Not sure where your store stands? Get a free ecommerce scorecard — we'll audit your store and show you exactly what to fix first.

measure customer retention

Frequently Asked Questions

What is a good customer retention rate for eCommerce?

A good retention rate for eCommerce is 20-30% over 12 months. Top-performing brands with strong loyalty programs can achieve 40% or higher. The global average for eCommerce is approximately 30% annually, but this varies significantly by product category — consumables like skincare and coffee tend to have higher retention rates than fashion or electronics.

How do I increase customer retention?

Focus on post-purchase email sequences, loyalty programs, personalised product recommendations, and excellent customer service. According to Adobe research, retained customers spend 31% more per order and are 50% more likely to try new products. Start with one post-purchase email sequence and one win-back campaign — those two automations alone can increase your repeat purchase rate by 15-25%.

What is the difference between retention rate and churn rate?

Retention rate measures the percentage of customers who return to buy again. Churn rate is the opposite — the percentage who stop buying. They always add up to 100%. Both are useful: retention rate for goal-setting ("target 85% quarterly retention") and churn rate for urgency ("we're losing 150 customers per quarter").

How often should I measure customer retention?

Track your core retention metrics monthly and compare trends quarterly. Most eCommerce businesses don't need daily retention data — the numbers move slowly. Monthly snapshots give you enough frequency to spot problems early without drowning in noise. Set quarterly review meetings to assess whether your retention strategies are working.


Keep reading:

Share this article

#Customer Retention #Analytics #KPIs

Ready to grow?

Find out exactly where your store is leaking revenue.

Answer a quick set of multiple-choice questions and we'll pinpoint your biggest revenue leaks — and whether we can help plug them.

Find Your Revenue Leaks

Free · No obligation · 2 minutes

Faisal Hourani

Faisal Hourani

Founder & eCommerce Growth Strategist

19 years building for the web, 9+ focused on ecommerce. Faisal founded WebMedic in 2016 to help DTC brands fix the conversion problems that hold them back. He has worked with brands across Malaysia and Singapore — from first-store launches to 8-figure scaling.

Ready to Boost Your Conversion Rates?

Book a quick strategy call. We'll analyze your store, identify your biggest revenue leaks, and show you exactly how we can plug them.

Book Your Strategy Call

Score your store →

Find Your Revenue Leaks