Churn Rate Calculation Formula: A Guide for Merchants
Master the churn rate calculation formula to understand customer retention. This guide provides step-by-step examples for e-commerce merchants.
You're still running ads, orders are still coming in, and your customer count may even look healthy. But revenue feels harder to grow than it should. That usually means your store has a leak.
In e-commerce, that leak is churn. Customers buy once, then disappear. Some cancel a subscription. Some never come back after a discount order. Some drift away after a shipping issue, a poor fit, or a better offer from a competitor. If you only watch top-line sales, you can miss the fact that you're replacing old customers as fast as you lose them.
That's why the churn rate calculation formula matters. It gives you a clean way to measure customer loss, separate it from new-customer acquisition, and make better retention decisions before the problem gets expensive.
What Is Churn and Why It Matters for Your Store
A busy Shopify merchant often sees the same pattern. New campaigns bring in first-time buyers. Sales reports look active. But repeat purchase behavior stays soft, and profit feels stuck. The store keeps pouring water into the bucket, yet the bucket never fills.
That's churn.
Churn is the rate at which customers stop buying from you over a given period. In plain English, it tells you how many people you lost from the group you already had. For a merchant, that matters more than it first appears. A store with weak retention has to spend more time and money replacing customers it already earned once.
Why churn is more than a reporting metric
Churn isn't just a math exercise for your finance sheet. It changes how you allocate budget, how you judge ad performance, and how you design the customer experience after the first purchase.
If your churn is high, several things usually happen at once:
- Acquisition gets heavier: You keep needing fresh traffic just to stay in place.
- Customer lifetime value falls: Buyers don't stay around long enough to justify what you spent to acquire them.
- Forecasting gets messy: It becomes harder to tell whether growth is real or just replacement activity.
- Loyalty becomes fragile: Customers act like one-time shoppers instead of brand followers.
A store can look busy and still be unhealthy. Churn is often the reason.
The metric behind smarter retention
Merchants often compare retention and churn as if they're separate topics. They're really two sides of the same customer story. If you want a simple breakdown of that relationship, this guide to retention rate vs churn rate is a useful companion.
Once you start measuring churn consistently, your decisions get sharper. You can spot whether a campaign brought in loyal buyers or discount-only shoppers. You can see whether a subscription offer keeps people engaged or only front-loads a sale. And you can judge whether your post-purchase flow is building a second order or losing the customer before they return.
The Foundational Customer Churn Rate Formula
A churn formula is just a fraction, but it answers a very practical question for your store: out of the customers you started with, what share slipped away?
Customer Churn Rate = (Number of Customers Lost During a Period / Number of Customers at the Start of the Period) × 100
That formula is the standard starting point, as outlined in Amplitude's churn rate guide. The math is simple. The discipline comes from defining the starting group correctly.

What each part means
The formula has three parts, and each one matters.
- Customers lost during a period: Customers who were active at the beginning of the period, then went inactive before it ended.
- Customers at the start of the period: The original group that had a chance to stay or leave.
- Time period: The measurement window you choose, such as a month or a quarter.
For most e-commerce brands, monthly tracking works well because it lines up with campaign reviews, reorder cycles, and retention reporting.
The denominator causes the most confusion. New customers gained during the month do not belong in your starting customer count. They were never part of the original group being measured.
A simple way to apply the formula
A leaky bucket is a useful comparison here. Your starting customers are the water already in the bucket. Churn measures how much leaked out. New customers are fresh water poured in later. They help the bucket look fuller, but they do not change how much leaked from the original amount.
Here is the merchant version:
- Pull the list of customers who were active on day one of the period.
- Mark which of those same customers became inactive by the final day.
- Divide the number lost by the number you started with.
- Multiply by 100.
That gives you a true attrition rate.
A quick example
Say your store began the month with 500 active customers. By month-end, 50 of those original customers had gone inactive.
Your churn rate is 10%.
The math is:
50 ÷ 500 × 100 = 10%
That number matters because it gives you a clean baseline for decision-making. If churn rises after a discount-heavy campaign, you may be attracting low-intent buyers. If churn drops after adding replenishment reminders, loyalty perks, or a better post-purchase sequence, you have evidence that retention work is paying off.
Why excluding new customers matters
Including new customers in the denominator makes churn look healthier than it is. It mixes two different motions. Retention answers, “Did the people we already had stay?” Acquisition answers, “How many new people did we add?”
Keep those separate.
Suppose you start the month with 200 customers, lose 20 of them, and gain 100 new buyers from paid ads. Your churn rate is still based on the original 200. It is 20 ÷ 200 × 100 = 10%. If you use 300 in the denominator, you would report a lower rate that hides the leak instead of measuring it.
Practical rule: The customers in the numerator and denominator must come from the same starting cohort.
That is why churn calculation is more than bookkeeping. It is the first step in a retention strategy. Once you know where the leak is, you can decide what to fix first: second-purchase flows, subscription offers, replenishment timing, VIP treatment for repeat buyers, or loyalty rewards that give customers a reason to come back.
If you want to see how this same retention logic applies in a membership-driven niche, these golf club churn rate insights offer a useful outside example.
Beyond the Basics Key Churn Rate Formula Variations
The basic churn formula answers one question well: how many customers from your starting group left.
For many stores, that is only the first layer.
A leaky bucket can lose water in different ways. You might lose a lot of small drips, or one crack could let out far more water than the rest combined. Churn works the same way. Losing 20 occasional buyers is one problem. Losing 5 high-value subscribers who reorder every month can hurt revenue much more.
Customer churn versus revenue churn
Customer churn measures lost people.
Revenue churn measures lost recurring dollars.
That difference matters if your store has subscriptions, memberships, auto-replenishment, or a small group of repeat buyers who account for a large share of sales. Headcount alone can make a retention problem look smaller than it is.
A simple way to frame it:
- Customer churn rate = the percentage of customers from the starting base who left
- Revenue churn rate = the percentage of recurring revenue lost from that base during the period
If 10 customers leave, the impact depends on who they were. If they were low-frequency shoppers, the revenue hit may be modest. If they were subscribers on your highest-value bundle, the financial damage is much larger.
| Churn Type | What It Measures | Best For Understanding |
|---|---|---|
| Customer churn | Lost customers relative to the starting customer base | Whether buyers are leaving your brand |
| Revenue churn | Lost recurring revenue relative to recurring revenue in the period | Whether churn is hitting cash flow and future sales |
| Gross revenue churn | Revenue lost from existing customers, without counting upgrades or expansions | How much value disappeared from your current base |
| Net revenue churn | Revenue lost after factoring in added spend from existing customers | Whether your retained customers are growing in value |
| Cohort churn | Churn inside a specific customer group over time | Which acquisition sources, offers, or first purchases lead to better retention |
Gross revenue churn versus net revenue churn
These two metrics help you answer two different business questions.
Gross revenue churn focuses only on what left. It shows the size of the leak.
Net revenue churn adds what existing customers spent above their prior level, such as upgrades, add-ons, or larger repeat orders.
That distinction matters for e-commerce brands that use loyalty programs, product bundles, or subscription upgrades. A store might lose some customers but still grow revenue from the buyers who stay. That is useful to know, but it should not hide the original leak.
A practical way to use both:
- Use gross revenue churn to judge retention health
- Use net revenue churn to judge whether expansion from existing customers is helping offset losses
If gross churn is high, your bucket still leaks, even if net churn looks better because loyal customers are spending more.
Annual churn and customer lifetime
Monthly churn can look harmless in isolation. Over time, it changes how long a customer relationship lasts and how quickly you recover acquisition costs.
As noted earlier in Recurly's churn guide, monthly churn can be converted into an annual view, and customer lifetime is often estimated with a simple inverse relationship to churn rate. The business takeaway is straightforward. Higher churn usually means a shorter customer lifespan, fewer repeat orders, and less room to earn back what you spent on ads, discounts, and onboarding.
For an e-commerce operator, the math becomes a decision tool. If churn is high, you may need to improve the second-purchase journey, tighten replenishment timing, or give customers a stronger reason to stay through a loyalty program or subscriber perk.
Cohort churn gives you the useful answer
Average churn blends very different customers together. Cohort churn separates them so you can see which groups stick and which ones disappear fast.
You can group customers by:
- acquisition channel
- first product purchased
- discount level
- month of first order
- subscription vs one-time purchase
That changes the kind of decisions you can make.
If customers acquired during a heavy discount event churn faster, the issue may be offer quality rather than email timing. If buyers who start with a hero product stay longer than buyers who start with a low-cost trial item, your product strategy may matter more than your ad creative. If loyalty members reorder more consistently, your retention playbook has a clear direction.
This is why formula variations matter. They do more than describe churn. They help you find the leak, measure its cost, and choose the fix that gives your store the best return.
How to Calculate Churn Rate A Worked Example
A worked example makes churn easier to use in real decisions.
Say your store is Cedar & Coast, a fictional Shopify brand that sells replenishable self-care products and also runs a small subscription program. After a strong month of paid acquisition, the team wants to answer a simple question: did the store grow because customers stayed, or only because new customers kept pouring in?
That is the leaky bucket problem. New shoppers fill the bucket. Churn shows how much water leaked out.
Step one with customer churn
Start with the customer base you had on day one.
Cedar & Coast begins the month with 500 active customers. By the end of the month, 50 of those same customers are no longer active based on the store's definition.
Use the basic formula:
Customer Churn Rate = (Customers Lost / Customers at Start of Period) × 100
Now plug in the numbers:
- Customers lost = 50
- Customers at start = 500
50 / 500 × 100 = 10%
So the monthly customer churn rate is 10%.
Here is the practical meaning. For every 10 customers the store started with, 1 dropped out during the month. That matters because retention work gets harder when you are constantly replacing people who just left. A store with a 10% monthly leak needs strong acquisition just to stand still.
What if the store also gained new customers
This is the part that trips up a lot of merchants.
Let's say Cedar & Coast also acquired 120 new customers during the same month from paid social. The end-of-month customer count might look healthy. But those 120 new customers do not change the churn rate for the original 500.
Why? Because churn asks one narrow question: how many customers from the starting group did you lose?
If you mix new customers into the starting base, the leak looks smaller than it really is. That can lead to the wrong business decision. You might keep spending harder on ads when the smarter move is fixing the repeat-purchase journey, replenishment reminders, or loyalty incentives.
Step two with revenue churn
Now switch from people to dollars.
Assume Cedar & Coast's subscription program started the month with $8,000 in monthly recurring revenue, and churned subscribers account for $1,200 in lost recurring revenue by month end.
Use this formula:
Revenue Churn Rate = (Revenue Lost to Churn / Total MRR at Start of Period) × 100
Plug in the numbers:
- Revenue lost to churn = $1,200
- Starting MRR = $8,000
1,200 / 8,000 × 100 = 15%
So revenue churn is 15%.
Notice what that tells you. Customer churn was 10%, but revenue churn is 15%. That usually means the customers who left were more valuable than average. In plain English, you did not just lose shoppers. You lost good shoppers.
That changes the next move. A retention team might look at which subscribers churned, what plan they were on, whether they skipped before canceling, and whether a loyalty perk or reorder incentive could have kept them.
How a Merchant Runs This Each Month
A practical monthly workflow looks like this:
- Define what counts as active. For one store, that may mean a purchase in the last 90 days. For another, it may mean an active subscription.
- Freeze the starting customer list on the first day of the month.
- Mark which customers from that list churned by the last day of the month.
- Run the customer churn formula using only that starting group.
- Run revenue churn separately if you have subscriptions, memberships, or other recurring revenue.
- Review who churned by segment, such as acquisition channel, first product, discount used, and loyalty status.
The formula gives you the score.
The segment breakdown gives you the reason.
That is where churn calculation starts paying for itself. Once you can see whether your leaks come from discount buyers, first-order subscription customers, or non-members who never joined your loyalty program, you can stop treating churn like a reporting metric and start using it as a profit tool.
Common Mistakes to Avoid When Calculating Churn
Your store can look healthy on the surface and still have a retention problem underneath.
A common example: total customers stay flat, orders keep coming in, and the dashboard suggests nothing is wrong. But your repeat buyers are slipping away, first-time buyers are not coming back, and the replacements are less profitable. That is why churn math has to be clean. If the formula is off, the business decision that follows will be off too.

Inconsistent customer definitions
This is the mistake that causes the most confusion.
If your Shopify report counts anyone who bought in the last 180 days as active, but your subscription app counts only current subscribers, you are not measuring one churn rate. You are measuring two different behaviors with two different rules.
Churn works like checking a bucket for leaks. If one person measures the water line in gallons and another measures it in inches, the numbers may both be accurate, but they are not comparable.
Set one definition for each churn view. For example, you might track:
- repeat-purchase churn for one-time buyers
- subscription churn for active subscribers
- loyalty-member churn for enrolled customers
That structure is useful because it tells you which part of retention needs attention. It also makes later action easier, especially if you are planning ways to reduce ecommerce churn by segment instead of sending the same win-back message to everyone.
Shifting the time period
A churn rate only means something inside a stable time window.
If March uses a 30-day lookback, April uses 60 days, and May gets compared to a holiday-heavy quarter, the trend line becomes noisy. You are no longer seeing customer behavior clearly. You are seeing a measurement problem.
A monthly cadence works well for many ecommerce teams because it lines up with campaign reviews, inventory decisions, and promotional changes. Weekly can work for high-volume subscription brands, but only if the rule stays consistent.
Letting new customers distort the result
This is the classic denominator problem.
The starting customer base should include only the customers you had at the beginning of the period. If you add newly acquired customers into that base, churn will look lower than it really is.
Here is the simple logic. Churn asks, “Of the people we already had, how many did we lose?” New customers belong in growth reporting, not in the churn denominator.
Missing churn compression
This mistake is quieter, and more expensive.
Churn compression happens when customer acquisition hides customer loss. Your total customer count may look stable because new shoppers are replacing the ones who left. But if the customers leaving had higher average order value, stronger repeat behavior, or better subscription retention, the business is weakening even while the top-line count holds steady.
According to Member Solutions' discussion of churn compression, 60% of growing companies with “positive” net churn rates were losing high-value customers while filling the gap with low-value ones.
That is why a flat customer count should never end the analysis.
Treating churn as a single headline number
One store-wide churn rate is a starting point, not a diagnosis.
If 8% of customers churned, the next question is which 8%. Was it first-order buyers from paid social? Subscription customers after their second shipment? Non-members who never joined your loyalty program? The answer changes what you do next.
A useful churn report does more than count exits. It shows where profit is leaking.
A better merchant checklist
Before you trust the churn rate, check the setup:
- Define active clearly: Write down exactly who counts as active in each report.
- Keep the time window consistent: Compare the same period length each cycle.
- Use only the starting customer base: Do not mix acquisition into churn math.
- Break churn out by segment: Review channel, product, order number, subscription status, and loyalty status.
- Check customer value, not just customer count: A stable total can still hide a weaker customer mix.
Good churn calculation does more than produce a percentage. It helps you spot where profit is slipping, which customers are worth saving first, and which retention moves can improve repeat revenue.
Actionable Strategies to Reduce Ecommerce Churn
Once you know your churn rate, the next move isn't to admire the dashboard. It's to change customer behavior.
The best retention work starts right after the first purchase. That's when expectations are fresh, trust is fragile, and small mistakes can easily turn a potential repeat buyer into a one-time order.
Fix the post-purchase gap
Many stores obsess over conversion rate and then go quiet after checkout. That's a retention miss.
A stronger post-purchase sequence usually includes:
- Expectation-setting emails: Confirm shipping, timing, and next steps clearly.
- Usage education: Show customers how to get value from the product fast.
- Second-purchase prompts: Recommend the next logical item based on what they bought first.
- Support visibility: Make returns, exchanges, and help easy to find.
If customers feel uncertain after the order, churn often starts there.
Identify who's drifting before they leave
Reactive retention is expensive. Proactive retention is better.
Look for signals such as falling purchase frequency, lower email engagement, subscription skips, or reduced average order behavior. Then create re-engagement flows that match the risk.
Some merchants send everyone the same win-back discount. That's easy, but blunt. A better approach is segment-based outreach. High-value repeat buyers may need service recovery or early access. Discount-sensitive shoppers may respond to bundles or loyalty incentives. Recent first-time buyers may just need education and a reason to return.
For more ideas on this side of the playbook, this guide on reducing churn rate is worth reading.
Build reasons to stay
Customers stick when the relationship gets more valuable over time.
That can come from:
- Memberships: Exclusive pricing, perks, gated access, or shipping benefits
- Referral programs: A reason to advocate, not just repurchase
- Point systems: Rewards that make the next order feel earned
- Tiered experiences: Better perks for customers who deepen their relationship with the brand
These tactics work because they change the purchase from a one-off transaction into an ongoing exchange.
A practical walkthrough can help here:
Treat churn reduction like a system
The merchants who lower churn consistently usually do three things well.
First, they measure churn the same way every period. Second, they review churn by segment instead of staring at one blended number. Third, they tie retention tactics to specific moments in the customer lifecycle, especially the first order, the replenishment window, and the point where engagement starts to fade.
That's how churn shifts from a frustrating mystery to an operating lever.
From Calculation to Action Your Retention Roadmap
A churn formula gives you more than a percentage. It gives you a scoreboard for retention.
Used well, that number works like a leak check on a bucket. Sales can still be flowing in from new customer acquisition while profitable repeat buyers are slipping out the bottom. Once you measure churn the same way every month, you can separate noisy short-term growth from a customer base that is getting stronger. That is the point where churn stops being a reporting metric and starts becoming a decision tool.
It helps you decide where to look first, which customer groups need attention, and which retention bets are worth your budget. It also helps your team react earlier. If you pair your reporting with customer churn prediction, you can flag risk before a customer disappears unnoticed and misses the buying window that matters for your store.
Start simple.
Track one clean churn metric. Review it on a fixed schedule. Break it out by segment, such as first-time buyers, subscribers, VIPs, or customers who have not purchased within their normal reorder window. Then tie each segment to a response, like education for new buyers, replenishment reminders for repeat purchasers, or loyalty perks for high-value customers. That is how the math turns into revenue protection.
That is the roadmap from calculation to action. If you are ready to put the retention side of that roadmap to work, Toki helps e-commerce brands build loyalty programs, memberships, referrals, and rewards that give customers a stronger reason to come back after the first order.