Customer lifetime value (CLV) is the gross profit a typical customer brings you over the whole time they keep buying: average order value x purchases per year x lifespan in years x gross margin. Work it out on profit, not revenue, because profit is what pays for winning the customer. Shopify's reports give you every input, and the free customer lifetime value calculator turns them into CLV, a CLV to CAC ratio and a payback period.

Input Where to find it in Shopify Watch out for
Average order value Analytics > Reports: Average order value over time Shipping and taxes are left out
Purchases per year 12 months of orders divided by customers who ordered Count each customer once
Lifespan or retention Customer cohort analysis Not the same as returning customer rate
Gross margin Profit reports: Gross profit by product Needs cost per item on every product
Acquisition cost Your ad and marketing spend / New customers over time Use the same period for both

The CLV formula, worked through

CLV = average order value x purchases per year x lifespan in years x gross margin

Take a store where the average order is £45 excluding VAT, a typical customer buys 2.5 times a year, and the gross margin is 40%.

  • Revenue per customer per year: £45 x 2.5 = £112.50.
  • If customers stay 2.5 years on average, lifetime revenue is £112.50 x 2.5 = £281.25.
  • At a 40% gross margin, CLV is £281.25 x 0.4 = £112.50.

Plan with that last figure. Planning with revenue, you might spend up to £281 to win a customer, when every pound above £112.50 is a loss.

Why gross profit and not revenue

Revenue includes the cost of the product, so revenue-based CLV overstates what a customer is worth by the whole of your cost of goods. Two stores with the same order values, one at a 25% margin and one at 60%, have very different amounts to spend on acquisition. The calculator shows both lifetime revenue and gross-profit CLV, and treats the gross profit figure as the CLV. If you are unsure of the difference between margin and markup, which trips up many margin inputs, our guide to markup vs margin covers it.

Lifespan from retention

Most stores cannot say how many years a customer stays. They can say what share of customers buy again. The calculator can turn a yearly retention rate into a lifespan:

Lifespan in years = 1 / (1 minus yearly retention rate)

If 60% of this year's customers buy again next year, 40% leave each year and the average customer stays 1 / 0.4 = 2.5 years. That is where the 2.5 years above came from.

The formula is sensitive: 50% retention gives 2 years, 75% gives 4 and 80% gives 5. Be conservative. At 100% retention no one ever leaves and there is no finite answer, which is why the calculator asks for a lower rate.

CLV to CAC and payback months

Customer acquisition cost (CAC) is what it costs to win one new customer: your marketing and ad spend for a period divided by new customers in the same period. Two numbers matter once you have it.

CLV to CAC = CLV / CAC. With a CLV of £112.50 and a CAC of £30, the ratio is 3.75. Below 1, each new customer brings in less gross profit than they cost to win. The higher it is, the more room you have to spend on growth.

Payback months = CAC / monthly gross profit per customer. Monthly gross profit is £112.50 x 0.4 / 12 = £3.75, so a £30 CAC takes 8 months to pay back. A customer worth four times their cost still strains cash if the money takes two years to come back. If payback is longer than the customer lifespan, the customer never pays back at all, and the calculator flags it.

We do not quote a target ratio: the right one depends on your margins, cash and how fast you want to grow.

Where to find each input in Shopify

These are in Analytics > Reports, named as listed in the Shopify Help Center in December 2026. Use the last 12 months so seasonal peaks are counted once.

Average order value

The Average order value over time report calculates AOV as gross sales minus discounts, divided by the number of orders, excluding edits, exchanges and returns made after the order. Shipping and taxes are left out. The overview dashboard also has an Average order value card. Because returns are excluded from this figure, a store with a high return rate should lower the AOV it enters by its typical refund share.

Purchases per year

Take your orders for the last 12 months (from the overview dashboard or Total sales over time) and divide by the number of customers who ordered in that time. The New vs returning customers report gives the count of first-time and returning customers and can be grouped by year, so add the two rows for one year to get customers who ordered. Shopify defines a returning customer as one who placed an order when their order history already included at least one order.

Retention and lifespan

The Customer cohort analysis report groups customers by the date of their first order and tracks acquisition and retention, shown as a cohort grid or a retention curve. Among its metrics are customer retention rate, average orders per customer and amount spent per customer. Look at cohorts that are at least a year old and read off what share were still ordering a year later. That is the yearly retention rate the calculator wants. Shopify notes that its projections of amount spent per customer need 24 months of data.

Do not swap in the Returning customer rate card from the overview dashboard. What the formula needs is the share of one year's customers who came back the next year, and that is what a cohort shows.

Gross margin

The profit reports, under Analytics > Reports filtered by the profit margin category, include Gross profit by product and Profit margin by order. Shopify calculates margin as (net sales minus cost) / net sales x 100. Profit is only reported for items with a cost recorded at the time of sale, so add a cost per item to every product and variant first, or your margin will be wrong. The free profit margin calculator helps if you need to check a product by hand.

Acquisition cost

Shopify does not know your ad spend, so take it from each ad platform for the same 12 months and add any other paid marketing. Divide by new customers in the period, from New customers over time.

For a tour of the other reports worth checking, see the Shopify analytics reports that matter.

Shopify's predicted spend tier is a different thing

Shopify also has a Predicted spend tier report and a matching customer segment filter. Its help page describes the tier as a prediction of a customer's spending potential, grouped into High, Medium and Low, based on how often they buy, their average order compared with the store average, how many orders they have placed and how recently they last ordered. It needs a store with over 100 sales and only covers customers who have bought.

That makes it useful for picking who to treat well, but it is not CLV. It is a tier, not a money figure, it takes no account of your margin, and it says nothing about what you can afford to spend to win a new customer. The RFM customer analysis report is similar: it scores customers 1 to 5 on recency, frequency and monetary value and places them into groups, which is good for targeting and silent on acquisition budgets. Use CLV for the money question and these reports for the who.

How to raise customer lifetime value

Each part of the formula is a lever.

  1. Get the second order. Compare the One-time customers and Returning customers lists. If most customers order once and never again, start here: a useful post-purchase email, a reason to come back timed to when the product runs out, and a follow-up that is about the customer, not just a discount. Our email marketing starter guide for Shopify covers the flows to set up.
  2. Raise retention, then lifespan follows. Because of the 1 / (1 minus retention) formula, moving retention from 60% to 70% takes lifespan from 2.5 to about 3.3 years. Find the customers who are slipping away and speak to them before they go quiet for good.
  3. Lift order value without discounting it away. Bundles, a free shipping threshold set just above your current AOV, and relevant add-ons raise AOV. A discount that raises AOV but cuts margin can leave CLV lower, so check both.
  4. Protect margin. CLV is multiplied by gross margin, so a cost price increase you have not passed on reduces every customer's value. Review costs per item when suppliers change prices.
  5. Treat groups differently. Your best, new and lapsed customers need different messages, not one blanket campaign.
  6. Spend acquisition money where CLV is high. If customers from one channel or first product come back more often, put more budget there. Cohort analysis by first order date is the place to start looking.

Where Ergora helps

The calculator works from averages you type in. Ergora's ecommerce specialist connects read-only to Shopify, WooCommerce or BigCommerce and reads your orders and customers. Its Customer Segments feature groups your buyers into VIP, Loyal, New, At Risk and Dormant by spend, order count and recency, with a campaign drafted for each group, which is a direct way to act on levers 1, 2 and 5. Forecasts project your revenue six months ahead from your own figures with a confidence band, once your store has at least six months of history. Ergora does not calculate a CLV figure for each customer, and you send any campaign from your own email tool.

Frequently asked questions

How do I calculate customer lifetime value for a Shopify store?

Take average order value from the Average order value over time report, purchases per year from your orders and customer counts for the last 12 months, retention from Customer cohort analysis, and gross margin from the profit reports. Multiply AOV by purchases per year, by lifespan in years and by gross margin.

What is the CLV formula for ecommerce?

CLV = average order value x purchases per year x lifespan in years x gross margin. A customer who spends £45 an order, buys 2.5 times a year for 2.5 years at a 40% margin is worth £112.50 in gross profit.

What is the LTV to CAC ratio?

Lifetime value divided by customer acquisition cost. Below 1, a customer is worth less than they cost to win. Look at it alongside payback months, which shows how long your cash is tied up in each new customer.

Does Shopify show customer lifetime value?

Shopify shows the inputs, plus a Predicted spend tier of High, Medium or Low for stores with over 100 sales. It is a tier based on buying behaviour rather than a gross-profit CLV figure, so work out CLV yourself or with the calculator.

How do I increase customer lifetime value on Shopify?

Win the second order, raise retention, lift order value without cutting margin, protect your margin when costs rise, and send different messages to new, loyal and lapsed customers.

Run your Shopify store with an AI ecommerce specialist: see Ergora for ecommerce, with a 14-day trial.