Skip to content

Customer lifetime value: how to calculate it and use it to decide how much to invest in advertising

Gaetano Tantimonaco17 min read

Overhead photo on a terracotta orange background: on the left a single cup with its receipt, on the right neat rows of aqua cups alternating with ever-taller stacks of coins

IN SHORT

Customer lifetime value is the margin a customer leaves the business over the whole relationship, not the revenue from the first order. You calculate it from average order value, purchase frequency, duration and gross margin, ideally over a 12- or 24-month horizon. The average says little: read it by channel and by cohort. Divided by acquisition cost it gives the CLV/CAC ratio which, together with the payback period, sets the maximum cost per customer and therefore the campaign targets.

Topic of our service Analytics & Data · industry E-commerce & B2C

An online cosmetics shop looks at its end-of-month report. Meta brings in new customers at 38 euros each, the average first order is 45 euros and, after the cost of the products and shipping, 20 euros are left. At first glance every new customer costs almost twice what they bring in. The owner suggests halving the budget. Then someone opens the order management system and finds that half of those customers have already placed a second order within three months, without anyone paying for another click.

The short answer: customer lifetime value (CLV, or LTV) is the margin a customer leaves the business over the whole relationship, not the revenue from the first purchase. You calculate it from four numbers: average order value, orders per year, length of the relationship and gross margin. To decide how much to invest in advertising, it’s best to stop at a 12- or 24-month horizon and read it by channel and by month of acquisition, because the average hides the differences. Compared with customer acquisition cost (CAC) it becomes a ceiling: how much you can pay for a new customer without losing money, and in how many months you get it back.

Here we talk about how to turn CLV into a budget. On how to read the platforms’ ROAS and break-even ROAS there’s my guide, why ROAS can mislead you; on overall return on investment there’s the article on digital marketing ROI.

What is customer lifetime value, in practice?

It’s an estimate of what a customer is worth from the day you acquire them to the day they stop buying. For anyone running ads it answers one question: how much can I spend on a new customer? Three distinctions avoid almost every misunderstanding.

Revenue or margin. To decide an advertising budget you need margin, not revenue: what’s left after product, shipping, returns and fees. A customer who spends 600 euros at a 15% margin is worth less than one who spends 300 at a 50% margin.

Historical or predicted. Historical CLV adds up what customers have already spent; predicted CLV estimates what they will spend. The first is more reliable but arrives late; the second is for deciding today and has to be checked against real data.

Lifetime or fixed horizon. For advertising a fixed horizon is more prudent: 12, 24 or at most 36 months. Today’s spend only comes back as customers buy again, and the longer the period, the more uncertain the estimate.

How do you calculate customer lifetime value?

The simplest formula, which is enough for most SMEs, is this:

CLV = average order value × orders per year × years of relationship × gross margin %

If you don’t know how long a customer stays on average, you can derive it from the annual churn rate, the share of customers who stop buying in a year: average duration is roughly 1 divided by that rate. With 50% churn a year, a customer stays two years on average; with 20%, five years. It’s an approximation, to be replaced with real data as soon as you have it.

A B2C example

Let’s go back to the cosmetics shop from the opening. The numbers are made up for the sake of example.

Item Value
Average order value €45
Orders per customer per year 2.4
Gross margin (after product, shipping, returns, fees) 45%
Annual churn rate 50%
Estimated average duration 2 years (1 / 0.50)

Annual margin per customer: 45 × 2.4 × 0.45 = about 49 euros. Over two years, CLV is about 97 euros: the 38-euro customer who looked like a loss brings in two and a half times what they cost.

A B2B example

A company selling maintenance contracts for industrial plants. Here too the numbers are made up for the sake of example.

Item Value
Average annual contract value €6,000
Gross margin on the contract 35%
Annual margin per customer €2,100
Customers who don’t renew each year 20%
Estimated average duration 5 years
Extra work and expansions, average annual margin €300
5-year CLV (2,100 + 300) × 5 = €12,000

In B2B customers are few and the average should be handled with care: with thirty customers, two large contracts skew everything. It’s better to calculate it by segment (size, industry) and keep exceptional cases apart.

Which horizon to choose

In practice we use three numbers, not one:

  • 12-month CLV, for campaign targets: it’s the closest to real data.
  • 24- or 36-month CLV, for the annual budget, if you have the cash to wait.
  • First-order margin, the part of CLV you collect straight away.

If the three-year estimate is uncertain, count the years after the first with a stated discount, for example year two at 80%.

Why isn’t average CLV enough?

Because customers acquired in different ways behave differently. An average CLV of 97 euros can hide customers worth 150 and customers worth 45: if you pay the same for all of them, you fund the second group with the margin of the first.

You need two views: by channel and by cohort. A cohort is the group of customers acquired in the same month, whose margin you follow after 3, 6 and 12 months.

CLV by acquisition channel

This is what the cosmetics shop’s table might look like for customers acquired in the first quarter, split by the channel of their first order. The numbers are made up for the sake of example.

First-order channel New customers CAC Cumulative margin at 3 months at 6 months at 12 months 12-month CLV / CAC
Google, non-brand search 420 €31 €26 €38 €58 1.9
Google Shopping 610 €24 €22 €30 €44 1.8
Meta, prospecting 880 €38 €23 €37 €61 1.6
Meta, 30% off the first order 540 €19 €12 €15 €17 0.9
Newsletter with referral code 150 €8 €25 €41 €66 8.3

The channel with the lowest CAC, the 30%-off promo, brings in the customers who are worth least: they buy when there’s a discount and then disappear. Meta prospecting has a high CAC but the customers come back. Looking only at acquisition cost, you’d have moved budget the wrong way.

CLV by cohort

The same table, read by month of acquisition, tells you whether things are getting better or worse. If March’s customers are worth less at six months than January’s, something has changed: the campaign audience, the entry product, customer service. It’s a signal that arrives before revenue drops. Cohorts can also be split by first product, by promotion used or, in B2B, by industry and entry service.

Where to find the data

Start from the orders in your order management system or e-commerce platform, with customer ID, date, amount and margin. The acquisition channel has to be attached to the first order or to the contact in the CRM, with UTMs and click identifiers kept all the way through. If those fields are empty or inconsistent, before CLV it’s worth checking the data from click to sale.

Google Analytics 4 helps, with some limits. In explorations there’s the User lifetime technique, which shows the value over time of users split by source, medium or campaign of first acquisition. But GA4 recognises people through cookies and logins, so it loses people who switch device, refuse consent or buy again in store or by phone. The reference remains your order system; GA4 is for a quick comparison between channels. How to set up the basic reports is in our guide to GA4.

What is the CLV/CAC ratio and what’s a good value?

It’s CLV divided by the cost of acquiring a customer. It tells you how many euros of margin come back for every euro spent bringing in a new customer.

CAC should be defined in writing, because there are two versions:

  • Advertising CAC: campaign spend divided by new customers in the period. It’s for comparing channels and setting targets in the platforms.
  • Fully loaded CAC: campaign spend plus agency costs, tools, marketing staff and, in B2B, a share of sales time. It’s for understanding whether the model holds up.

In both cases only new customers count.

A 3 to 1 ratio is the most quoted rule of thumb. It isn’t a law: it depends on the CLV horizon, margins, available cash and how reliable the estimate is. This is how we read it, with 12-month CLV on margin and advertising CAC.

12-month CLV / CAC ratio What it means What to do
Below 1 The customer doesn’t pay back the advertising even in a year Review targeting, entry offer and channels before spending more
Between 1 and 2 It pays back, with little margin for other costs Hold the budget, work on repeat purchases and audience quality
Between 2 and 4 Healthy zone for most SMEs You can increase spend while watching marginal CAC
Above 4 or 5 Either you’re spending too little or the estimate is optimistic Check the CLV and try increasing the budget in steps

The second number to look at alongside the ratio is the payback period: how many months it takes for the customer’s cumulative margin to cover their CAC. In the channel table, the 38-euro Meta prospecting customer pays back between the sixth and twelfth month, the Google non-brand search customer between the third and sixth. At the same ratio, a business with little cash prefers the second.

How do you use CLV to decide how much to spend on advertising?

Our process has four steps.

1. Set the maximum CAC

Maximum CAC is the cost above which a new customer no longer pays off. You derive it from CLV and the ratio you want to keep:

Maximum CAC = CLV at the chosen horizon / target CLV/CAC ratio

For the cosmetics shop, with an average 12-month CLV of about 49 euros and a target ratio of 2, maximum CAC is about 25 euros. With the 24-month CLV, about 97 euros, and a ratio of 3, it would be about 32 euros. The choice between the two depends on cash: how many months you can wait to get back the money spent.

2. Translate it into platform targets

Campaigns optimise on cost per conversion or on ROAS, not on CAC.

  • Target CPA: if the conversion is a new customer’s first purchase, target CPA is the maximum CAC.
  • Target ROAS on the first order: average first-order value divided by maximum CAC. With a 45-euro first order and a maximum CAC of 25, target ROAS is 1.8.

This is the scary part: 1.8 is below the first order’s break-even ROAS, which at a 45% margin is 2.2. And that’s exactly the point of CLV: you accept going below break-even on the first order because you know, with data in hand, that the customer comes back. If you don’t know that, don’t do it. For everything else, when you’re not acquiring new customers, the reference remains the break-even ROAS explained in the ROAS guide mentioned at the start.

3. Split the budget across channels

Maximum CAC is applied channel by channel, using that channel’s CLV. A channel that brings in customers worth 61 euros at 12 months can carry a higher CAC than one that brings them in at 17 euros, even if the second costs less.

When you increase the budget, each extra customer costs more: the first euros find the people who are most ready, the next ones people who are less interested. That’s why you watch marginal CAC, what each additional customer cost compared with the previous period. It’s best to scale up in steps, for example 15-20% every two weeks, and stop when marginal CAC reaches maximum CAC.

4. Check your cash

A twelve-month payback means fronting twelve months of spend. Before increasing the budget, run a monthly simulation: spend, first-order margin, repeat-purchase margin from previous cohorts. If the balance drops below what the business can sustain, the limit is set by cash, not by CLV.

An example decision

With the numbers in the channel table, the cosmetics shop spent about 72,000 euros in the quarter, of which about 10,000 on the 30%-off promo. Numbers made up for the sake of example. The promo is the only channel with a ratio below 1: after twelve months those customers still haven’t paid back their cost. The sensible choice is to cut it down to a test on a narrow audience and move the budget to Meta prospecting and Google search, in steps and watching marginal CAC. Three months later you rebuild the table with the new cohort.

How do you tell Google Ads and Meta what a customer is worth?

After the spreadsheet, you need to let the platforms know that a new customer is worth more than their first order, so the bidding algorithm looks for them harder.

Google Ads has the new customer acquisition goal, available for Search, Performance Max, Shopping and Demand Gen. The mode you need here adds extra value to the conversion when a new customer buys; a variant also distinguishes high-value new customers. To recognise existing customers, Google uses uploaded customer lists and data collected by the tag.

How much value to add? Google’s documentation suggests setting it so that the added value plus a typical first purchase matches what a new customer brings in over time. With CLV in hand, it’s a subtraction: CLV minus first-order value. If you pass revenue in your conversions, use CLV in revenue; if you pass margin, use CLV in margin. Don’t mix the two.

The extra value works with value-based bidding, that is Maximise conversion value with or without target ROAS. You need clean tracking, up-to-date customer lists and enough volume.

Meta

On Meta the starting point is that every purchase event carries value and currency, sent from both the Pixel and the Conversions API with correct deduplication. Only then can you use conversion value optimisation and the ROAS goal. Meta also offers value rules, which let you raise or lower the bid for certain audience segments: they’re useful when you know from cohort data that a segment is consistently worth more. Meta has rolled them out gradually: check in the account’s advertising settings what’s available.

On both platforms it’s worth excluding customers already on your lists from acquisition campaigns. How to collect and use these lists is explained in our article on first-party data in marketing.

GA4 predictive metrics

GA4 calculates some predictive metrics: purchase probability, churn probability and predicted revenue over the next 28 days for active users. They’re used in explorations and audiences, but require purchase events and around a thousand users who have purchased, and as many who haven’t, over a recent period. For many SMEs they never switch on; for an e-commerce business with good volumes they’re a help, not a replacement for CLV.

How does CLV change in B2B and lead generation?

In B2B advertising doesn’t bring in customers, it brings in leads. So CLV has to be carried back along the sales process, down to the cost per lead you can afford.

Let’s go back to the maintenance contracts company. Numbers made up for the sake of example. It wants a ratio of 4, more prudent because the estimate covers five years. From its data, 1 qualified lead in 6 becomes an opportunity and 1 opportunity in 3 becomes a contract.

Step Calculation Result
5-year CLV From existing contracts €12,000
Maximum CAC 12,000 / 4 €3,000
Qualified leads per customer 6 × 3 18
Maximum cost per qualified lead 3,000 / 18 about €165

With this number you can decide whether a LinkedIn campaign at 120 euros per qualified lead makes sense, something cost per lead alone doesn’t tell you. You need a written definition of a qualified lead and a CRM that records stages with dates and source. On how to build lead scores there’s the guide to B2B lead scoring; on how to send CRM stages back to Google and Meta, with a value for each, the article from lead to contract.

Mistakes to avoid

Calculating CLV on revenue or “for life”. The budget is paid for with margin, and ten years of estimated repeat purchases justify any spend. Stick to margin at 12 or 24 months.

Trusting the average. Promo customers and prospecting customers aren’t worth the same. Without the view by channel and by cohort, average CLV rewards the wrong channels.

Counting returning customers as new. Only customers acquired for the first time go into CAC. Otherwise the cost looks lower and the ratio healthier than it is.

Passing an unverified CLV to the platforms. Too much added value pushes the algorithm to overpay for every customer. Compare the estimate with real cohorts every three months and correct it.

Checklist to get started

  • Export orders from the last 24 months with customer ID, date, amount and margin.
  • Build the cohort table by month of acquisition, with cumulative margin at 3, 6 and 12 months.
  • Attach the acquisition channel to the first order or the CRM contact and rebuild the table by channel.
  • Define advertising CAC and fully loaded CAC in writing, counting only new customers.
  • Set the target CLV/CAC ratio and the payback period your cash can sustain.
  • Derive maximum CAC by channel and translate it into target CPA or ROAS.
  • Set the new customer value in Google Ads and purchase events with value on Meta.

Want to know how much you can spend to acquire a customer?

We start from your sales data: we calculate customer lifetime value by channel and by cohort, real CAC and payback period, and from there we work out the maximum cost per customer and the campaign targets. Then we connect your order system, CRM and platforms so those numbers also reach Google Ads and Meta. It’s the work of our analytics and data service, together with whoever runs the campaigns.

You can book a call with Federico or write to us through the contact form.

Frequently asked questions

What is the customer lifetime value formula?

The simplest version is average order value times orders per year times years of relationship times gross margin. If you don’t know the average duration, you can estimate it as 1 divided by the annual churn rate.

What’s the difference between CLV and LTV?

None in substance: they’re two acronyms for the same idea, the value of a customer over the whole relationship. Some tools, like GA4, use LTV and calculate it on the revenue recorded by purchase events, not on margin.

What is a good CLV/CAC ratio?

The most quoted rule of thumb is 3 to 1, but it depends on the CLV horizon, margins and cash. Below 1 the customer doesn’t pay back the advertising; well above 4 or 5 you’re usually investing too little or the estimate is optimistic.

Can you calculate customer lifetime value in GA4?

Partly. The User lifetime exploration shows user value by channel of first acquisition, but GA4 loses people who switch device, refuse cookies or buy offline. The reference remains your order system.

How do you use CLV in Google Ads campaigns?

With the new customer acquisition goal, setting an extra value for new customers roughly equal to the difference between their value over time and their first purchase. That value works with value-based bidding, such as Maximise conversion value with target ROAS, and needs up-to-date customer lists.

The start of the Una Corsa da Re 10 km under Base Running's red inflatable arch: in the foreground a runner in a blue vest, behind him the pack, some in green shirts, and the Reggia di Venaria royal palace in the backgroundFREE GUIDE · 28-PAGE PDFSold-out running races: positioning, calendar, campaigns and sponsors in 20 weeksThe method we used in 2026 to take ten running races to a sell-out: from setting entry fees to the five-month calendar, from the registration page to the campaigns, through to sponsors and the story told the day after. With six appendices to fill in.Read it or download the PDF

Newsletter · a five-minute read

Found it useful? We’ll send you the next one

What we learn in our automation, data and AI projects. It takes five minutes to read, there are no sales offers in it and you can unsubscribe in one click.

What’s in the newsletter

The newsletter is sent through Brevo. Each email contains a pixel and tracked links that record whether you open it and what you click, linked to your address: we use them to understand which topics interest you and to choose what to send you (profiling). You can unsubscribe or object to profiling at any time, from the link at the bottom of every email or by writing to messaggi@digitalrunner.it.

Keep reading

RELATED ARTICLES

All about Strategy & Data

More resourcesDownloadable guidesGlossaryComparisonsAll resources

Ask for information

Analytics & Data: how would it work for you?

Tell us what you’re interested in and where you’re starting from. The person who runs this service at the agency will get back to you with timing and approach for a case like yours.

What are you interested in for Analytics & Data?

© 2026 Digital Runner srl · Corso Valdocco 2, Torino · VAT no. 13026050016 · SDI code JI3TXCE
Privacy PolicyCookie Policy

Some of the text and images on this site are created with the help of artificial intelligence and always checked by people.

Ask for information

Analytics & Data

Someone from the team will reply within one working day.

What are you interested in for Analytics & Data?

Or call us: +39 011 19118420