Growth

How do you calculate CAC and LTV, and use them to set ad budgets?

Customer acquisition cost (CAC) is your total sales and marketing spend in a period divided by the new customers you won in that period. Customer lifetime value (LTV) is the gross profit an average customer brings in before they leave. Divide LTV by your target LTV:CAC ratio to get the most you can pay for a customer, then work back to a maximum cost per click.

Formula cards showing CAC equals spend divided by new customers, LTV equals gross profit divided by churn, and the LTV to CAC ratio with a benchmark of above 3.

To calculate customer acquisition cost, divide everything you spent on sales and marketing in a period by the number of new customers you acquired in that period. To calculate customer lifetime value, take the gross profit an average customer generates per month and divide it by your monthly churn rate, or for one-off purchases multiply margin per order by the number of orders a customer places over their life. Comparing the two tells you whether growth pays for itself, and how much you can afford to bid for a customer.

The math is simple. The hard part is feeding it honest inputs. This guide gives you the formulas, two worked examples, the ratio benchmarks with their source, and a step-by-step method for turning them into ad budgets and bid limits.

Key takeaways

  • CAC = sales and marketing costs in a period ÷ new customers in that period. Include people and tools, not just ad spend.
  • LTV (subscriptions) = average revenue per account × gross margin ÷ churn rate. Use gross profit, not revenue.
  • LTV:CAC above 3 is the widely quoted benchmark from David Skok's SaaS Metrics 2.0, which says the best SaaS businesses exceed 3.
  • Payback period = CAC ÷ monthly gross profit per customer. It shows how long cash is tied up.
  • Maximum CAC = LTV ÷ target ratio. Multiply by your click-to-customer rate to get a maximum CPC.

How do you calculate customer acquisition cost (CAC)?

The formula:

CAC = total sales and marketing costs in the period ÷ new customers acquired in the period

"Costs" should include everything you spend to win new customers: ad spend, agency and freelancer fees, marketing and sales salaries (or the share of time spent on acquisition), sales commissions, software used for marketing and sales, content production, events and sponsorships. Excluding salaries and tools is the most common way CAC gets understated.

"New customers" means paying customers who started in the period, not leads, sign-ups or free trials. If you sell to businesses with long sales cycles, match spend to the customers it produced by shifting the spend window back by your typical cycle length, for example spend from one quarter against customers closed in the next.

Blended CAC versus paid CAC

Blended CAC divides all acquisition costs by all new customers, including those from organic search, referrals and word of mouth. Paid CAC divides paid media costs by the customers attributed to paid channels. Blended CAC tells you whether the business works. Paid CAC tells you whether a specific channel is worth more budget. Use both, and be explicit about which one you are quoting.

How do you calculate customer lifetime value (LTV)?

For subscription businesses, the standard simple formula is:

LTV = average revenue per account per month × gross margin % ÷ monthly churn rate

Dividing by churn estimates the average customer lifetime: at 4% monthly churn, the average customer stays about 1 ÷ 0.04 = 25 months. Multiplying by gross margin turns revenue into the profit you can actually spend on acquisition, which is why LTV should be based on gross profit rather than revenue.

For ecommerce and other repeat-purchase businesses without subscriptions:

LTV = average order value × gross margin % × purchases per year × expected years as a customer

Base purchase frequency and lifespan on your own cohorts: take customers who first bought 12, 24 or 36 months ago and count what they actually spent since. If your business is too young for that, use a conservative estimate and label it as one.

What do the calculations look like in practice?

The two examples below use illustrative numbers to show the method. They are not benchmarks.

Example 1: a SaaS product

InputValue
Ad spend in the month$20,000
Marketing and sales salaries (acquisition share)$8,000
Marketing and sales tools$2,000
New paying customers in the month100
Average revenue per account$80 per month
Gross margin80%
Monthly churn4%

If you had counted ad spend only, CAC would look like $200 and the ratio 8.0, a far rosier picture than reality.

Example 2: an ecommerce store

InputValue
Average order value$60
Gross margin (after product, shipping and payment costs)40%
Orders per customer per year2.5
Expected years as a customer3
Blended CAC$45

What is a good LTV to CAC ratio?

The most quoted benchmark comes from investor David Skok's "SaaS Metrics 2.0," which says "the best SaaS businesses have a LTV to CAC ratio that is higher than 3, sometimes as high as 7 or 8," and that many of the best "are able to recover their CAC in 5-7 months." It is a rule of thumb for subscription software, not a law, and it is a sensible starting point for most businesses.

LTV:CACWhat it usually meansWhat to consider
Below 1Each customer loses moneyFix pricing, margin, retention or channel mix before scaling spend
1 to 3Thin margin for overhead and errorImprove conversion and retention; scale cautiously
Around 3 or higherHealthy by Skok's benchmarkScale the channels that produce it, watching payback
Far above 5Possibly under-investing in growthTest higher budgets, as long as cash flow allows

Watch payback alongside the ratio. A 4:1 ratio with a 30-month payback can still run a young company out of cash, because the money comes back slowly.

Lower CAC with channels you do not pay per click for

Organic search and AI assistant mentions bring customers without a bid. A free Klepha report shows where you appear in Google, ChatGPT, Gemini and Perplexity today.

Get my free report

How do you use LTV and CAC to set ad budgets?

Work backwards from what a customer is worth to what you can pay for a click. Channel-level CAC is only as good as your attribution, so tag campaigns with consistent UTM parameters and test changes with a proper A/B test before scaling them. Using the SaaS example and a target ratio of 3:

  1. Set the maximum CAC. Maximum CAC = LTV ÷ target ratio = $1,600 ÷ 3 = $533. Above that, new customers do not meet your bar.
  2. Set the channel's cost per acquisition limit. Paid channels also carry a share of salaries and tools. If ads must cover their share of overhead, set the ad-only target CPA below the full maximum, for example $400.
  3. Convert to a maximum cost per click. Measure your click-to-customer rate. If 2% of ad clicks start a trial and 25% of trials pay, then 0.5% of clicks become customers. Maximum CPC = $533 × 0.005 = $2.67, or $2.00 at the $400 ad-only target.
  4. Size the budget from the goal. To win 100 customers at a $400 CPA, plan about $40,000 of spend, then check that the payback period fits your cash.
  5. Scale by marginal CAC, not average CAC. As budgets rise, each extra customer usually costs more. Increase spend in steps and compare the CAC of the additional customers with your maximum.
  6. Review monthly with cohorts. Recalculate churn, margin and conversion rates. If LTV falls, the maximum CAC falls with it.

The landing page is a direct lever in step 3: doubling the click-to-customer rate doubles the CPC you can afford. Our guide to landing pages for paid ad traffic covers that side, and if you are weighing a newer channel, see how ChatGPT ads work.

How do CAC and LTV differ by channel?

Customers do not all cost or behave the same, so it pays to calculate both metrics per channel once you have enough customers in each. A few patterns are worth checking in your own data rather than assuming:

Channel-level LTV needs patience: you only know how a cohort retains after months of data. Until then, compare early signals such as second-purchase rate or month-two retention by channel. Two tools help here: an email welcome sequence raises the share of subscribers who become customers without new acquisition cost, and for paid search, Google's Customer Journey Insights card shows whether campaigns move people toward purchase before the conversions arrive.

What mistakes distort CAC and LTV?

Klepha helps teams build the organic and AI search channels that bring blended CAC down over time. Our Blog Ranking service, expertise page and case studies explain how.

Sources

Frequently asked questions

What is the formula for customer acquisition cost?

CAC equals total sales and marketing costs in a period divided by the number of new paying customers acquired in that period. Include ad spend, salaries or the acquisition share of them, agency fees, commissions and tools, not just media spend.

What is the formula for customer lifetime value?

For subscriptions, LTV equals average revenue per account per month multiplied by gross margin, divided by the monthly churn rate. For repeat-purchase businesses, multiply average order value by gross margin, purchases per year and expected years as a customer.

What is a good LTV to CAC ratio?

A ratio above 3 is the widely used benchmark. David Skok's SaaS Metrics 2.0 says the best SaaS businesses have an LTV to CAC ratio higher than 3, sometimes as high as 7 or 8. Below 1 means each customer loses money.

How do I calculate CAC payback period?

Divide CAC by the monthly gross profit an average customer generates. For example, a CAC of $300 and $64 of monthly gross profit per customer gives a payback period of about 4.7 months.

How do I use LTV and CAC to set a maximum cost per click?

Divide LTV by your target LTV to CAC ratio to get the maximum CAC, then multiply it by the share of ad clicks that become paying customers. With a $533 maximum CAC and a 0.5% click-to-customer rate, the maximum CPC is about $2.67.

Should LTV use revenue or profit?

Use gross profit. Acquisition has to be paid for out of what a customer leaves after the cost of serving them, so a revenue-based LTV overstates how much you can afford to spend to win a customer.

Garry Charter

SEO Specialist · Klepha

Twelve years in search, covering technical SEO, keyword research and, since generative search arrived, answer engine and generative engine optimization. Writes Klepha's guides on ranking in Google and being cited by AI assistants.