Free ecommerce tool

Customer lifetime value calculator for online stores

The Customer Lifetime Value Calculator is a free tool from Ergora for ecommerce stores that works out lifetime revenue, customer lifetime value as gross profit, the CLV to CAC ratio and the months to pay back acquisition cost, from average order value, purchase frequency, lifespan or retention rate and gross margin.

Enter what a typical customer spends, how often they buy, how long they stay and your gross margin. See their lifetime revenue and gross profit, and, with your acquisition cost, the CLV to CAC ratio and how many months a new customer takes to pay back.

Your numbers, per customer

How long customers stay

The figures start as an example. Replace them with your own.

Customer lifetime value
£135.00
Lifetime gross profit per customer
Lifetime revenue
£337.50
Over 3 years
CLV to CAC
4.50x
Lifetime gross profit for each unit of acquisition cost
Months to pay back CAC
8
Gross profit per customer covers the cost after this

How it adds up

Revenue per customer per year
£112.50
Customer lifespan
3 years
Lifetime revenue
£337.50
Gross profit per customer per month
£3.75
Customer lifetime value
£135.00

The formulas

Customer lifespan
lifespan = the years you enter
With retention, a customer who has a 60% chance of buying again each year stays two and a half years on average.
Lifetime revenue
lifetime revenue = average order value x purchases per year x lifespan in years
Everything a typical customer spends with you while they stay.
Customer lifetime value
CLV = lifetime revenue x gross margin
The gross profit a typical customer brings in. This is the figure to weigh against what you spend to win one.
CLV to CAC
CLV to CAC = CLV / customer acquisition cost
How many times over a customer's gross profit covers the cost of winning them.
Months to pay back CAC
monthly gross profit = average order value x purchases per year x gross margin / 12 payback months = CAC / monthly gross profit
How long until a new customer has covered what it cost to win them, at an even pace through the year.

This is a simple average model: it does not discount future profit and treats every customer as typical. Work it out per channel or product line when they differ a lot.

See your real customers

This works out lifetime value from averages you type in. In Ergora, the Ecommerce specialist connects your store read-only and Customer Segments groups your buyers into VIP, Loyal, New, At Risk and Dormant by spend, order count and recency, with a campaign drafted for each, and Forecasts project revenue six months ahead from your own figures with a confidence band.

Try Ergora
14-day trial · Every specialist on every plan · Cancel any time.

What it works out

  • Lifetime revenue per customer
  • Customer lifetime value as gross profit, not just revenue
  • Customer lifespan entered in years or worked out from a yearly retention rate
  • CLV to CAC: lifetime gross profit against what it costs to win a customer
  • Months for a new customer's gross profit to pay back the acquisition cost
  • Every formula shown on the page

It tells you what a customer is worth winning

If you only judge ads on the first order, you may turn off campaigns that bring in customers who buy again for years. Lifetime value shows how much gross profit a customer brings in over that time, so you know how much you can sensibly spend to win one.

Payback matters as much as the total

A high lifetime value still strains cash if it takes years to arrive. Months to pay back shows how long your money is tied up in each new customer, which matters most for a small store paying for ads up front.

Questions

What is the CLV formula for ecommerce?

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

What is the difference between CLV and LTV?

They are two names for the same idea: what a customer is worth over the whole time they buy from you. Some people work it out on revenue and some on profit. This calculator shows both and treats the gross profit figure as the CLV, because that is what pays for acquisition.

How do I work out customer lifespan from retention?

Lifespan in years = 1 / (1 - yearly retention rate). If 60% of customers buy again the next year, 40% leave each year and a customer stays 1 / 0.4 = 2.5 years on average. At 100% retention no one leaves, so there is no finite lifetime; the calculator asks for a lower rate.

What is CLV to CAC?

Customer lifetime value divided by customer acquisition cost. Below 1, a customer brings in less gross profit than they cost to win. The higher it is, the more room you have to spend on growth, though it says nothing about how fast the money comes back, which is what payback months shows.

How do I find customer lifetime value in Shopify?

Take average order value and the number of orders per customer from your sales and customer reports for the last year, estimate how many years customers keep buying (or what share buy again a year later), and enter them here with your gross margin.

Is my data saved?

No. The calculator runs in your browser and nothing you type is sent anywhere.

Free, no account

Want more than one check?

Get a free read of your website by email. The read looks at your homepage: what it shows you do, who it seems to speak to, and a few specific points on your brand, the site itself and your kind of business.

No account, no card. We email a read of your homepage, usually within a few minutes, with a link to stop any more reads to your address. We keep your request and the read for no more than 90 days, then delete them. Privacy policy

Ecommerce specialist

Want this done for you, continuously?

This is a one-off sum. In Ergora the Ecommerce specialist connects Shopify, WooCommerce or BigCommerce and keeps revenue, orders, average order value and inventory on one screen, and the Ads specialist connects Google Ads and Meta read only with live spend and ROAS, so the numbers stay current without a spreadsheet.

Explore the Ecommerce specialist Explore the Ads specialist

Guides that go deeper

More free tools