Calculating… Updated 28 June 2026
In this article

    LTV (Lifetime Value), which many people also know as CLV or customer lifetime value, is probably the metric that shapes the most growth decisions and the one most brands find hardest to calculate. It tells you what a customer is really worth over the course of their relationship with you, and therefore how much you can afford to pay to acquire them. Without a well-calculated LTV, setting your acquisition budget is flying blind.

    The problem is that almost everyone calculates it on revenue, and that way the number comes out inflated and misleads you. In this guide you will see the full calculation flow step by step, with the formula, a worked example with real numbers, and the nuance that changes everything: calculating it in margin, not in revenue.

    What LTV is (and what it is not)

    LTV is the total value a customer generates for your brand across their whole life as a customer, not in a single purchase. It is a long-term view, as opposed to the ticket of one order, which is a snapshot.

    Two common confusions worth clearing up from the start.

    The first: LTV is not a customer's annual value, it is their value across their whole life, which usually spans several years.

    The second: real LTV is measured in profit, not revenue. A customer who buys €400 from you at a 20% margin is not worth the same as one who buys €400 at a 60% margin, even if in revenue they are identical. Calculating LTV on gross sales is the same mistake as looking at ROAS instead of POAS: it gives you a big, pretty number that does not translate into cash.

    Why LTV matters

    Because it is the metric that decides how much you can invest in acquiring a new customer without losing money. Without a clear LTV, you set your acquisition budget blind, and you end up putting an arbitrary ceiling on your CAC. But there is something deeper. LTV shifts the focus: you stop looking at the single sale and start looking at the whole relationship with the customer, which is where the real profit of an ecommerce lies. A brand that knows its LTV can acquire more aggressively than a competitor who only looks at the first purchase, and grow exactly where the other one stalls.

    What is the LTV formula?

    The historical calculation, which is the starting point for any ecommerce, is built from four pieces: average order value, purchase frequency, customer lifespan and margin. This is the order.

    1. Define the period and gather the data. Choose a representative window (usually 12 months) and gather the total revenue, number of orders, number of unique customers, returns and your contribution margin, all from the same period. That window is not the customer's lifespan, it is only the period from which you measure their annual purchase rate and their churn. The full lifespan is added in step 4, when you estimate how many years the customer stays.
    2. Calculate the average order value (AOV). It is what a customer spends per order. The formula: AOV = total revenue / number of orders.
    3. Calculate the purchase frequency. How many times a customer buys in the period. The formula: frequency = number of orders / number of unique customers.
    4. Estimate the customer lifespan. How long, on average, a customer keeps buying from you. The simplest way is from the annual churn rate: customer lifespan = 1 / churn. If your annual churn is 40%, the average lifespan is 2.5 years. If you have enough history, you can measure directly the observed time between the first and last purchase. This is the step that turns the annual rate you have just measured into the customer's whole-life value.
    5. Apply the contribution margin. This is the key. Multiply by your margin to move from revenue to profit. The full formula: LTV = AOV × frequency × customer lifespan × contribution margin.
    6. Subtract the CAC and compare. LTV only makes sense against what it costs you to acquire a customer (CAC). The LTV:CAC ratio is what tells you whether your acquisition model is sustainable.
    7. Segment. A single global LTV hides almost everything. Calculate it by cohort, by acquisition channel and by product family, because that is where the real decisions appear.

    *How to get the churn. In a one-off-purchase ecommerce, churn is not given to you, you have to define it. The key is to decide a window: how long without buying you consider a customer lost (for example, 12 months, depending on your repurchase cycle). From there, churn = 1 − retention rate. You get the data from Shopify's customer cohort analysis report (in Analytics), which groups your customers by month of first purchase and gives you retention over time. Subtracting from 100 gives you the churn. If you sell by subscription it is more direct, because the cancellation is explicit and your subscription app gives it to you.

    A worked example

    Let us see it with an example store, over a 12-month window.

    • Revenue: €500,000
    • Orders: 5,000
    • Unique customers: 3,000
    • Annual churn: 40%
    • Contribution margin: 60%
    • CAC: €80

    Step by step. The average order value is 500,000 / 5,000 = €100. The purchase frequency is 5,000 / 3,000 = 1.67 orders per customer per year. The customer lifespan is 1 / 0.40 = 2.5 years.

    With that, the LTV in revenue would be 100 × 1.67 × 2.5 = €417.5. And here comes the nuance: applying the 60% margin, the real LTV in profit is 417.5 × 0.60 = €250.5.

    The difference is not small. If you compare the LTV in revenue (€417.5) with the CAC (€80), you get a ratio of 5.2 to 1 and think you are well clear. But the honest number is the margin one, €250.5 against €80, a ratio of 3.1 to 1. Still healthy, but half of what it appeared. Making investment decisions with the first number is the fastest way to scale losses.

    Item How it is obtained Result
    Starting data (12 months)
    RevenueFrom your store€500,000
    OrdersFrom your store5,000
    Unique customersFrom your store3,000
    Annual churnFrom your store40%
    Contribution marginFrom your store60%
    CACFrom your store€80
    LTV calculation
    Average order value (AOV)Revenue / orders€100
    Purchase frequencyOrders / unique customers1.67 per year
    Customer lifespan1 / churn2.5 years
    LTV in revenueAOV × frequency × lifespan€417.5
    LTV in marginLTV in revenue × margin€250.5
    LTV:CAC in revenue417.5 / 805.2 : 1
    LTV:CAC in margin250.5 / 803.1 : 1

    LTV in margin, not in revenue

    It is the same philosophy with which we measure everything at our agency: what matters is profit, not the sales figure. An LTV calculated on revenue leads you to overestimate how much you can pay for a customer, to accept a CAC that is too high, and to believe an acquisition is profitable when it is actually eating into your cash.

    Calculating it on contribution margin, subtracting product cost, shipping and returns, gives you the figure you can really decide with. It is not an accounting detail, it is the difference between growth that funds your business and growth that consumes it.

    LTV in revenue vs LTV in margin, against CAC

    Same customers, two ways to measure. The margin one is the real figure.

    €0 €100 €200 €300 €400 LTV in revenue: €417.5 €417.5 LTV in margin: €250.5 €250.5 CAC €80 LTV in revenue 5.2 : 1 against CAC LTV in margin 3.1 : 1 against CAC
    LTV in margin (the real one) LTV in revenue (inflates) CAC

    The same customer is worth €417.5 if you look at it in revenue, but only €250.5 in margin, which is what actually reaches the bank. That is why the ratio against CAC is not 5.2 to 1, it is 3.1 to 1. Deciding your investment with the revenue number is the fastest way to scale losses.

    What LTV is for

    Calculating LTV is not a theoretical exercise, it serves one very concrete purpose: knowing how much you can invest to acquire. The most-used reference is an LTV:CAC ratio of 3 to 1. Below that, you are paying too much to acquire. Far above it, you are probably underinvesting and leaving growth on the table.

    This connects directly with how much you spend on advertising. A brand with a high LTV can afford a higher CAC on the first purchase, because it recovers the margin on the following ones, and can acquire more aggressively than a single-purchase one. It is exactly the logic we apply when deciding how much to spend on Meta Ads. And since LTV is built through repeat purchase and retention, all the work of email and loyalty is, at bottom, LTV work.

    Tips to increase LTV

    LTV rises through three levers, and it pays to work them at the same time: raise the average order value, increase the purchase frequency, and extend the customer lifespan. To that add a fourth, protect the margin, because the LTV that counts is the profit one.

    • Raise the average order value (AOV). With cross-selling, up-selling, bundles and a well-calculated free-shipping threshold, each order comes to be worth more.
    • Increase the purchase frequency. Here the email flows lead, such as the welcome, post-purchase or replenishment, alongside a loyalty programme or subscription for recurring-consumption products.
    • Extend the customer lifespan. A good post-purchase experience, responsive support and the reactivation flows reduce churn and delay the moment the customer stops buying from you.
    • Protect the margin. Depending less on permanent discounting, and improving margin per product, raises real LTV without selling a single extra unit.

    The powerful part is that none of these levers needs more acquisition investment. They work on customers you already have, so they raise LTV and, along the way, your overall profitability.

    Methods: historical, cohort and predictive

    The calculation in the steps above is the historical method, and it is the best starting point. But there are three levels depending on the maturity of your data.

    The historical uses the averages of a period, as in the example. It is simple, quick and enough to start making decisions, though it looks to the past and assumes the future will resemble it.

    The cohort groups customers by the month they made their first purchase and follows their real behaviour over time. It is considerably more reliable, because it captures how each cohort genuinely evolves and reveals whether retention improves or worsens over time. It is the one we recommend as soon as you have enough history.

    The predictive uses probabilistic models to estimate each customer's future value from their behaviour. It is the most powerful and the most demanding in data and tools, and makes sense when the volume and analytical maturity justify it.

    Common mistakes when calculating LTV

    • Calculating it on revenue instead of margin, which inflates the number and leads to overpaying to acquire.
    • Confusing the annual value with the LTV, which spans the customer's whole life.
    • Not subtracting returns or the real costs of serving the order.
    • Using an arbitrary or too-long customer lifespan, which inflates the result with no basis.
    • Stopping at a single global LTV, when the average hides enormous differences by channel, cohort and product.
    • Calculating it once and forgetting it, instead of reviewing it regularly as retention evolves.

    Frequently asked questions

    Are LTV and CLV the same? Yes, they are the same metric. LTV (Lifetime Value), CLV (Customer Lifetime Value) and sometimes CLTV are different names for the same thing: the value a customer generates across their whole relationship with the brand. Neither the concept nor the calculation changes, only the name each person uses.

    What is the formula to calculate an ecommerce's LTV? The historical formula is LTV = average order value (AOV) × purchase frequency × customer lifespan × contribution margin. The AOV is revenue divided by orders, the frequency is orders divided by unique customers, and the customer lifespan is estimated as 1 divided by the churn rate.

    Is LTV calculated on revenue or on profit? On profit. Calculating it on revenue inflates the number and leads you to overestimate how much you can pay to acquire a customer. You have to apply the contribution margin to get the figure to decide with.

    What LTV:CAC ratio is healthy? The usual reference is 3 to 1. Below that, you are paying too much to acquire. Far above it, you may be underinvesting and leaving growth uncaptured. It is a reference, not a law, and it depends on your model and your margins.

    How do I estimate a customer's average lifespan? The simplest way is 1 divided by your annual churn rate. With a churn of 25%, the average lifespan is 4 years. If you have enough history, you can measure directly the observed time between your customers' first and last purchase.

    How often should I recalculate LTV? Regularly, because it changes as your retention, your margin and your product mix evolve. Reviewing it just once and taking the number as good forever is one of the most common mistakes.

    Does email marketing affect LTV? A great deal. LTV is built through repeat purchase and loyalty, which is exactly the work of the email flows and retention. Raising the purchase frequency and extending the customer lifespan lifts LTV with no additional acquisition cost.

    If you want to know what a customer is really worth in your ecommerce and how much you can invest to acquire them without losing money, we will calculate it with you. At STRAT we analyse your LTV in margin, by cohort and by channel, and cross it with your CAC to set the real investment ceiling for a paid media strategy measured in profit, not in the platform's gross ROAS.

    Jaime Muñoz-Seca, Paid Media Manager at STRAT
    Written by

    Jaime Muñoz-Seca

    Paid Media Manager at STRAT

    Over six years scaling online stores through daily hand-to-hand combat with ad managers. He survived Apple's iOS privacy changes and the weekly chaos out of Meta, and learned that magic formulas do not work here: only data, continuous testing and common sense.

    Connect on LinkedIn