Unit economics: CAC, LTV and payback for software companies
Is each customer worth what it costs to win? Customer acquisition cost, lifetime value, LTV:CAC, CAC payback, contribution margin and cohorts, with a worked example and a calculator.
Key takeaways
- Unit economics asks whether one customer, on its own, is profitable. If not, growth makes losses bigger.
- CAC is what you spend to win a customer; LTV is the gross profit they bring over their lifetime.
- An LTV:CAC of 3 or more and a CAC payback under about 18–24 months are common rules of thumb for B2B SaaS.
- LTV is fragile. It depends heavily on churn, so cap lifetimes and look at real cohorts.
- Payback is often the more useful number, because it tells you how much cash growth will consume.
A software company can grow fast and still be heading for trouble. If each new customer costs more to win than they'll ever bring back, every sale digs the hole deeper. Unit economics is how you tell the difference between healthy growth and expensive growth.
The idea is simple: look at the business one customer at a time. What does it cost to win a customer? How much gross profit do they bring each month? How long do they stay? From those three things come the metrics investors and boards ask about most: CAC, LTV, LTV:CAC and CAC payback.
This guide continues with Northwind Cloud from finance fundamentals, and ends with a calculator you can use with your own numbers.
#The building blocks
| Input | What it means | Northwind (new customers) |
|---|---|---|
| ARPA | Average revenue per account, per month | €2 500 |
| Gross margin | Share of revenue left after the cost of serving the customer | 80% |
| Monthly churn | Share of customers who leave each month | 1% |
| CAC | Customer acquisition cost: sales and marketing spend per new customer | €30 000 |
A few notes on the inputs:
- ARPA for new customers can differ from the installed base. Northwind's average existing customer pays about €23 000 a year, but new customers sign at about €30 000, or €2 500 a month, as the product has moved up-market.
- Gross margin should be the margin on the subscription, not the company average. Northwind's onboarding services earn much less, so its subscription margin of about 80% is the right figure here.
- Churn here is customer churn: the share of customers lost each month. 1% a month is about 11% a year, typical for mid-market B2B software.
#Customer acquisition cost (CAC)
CAC is the sales and marketing cost of winning one new customer:
CAC = sales and marketing spend on new customers ÷ number of new customers
Northwind spent €3.2 million on sales and marketing last year. About half of that went on winning new customers; the rest went to account management, expansion and marketing aimed at existing customers. It won about 53 new customers bringing €1.6 million of new ARR:
CAC = €1.6 million ÷ 53 ≈ €30 000
Three choices change the answer a lot, so be explicit about them:
- Fully loaded or paid-only. Include salaries, commissions, tools, events and a share of overhead, not just advertising. "Paid CAC", advertising spend only, is useful for marketing channels but flatters the total.
- New customers only, or blended. Spend on expansion and renewals shouldn't be divided only among new logos, or CAC looks worse than it is. Spend on new logos shouldn't be divided among all customers, or it looks better.
- Timing. Sales cycles take months, so this quarter's spend wins next quarter's customers. Many companies use a one-quarter lag.
#Lifetime value (LTV)
LTV is the gross profit a customer brings over their whole time as a customer. The simplest version:
Monthly gross profit = ARPA × gross margin = €2 500 × 80% = €2 000
Expected lifetime = 1 ÷ monthly churn = 1 ÷ 1% = 100 months
LTV = monthly gross profit × lifetime = €2 000 × 100 = €200 000
Use gross profit, not revenue. A customer paying €2 500 a month who costs €500 a month to serve is only worth €2 000 a month to the business.
Warning The formula says the average customer stays 100 months, more than eight years. Few software companies have that much evidence, and products, competitors and prices change long before then. A common correction is to cap lifetime at five years: €2 000 × 60 months = €120 000. Some investors also discount future gross profit, because money in year seven is worth less than money today.
LTV ignores expansion. If customers typically grow their spend, a model with only churn understates their value; if they downgrade, it overstates it. Net revenue retention, covered in SaaS metrics, captures both.
#LTV:CAC
The ratio compares what a customer is worth with what they cost:
LTV:CAC = €120 000 ÷ €30 000 = 4.0 (with a five-year cap)
Without the cap it's 6.7. Rough guide:
- Below 1: each customer loses money over their lifetime. Growth makes things worse.
- 1 to 3: customers pay back, but not by enough to fund R&D, G&A and profit.
- 3 to 5: healthy for most B2B software.
- Above 5: very efficient, or you're under-investing in growth. If each customer is that profitable, it may pay to spend more to win more of them.
#CAC payback
Payback asks how long it takes for a customer's gross profit to repay what it cost to win them:
CAC payback = CAC ÷ monthly gross profit = €30 000 ÷ €2 000 = 15 months
Payback is often more useful than LTV:CAC, for three reasons:
- It doesn't depend on guessing lifetime. You only need churn to be low enough that most customers stay past the payback point.
- It measures cash. During the payback period, each new customer is a net cash cost. The longer payback is, the more cash growth consumes. That's why growth eats cash, as cash vs profit explains.
- It's comparable over time. A payback that stretches from 15 to 24 months is an early warning that sales efficiency or pricing is slipping.
Common benchmarks for B2B SaaS: under 12 months is excellent, 12–24 months typical, and above 24–36 months a concern unless retention is exceptional. Payback is typically shorter for small-business customers, who churn faster, and longer for enterprise customers, who stay for years.
#Contribution margin
Gross margin only subtracts the cost of delivering the product. Contribution margin goes further and subtracts every cost that varies with each customer, such as account management, customer-specific support, transaction fees and usage-based third-party costs. It shows what each customer contributes towards fixed costs like R&D and G&A.
If Northwind assigns €300 a month of account management to each customer, its contribution per customer is €2 000 − €300 = €1 700 a month, and payback on that basis is about 18 months. There's no standard definition, so use whichever version you use consistently, and say which.
#Cohorts: the truth behind the averages
Averages hide a lot. A cohort is a group of customers who started in the same period. Tracking each cohort's revenue over time shows whether customers stay, grow or shrink, and whether newer customers behave better or worse than older ones.
A simple revenue cohort table, as a share of each cohort's starting revenue:
| Cohort | Month 0 | Month 6 | Month 12 | Month 24 |
|---|---|---|---|---|
| 2023 customers | 100% | 97% | 98% | 104% |
| 2024 customers | 100% | 95% | 93% | |
| 2025 customers | 100% | 92% |
Here, the 2023 cohort grew past 100% by year two: expansion more than covered churn. Later cohorts are losing more, faster. The company-wide averages might not show this for another year. That's the kind of signal cohorts catch early, and why investors ask for them in due diligence.
#Try it: unit economics calculator
The calculator starts with Northwind's new-customer numbers and a five-year cap on lifetime. Change the inputs to see how sensitive the results are.
Things worth trying:
- Double churn to 2% a month. Lifetime halves to 50 months. With the cap, LTV falls from €120 000 to €100 000; without it, from €200 000 to €100 000. Payback doesn't change.
- Cut gross margin to 65%, as could happen with an AI feature that's expensive to run. Payback stretches to about 18.5 months.
- Raise CAC to €45 000. LTV:CAC falls to about 2.7 and payback to 22.5 months.
#How to improve unit economics
Raise the value of each customer:
- price for the value delivered and review prices regularly (see pricing and packaging)
- build expansion into packaging, so customers grow into higher tiers
- reduce churn with better onboarding, support and product quality
- improve gross margin by lowering the cost to serve
Lower the cost of winning them:
- focus on segments and channels with the best payback, not the most volume
- shorten sales cycles with self-service trials, clear pricing and good documentation
- invest in referrals, partnerships and product-led growth, which have lower acquisition costs
- align sales compensation with retention, not just bookings
#Unit economics for usage-based and AI products
When customers pay per use, such as API calls, transactions or AI tokens, the unit is often the unit of usage, not the customer. The same logic applies: price per unit minus cost per unit gives margin per unit. Engineering decisions about architecture, caching, model choice and batching directly set the cost per unit, which makes them unit economics decisions. The cloud margins guide covers this.
#Common mistakes
- Using revenue instead of gross profit in LTV.
- Leaving salaries out of CAC. Paid-only CAC can understate the true cost by half or more.
- Trusting uncapped LTV built on a churn rate measured over a year or two.
- Blending segments. Enterprise and small-business customers have different economics; an average describes neither.
- Ignoring cohorts. Today's averages describe customers who signed years ago.
- Optimizing LTV:CAC while running out of cash. A great ratio with a 36-month payback still needs a lot of funding.
#Questions to ask
- How do we calculate CAC, and does it include salaries, commissions and tools?
- What's our CAC payback by segment and channel, and how has it changed over the last four quarters?
- What churn rate are we using for LTV, over what period was it measured, and do we cap lifetime?
- What do our cohorts look like? Are newer customers retaining better or worse?
- Which costs vary with each customer, and what's our contribution margin?
- If we doubled sales and marketing spend, how much cash would we need before it paid back?
Next in the series: SaaS metrics that matter, which puts unit economics alongside growth, retention and efficiency.
General information, not financial, tax or legal advice. Tax rates and thresholds are for 2026; check them with your tax agency or adviser.
Keep reading
The metrics boards and investors use to judge software companies: ARR and MRR, net and gross revenue retention, churn, magic number, burn multiple and the Rule of 40, with a worked ARR bridge.
A plain-language starting point for leaders and founders: revenue, profit, cash and value, the three financial statements, accrual accounting, and who does what in finance.
Why cash and profit differ, how to read a cash flow statement, and how to manage working capital, burn rate and runway, with a worked SaaS example.