LTV calculation: customer lifetime value formula and calculator

LTV calculation for customer lifetime value works like this: average order value × orders per year × years as a customer × contribution margin ratio. A customer with an $80 average order, 2.5 orders a year and 3 years of loyalty brings $600 in revenue. At a 40% contribution margin, that is an LTV of $240. This number sets the ceiling for what you can pay to win a new customer.

Row of five shipping boxes symbolizing a customer's repeat orders over time

Customer lifetime value calculator

Enter order value, purchase frequency, lifespan and contribution margin. The calculator shows LTV on revenue and on contribution margin, plus the most you should spend to acquire one customer. The starting values fit an online store with repeat buyers.

LTV calculator

Find out what a customer is really worth to you

LTV on contribution margin$240what you earn from one customer
LTV on revenue$600revenue over the relationship
  1. Orders per customer7.5
  2. Maximum acquisition cost (LTV ÷ 3)$80

A customer brings you $240 in contribution margin over 7.5 orders. You can spend up to $80 to win one.

LTV formula with a worked example

The simple formula multiplies four numbers you can pull from your store backend:

LTV = average order value × orders per year × years as a customer × contribution margin ratioDrop the last factor and you get LTV on revenue.
StepCalculationResult
Orders per customer2.5 × 3 years7.5
LTV on revenue$80 × 7.5$600
LTV on contribution margin$600 × 40%$240
Maximum acquisition cost$240 ÷ 3$80

Calculate on contribution margin. Many LTV calculators stop at revenue. $600 looks like plenty of room for ad spend, but you only earn $240 of it. Plan your budget on the revenue figure and you pay for customers who never earn back their cost.

Contribution margin means revenue minus every cost that comes with an order: product, shipping, payment fees and returns. Pull those costs from your store and accounting data, then divide what is left by revenue.

Three ways to calculate LTV

Which method fits depends on your data. With the starting values, all three land close together.

MethodFormulaResult in the example
SimpleAnnual contribution margin × years$80 × 3 = $240
Churn-basedAnnual contribution margin ÷ annual churn rate$80 ÷ 33.3% = $240
Net present valueSum of annual contribution margins, discounted by (1 + rate)^yearat 8%: $206

Annual contribution margin in the example is $80 × 2.5 × 40% = $80. If your store loses a third of its customers every year, the average customer stays three years. The NPV method accounts for the fact that a dollar in three years is worth less than a dollar today: $74.07 + $68.59 + $63.51 = $206. Use it when relationships run long or capital is expensive.

SaaS guides calculate LTV from monthly revenue per account, gross margin and monthly churn. Online stores have no subscriptions to cancel. Customers stop ordering, so frequency and lifespan from your order history replace the churn rate.

LTV from cohorts in your store backend

Store-wide averages mix loyal regulars with one-time buyers. Your LTV gets sharper when you group customers by the month of their first order.

  1. 01

    Build the cohort

    Take every customer who placed a first order in one month, for example January 2025.

  2. 02

    Track revenue

    Add up the revenue of those customers after returns at 3, 6, 12 and 24 months.

  3. 03

    Divide per customer

    Divide each total by the number of customers in the cohort.

  4. 04

    Apply your margin

    Multiply by your contribution margin ratio. That is your LTV at 3, 6, 12 and 24 months.

Compare the curves of several cohorts. If the 12-month value rises for younger cohorts, your retention work is paying off. If it falls, your ads are bringing in customers who come back less often.

Shopify, BigCommerce and most other platforms export orders with customer ID and date. A pivot table with first-order month in the rows and months since first purchase in the columns is enough to start. Filter out canceled and refunded orders first.

How much a new customer may cost

LTV on contribution margin is the ceiling for your acquisition cost. A common rule of thumb is a 3 to 1 ratio: a customer should bring three times the contribution margin their acquisition cost. The rest covers fixed costs and profit. The LTV CAC calculator adds payback time to that check.

In the example you can spend up to $80 per new customer. The first order only brings $80 × 40% = $32 in contribution margin, so you front $48 and recover it through later orders. At 2.5 orders a year, each customer brings $6.67 a month, and the $80 is back after 12 months.

What a new customer costs you today is on the CAC cost page. What $80 in acquisition cost means for the first order shows up in the ROAS formula: an $80 order bought with $80 of ad spend is a ROAS of 1.0 on revenue you keep.

Four mistakes that distort LTV

  1. Revenue instead of contribution margin. A $600 revenue LTV invites acquisition costs that a $240 margin LTV never pays back.
  2. Returns in the order value. Use revenue after returns. Otherwise you count orders that came back.
  3. Lifespan guessed instead of measured. A store that has sold for two years has no five-year customers yet. Use your oldest cohorts and extrapolate with care.
  4. One average for every channel. Customers from brand search and customers from discount campaigns reorder at different rates. Split LTV by acquisition channel before you move budget.

The last point decides your ad budget. If one channel brings customers worth $150 and another brings customers worth $300, you can pay twice as much per customer in the second.

Increase LTV: four levers compared

The formula multiplies four factors, so a 10% gain in any one of them raises LTV by 10%. The question is which lever costs you least.

LeverChangeLTV on contribution margin
Baseline$240
Order value$80 → $88 (bundles, cross-sells)$264
Purchase frequency2.5 → 2.75 a year (replenishment emails)$264
Lifespan3 → 3.3 years (winback, loyalty)$264
Contribution margin40% → 44% (fewer discounts, fewer returns)$264
All four together+10% each$351

Four small steps compound to 46% more LTV. You raise frequency and lifespan through email, WhatsApp and winback flows without extra ad spend. How that setup works, and what drives the cost of customer retention, is on our retention page.

LTV calculation FAQ

What is customer lifetime value?

Customer lifetime value is what a customer is worth to your business over the whole relationship. For online stores, measure it as the contribution margin of all the orders a customer places.

How do you calculate LTV?

Multiply average order value, orders per year, years as a customer and contribution margin ratio. $80 × 2.5 × 3 × 40% gives an LTV of $240.

Is LTV the same as CLV?

Yes. LTV (lifetime value) and CLV (customer lifetime value) name the same metric. SaaS companies tend to say LTV, retailers CLV. In mortgage lending, LTV means loan-to-value, a different number.

Should LTV be based on revenue or margin?

On contribution margin. Only contribution margin is available for ads, fixed costs and profit. Revenue-based LTV overstates how much you can spend to acquire a customer.

How much can I spend to acquire a customer?

A common guideline is one third of LTV on contribution margin. With an LTV of $240 that is $80. Also check how many months it takes to earn that cost back.

How can I increase customer lifetime value?

Raise order value, orders per year, customer lifespan or contribution margin. Each factor moves LTV one to one, and gains in several factors compound.

What is a customer really worth to you?

On the intro call, Tobias calculates your LTV from the cohorts in your store and shows you how much you can spend on new customers. 5 quick questions, then book straight with Tobias.

Book your free intro call→