Retention metrics

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.

Quick answer: CLV = average order value × purchase frequency × customer lifespan. Multiply by gross margin for profit-based CLV. The fastest way to raise it is usually to reduce churn, which extends lifespan.

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:

CLV = Average Order Value × Purchase Frequency × Customer Lifespan
AOV = revenue ÷ number of orders · Purchase frequency = orders per year · Lifespan = average years a customer keeps buying.

For a profit-based figure, multiply by your gross margin:

Margin CLV = AOV × Purchase Frequency × Lifespan × Gross Margin %

Worked example with Shopify data

Pull these three numbers from your Shopify reports:

InputValueWhere to find it
Average order value$75Total sales ÷ total orders
Purchase frequency3 orders / yearOrders ÷ unique customers per year
Customer lifespan2.5 yearsAverage active span before churn
CLV = $75 × 3 × 2.5 = $562.50
At a 60% gross margin: margin CLV = $562.50 × 0.60 = $337.50 per customer.

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:

  1. Raise AOV — bundles, upsells, free-shipping thresholds.
  2. Increase frequency — replenishment reminders, post-purchase flows, loyalty programs.
  3. 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.

How ChurnMiser does it: ChurnMiser shows CLV on every customer 360° profile alongside their churn risk, so you can instantly see which high-value customers are slipping — and auto-build win-back campaigns to keep them. See the approach in ChurnMiser vs Polar Analytics.

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.