How Do You Calculate Customer Lifetime Value?
The request for a bigger marketing budget usually arrives with a slide showing what a new customer is worth over the relationship, and the CFO's first questions are which customers it describes and whether the cost of serving them has come out of it, since the account that has renewed for years and the one that bought once are averaged into the same number. That figure is about to decide how much you spend winning the next customer, so how do you calculate customer lifetime value?
To calculate customer lifetime value, multiply a customer's average yearly revenue by your gross margin and the years they stay, and work it out separately for each type of customer instead of as one average.
Many of the formulas published online stop at revenue, and that difference matters as soon as the number is used to decide what to spend, so the sections below show where each input comes from, how the formula changes for recurring and project work, and how to use the result.
What Is the Customer Lifetime Value Formula?
Customer lifetime value (CLV, often written LTV) is the gross profit a customer brings you over the whole relationship, and the formula is average yearly revenue × gross margin × the years a customer stays. Each input comes from records you already have, and a spreadsheet with two or three years of history is enough to start.
- Group your customers by type, using groupings your sales team already recognizes, such as industry, company size or ownership.
- Find the average yearly revenue per customer in each group, by dividing a year’s revenue from the group by the number of active customers in it.
- Apply the group’s own gross margin (the share of revenue left after the direct cost of delivering the work), because discounts and service costs differ from one type of customer to another.
- Work out how many years a typical customer in the group stays, from renewal and repeat-purchase history, or from the churn rate if customers pay on a recurring basis (covered below).
- Multiply the three to get each group’s lifetime value.
Subtract what it cost to win a customer and you have customer profitability, which our guide to calculating customer profitability covers along with the costs to count. Lifetime value is the figure before that subtraction, the one you compare your acquisition cost against, what is a good customer lifetime value covers how to judge the result, and the lifetime value comparison on our IMPACT Prospect page runs it for your own groups.
Should You Calculate Lifetime Value From Revenue or Gross Profit?
Calculate customer lifetime value from gross profit, because revenue includes the cost of delivering the work, so a revenue figure suggests you can afford to spend money you’ll never keep. A revenue lifetime value is useful for forecasting sales, but any decision about what to spend should use the gross profit version.
ExampleThe same customers, measured in revenue and in gross profit
The example we follow across the six steps on this site is a commercial HVAC contractor doing about $40M a year, which sells yearly maintenance agreements at $12,000 per building. Each type of customer is shown as revenue over the relationship, then gross profit over the relationship.
- Property management firms: $36,000 a year at 38% for 7 years
- $252,000 revenue, $95,760 gross profit
- Owner-occupied businesses: $12,000 a year at 35% for 5 years
- $60,000 revenue, $21,000 gross profit
- Schools and public bids: $15,000 a year at bid pricing, 22% for 3 years
- $45,000 revenue, $9,900 gross profit
On revenue a property management firm looks between five and six times as valuable as a public-bid customer, on gross profit nearly ten times, and once each type’s cost to win is subtracted the gap reaches roughly 14×.
The second half of the answer matters as much as the first, because a single average across the three types would sit somewhere in the middle and describe none of them. Marketing using that average would overspend chasing public bids and underspend on property management firms, which is why we calculate it per type, and why the IMPACT Prospect step starts from this comparison.
How Do You Calculate Customer Lifetime Value From Churn Rate?
When customers pay on a recurring basis, the years they stay is roughly one divided by the share who leave each year (the churn rate), so lifetime value becomes yearly gross profit per customer divided by yearly churn. For businesses that sell projects or one-off orders, use purchase history instead, because there’s no renewal to measure churn against.
- Subscriptions and contracts: use the same period throughout, so monthly revenue × gross margin ÷ monthly churn, or the yearly equivalents. Measure churn for each type of customer over at least a year, because a single quarter with a handful of cancellations can swing the result by years.
- Projects and repeat orders: multiply the gross profit per order by the orders a customer places in a typical year and the years they keep buying. Better still, take customers who started two or three years ago and add up the gross profit they’ve produced since, which replaces three estimates with one record.
- Both at once: keep recurring work and follow-on project work as separate lines, because the project line is less certain and usually arrives later.
ExampleRecurring work and project work at the contractor
The contractor’s maintenance agreements renew like a subscription. Property management firms stay about seven years, which is the same as losing about one firm in seven (roughly 14%) each year, so dividing yearly gross profit by that churn gives the same lifetime value.
Installations are project work, so they’re counted from history. On the IMPACT Offering page, about one in five maintenance customers buys an installation within three years, worth $32,400 in gross profit, which adds about $6,480 to the average maintenance customer. The contractor keeps that as its own line instead of folding it into the agreement’s lifetime value.
- Gross profit per firm per year
- $13,680
- ÷ Yearly churn (about one firm in seven)
- 1/7
- = Lifetime value of a property management firm
- $95,760
Why Is Customer Lifetime Value Important for Marketing Decisions?
Customer lifetime value is important because it sets the most you could spend to win a customer and still make money, and it shows which types of customer, and which channels, deserve the budget. Comparing it with customer acquisition cost (CAC) is the idea behind the LTV to CAC ratio, lifetime value divided by what it cost to win the customer.
There is no ratio that’s right for every business, as what is a good customer acquisition cost explains in its look at the common 3:1 rule, because what you can afford to spend depends on how much of the lifetime value arrives early, what your cash flow can carry while you wait for it, and how fast you’re trying to grow. A customer who brings most of their profit in the first year leaves little room to spend most of it winning them, while one who pays steadily for years can justify more, if the business can carry the wait.
ExampleThe contractor’s lifetime value against its cost to win
Lifetime gross profit divided by the cost to win one customer of each type.
- Property management firms: $95,760 ÷ $6,000
- About 16 to 1
- Owner-occupied businesses: $21,000 ÷ $1,800
- About 12 to 1
- Schools and public bids: $9,900 ÷ $3,500
- Nearly 3 to 1
The firms cost the most to win and still return the most for each dollar spent, and the contractor chose to spend up to one year’s gross profit, $13,680, to win one because its firms stay about seven years and its cash flow can carry a one-year payback, a choice a business whose customers leave after a year or two couldn’t make.
Once you have lifetime value by type, use it in four places:
- Set your own ceiling for each type of customer from lifetime value, how quickly the profit arrives and your cash position, and check your customer acquisition cost against it.
- Aim your targeting at the type with the highest lifetime value and describe that buyer so sales would recognize them on a first call.
- Judge each channel by the lifetime value of the customers it brings, because a channel that costs more per customer can bring bigger ones, which the Channel Selection step shows with the contractor’s own channels.
- Recalculate once a year, because margins, renewals and the mix of customers shift, and how to increase customer lifetime value covers which of those to work on.
When Does Customer Lifetime Value Give You the Wrong Answer?
Customer lifetime value gives the wrong answer when it’s taken from a report that counts revenue, when most of it arrives years from now, or when the years a customer stays are estimated from the newest customers. Check these three before the number goes into a budget.
- A lifetime value from an analytics or ecommerce tool. Google Analytics 4, for example, reports lifetime value as revenue, such as the average revenue new users generate in their first 120 days.1 That’s useful for comparing channels, but multiply it by your margin before deciding what to spend.
- Profit that arrives late. Profit in year seven is worth less than profit today and is less certain, so for long relationships ask finance to discount the later years, or count only the years you’d bet on.
- Churn measured on new customers. In the accounts we review, new customers tend to leave faster than ones who have already renewed, so churn from your first year of customers can understate how long the survivors stay, and churn from your oldest customers can overstate it for new ones.
The profitability guide covers the other cases where the number needs a second look, such as a type of customer with little history or a few large accounts that dominate an average, in its section on how customer profitability differs from lifetime value.
Run the Formula on Your Two Largest Customer Types
Pull last year’s revenue for your two largest types of customer, apply each group’s own margin and the years its customers stay, and put the two lifetime values side by side before anyone sets next year’s acquisition budget. The lifetime value comparison on the IMPACT Prospect page is prefilled with the contractor’s numbers and takes your own in a few minutes.
Related questions
- How Do You Increase Customer Lifetime Value?
- How Do You Calculate the Profitability of a Customer?
- How Do You Generate High-Quality Leads?
- How Do You Segment B2B Customers?
- What Is a Good Customer Acquisition Cost?
- Are LinkedIn Ads Worth It?
- How Do You Calculate Break-Even ROAS?
- What Is a Good Profit Margin for a Product?
Sources cited
- Google[GA4] Retention overview report (Google Analytics Help) (opens in a new tab)October 11, 2026