LTV, CAC and payback period, explained for engineers
· 5 min read
If the P&L tells you whether the company makes money, unit economics tells you whether each customer does. It is the first thing an investor checks and the fastest way to see whether growth is building the business or draining it.
The three numbers
- CAC, customer acquisition cost: sales and marketing spend divided by the number of new customers won.
- LTV, lifetime value: the gross profit a customer generates before leaving. For a subscription, roughly monthly revenue per account × gross margin ÷ monthly churn.
- CAC payback: the months of gross profit needed to earn back CAC. CAC ÷ (monthly revenue per account × gross margin).
A worked example
A company spends $600 to win a customer who pays $50 a month, at an 80% gross margin. Each month brings $40 of gross profit, so payback takes 15 months. If 5% of customers cancel each month, the average customer stays 20 months and is worth $800. LTV is 1.3 times CAC.
The usual rule of thumb for a healthy subscription business is an LTV of at least three times CAC, with payback inside twelve months. This company misses both. Every new customer costs more than a year of cash before it returns anything, so faster growth makes the cash position worse.
Why churn matters most
Look at the LTV formula: churn is in the denominator. Halve churn from 5% to 2.5% and LTV doubles to $1,600, with no change to price, margin or acquisition cost. No other single input has that much leverage, which is why retention work is often the most valuable thing a product team can do.
What engineering can change
- Churn: reliability, performance, onboarding and the features that make the product part of a customer's routine.
- Gross margin: infrastructure efficiency and support load.
- CAC: self-serve sign-up, faster time-to-value, and integrations that shorten the sales cycle.
This is how to pitch engineering work. “Rewrite the onboarding flow” is a cost. “Lift activation enough to cut churn from 5% to 4%, which raises LTV by a quarter” is an investment with a number attached.
Caveats
The simple LTV formula assumes churn is constant, which it rarely is: new customers leave faster than old ones. Treat LTV as a way of comparing options, not a forecast, and prefer payback period when you need something you can verify within a year.
