Mixpanel
Analytics

Lifetime value calculation: How to measure and optimize LTV

Article details
Published:
Aug 14, 2026

What is customer lifetime value?

Customer lifetime value, often called LTV, is the monetary value of a customer to a business over the course of their entire relationship with that business. It's an important metric to understand how much a company can spend to acquire new customers, and by extension how profitable the company can be over time.

What is customer lifetime value (LTV)?

The customer lifetime value formula and what's changed 

LTV = Average revenue per user × Average customer lifespan

or

LTV = ARPU ÷ Customer churn rate

Stickiness (DAU/MAU) for Ecommerce companies from 2024 to 2025 2024 2025 17% 20% 25% 21% 25% 23% 20% 25% NA EMEA APAC LATAM

Key components of LTV 

Metric What it measures
Customer acquisition cost (CAC)

CAC tells you how much your business spends to acquire a new customer. It includes marketing and advertising expenses, sales costs, incentives, and other acquisition-related investments.

LTV:CAC ratio

CAC is closely tied to LTV because acquisition only becomes sustainable when customers generate more value than they cost to acquire. The relationship between the two is commonly measured using the LTV:CAC ratio.

Retention and churn

Retention measures the percentage of customers who continue using your product over a given period.

Churn measures the percentage who leave.

Since customer lifespan is heavily influenced by retention, improving retention is often one of the most effective ways to increase LTV.

Customer lifespan

Customer lifespan represents the average length of a customer relationship.

For subscription businesses, this may end when a customer cancels or fails to renew. For ecommerce or consumer apps, you'll need to define when a customer is considered inactive, for example, after several months without a purchase or after a sustained period without product activity. Longer customer relationships generally result in higher lifetime value.

Average revenue per user (ARPU)

The average revenue per user, or ARPU, measures the average revenue generated by each customer over a defined period.

The formula is straightforward:

ARPU = Total revenue ÷ Number of active users

ARPU varies widely between industries, making it more useful for benchmarking against similar businesses than across unrelated sectors. Investors and VCs also use ARPU to gauge the health of a company and decide whether to invest.

Purchase frequency

Purchase frequency measures how often customers buy from your business over a specific timeframe, usually a year.

Calculate purchase frequency by dividing the average number of purchases by the average number of customers. For example, for a monthly subscription service, the number of purchases made over a year is 12.

Subscription businesses often have predictable purchase frequencies, while ecommerce businesses may see significant variation across customer segments.

Average purchase value (APV)

Average purchase value measures the average amount customers spend in each transaction. For example, for an ecommerce company, this could be the average value of each cart, while for a subscription service this could be the cost of the subscription.

Increasing APV through pricing changes, cross-sells, upsells, or bundled offerings is one of the most direct ways to improve LTV.

Gross margin

Gross margin measures how much of each sale remains after the cost of delivering your product or service.

The formula is:

Gross margin = (Revenue − Cost of sales) ÷ Revenue

Including gross margin produces a more realistic estimate of customer profitability than revenue alone.

LTV vs. CLV: What’s the difference?

Four ways to calculate customer lifetime value 

Read more

Cohort analysis in 2026: How to read the chart, choose a platform, and turn retention into growth.

Predictive LTV modeling with AI 

Read more

Learn how AI and Mixpanel MCP can help you access predictive insights faster.

Why LTV matters for product teams

How to increase customer lifetime value

Read more

What is user retention (and how to analyze it)?

Common challenges in calculating LTV (and how to fix them)

Inaccurate data and tracking issues 

Changing user behavior over time 

High churn rates skewing LTV calculations

Frequently asked questions

Is LTV the same as CLV?

What's a good LTV:CAC ratio?

How often should I recalculate LTV?

Should LTV use revenue or gross profit?

Analytics for everyone.
Share article