Ecommerce LTV calculation multiplies your average order value by how often a customer buys, by how long they stay, and — the step most guides skip — by your margin. In short: LTV = AOV × purchase frequency × customer lifespan × margin ratio. The revenue version tells you the top line; the margin version tells you what a customer is actually worth. Use the margin version, because that is the number you compare against acquisition cost to decide whether your ads make money.

What ecommerce LTV really measures

Customer lifetime value (LTV, sometimes CLV) is the total value one customer generates across their whole relationship with your store. It answers a single decision: how much can you afford to spend to acquire them?

Most ranking guides stop at revenue. They multiply order value by frequency by lifespan and call it done. That number is real, but it is not spendable — you cannot pay for ads with revenue you never keep.

The fix is one extra term: margin. An LTV built on profit ties directly to your ad budget, your payback window, and whether the business survives. This guide walks the full calculation on one consistent store so the math ties together end to end.

The ecommerce LTV formula

There are two versions, and the gap between them is where most stores fool themselves.

Revenue-basis LTV

The revenue formula is the one you have seen everywhere:

LTV (revenue) = AOV × purchase frequency × customer lifespan

  • AOV = total revenue ÷ total orders
  • Purchase frequency = orders per year ÷ customers per year
  • Customer lifespan = average number of years a customer keeps buying

This is fine for sizing your top line. It is dangerous the moment you compare it to a cost, because acquisition costs are paid in real dollars while this LTV is inflated by every dollar of product cost, shipping, and fees.

Margin-basis LTV (use this one)

Add your margin ratio and the number becomes honest:

LTV (margin) = AOV × purchase frequency × customer lifespan × margin ratio

That final multiplier collapses revenue down to the profit you actually keep per customer. It is the version you should carry into every downstream decision, and it is the version the better sources lead with — Yotpo's customer lifetime value formula includes profit margin as a core term, not a footnote.

A worked example: walk the real numbers

Say you run a print-on-demand apparel store. Here are its per-order economics for one average order:

Line Amount
Revenue (AOV) $40.00
− Product cost (blank + print) −$16.00
= Gross profit $24.00
Gross margin ratio 60%

Now the customer's buying pattern: they place about 1.6 orders per year and stay with you for roughly 2 years before going quiet.

Revenue-basis LTV: $40 × 1.6 × 2 = $128.00 per customer.

Margin-basis LTV: $40 × 1.6 × 2 × 0.60 = $76.80 per customer.

Same customer, two very different numbers. The $128 figure is what a revenue-only guide would hand you; the $76.80 is what you can actually spend against. Confusing the two overstates a customer's worth by about 1.7×, and that error compounds every time you set an ad budget.

If you want to tighten the margin term itself, the difference between marking up over cost and calculating margin over price trips up a lot of sellers — our guide on margin vs markup shows why a 150% markup and a 60% margin describe the very same $40 shirt.

LTV to CAC: the ratio that sets your ad budget

LTV on its own is trivia. Paired with what you pay to acquire a customer — your CAC — it becomes the single most useful number in ecommerce.

Customer acquisition cost is your sales and marketing spend divided by new customers acquired. Say you spent $12,500 last month (ads plus tools and a freelancer) and gained 800 new customers: CAC = $12,500 ÷ 800 = $15.63.

The ratio then writes itself:

LTV:CAC = $76.80 ÷ $15.63 = 4.9:1

That means every dollar spent acquiring a customer returns roughly $4.90 in lifetime margin. A ratio around three-to-one is the widely cited health benchmark, per the Corporate Finance Institute's breakdown of the LTV/CAC ratio; below one-to-one you lose money on every acquisition, and far above five-to-one can signal you are under-investing in growth.

Notice the trap: if you had run this on revenue LTV ($128), the ratio would read 8.2:1 and you would feel free to bid far more aggressively than the profit actually supports. Same store, same customers, a wildly different decision — driven entirely by which LTV you plugged in.

Predictive LTV: deriving lifespan from churn

The "2 years lifespan" above is fine to start, but you can derive it instead of guessing. Customer lifespan is approximately 1 ÷ churn rate.

If 8% of your customers lapse each year, lifespan ≈ 1 ÷ 0.08 = 12.5 periods — far longer than a flat two-year estimate, and a reminder that small retention gains stretch LTV hard. That leverage is not marginal: Harvard Business Review notes that acquiring a new customer can cost five to twenty-five times more than retaining an existing one, and cites Bain research that lifting retention by five percent raises profits by twenty-five to ninety-five percent.

Because lifespan sits inside the LTV formula, cutting churn does double duty: it lengthens the lifespan term and lifts the whole result without touching AOV or CAC. To find which customers are slipping before they churn, segmenting your base with RFM analysis — scoring each buyer on recency, frequency, and spend — beats acting on a single blended average.

Common mistakes in ecommerce LTV calculation

Averaging away your whales. A single "$76.80 LTV" can hide a bimodal base: hundreds of one-and-done buyers plus a handful of superfans worth ten times that. Segment before you act on the mean.

Ignoring returns and refunds. LTV built on day-one revenue misses refunds booked weeks later. Net them out before you trust the number, especially in apparel where return rates run high.

Mixing revenue and profit across a ratio. The classic error is a revenue-basis LTV divided by a real-dollar CAC. Keep both sides of any ratio on the same basis — profit against profit — or the answer is fiction.

Treating LTV as static. Your margin, frequency, and churn all move. Recompute quarterly, not once. LTV is a live gauge, not a plaque on the wall.

For the wider set of formulas that feed and surround this one — CAC, contribution margin, payback period — our ecommerce metrics guide defines each one against this same example store so the numbers stay comparable.

Where the margin number actually comes from

Here is the quiet problem with every LTV calculation above: the margin ratio is only as honest as your cost data. If you do not know your true per-order profit — after the ad spend that actually drove that order, the payment fees, the shipping, the app costs — your LTV is a guess dressed up as a formula.

That is the gap PodVector is built to close. It connects Shopify, Meta Ads, Google Ads, Printify, and Printful, then computes true per-order profit — the real margin ratio your LTV depends on. Victor, its AI operator, analyzes that live data and proposes moves you approve; he reads your ad data to find where margin leaks but does not touch your ad account, executing approved changes on the Shopify side instead. PodVector is not a dashboard you have to interpret — it hands you the margin number and the reason behind it.

Before you scale spend against your LTV, it is worth checking whether your acquisition ads are still working or just fatiguing — our ad frequency calculator shows when rising frequency is quietly inflating the CAC side of your ratio.

FAQs

What is a good LTV for an ecommerce store?

There is no universal dollar figure — a $76.80 margin LTV is strong for a low-priced apparel store and weak for high-end electronics. The number that matters is the ratio, not the raw LTV. Aim for lifetime margin comfortably above acquisition cost; the commonly cited target is roughly three dollars of LTV for every dollar of CAC.

Should I calculate LTV on revenue or profit?

Profit, almost always. Revenue-basis LTV is fine for forecasting your top line, but any decision that compares LTV to a cost — ad budgets, CAC targets, payback windows — must use margin-basis LTV, or you will systematically overspend. The two can differ by well over 1.5× for the same customer.

How is LTV different from AOV?

AOV is the value of a single order; LTV is the value of the entire relationship. LTV equals AOV only if every customer buys exactly once. Raising your repeat-purchase rate lifts LTV without changing AOV at all, which is why retention work shows up in LTV before it shows up anywhere else.

How do I find customer lifespan for the formula?

Two ways. Historically, average the time between each customer's first and last order across your base. Predictively, estimate it as 1 ÷ churn rate — so an 8% annual churn implies a lifespan of about 12.5 years' worth of buying activity. The predictive method is more useful because it responds immediately when your retention improves.

Does LTV include acquisition cost?

No. LTV measures the value a customer generates; CAC measures what you spent to get them. They are separate figures you deliberately compare as a ratio. Subtracting CAC from LTV gives net lifetime profit per customer, another useful view, but keep the two numbers distinct so you can see each lever on its own.