Skip to content
Brand Captain

What is customer lifetime value (LTV) in ecommerce?

Customer lifetime value (LTV or CLV) is how much a customer is worth to your store over the whole relationship. The basic formula is average order value x orders per year x years they keep buying: $50 x 3 x 2 = $300.

Updated October 26, 2026 2 min read 2 sources

A tea shop owner packing a repeat customer's order into a kraft box with a handwritten card and tea tins
  • Compare CAC to margin-based LTV: at a 60% margin, $300 of revenue LTV is $180.
  • LTV says what a customer is worth eventually; payback months say when the cash comes back.
  • Until you have the data, use a short lifespan of 1 or 2 years.
  • Klaviyo predicts CLV once you have 500 or more customers who have ordered.

How do you calculate LTV for an online store?

Multiply your average order value by how many times a customer orders in a year and by how many years they keep ordering. Shopify gives that as the basic formula and lists three other versions for different jobs.

LTV formulas and when to use each (from Shopify's customer lifetime value guide)
VersionFormulaUse it when
Basic (revenue)Average order value x purchase frequency x average lifespanYou want a quick revenue number per customer
Margin-adjustedBasic LTV x gross marginYou are comparing LTV to CAC or setting ad budgets
Subscription(Monthly recurring revenue per customer x gross margin) / monthly churn rateCustomers are on a monthly plan
Discounted(m x r) / (1 + d - r): m = gross profit per period, r = retention rate, d = discount rateYou want future profit valued in today's dollars

What does margin-based LTV look like in an example?

Shopify's clothing store example has a $50 average order, 3 orders a year and a 2-year lifespan, so revenue LTV is $50 x 3 x 2 = $300. At a 60% gross margin, margin-based LTV is $300 x 0.60 = $180.

Say that store pays $60 to win a customer. Against revenue LTV the ratio looks like 5:1. Against margin LTV it is $180 / $60 = 3:1, and the margin number is the one that pays for the ads. Each order leaves $30 in gross profit, so the first order covers half the $60 and the second order, about four months later at 3 orders a year, covers the rest. Put your own numbers into the CAC and LTV calculator to see the ratio and payback months.

$300Revenue LTV$50 x 3 orders a year x 2 years
$180Margin-based LTVAt a 60% gross margin
3:1Margin LTV to a $60 CAC5:1 if you use revenue LTV
2 ordersTo earn back the $60$30 gross profit per order

Where do the AOV, order frequency and lifespan figures come from?

Average order value and purchase frequency come straight from your order history. Lifespan is the hard one, because a young store has not seen customers stop buying yet.

Email platforms can estimate it for you. Klaviyo predicts each customer's spend over a prediction period that is 1 year by default, and adds it to their past orders for a total CLV. It only shows predictions once you have at least 500 customers who have ordered, 180 days of order history with orders in the last 30 days, and some customers with 3 or more orders.

  1. 1

    Average order value

    Total revenue divided by orders.

  2. 2

    Purchase frequency

    Orders divided by unique customers over a year.

  3. 3

    Lifespan

    Use a short, honest number like 1 or 2 years until you have the data.

What mistakes do people make with LTV?

The common ones all make LTV look bigger than the cash it brings in. Check each before you set a budget from LTV.

0 of 4 done

Work with Brand Captain

Want Brand Captain to run this for you?

One team in Utah runs your Meta, Google and TikTok ads, makes the creative, and builds the landing pages and emails behind them. Sized for brands doing $10k or more a month. 90-day minimum, then month to month.

Questions

Is LTV the same as CLV?

Yes. LTV, CLV and CLTV all mean customer lifetime value, what a customer is worth to a business over the whole relationship.

Should LTV use revenue or profit?

Use profit when you compare it to CAC or set ad budgets. Multiply revenue LTV by your gross margin, so a $300 revenue LTV at a 60% margin is a $180 margin LTV.

What is a good LTV to CAC ratio?

Shopify calls 3:1 the benchmark and says the right target depends on your margins and operating costs. Work the ratio on margin-based LTV so it reflects the profit that pays for acquisition.

How do you calculate LTV for a subscription product?

Multiply monthly recurring revenue per customer by gross margin, then divide by monthly churn. A $40 a month plan at a 60% margin with 8% monthly churn is $40 x 0.60 / 0.08 = $300.