Circuit Times
Subscribe

LTV to CAC Ratio: Formula, Benchmarks and Where It Misleads

LTV to CAC ratio explained: the formula, the 3 to 1 guideline, payback, cohorts and where the ratio misleads, with worked models.

  • 26 min read
  • 42 sections
  • Updated November 19, 2026
Amara Whitlock

Updated

Explainer

The LTV to CAC ratio puts two numbers side by side: the value a customer brings and the money spent to sign them. LTV, short for customer lifetime value, is the gross profit a customer should bring in for as long as they stay. CAC, short for customer acquisition cost, is what sales and marketing spend to land one new customer. The ratio is simply the first number divided by the second.

At a ratio of 3, a customer is expected to bring back $3 of gross profit for each $1 spent on acquiring them. That sounds simple, and the formula is simple. The trouble is that both halves are estimates, and small choices in how you estimate them can swing the answer from 10 to 2.

This guide explains the formula, where the famous 3 to 1 guideline came from, and how to calculate LTV and CAC without fooling yourself. I ran the numbers on several models to show where the ratio misleads, and I tested a rough version of the idea on real public company filings.

Figures taken from SEC filings were retrieved on October 28, 2026 and carry a source. Every customer example outside them is invented to illustrate the math. A script at the end reproduces all the calculations.

The short answer

LTV:CAC is one division, with lifetime value on top and acquisition cost underneath. The usual guideline is above 3, and most guides pair it with a payback of about 12 months or less. Both come from rules of thumb, not laws.

Use the ratio with care. LTV depends on churn, margin and time horizon, which are all uncertain. CAC shifts with the costs you include and with the way customers are credited to channels. Always report the method, show payback next to the ratio and look at it by segment.

Good to know

The customer examples are invented. The figures from filings are historical and sourced. Neither is advice about any company.

What the terms mean

Customer acquisition cost, or CAC, takes everything sales and marketing spent in a period to win new customers and spreads it over the customers won in that same period. Salaries, tools, ads, commissions and overhead for those teams all belong in the cost.

Customer lifetime value, or LTV, estimates the gross profit one customer will produce from signup until they leave. Gross profit, not revenue, is the right base, because it is what remains after the cost of serving the customer.

The LTV to CAC ratio, also written LTV:CAC, LTV/CAC or CAC to LTV, divides one by the other. Payback, or months to recover CAC, measures how long it takes the customer's gross profit to repay the acquisition cost. Ratio and payback measure separate things, so keep both on the page.

Where the 3 to 1 guideline comes from

David Skok's SaaS Metrics 2.0 article on For Entrepreneurs is a widely cited source. He introduced two guidelines for judging whether a subscription software business is healthy. The first is the LTV to CAC ratio, and the second is the months it takes to recover CAC.

He writes that the healthiest SaaS businesses he has seen sit above a ratio of 3, with a few as high as 7 or 8. Many of them, he adds, win back their CAC within 5 to 7 months, and he saw profitability weaken once recovery runs past 12 months.

Skok was careful to call them guidelines only, and to say that breaking them is sometimes the sensible choice. He added that many healthy SaaS businesses do not meet them in the early days but can see how to improve. That caution gets lost when people quote only the number.

What the origin tells you

The 3 to 1 figure is a heuristic drawn from one author's experience with many companies. No controlled study that I could locate shows 3 to be the correct cut-off. Use it to open the analysis, never as a grade that a business passes or fails.

How to calculate LTV and CAC

The calculation takes four steps. I will use an invented example throughout.

Step 1: calculate CAC

Total the sales and marketing cost for a period. Then divide that total by how many new customers the period brought in. If you spent $200,000 and won 100 customers, CAC is $2,000. Include salaries, commissions, advertising, tools, events and a share of overhead.

Match the timing. A sale takes weeks or months to close, so money spent this quarter tends to show up as customers next quarter. If your cycle is long, compare spend with customers won a quarter or two later.

Step 2: calculate gross profit per customer per month

Take average revenue per account per month and multiply by gross margin. Take a customer on a $100 monthly plan. With gross margin at 80 percent, $80 of each payment is gross profit.

Step 3: estimate churn

Estimate the share of customers, or of revenue, that leaves each month. A 2 percent monthly churn means that about one customer in fifty leaves each month. Our guide to churn rate explains how to measure it properly.

Step 4: calculate LTV and divide

The common ltv cac formula divides monthly gross profit by monthly churn. At $80 of gross profit and 2 percent churn, LTV is $80 divided by 0.02, which is $4,000. With a CAC of $1,000, the ratio is 4.

Two things are baked into this formula: churn never changes, and no customer ever upgrades. Both are strong assumptions, and the next sections show how much they matter.

LTV is a model, not a measurement

CAC comes from your books, but LTV is a forecast. A forecast depends on how you set it up, and different setups give very different answers for the same customer.

I took one invented customer who pays $100 a month at an 80 percent gross margin, with 2 percent monthly churn and a CAC of $1,000. Then I calculated LTV five ways.

LTV methodLTVLTV to CAC
Simple formula: gross profit divided by churn$4,0004.0
Capped at 60 months$2,8102.8
Capped at 36 months$2,0672.1
Capped at 36 months and discounted at 10 percent a year$1,8361.8
Capped at 36 months with 1 percent monthly expansion$2,4212.4

The same customer is worth anywhere from $1,836 to $4,000, and the ratio ranges from 1.8 to 4.0. The simple formula implies the average customer stays for 50 months, which is more than four years. Many businesses cannot support that assumption, because their data does not reach that far.

A capped horizon is the more careful choice. Discounting adds the fact that a dollar received in three years is worth less than a dollar today. Adding expansion helps when customers grow. None of these is the one right method. What matters is that you choose one, write it down and use it consistently.

Which method to use

For most small and mid-size companies, a capped and optionally discounted LTV is a sound default, because it avoids relying on customer lifetimes you have never observed. If your product is young, a cap of 36 months keeps you honest.

If you have years of cohort data, compare each cohort's actual cumulative gross profit with the formula. That is the best test of whether your churn estimate is right. Skok's article and the cohort tables in our guide to churn rate both point this way.

Churn is the shaky input

LTV rises sharply as churn falls, so errors in churn matter most. Suppose 4 of your 200 customers left last month. Your observed churn is 2 percent, but with only 200 customers, the true rate could be quite different.

I calculated a 95 percent confidence range using the Wilson method, which suits small samples. With 4 departures among 200 customers, the plausible range runs from 0.8 to 5.0 percent monthly churn.

That range is an uncertainty estimate that assumes each customer leaves independently with the same probability. It is not a guarantee that the true churn rate lies inside it, and real churn is often not independent, so treat it as a minimum amount of doubt.

Monthly churnSimple LTVLTV to CAC with $1,000 CAC
0.8% (low end)$10,25110.3
2.0% (observed)$4,0004.0
5.0% (high end)$1,5911.6

The same data support a ratio of 1.6 or 10.3. At one end the business loses money on every customer it signs, and at the other it looks exceptional. With 40 departures among 2,000 customers, the same 2 percent rate narrows to a range of 1.5 to 2.7 percent.

The lesson is not to distrust the ratio but to show uncertainty. Report a range, use at least several months of data, and avoid acting on a ratio calculated from a small sample. Early-stage companies should rely more on payback and cohorts than on a single LTV figure.

Early data and survival

New customers often churn faster in the first months than later. That makes a single average misleading, because the early drop pulls the rate up and the long-lived customers pull it down. Look at churn by customer age, and use retention curves rather than one number.

CAC: what to count

CAC looks easier than LTV, but it has its own traps. Everything turns on two choices: the costs you put in the numerator and the customers you put in the denominator.

Fully loaded vs paid CAC

Fully loaded CAC includes everything: salaries, commissions, tools, overhead and ad spend. Paid CAC counts only the money spent on paid channels. Paid CAC is the lower figure of the two, so quoting it alone understates the true cost of a customer.

Blended vs channel CAC

Blended CAC takes the whole sales and marketing budget and spreads it over every new customer, even the ones who came in free via search, referrals or a friend's recommendation. Channel CAC looks at one channel at a time: its spend divided by the customers it brought in. Blended numbers look better, because free customers dilute the cost.

I modeled a company that spent $200,000 on sales and marketing and won 100 customers, of whom 30 came through paid channels costing $120,000. Blended CAC is $2,000. Paid CAC is $4,000. With an LTV of $10,000, the ratios are 5.0 and 2.5.

Use both. Blended CAC describes the whole business, while paid CAC shows what the next advertising dollar will buy, which is the number that guides whether to spend more. Our SaaS marketing guide walks through channel-level CAC and payback.

Other CAC questions

Free users

If you run a free plan, its cost is part of acquisition. Our SaaS pricing strategy guide and product-led growth playbook explain how to measure what free users cost per paying customer.

Expansion spending

Money spent to grow existing customers is not new-customer CAC. Separate it if you can.

Timing

Line up each period's spend with the customers it actually won, shifting for the length of the sales cycle.

Sales cycle and cost of salespeople

In a sales-led business, headcount drives cost. Our sales-led vs product-led growth guide shows how a rep's capacity shapes CAC.

Segments: the blended ratio hides the story

A single blended ratio averages customers who behave very differently. Segmenting often changes the picture. Skok's article quotes Brad Coffey of HubSpot, who said the biggest improvements in unit economics came when they started segmenting the business and calculating the ratio for each segment.

I modeled two invented segments. Small businesses cost $400 to acquire, pay $50 a month and churn at 4 percent a month. Mid-market customers cost $6,000 to acquire, pay $800 a month and churn at 1 percent. The company wins 300 small and 20 mid-market customers.

SegmentCACLTVLTV to CACSimple payback
Small business$400$1,0002.510.0 months
Mid-market$6,000$64,00010.79.4 months
Blended, weighted by customers$750$4,9386.6Not meaningful

The blended ratio of 6.6 looks healthy and sits between the two segments. But the small-business segment is at 2.5, close to the edge, while the mid-market segment is extraordinary at 10.7. A manager who sees only 6.6 might spend more on both, when the data suggest shifting money toward mid-market.

The blended row divides total LTV by total CAC across all 320 customers, weighting each segment by its customer count. Averaging 2.5 and 10.7 would give a different, wrong number.

Segment by size, channel, plan and product at least. Where a segment has too few customers for stable estimates, say so.

Payback: the second number you need

Payback counts the months of gross profit a customer must deliver before the cost of acquiring them is covered. In its basic form, you take CAC and divide by the gross profit a customer brings each month. If CAC is $1,000 and gross profit is $80 a month, payback is 12.5 months.

That simple version ignores churn. Some customers leave before they have repaid their cost, so the real recovery takes longer. Allowing for 2 percent monthly churn, the same customer repays the cost after about 14.2 months, not 12.5.

To calculate it, divide CAC times churn by monthly gross profit and subtract the result from one. Take the natural log of that, then divide by the natural log of one minus churn. It works only when CAC times churn is less than monthly gross profit. Otherwise a customer with constant churn never repays the cost in expectation.

Skok paired the ratio with a recovery time because the two catch different problems. The ratio tells you if a customer pays off across the full time they stay. Payback shows how quickly cash returns, which matters because cash funds growth.

Two businesses with the same ratio

To show why you need both, I built two invented businesses with the same LTV to CAC ratio of 2.67 and very different cash behavior.

BusinessMonthly revenue per customerMonthly churnCACLTV to CACSimple paybackPayback after churn
Fast cash$2505.0%$1,5002.677.5 months9.2 months
Slow cash$1001.2%$2,5002.6731.2 months38.9 months

The fast business recovers its cost in under a year, but its customers leave quickly, so it must keep acquiring. The slow business has loyal customers but waits more than three years to recover its cost. Both show 2.67, yet they need completely different funding and face different risks.

Report the ratio and payback together, and add retention. A long payback means you must fund the gap out of cash until the money comes back. If churn is high, you must keep spending to stand still.

How average hides marginal returns

The ratio is an average. Decisions about the next dollar depend on the marginal return, which is what the next customer costs. As you spend more in a channel, you reach less and less responsive audiences, so each additional customer costs more.

I modeled an invented channel with an LTV of $3,000. As spend rises from $50,000 to $400,000, the customers won rise more slowly.

SpendCustomers wonAverage CACAverage ratioMarginal CACMarginal ratio
$50,00060$8333.6$8333.60
$100,000100$1,0003.0$1,2502.40
$200,000150$1,3332.2$2,0001.50
$400,000200$2,0001.5$4,0000.75

At $200,000 of spend the average ratio is still 2.2, which looks acceptable. But the last $100,000 bought customers at a marginal cost of $2,000 each, a ratio of 1.5. At $400,000 the marginal ratio drops to 0.75, which means the extra spend destroyed value even though the average ratio, 1.5, still looks positive.

This also works in the other direction. A ratio far above target may be a sign that you are spending too little on growth. If your ratio is 8 and customers keep coming at low cost, you may be leaving growth on the table. Test higher spend in small steps and watch the marginal ratio.

A real-data check using public filings

Public companies rarely report CAC or LTV, so I cannot calculate their true ratios. I can build a rough proxy from what they do report. I divided each company's sales and marketing expense by its net new revenue for the year, and converted that to months of gross profit.

The proxy treats all sales and marketing expense as acquisition cost, and treats the year's revenue increase as the new revenue. That is a blunt instrument. It ignores the revenue that replaced churned customers, and it includes spending on existing customers. The result is therefore something other than CAC, and its only role here is a rough cross-check.

CompanyFiscal yearRevenue changeGross marginSales and marketing expenseShare of revenueExpense per $1 of net new revenueImplied payback
AtlassianYear ended June 30, 2026+$1,357M84.8%$1,541M23.4%$1.1416.1 months
HubSpotYear ended December 31, 2025+$504M83.8%$1,379M44.1%$2.7439.2 months
MongoDBYear ended January 31, 2026+$457M71.7%$944M38.3%$2.0634.5 months
DropboxYear ended December 31, 2025-$27M80.1%$370M14.7%Not definedNot defined

What the proxy shows

First, the blended proxies are far above the 12-month guideline for three well-known companies, yet these are large, widely followed businesses. That does not mean their customers are unprofitable. It means a net, blended proxy is a poor stand-in for true cohort payback.

Second, the proxies differ widely, from $1.14 to $2.74 of expense per dollar of new revenue. Product mix, customer size, expansion and how much of the spend goes to existing customers all matter. Third, Dropbox's revenue fell, so no proxy exists, but its spend is small relative to revenue.

The practical lesson is that outside estimates of CAC and payback from public data are rough. Inside a company, you can do far better with cohorts that follow each group of customers from the month they were won.

What is a good LTV to CAC ratio?

In Skok's article, the top SaaS companies run above a ratio of 3, and a few get to 7 or 8. Many other guides repeat 3 as the target. I did not find a controlled study proving it, so treat it as a convention. This table is our interpretation, not a standard.

RatioWhat it often suggestsWhat to check
Below 1Customers cost more than they returnChurn, pricing and acquisition cost
1 to 3Thin or uncertain economicsWhich LTV method you used, payback, segments
3 to 5Generally healthyPayback and marginal returns
Above 5Strong, or under-investingWhether more spend would still pay

Because the result depends so heavily on the LTV method, always state it. A ratio of 4 from the simple formula equals 2.1 under a 36-month cap in my example. Compare ratios only when the method is the same.

Targets differ by business

A business with high churn and low prices needs a short payback and should be cautious about long-lived assumptions. A business with enterprise contracts and low churn can accept a longer payback, because the lifetime is longer and capital is available. Skok noted that larger companies with cheap capital can afford a longer time to recover CAC.

LTV to CAC across business models

How you sell changes what drives the ratio.

ModelHow CAC behavesWhat to watch
Self-serve and product-ledLow per customer, with free usage costsCost of free users, activation
Sales-ledHigher, driven by headcount and cycle lengthRep capacity, win rate, deal size
HybridMixed, with sales on top of product signalsCost by motion and by segment
Usage-based pricingRevenue grows with usage, so LTV is less predictableExpansion and variable margin
AI productsCompute costs lower gross marginGross margin before the ratio

Our product-led growth playbook and our sales-led vs product-led growth guide show how CAC differs by motion. Our usage-based pricing examples and our guide to pricing AI features and agents explain why gross margin and variable revenue complicate LTV.

How to improve the ratio

You can raise LTV, lower CAC or shorten payback. Most levers touch more than one.

Raise LTV

Reduce churn

Stronger onboarding, support and product fit keep customers for longer. Our guide to churn rate covers measurement, and our customer success playbook covers the programs that cut it.

Grow revenue per customer

Plans, seats and usage that expand with value. Our SaaS pricing strategy guide covers this.

Improve gross margin

Cheaper infrastructure and support raise the profit on every sale.

Cross-sell

Offer additional products to existing customers.

Lower CAC

Improve conversion

Better pages, trials and onboarding turn more visitors into customers.

Shift channels

Invest in channels with a lower marginal cost.

Raise sales productivity

Better qualification and tools help each rep close more.

Use referrals and word of mouth

These cost less than paid acquisition.

Shorten payback

Bill annually

Annual prepayment brings cash in sooner, though it needs careful discounting.

Raise the entry price

A higher first payment recovers cost faster.

Cut setup costs

Faster onboarding lowers cost per customer.

Watch the trade-offs. Annual discounts raise cash but cut revenue. Cutting acquisition spend lowers CAC but may slow growth. Our Rule of 40 guide explains how to weigh growth against profit when you make these choices.

Reporting the ratio

A useful report states the definitions as plainly as it states the number. Keep a short definitions page and attach it to the dashboard.

Item to reportWhat to include
CACWhich costs, which period, which customers, blended and by channel
LTVThe method, the horizon, discount rate and churn used
RatioLTV divided by CAC, with a range
PaybackSimple and after churn
SegmentsRatio and payback for each major segment
Marginal returnThe ratio on the latest increase in spend

Review the numbers monthly and by cohort. Compare each cohort's actual cumulative gross profit with the LTV you predicted, and adjust the model when they diverge. That is the best protection against fooling yourself.

Cohort-based LTV: the better method

A cohort is the set of customers you won during one period, such as a single month. Following a cohort over time shows what customers actually pay, so you do not have to guess lifetimes. It is the best check on any formula.

I modeled three invented cohorts, each with a $1,000 acquisition cost and $80 of gross profit a month per starting customer. They differ only in monthly churn.

CohortMonthly churnCumulative gross profit at 6 months12 months18 months24 monthsMonth cost is recovered
Cohort A1.5%$462$885$1,270$1,62314
Cohort B3.0%$445$816$1,125$1,38316
Cohort C5.0%$424$735$964$1,13320

Cohort C, with the highest churn, takes 20 months to recover its cost, and returns only $1,133 after two years. Cohort A recovers in month 14 and has returned $1,623. The gap in two-year return is 43 percent, even though early months look similar.

The cumulative figures count the first month as a full month of gross profit and apply churn from the second month. A different timing convention can move a recovery month by one.

Compare each real cohort with these curves. If your actual cumulative gross profit lags the forecast, your churn assumption was too optimistic. If it runs ahead, your LTV is conservative. This habit protects you from the largest source of error in the ratio.

Annual contracts and monthly churn

Many subscription companies sell annual contracts, where customers can leave only at renewal. Churn then shows up in steps, and it is better to work with annual renewal rates. If gross profit is $960 a year and 80 percent of customers renew each year, the simple LTV is $960 divided by 0.20, or $4,800.

To compare with monthly figures, convert. Losing 20 percent of customers a year works out to roughly 1.84 percent a month, and implies a simple lifetime of five years.

Annual churnEquivalent monthly churnSimple lifetime
10%0.87%10.0 years
20%1.84%5.0 years
30%2.93%3.3 years

Do not mix the two without converting. Churn of 2 percent a month is a very different thing from 2 percent a year. Compounded over twelve months it comes to about 21.5 percent a year, a difference that wrecks any ratio built on the wrong figure.

Setting a CAC ceiling

You can turn the guidelines around and ask how much you can afford to spend. With a ratio target of 3 and a payback target of 12 months, each gives a ceiling on CAC, and the lower one binds.

I calculated this for a customer with $80 of monthly gross profit at three levels of churn.

Monthly churnLTVCeiling from a ratio of 3Ceiling from 12-month paybackBinding limit
1%$8,000$2,667$960$960, payback
2%$4,000$1,333$960$960, payback
4%$2,000$667$960$667, ratio

With loyal customers, payback is the binding limit, because the lifetime is long but cash returns slowly. With high churn, the ratio is the binding limit, because the customer does not stay long enough. Knowing which limit binds tells you whether to work on churn or on speed of payback.

Building the analysis in a spreadsheet

You do not need special tools. A few columns in a spreadsheet will do the job, and filling them in makes you state every assumption.

ColumnWhat it holds
Month wonThe cohort, such as January
Customers wonThe count
Sales and marketing costThe cost attributed to that cohort
CACCost divided by customers
Gross profit per customer per monthAverage revenue times gross margin
Customers remaining by monthThe retention curve
Cumulative gross profit per starting customerRunning total across months
Month cost is recoveredThe first month the total passes CAC

Add a second sheet for segments and a third for channels. Keep the definitions in the first rows, so anyone who reads the numbers can see how they were built.

Questions to ask about someone else's ratio

You will meet ratios in pitch decks, blog posts and reports. Before you trust or compare them, ask these questions.

QuestionWhy it matters
Which LTV method was usedThe same customer can give $1,836 or $4,000
Is it based on revenue or gross profitRevenue overstates value
What does CAC includeSalaries and overhead are often left out
Is CAC blended or paidBlended looks better
How much data supports churnSmall samples give wide ranges
Is there a payback figureA high ratio can hide slow cash
Is it by segmentOne average can hide a weak segment
What period does it coverOld cohorts may not reflect today

Hidden costs inside gross margin

LTV rests on gross profit, so anything that reduces gross margin reduces LTV. Teams often use a margin that counts only hosting and leaves out payment fees, support and customer success, which flatters the result.

Payment fees are an easy example. Our guide to Stripe vs Paddle vs Chargebee lists published prices read on October 28, 2026: Stripe charges 2.9 percent plus 30 cents on a card payment, and Paddle charges 5 percent plus 50 cents as a merchant of record. On a $100 monthly payment, those fees are $3.20 and $5.50.

Take the invented customer with $100 of monthly revenue and $20 of other costs, which gives $80 of gross profit. After each processor's fee, gross profit falls and so does LTV at 2 percent monthly churn.

SetupGross profit per monthSimple LTVLTV to CAC with $1,000 CAC
Fees ignored$80.00$4,0004.0
After Stripe card fee$76.80$3,8403.8
After Paddle fee$74.50$3,7253.7

The gap looks small here, but it grows with price changes, refunds, chargebacks and taxes. Include every cost of serving a customer, then check that the margin you use matches your reported cost of revenue.

Price changes and the ratio

Raising prices can lift LTV, but customers may leave faster. The ratio helps you see how much extra churn a price rise can absorb.

Suppose the customer's price rises 10 percent from $100 to $110, so gross profit goes from $80 to $88. If churn stays at 2 percent, LTV becomes $4,400, and the ratio with a $1,000 CAC rises from 4.0 to 4.4.

If the price rise pushes churn up to 2.3 percent, LTV falls to $3,826 and the ratio to 3.8, which is worse than before. The break-even is a churn rate of 2.2 percent, because $88 divided by 0.022 equals $4,000. So the increase pays only if churn rises by less than 0.2 percentage points.

Test price changes on a sample of new customers and watch churn over several months before you decide. Our SaaS pricing strategy guide explains how to run price tests and how large a sample you need.

Using the ratio with little data

Early companies have few customers and short histories, so any LTV is a guess. The thinking behind the ratio is still useful at that stage. It means you should lean on measures that need less data.

Payback first

Simple payback needs only CAC and gross profit, which you know within a few months.

Cohorts over formulas

Even three monthly cohorts show whether retention is stable.

Conservative caps

Use a 24 or 36 month horizon, and do not extrapolate beyond your data.

Ranges

Show a low and a high case, as the churn table shows.

Qualitative signals

Customer interviews and referrals tell you whether people value the product.

As the business grows, add the full ratio, segment it and compare cohorts. Our Rule of 40 guide notes that some measures, like that rule, fit companies at scale better than young ones.

Common mistakes

Using revenue instead of gross profit

Revenue counts money that goes straight to serving costs, so it inflates customer value.

Leaving costs out of CAC

Salaries, tools and overhead belong in it.

Trusting a small sample

A churn estimate from a few customers is unreliable.

Assuming customers last forever

Cap the horizon or discount the future.

Using one blended number

Segments can differ by a factor of four.

Ignoring payback

A high ratio with a long wait can still run out of cash.

Judging by averages

Decisions depend on marginal returns.

Changing definitions

A better ratio caused by a new method is not a better business.

Chasing a target

Do not cut investment just to hit 3.

Reproduce the numbers

The script below recreates each calculation in this guide. Most of it runs offline. The block that handles the public-company proxy downloads the structured financial data that listed software companies file with the SEC, so add your own name and email to the header. It picks the most recently filed annual figure, prints the filing's accession number and stops with an error if an input is missing. The quotations from David Skok, the vendor prices and the Stripe and Paddle fee rates come from the sources named in the guide and are not produced by the script.

import datetime as dt
import math
import requests

def wilson(k, n, z=1.96):
    p = k / n
    centre = (p + z * z / (2 * n)) / (1 + z * z / n)
    half = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / (1 + z * z / n)
    return centre - half, centre + half

arpa, margin, churn, cac = 100.0, 0.80, 0.02, 1000.0
gross_profit = arpa * margin

def capped(months):
    return sum(gross_profit * (1 - churn) ** t for t in range(months))

def discounted(months, annual=0.10):
    monthly = (1 + annual) ** (1 / 12) - 1
    return sum(gross_profit * (1 - churn) ** t / (1 + monthly) ** t for t in range(months))

def with_expansion(months, expansion=0.01):
    return sum(gross_profit * ((1 - churn) * (1 + expansion)) ** t for t in range(months))

for name, value in (("simple", gross_profit / churn), ("60 months", capped(60)), ("36 months", capped(36)),
                    ("36 months discounted", discounted(36)), ("36 months with expansion", with_expansion(36))):
    print(name, round(value), round(value / cac, 1))

low, high = wilson(4, 200)
print("churn range", round(low * 100, 1), round(high * 100, 1))
for rate in (low, 0.02, high):
    print(round(rate * 100, 1), round(gross_profit / rate), round(gross_profit / rate / cac, 1))
print("with 2,000 customers", [round(x * 100, 1) for x in wilson(40, 2000)])

def payback_after_churn(cac_value, monthly_profit, monthly_churn):
    share = cac_value * monthly_churn / monthly_profit
    return math.log(1 - share) / math.log(1 - monthly_churn) if share < 1 else float("inf")

for label, a, c, k in (("fast", 250, 0.05, 1500), ("slow", 100, 0.012, 2500)):
    profit = a * margin
    print(label, round(profit / c / k, 2), round(k / profit, 1), round(payback_after_churn(k, profit, c), 1))
print("payback example", round(1000 / gross_profit, 1), round(payback_after_churn(1000, gross_profit, 0.02), 1))

segments = {"small": (400, 50, 0.04, 300), "mid": (6000, 800, 0.01, 20)}
total_cac = total_ltv = customers = 0
for name, (c, a, ch, n) in segments.items():
    ltv = a * margin / ch
    print(name, round(ltv), round(ltv / c, 1), round(c / (a * margin), 1))
    total_cac += c * n
    total_ltv += ltv * n
    customers += n
print("blended", round(total_cac / customers), round(total_ltv / customers), round(total_ltv / total_cac, 1))
print("paid vs blended", 200000 / 100, 120000 / 30, 10000 / 2000, 10000 / 4000)

spend = [50000, 100000, 200000, 400000]
buyers = [60, 100, 150, 200]
for i in range(4):
    average = spend[i] / buyers[i]
    marginal = (spend[i] - spend[i - 1]) / (buyers[i] - buyers[i - 1]) if i else average
    print(spend[i], round(average), round(3000 / average, 1), round(marginal), round(3000 / marginal, 2))

HEADERS = {"User-Agent": "Your Name your.email@example.com"}
COMPANIES = {"Atlassian": ("0001650372", "2025-06-30", "2026-06-30"), "HubSpot": ("0001404655", "2024-12-31", "2025-12-31"),
             "MongoDB": ("0001441816", "2025-01-31", "2026-01-31"), "Dropbox": ("0001467623", "2024-12-31", "2025-12-31")}

def annual(facts, names, period_end):
    """Annual (about 12 months) value ending on period_end. If several filings report it, use the latest filed."""
    for name in names:
        if name not in facts:
            continue
        matches = []
        for item in facts[name]["units"].get("USD", []):
            if item.get("form") not in ("10-K", "10-K/A") or "start" not in item or item["end"] != period_end:
                continue
            days = (dt.date.fromisoformat(item["end"]) - dt.date.fromisoformat(item["start"])).days
            if 350 <= days <= 380:
                matches.append(item)
        if matches:
            best = max(matches, key=lambda item: item["filed"])
            return best["val"], best["accn"]
    raise SystemExit(f"missing {names[0]} for the year ending {period_end}")

for name, (cik, before, now) in COMPANIES.items():
    response = requests.get(f"https://data.sec.gov/api/xbrl/companyfacts/CIK{cik}.json", headers=HEADERS, timeout=60)
    response.raise_for_status()
    facts = response.json()["facts"]["us-gaap"]
    revenue_names = ["RevenueFromContractWithCustomerExcludingAssessedTax", "Revenues"]
    revenue_now, accession = annual(facts, revenue_names, now)
    revenue_before, _ = annual(facts, revenue_names, before)
    profit, _ = annual(facts, ["GrossProfit"], now)
    spend, _ = annual(facts, ["SellingAndMarketingExpense"], now)
    change = revenue_now - revenue_before
    gross_margin = profit / revenue_now
    if change > 0:
        per_dollar = spend / change
        months = spend / (change * gross_margin) * 12
        print(name, now, "accession", accession, "| revenue change", round(change / 1e6), "M | gross margin", round(gross_margin * 100, 1), "| sales and marketing", round(spend / 1e6), "M", round(spend / revenue_now * 100, 1), "% of revenue | per $1 of net new revenue", round(per_dollar, 2), "| implied payback", round(months, 1), "months")
    else:
        print(name, now, "accession", accession, "| revenue fell by", round(-change / 1e6), "M, so this proxy cannot be calculated")

def cumulative(monthly_churn, months, monthly_profit=80.0):
    return sum(monthly_profit * (1 - monthly_churn) ** t for t in range(months))

def month_recovered(cac_value, monthly_churn):
    for month in range(1, 241):
        if cumulative(monthly_churn, month) >= cac_value:
            return month

for name, rate in (("A", 0.015), ("B", 0.03), ("C", 0.05)):
    print(name, [round(cumulative(rate, m)) for m in (6, 12, 18, 24)], month_recovered(1000, rate))

for annual_rate in (0.10, 0.20, 0.30):
    print(annual_rate, round((1 - (1 - annual_rate) ** (1 / 12)) * 100, 2), round(1 / annual_rate, 1))
print("annual contract LTV", round(960 / (1 - 0.80)))

for monthly_rate in (0.01, 0.02, 0.04):
    lifetime_value = 80.0 / monthly_rate
    print(monthly_rate, round(lifetime_value), round(lifetime_value / 3), 12 * 80)

Frequently asked questions

What is the LTV to CAC ratio?

It is expected lifetime gross profit from one customer, divided by the cost of winning that customer. At 3, a customer brings back three dollars of gross profit per dollar of acquisition spend.

What is the LTV CAC ratio formula?

Put customer lifetime value over customer acquisition cost. A common LTV formula is monthly gross profit divided by monthly churn.

How to calculate LTV CAC?

First get CAC: sales and marketing spend for a period over the new customers won in it. Calculate LTV from gross profit per customer and churn. Divide LTV by CAC, and state your method.

What is a good LTV CAC ratio?

Above 3 is the usual guideline, and the best companies in Skok's experience reach 7 or 8. Treat it as a convention, check payback and segments, and compare only like with like.

What is the LTV to CAC ratio SaaS companies use?

The same calculation applied to subscription software, where retention and monthly recurring revenue make lifetime value central. Always state the LTV method.

What is the CAC to LTV ratio?

It is the identical comparison flipped over, with CAC on top and LTV underneath. Look at which number a source puts on top before you compare its figure with yours.

Is a higher LTV CAC ratio always better?

No. An unusually high ratio often points to growth spending that is too cautious. Check whether more spend would still earn a good marginal return.

What is the difference between payback and LTV to CAC?

Payback is about speed: the time until the cash spent on acquisition comes back. LTV to CAC measures total lifetime return. You need both, because they can disagree.

How does churn affect LTV CAC?

A great deal. When fewer customers leave each month, the average stay gets longer and LTV climbs with it. In my example, a plausible range of 0.8 to 5.0 percent monthly churn gave ratios from 10.3 to 1.6.

What is the LTV CAC benchmark?

Skok's guideline is above 3. I found no controlled study that proves a universal threshold, so use benchmarks as a starting point.

Should I use revenue or gross profit for LTV?

Gross profit. Revenue takes no account of hosting, support and payment fees, so a revenue-based LTV comes out too high.

How do I calculate CAC for free users?

Include the cost of the free plan, including infrastructure and support, in acquisition cost, and divide by the new paying customers. Our SaaS pricing strategy guide shows how.

A quick checklist

Up nextSaaS marketing guideUnit economics show whether acquiring customers pays. Read our SaaS marketing guide for the channel math behind CAC, and our Rule of 40 guide to see how growth and profit trade off at the company level.

From circuittimes.com/business/ltv-cac/

Was this guide helpful?

Keep going

More in SaaS

See all

The briefing, without the noise.

The stories that matter in technology, every weekday morning.

Free. Unsubscribe in one click.