What are LTV and CAC?
Lifetime value and customer acquisition cost answer one question together: does each new customer earn back what you spent to get them? Here is how to calculate both.

Key takeaways
- LTV = average monthly revenue per customer x gross margin / monthly churn rate.
- CAC = sales and marketing spend in a period / new paying customers won in that period.
- Compare them as a ratio and as a payback period, and recompute per channel, because averages hide bad channels.
LTV (customer lifetime value, also written CLV) is the total gross profit you expect from an average customer before they leave, and CAC (customer acquisition cost) is the average amount you spend to win one new paying customer. On their own each is just a number; side by side they tell you whether growth makes money or burns it.
An everyday version: a coffee shop hands out flyers that cost $200 and bring in 20 new regulars, so each regular cost $10 to win. If a regular buys coffee for a year and leaves $150 of profit, every $10 spent on flyers returns $150. The shop should print more flyers.
The formulas, with one example
CAC = total sales and marketing spend in a period / new paying customers in that period. Include ad spend, paid tools for marketing, and contractor or freelancer fees. Founders often leave out their own time, which makes CAC look better than it is; at least note it.
LTV = average revenue per customer per month x gross margin / monthly churn rate. Dividing by churn estimates how many months a customer stays: 5% monthly churn means about 1 / 0.05 = 20 months on average.
Worked example for a subscription app: customers pay $15 a month, gross margin after payment fees, hosting and AI usage is 80%, and monthly churn is 5%. LTV = $15 x 0.8 / 0.05 = $240. Last month you spent $1,200 on ads and creator posts and won 30 paying customers, so CAC = $40. The ratio is $240 / $40 = 6:1.
The ratio and the payback period
- LTV:CAC ratio. A common rule of thumb in subscription businesses is to aim for about 3:1. Well below 1:1 means each customer loses money. Very high ratios can mean you are underinvesting in growth.
- CAC payback period = CAC / (monthly revenue per customer x gross margin). In the example: $40 / ($15 x 0.8) = about 3.3 months. Shorter payback means less cash tied up before a customer pays you back, which matters most when you are self-funded.
Using LTV and CAC when you build with Startbase
Two things in your app make these numbers trustworthy. First, record where each user came from at sign-up (a `source` column filled from the link's UTM tags or a "how did you hear about us" question), so you can compute CAC per channel instead of one blended average. Second, keep subscription history with start and cancel dates so churn, and therefore LTV, comes from real data (what churn is, what MRR is). The analytics setup guide covers tracking sign-up sources.
Gross margin is where builders on any AI platform should look closely: if your app calls AI on every action, runtime usage is a real cost per customer. Startbase shows the AI calls your app makes and what they cost in the Backend tab, and you can set a runtime cap per app (AI features docs).
Common confusions
- Revenue LTV vs profit LTV. Leaving out gross margin inflates LTV. Use margin when comparing against CAC.
- Early churn data. With three months of history, a churn estimate is shaky, and LTV inherits that. Treat early LTV as a range.
- Blended CAC. Free word of mouth hides an expensive ad channel inside a low average. Split by source.
- Free users. Count CAC per paying customer, not per sign-up, or the number will look far cheaper than reality.
For cheaper acquisition ideas, see getting your first 100 users and referral programs.
Frequently asked questions
Can I calculate LTV before I have churn data?
Only as a guess. Use a pessimistic churn assumption, label it as an estimate, and replace it with real data after a few months of paying customers.
What if my CAC is zero because all users come organically?
Your time writing posts and answering forums is still a cost. Track hours as well as money, and recompute when you start paying for any channel.

