How to Calculate Customer Lifetime Value for E-Commerce in 5 Steps

Customer Lifetime Value (CLV) tells you how much revenue a customer generates over their entire relationship with your business. For e-commerce stores, CLV is the most important metric for making smart decisions about marketing spend, customer acquisition costs, and retention strategies.

The CLV Formula

The basic CLV formula for e-commerce:

CLV = Average Purchase Value × Purchase Frequency × Average Customer Lifespan

Example: If a customer spends $50 per order, orders 4 times per year, and remains a customer for 3 years:

CLV = $50 × 4 × 3 = $600

Step 1: Calculate Average Purchase Value

Average Purchase Value = Total Revenue ÷ Total Number of Orders

Pull this data from your e-commerce platform analytics:

  • Choose a meaningful time period (12 months is standard)
  • Include all revenue from completed orders
  • Exclude refunds and returns for accuracy

Example: $500,000 total revenue ÷ 10,000 orders = $50 average purchase value

Step 2: Calculate Purchase Frequency

Purchase Frequency = Total Number of Orders ÷ Total Number of Unique Customers

This tells you how often the average customer buys from you within your measurement period:

  • Use the same time period as Step 1
  • Count unique customers, not repeat orders

Example: 10,000 orders ÷ 4,000 unique customers = 2.5 purchases per year

Step 3: Determine Average Customer Lifespan

Average Customer Lifespan = average number of years a customer continues purchasing from your store.

This is the hardest metric to measure precisely. Approaches include:

  • Cohort analysis: Track how long customers from each acquisition cohort continue buying
  • Churn rate method: Customer Lifespan = 1 ÷ Churn Rate. If 25% of customers churn annually, lifespan = 1 ÷ 0.25 = 4 years.
  • Industry benchmarks: If you lack historical data, use industry averages as a starting estimate

Example: Based on cohort analysis, average customer lifespan is 2.5 years

Step 4: Calculate Customer Value

Customer Value = Average Purchase Value × Purchase Frequency

This tells you how much the average customer is worth per year:

Example: $50 × 2.5 = $125 per year

Step 5: Calculate CLV

CLV = Customer Value × Average Customer Lifespan

Example: $125 × 2.5 years = $312.50 CLV

This means each customer is worth approximately $312.50 over their entire relationship with your store.

Why CLV Matters for E-Commerce

Marketing Budget Allocation

CLV tells you the maximum you should spend to acquire a customer. If your CLV is $312 and your profit margin is 40%, you can afford up to $125 in customer acquisition cost (CAC) and still be profitable.

Customer Segmentation

Calculate CLV by customer segment to identify your most valuable customers:

  • By acquisition channel (organic search, paid ads, social, email)
  • By product category (customers who buy premium vs. budget products)
  • By geography (regional differences in buying behavior)
  • By first purchase type (which initial products lead to higher CLV?)

Retention vs. Acquisition

A 5% increase in customer retention can increase profits by 25-95%. CLV helps you quantify the value of retention investments:

  • Loyalty programs
  • Email marketing and re-engagement campaigns
  • Personalized product recommendations
  • Customer service improvements
  • Post-purchase follow-up sequences

Strategies to Increase CLV

  • Increase average order value: Cross-sells, upsells, product bundles, free shipping thresholds
  • Increase purchase frequency: Email marketing, loyalty programs, subscription options, personalized recommendations
  • Extend customer lifespan: Exceptional customer service, re-engagement campaigns, exclusive offers for long-term customers
  • Reduce churn: Exit surveys, win-back campaigns, addressing common dissatisfaction points

Advanced CLV Calculations

For more accurate CLV, consider:

  • Discount rate: Adjust future revenue to present value using a discount rate (typically 10%)
  • Gross margin: Calculate CLV based on profit per order rather than revenue
  • Predictive CLV: Use machine learning models that factor in purchase recency, frequency, and monetary value (RFM analysis) to predict future CLV
Want posts like this on autopilot?

Autorank researches, writes, and publishes SEO articles straight to your blog — on a schedule, with no writing required.

Start free →

Try Autorank

Generate SEO-optimized blog content and publish to WordPress automatically.