How to calculate customer lifetime value (CLV) on Shopify
Customer lifetime value is the total a customer is worth across their whole relationship with your store. Here's the formula, a worked example with Shopify data, and the three levers that grow it.
What is customer lifetime value?
Customer lifetime value (CLV, sometimes LTV) is the total revenue — or profit — a customer generates across their entire relationship with your store, not just their first order. It tells you how much a customer is really worth, which in turn tells you how much you can afford to spend to acquire and retain them.
CLV reframes retention as a growth lever: a small increase in how long customers stay, or how often they buy, compounds across your whole base.
The CLV formula
The most widely used, store-friendly version is:
For a profit-based figure, multiply by your gross margin:
Worked example with Shopify data
Pull these three numbers from your Shopify reports:
| Input | Value | Where to find it |
|---|---|---|
| Average order value | $75 | Total sales ÷ total orders |
| Purchase frequency | 3 orders / year | Orders ÷ unique customers per year |
| Customer lifespan | 2.5 years | Average active span before churn |
Now the stakes are concrete: every customer you keep from churning is worth ~$560 in revenue, and your acquisition spend should be judged against that — not against a single $75 order.
Revenue CLV vs margin CLV
Revenue CLV is useful for marketing and benchmarking; margin CLV is what actually funds the business. Use margin CLV when setting acquisition budgets (so you don't overspend to acquire low-margin customers) and revenue CLV when comparing segments or tracking growth over time.
How to increase CLV
There are only three levers, and retention touches all of them:
- Raise AOV — bundles, upsells, free-shipping thresholds.
- Increase frequency — replenishment reminders, post-purchase flows, loyalty programs.
- Extend lifespan — the biggest lever: reduce churn. Because lifespan multiplies the other two, cutting churn raises CLV faster than almost anything else.
This is why churn prediction and CLV go hand in hand: protecting high-CLV customers from churning is the single most profitable retention move. Segment by value with RFM, then prioritize the high-CLV at-risk customers first.
Frequently asked questions
What is the customer lifetime value formula?
A common formula is CLV = average order value × purchase frequency × customer lifespan. For margin-based CLV, multiply the result by your gross margin percentage.
What is the difference between CLV and AOV?
AOV is how much a customer spends in a single order; CLV is the total value of a customer across all their orders over the whole relationship. AOV is one input into CLV.
How can I increase customer lifetime value?
Raise AOV (bundles, upsells), increase purchase frequency (replenishment, loyalty), or extend lifespan (reduce churn through retention and win-back campaigns). Reducing churn is often highest-leverage because it multiplies the other two.
See your store's churn risk in 2 minutes
Take the free ChurnMiser retention audit — answer 7 questions and get a personalized revenue-leak report showing exactly where you're losing customers. No credit card.
Take the free retention audit →Or install ChurnMiser from Shopify and start scoring customers today.
ChurnMiser