DigiData
Free calculator

Customer lifetime value calculator: CLV, LTV to CAC and payback

Enter what a customer pays you per month, your gross margin, the share of customers who cancel each month and what it costs to win a customer. You see the customer lifetime value, the LTV to CAC ratio and how many months it takes to earn the acquisition cost back.

Short answer

Customer lifetime value (CLV) = monthly revenue per customer × gross margin ÷ monthly churn. A customer paying 120 a month at a 75% gross margin with 3% monthly churn stays 33 months on average and brings in 120 × 0.75 ÷ 0.03 = 3,000 in gross profit. If winning that customer costs 900, LTV to CAC is 3.3 and you earn the 900 back in 10 months.

Customer lifetime value calculator

Amounts per customer per month, excluding sales tax. Churn is the share of customers who cancel each month. Any currency works.

Average customer lifetime
33.3 months
CAC payback
10.0 months
LTV to CAC
3.3×
Customer lifetime value (CLV)
3,000

Customer lifetime value formulas

MetricFormulaExample
Gross profit per customer per monthmonthly revenue × gross margin120 × 75% = 90
Average customer lifetime1 ÷ monthly churn1 ÷ 0.03 = 33.3 months
Customer lifetime value (CLV)monthly gross profit × lifetime90 × 33.3 = 3,000
LTV to CACCLV ÷ cost to acquire a customer3,000 ÷ 900 = 3.3
CAC paybackCAC ÷ monthly gross profit900 ÷ 90 = 10 months

Use gross profit, not revenue. A customer who pays 120 but brings 30 in product, hosting or payment costs earns you 90 a month. Revenue would overstate the customer's value by a third.

Churn is the share of customers who cancel in a month: 12 cancellations out of 400 customers at the start of the month is 3%. If you measure churn per year, convert it: monthly churn = 1 − (1 − annual churn)^(1/12).

Customer lifetime value for an online store

Without subscriptions you work with orders instead of monthly amounts. The example is made up.

PartExample
Average order value65
Orders per customer per year3
Years a customer keeps buying2.5
Gross margin40%
Customer lifetime value: 65 × 3 × 2.5 × 40%195

How long customers keep buying comes from your order history: look at which share of the customers from two years ago still ordered last year. With Shopify connected to DigiData, orders per customer build up from the day you connect, starting with the last 60 days. For a first calculation over several years, use Shopify's own order export.

What is a good LTV to CAC ratio?

A common rule of thumb:

LTV to CACWhat it means
Below 1Every new customer costs more than they bring in
1 to 3Profitable, but little room for growth or setbacks
Around 3Healthy: enough margin to invest in growth
Well above 5You may be under-investing in new customers

Look at payback too. An LTV to CAC of 3 with a 30-month payback ties up far more cash up front than the same ratio with a 10-month payback.

Customer value from your own data

Subscriptions, invoices and cancellations live in Stripe, orders in Shopify and acquisition costs in your accounts or CRM. Connect them to DigiData and the AI agent works out customer value and churn per month for you, per product. How to build churn and MRR month by month is on the churn and MRR calculator, and how to ask about your Stripe figures in ChatGPT or Claude is in Stripe MCP for ChatGPT and Claude.

Frequently asked questions

Is CLV the same as LTV?

Yes. Customer lifetime value (CLV) and lifetime value (LTV) are two names for the same thing: what a customer brings in on average for as long as they stay a customer.

Should I use revenue or profit?

Gross profit: revenue minus the direct costs of serving that customer, such as product, hosting and payment fees. Only that part is available to spend on winning new customers.

What if my churn is close to zero?

Then the formula gives a very long lifetime. For planning, cap customer value at a fixed horizon such as five years, so one good year does not turn into an unreachable budget.

What goes into the cost to acquire a customer?

All marketing and sales costs of a period divided by the number of new customers in that period: advertising, tools and the hours of marketing and sales staff.

See this figure live from your own accounts

Connect Stripe, Shopify or your CRM to DigiData and follow customer value, churn and recurring revenue every month, without spreadsheets.

See the sales dashboard

Or just ask: the AI agent works it out on your own figures. Ask the AI agent

Also useful: Churn and MRR calculator · Margin calculator · All calculators