Most online stores focus on getting the next sale. But the real profit often comes from customers who come back again and again. Customer lifetime value, or CLV, tells you how much a typical customer is worth over the whole relationship, which changes how much you can afford to spend to win and keep them.
In this guide we will show you how to calculate customer lifetime value for ecommerce with a simple formula and a worked example.
What Is Customer Lifetime Value?
CLV is the total revenue, or ideally profit, you can expect from an average customer during the time they keep buying from you.
The Simple CLV Formula
CLV = Average order value x Purchase frequency x Customer lifespan
- Average order value (AOV): total revenue divided by number of orders.
- Purchase frequency: number of orders divided by number of unique customers, usually per year.
- Customer lifespan: how many years a typical customer keeps buying.
For a profit based view, multiply the result by your gross margin.
Worked Example
An online coffee bean store looks at last year’s data:
| Metric | Value |
|---|---|
| Total revenue | $120,000 |
| Number of orders | 3,000 |
| Unique customers | 1,000 |
| Average customer lifespan | 2.5 years |
| Gross margin | 40% |
- AOV = $120,000 / 3,000 = $40
- Purchase frequency = 3,000 / 1,000 = 3 orders per year
- Revenue CLV = $40 x 3 x 2.5 = $300
- Profit CLV = $300 x 40% = $120
So each new customer is worth about 120 dollars in gross profit over their lifetime.

How to Estimate Customer Lifespan
If you do not know lifespan yet, use churn. Lifespan is roughly 1 divided by your yearly churn rate. If 40 percent of customers do not buy again within a year, lifespan is about 1 / 0.4 = 2.5 years. Newer stores can start with a conservative estimate and refine it over time.
Why CLV Matters
- Ad budgets: if a customer is worth 120 dollars in profit, spending 30 dollars to acquire one may be very profitable. See how to set a Google Ads budget for a small business.
- Retention focus: small improvements in repeat purchases can raise CLV a lot.
- Customer segments: CLV shows which customers and products bring the most long term value.
The CLV to CAC Ratio
Compare CLV with customer acquisition cost (CAC). Many businesses aim for a CLV that is at least three times their CAC, though the right ratio depends on your margins and cash flow.
7 Ways to Increase Customer Lifetime Value
- Send a thank you and onboarding email after the first order.
- Offer subscriptions for products people reorder.
- Recommend related products based on purchase history.
- Start a simple loyalty or rewards program.
- Segment emails by customer behavior; see how to segment an email list.
- Deliver great customer service and easy returns.
- Win back lapsed customers with a reminder or special offer.
CLV is one of several numbers worth tracking; others are in 5 ways to improve e-commerce KPIs.
Frequently Asked Questions
Should CLV use revenue or profit?
Profit based CLV is more useful for budgeting because it reflects what you actually keep.
How often should I calculate CLV?
Every quarter or every six months, and whenever you change pricing or retention strategy.
What is a good CLV for ecommerce?
There is no single number. Focus on growing your own CLV and keeping it well above your acquisition cost.
Can I calculate CLV in my store platform?
Many platforms and analytics tools show AOV and repeat purchase rates, which you can plug into the formula.
Final Thoughts
Now you know how to calculate customer lifetime value for ecommerce: multiply average order value, purchase frequency, and lifespan, then apply your margin. Use CLV to guide ad spend and invest in retention, and your store will grow more profitably.


