Ecommerce - Customer Retention & Value

Ecommerce Customer Lifetime Value Guide: Formula, Examples and Practical Decisions

Understand ecommerce customer lifetime value formulas, measurement scope, worked examples, interpretation and ecommerce planning mistakes.

Written by SolveIndex Editorial Team | Published October 17, 2026 | Updated November 24, 2026

Ecommerce Customer Lifetime Value formula and ecommerce guide

Ecommerce customer lifetime value (CLV or LTV) estimates how much a customer may spend or contribute during their relationship with an online store. The ecommerce LTV calculation uses average order value, purchase frequency, expected lifespan and margin. Use revenue LTV to understand spending potential, contribution LTV to assess unit economics and LTV after CAC to test acquisition assumptions.

What is LTV in ecommerce?

Customer lifetime value in ecommerce describes value per customer across multiple orders rather than value per transaction. CLV and LTV commonly refer to the same concept, but the figures are only comparable when the revenue basis, costs and time horizon match. A $500 revenue-based estimate is not equivalent to $500 in profit.

Revenue LTV vs contribution LTV

Revenue LTV is projected sales before expenses. Contribution-based LTV reduces that revenue by costs that vary with purchases, such as product costs, shipping subsidies and processing fees. LTV after customer acquisition cost (CAC) subtracts acquisition cost separately. None of these is automatically after-tax profit. The model does not discount future cash flows or estimate fixed overhead.

Ecommerce customer lifetime value formula

Contribution LTV formula

Contribution LTV = AOV x Annual Orders per Customer x Years x Contribution Margin

For revenue LTV, omit the margin factor. For contribution LTV, convert a percentage such as 35% to 0.35 before multiplying. For LTV after CAC, subtract the cost of acquiring one customer. The LTV:CAC ratio is contribution LTV divided by CAC, provided CAC is positive.

How to calculate LTV in ecommerce

  1. Calculate net sales divided by orders for the relevant cohort.
  2. Estimate orders per customer per year using the same customer population.
  3. Estimate how long that cohort continues purchasing, in years.
  4. Apply a pre-CAC contribution margin and deduct acquisition cost only once.
  5. Enter these inputs in the ecommerce CLV calculator and record the assumptions with the results.

Inputs and measurement boundaries

Average order value

Use an aligned net sales definition with discounts and refunds treated consistently. If you include shipping revenue in sales, include the related fulfillment costs in the margin. Do not treat taxes collected for tax authorities as earned revenue. The average order value calculator can help establish the order-value input.

Annual purchase frequency

Use orders per customer per year, not the percentage of customers who return. For a complete twelve-month cohort with 240 orders and 100 original customers, the observed first-year frequency is 2.4. Customers who never bought again remain in the cohort denominator. Avoid annualizing a holiday month without considering seasonality.

How to estimate customer lifespan for a small ecommerce store

A non-subscription store seldom has an explicit cancellation date. Begin with customer IDs and first-purchase dates, then measure repeat purchasing over equal windows, such as 90, 180 and 365 days. Compare older cohorts with recent cohorts at the same age. A customer who has not yet reordered is not necessarily lost forever. Where history is short, use conservative and optimistic lifespan assumptions rather than claiming a measured average. An email list alone is not a customer cohort: match contacts to actual first purchases before estimating customer lifespan.

Contribution margin before CAC

Deduct product costs, variable fulfillment, payment fees and relevant order-level servicing costs from net sales. Divide the remainder by revenue. Do not include the same acquisition costs both in this percentage and in the separate CAC field. The SolveIndex contribution margin per order guide includes a model that can deduct acquisition costs; adjust that cost scope before transferring its result here. Gross margin is a narrower cost definition and may overstate the available contribution.

New-customer acquisition cost

Use the marketing, agency, personnel and other relevant acquisition costs allocated to new buyers, divided by unique new paying customers. Returning orders are not new customers. Use the ecommerce CAC calculator for a consistent acquisition estimate. Separate one-time acquisition costs from ongoing retention costs and do not deduct either expense twice.

Worked ecommerce LTV calculation example

Suppose an online store has an average order value of $75, 2.4 annual orders per customer, an expected three-year relationship, a 35% contribution margin before CAC and $28 acquisition cost. These are illustrative inputs, not benchmarks.

  • Expected lifetime orders: 2.4 x 3 = 7.2.
  • Revenue LTV: $75 x 7.2 = $540.
  • Contribution LTV: $540 x 0.35 = $189.
  • LTV after CAC: $189 - $28 = $161.
  • LTV:CAC: $189 / $28 = 6.75×.

Fractional orders describe an average projection across a population, not a promise that one person will place 7.2 orders. All four outputs match the default calculator example.

How to interpret the output

Ecommerce LTV to CAC ratio

A ratio of 6.75× means the projected pre-acquisition contribution is 6.75 times the cost of acquiring the customer. A ratio of 1× merely covers the acquisition cost in this model; it does not cover fixed expenses or financing. A zero CAC produces an undefined ratio rather than an infinite return. A positive lifetime contribution does not mean the first order is profitable or acquisition cash is recovered immediately.

Average customer lifetime value ecommerce benchmarks

There is no single good CLV for all stores. Consumables, luxury goods and durable goods have different order frequency and customer lifespans. Compare your own cohorts by acquisition channel, geography, first product and age. When using external ecommerce LTV benchmarks or platform reports, check whether they report revenue, gross profit or contribution, and whether they use observed or forecast value. A twelve-month historical figure is not comparable with an undiscounted three-year projection.

How to calculate customer lifetime value in Shopify

Shopify's customer reports provide cohort and customer purchase information. Review cohorts based on first purchase and compare spending at equivalent ages. Shopify also documents amount spent per customer as a historical spending metric that includes taxes, discounts, shipping and refunds. Reconcile the store's reporting definition before using it in a net-sales contribution model. The calculator does not connect to Shopify or reproduce its predictions.

Scenario analysis and planning

With the same $75 order value, 2.4 orders per year, 35% margin and $28 CAC, a two-year lifespan produces $360 revenue LTV, $126 contribution LTV and $98 after CAC. At four years, the corresponding values are $720, $252 and $224. The difference reflects the assumption, not a measured improvement.

How to increase customer lifetime value in ecommerce

Identify which part of the calculation is limiting customer value before choosing a tactic. Improve repeat purchase frequency with relevant replenishment reminders and reliable product availability. Use relevant bundles or cross-sells to raise basket value without eroding margin. Improve delivery and product support to retain customers; review contribution after discounts and return costs. Compare cohorts after interventions against a suitable baseline, not only the most loyal customers.

How to improve LTV:CAC ratio for ecommerce

Compare acquisition channels on the same horizon. A low-cost campaign may attract customers who never return, while a more expensive channel may produce higher contribution. Evaluate acquisition payback and cash requirements alongside the ratio. Test incremental retention spending against the incremental contribution it produces, rather than assuming every repeat order results from the campaign.

Common measurement mistakes

  • Mixing monthly purchase frequency with a lifespan expressed in years.
  • Using returning customers only when estimating average order frequency for a newly acquired cohort.
  • Including acquisition expense in margin and subtracting CAC again.
  • Comparing platform lifetime spending with contribution-based projections.
  • Treating a young cohort as if its future purchases are already known.
  • Using an average ratio to conceal unprofitable customer segments.

The calculator accepts margins from 0% to 100%. If order economics produce a negative contribution margin, this simplified tool cannot represent that input; use a separate financial model instead of entering zero to disguise the loss.

Practical reporting workflow

  1. Define cohort membership, first-purchase dates and currency.
  2. Reconcile completed orders, refunds and net sales with finance records.
  3. Calculate observed order frequency and order value, including one-time purchasers.
  4. Estimate a defensible future horizon and pre-CAC contribution margin.
  5. Run conservative, base and optimistic scenarios.
  6. Track observed cumulative contribution by cohort and revise forecasts when actual results diverge.

Use equal cohort ages when comparing customer value. If forecasting matters materially, consider a survival-based or discounted cash-flow model instead of assuming a constant rate of purchase across all years.

Related ecommerce metrics

Use the repeat purchase rate calculator to measure how many buyers return, and the purchase frequency calculator to measure order cadence. The ecommerce profit margin calculator measures store-level economics rather than individual lifetime value. These metrics answer different questions and should be interpreted together.

Frequently asked questions

It means lifetime value: an estimate of the revenue or contribution associated with a customer during their relationship with a store.

Multiply AOV by annual purchase frequency and expected lifespan for revenue LTV. Multiply by pre-CAC contribution margin for contribution LTV.

Use the cost definition that fits your decision. Contribution margin includes relevant variable costs beyond product cost, and must exclude any acquisition cost deducted separately.

Definitions differ. This tool reports contribution LTV before CAC, then subtracts CAC once to calculate LTV after CAC.

No. It assumes constant average frequency and margin over the estimated relationship length.

A useful target depends on contribution, acquisition cost, time to recover costs and customer behavior. Compare equivalent cohorts rather than relying on a universal dollar amount.

The LTV:CAC ratio is undefined. Revenue and contribution estimates can still be calculated.

Yes, using manually reconciled inputs. It does not access your Shopify account or calculate predicted cohort spend automatically.

Use observed repeat-purchase intervals and multiple clearly labeled assumptions, then update them as mature cohort data becomes available.

Editorial note: This is a simplified educational planning model, not an accounting valuation or guaranteed customer forecast.

Connect customer lifetime value with acquisition and repeat buying.

Ready to calculate Ecommerce Customer Lifetime Value?

Use the calculator with data from your own ecommerce store, then compare the result with a consistent baseline.

Open the Ecommerce Customer Lifetime Value Calculator