Customer lifetime value is the gross profit a typical customer brings you over the whole time they keep buying: the total revenue a customer spends with you, minus what it costs to deliver it. At #10, we calculate it from four numbers in your own store data: average order value, orders per year, years retained and gross margin. Divide it by a target ratio and you get the most you can afford to spend to win a new customer. That figure, not last year’s budget or a competitor’s ad spend, is what should set your marketing budget.
Most brands we talk to know their revenue and their return on ad spend. They know CLV per channel even less often. Fewer know what a customer is worth after the first order, which makes customer lifetime value the most underused metric in ecommerce. That gap matters, because a first order that loses money can be a good deal if the customer comes back, and a profitable first order can be a bad one if they never do.
This guide walks through the calculation, the calculator below, and the decisions the number should drive. It is about the real worth of a customer to your business, and it is written for owners and marketing leads at direct-to-consumer and B2B ecommerce brands, most of them on Shopify.
What customer lifetime value actually measures
Customer lifetime value (CLV, also written LTV) is the total value a customer generates for your business across the whole customer relationship, not just one purchase. There are a few ways to measure CLV. We use the simplest CLV formula that is still honest:
CLV = average purchase value × purchase frequency per year × average customer lifespan in years × gross margin
In plain terms, the lifetime value of a customer depends on what the average customer spends per order, how often the customer buys, how many years they stay, and how much of each dollar you keep.
Two choices in that formula matter more than the rest.
It uses gross profit, not revenue. A customer who spends $1,000 with you over three years is not worth $1,000. After product and shipping costs, they might be worth a third of that. Budgeting against revenue is the most common way we see brands talk themselves into acquisition costs they can’t afford.
It is an average, not a promise. Your best customer is worth far more than the figure, and most first-time buyers are worth less. The average is what you budget against, because you can’t tell in advance which individual customer will become a long-term customer.
Historical CLV and predictive CLV
The version above is historical customer lifetime value: it describes how your customer base has actually behaved, using customer data you already have. Predictive CLV uses models to estimate the future value of each customer, based on customer behavior such as how recently and how often they buy.
Predictive CLV models are useful for larger stores with years of data and someone to maintain them. They can flag which customer segments are likely to churn, or which new customers look like your best ones. For most brands, though, historical CLV gives you the number that matters for the budget, and it is one your finance team can check. Some teams also discount future orders back to today’s dollars. Those are reasonable refinements once you trust the basic number. Start with the version you can check against your own reports.
Why customer lifetime value is important
CLV helps in three places. It sets a ceiling on customer acquisition cost, so you know how much you can spend to win a customer and still make money. It shows whether keeping an existing customer or acquiring a new customer is the better investment this quarter. And it lets you compare channels and offers by the customers they bring in, not just the first sale.
Without it, marketing budgets tend to follow last year’s number or whatever the ad platforms report as working. When you use CLV to drive the budget, you are paying for long-term value instead of one order.
How to measure customer lifetime value
Every input should come from your data, not a benchmark. Industry averages for repeat rate or retention vary so much by category that they are worse than useless for your budget.
| Input | Where it comes from | What to watch for |
|---|---|---|
| Average purchase value | Your store’s sales reports | Use net sales after discounts and returns, not gross |
| Purchase frequency | Orders in a year divided by unique customers that year | Exclude wholesale and B2B accounts if you sell both |
| Customer lifespan | Cohort reports: how long a group of first-time buyers keeps ordering | Churn rate gives a rough check: 1 ÷ annual churn |
| Gross margin | Finance, after product cost, shipping and fees | Include free shipping and subscription discounts you give |
On Shopify, the customer cohort report is a good place to start for retention, and the sales reports cover average order value. If you sell through more than one channel (online, retail POS, wholesale), make sure you are measuring the customers your marketing actually reaches. A wholesale account placing large monthly orders will distort every average on this list.
Average customer lifespan is the hardest input to measure. If your annual customer churn is about a third, a rough average customer lifespan is three years. If you have less than two years of history, don’t guess at a long lifetime. Use what you have seen so far and update the figure every quarter. An honest two-year CLV is more useful than an optimistic five-year one.
Calculate your customer lifetime value
Enter your own numbers. Nothing is pre-filled, because a sample figure would only be someone else’s business.
<div class=“customer-lifetime-value-calculator” data-explainer=“customer-lifetime-value-calculator”>
| Step | Calculation |
|---|---|
| 1. Lifetime revenue | Average order value × orders per year × years retained |
| 2. Customer lifetime value | Lifetime revenue × gross margin |
| 3. Maximum acquisition cost | Customer lifetime value ÷ your target ratio (for example 3) |
| 4. Orders to pay back | Maximum acquisition cost ÷ (average order value × gross margin) |
</div>
The ratio is the part that takes judgment. A common rule of thumb is to keep lifetime value at about three times what you pay to acquire a customer. We treat that as a starting point, not a law. A brand with strong cash flow and reliable retention can run closer to 2 to 1 to grow faster. A brand with thin cash or a short history should hold out for more.
The last line, orders to pay back, is the one owners tend to skip and shouldn’t. If it takes eight orders to earn back what you spent to get the customer, and a typical customer orders three times a year, you are waiting over two years for that money. CLV says the customer is profitable. Cash flow says you have to survive long enough to find out.
How CLV turns into a marketing budget
Once you have a maximum acquisition cost, the budget question changes. Instead of “how much should we spend on marketing this year”, you can ask “how many new customers do we want, and can we get them for less than our ceiling?”
The math is simple: target new customers × maximum acquisition cost = the most you should spend to acquire them. The work is in measuring your real customer acquisition cost (CAC) today.
That number is usually higher than teams think, for three reasons:
- Ad platforms count returning customers. Return on ad spend in most dashboards includes people who would have bought anyway. Your cost per new customer is total acquisition spend divided by first-time buyers only.
- Discounts are acquisition cost. A 20% welcome code on a first order is money spent to acquire that customer. So is free shipping you would not otherwise offer, and affiliate commissions.
- Agency and tool fees count too. If they exist to bring in new customers, include them.
When the real cost per new customer sits well under your ceiling, that is a reason to spend more, not to bank the difference. When it sits over, more spend makes the problem bigger. In that case, the fix is usually either cheaper acquisition or a higher CLV, and the second is often more within your control.
How to increase customer lifetime value
Look at the formula again. Average order value and margin matter, but the two inputs that multiply fastest are orders per year and years retained. Moving a customer from two orders a year to three raises their lifetime value by half, with no change to price or margin. That is why the brands that increase CLV most reliably invest in customer retention rates and customer loyalty, not only in new traffic. Even a small increase in customer retention compounds across every year of the time a customer stays with you.
Customer experience after the first order does most of the work: fast, accurate fulfillment, helpful customer support, useful follow-up, and an easy way to buy again. Every step of the customer journey after checkout is a chance to improve CLV or lose it. Customer satisfaction shows up in the numbers as repeat purchases, and a high CLV usually means you give customers a reason to come back on their own. That is why we spend so much of our Shopify work on what happens after the first order:
| Lever | What it changes | Where we usually start |
|---|---|---|
| Post-purchase email | Orders per year | A welcome series and a timed replenishment reminder, in Klaviyo |
| Subscriptions | Orders per year and years retained | Products customers already buy on a schedule |
| Membership or club | Years retained | Shipments and member pricing customers plan around |
| Bundles and thresholds | Average order value | Free-shipping thresholds set from real order data |
| Clean lists and data | Measurement | Removing inactive profiles so email costs track real customers |
For a premium California olive oil and estate-wine brand, we run this kind of retention infrastructure on Shopify Plus: subscription billing, wine club and culinary club memberships over the years, and email flows such as a welcome series and abandoned cart. A good share of the subscription work is unglamorous. When a new harvest or vintage arrives, subscribers move to the new product, and their prices have to land exactly right.
That last point has a CLV lesson in it. In the subscription app that brand uses, each subscription stores its own recurring price. A price change in Shopify does not reach existing subscribers on its own. So if your costs go up and you raise list prices, your subscriber margin stays where it was until someone updates it on purpose. If subscribers are a large share of your revenue, the margin in your CLV calculation should come from what subscribers actually pay, not from the price on the product page.
We don’t have a published lifetime-value figure for that brand, and we wouldn’t share one if we did. The point is operational: retention is a system someone has to run, not a campaign.
If your list has grown without much pruning, our guide to Klaviyo list cleaning covers the measurement side. Cleaner lists make every retention number more trustworthy.
Where CLV calculations go wrong
The formula is simple. These are the mistakes we see most:
Using revenue instead of margin. Covered above, and still the most common.
Mixing customer types. Wholesale accounts, staff purchases and one-time gift buyers all behave differently from your core customer. Separate them into customer segments, or at least leave them out of the average you budget against. Average CLV hides a lot: revenue per customer for your top segment may be several times the average.
Counting the first order twice. If you set a maximum acquisition cost from CLV and then also require the first order to be profitable, you are holding the same money to two standards. Pick one view and be consistent.
Ignoring seasonality. A customer acquired during Black Friday often behaves differently from one acquired in March. Holiday cohorts can be bigger but less loyal. Our Black Friday strategy guide covers planning for that, and it is worth checking your own holiday cohorts before you spend against a year-round average.
Never updating it. CLV changes when prices, products, shipping costs or retention change. Recalculate at least quarterly and after any major change to pricing or the subscription offer. If you keep customer data in a CRM (customer relationship management) system or in Klaviyo, track CLV by segment there too.
Treating CLV as a forecast for one customer. It is an average for budgeting. Don’t use it to justify an unusually expensive campaign aimed at a small group unless you have evidence that group behaves better.
Questions brands ask about customer lifetime value
How do I calculate customer lifetime value for my Shopify store?
Multiply average order value by orders per customer per year, then by the number of years a typical customer keeps buying, then by your gross margin. Use net sales from your Shopify reports and retention from the customer cohort report. Leave out wholesale accounts, and use margin after shipping and discounts.
What is a good CLV to CAC ratio?
A common rule of thumb is about 3 to 1: three dollars of lifetime gross profit for every dollar spent to acquire a customer. The right ratio for you depends on cash flow and how sure you are of your retention numbers. Check the payback period too. A healthy ratio with a three-year payback can still strain a small business.
How do subscriptions change customer lifetime value?
Subscriptions usually raise orders per year and years retained, which are the two strongest inputs. They also lower margin per order if you discount them, and in many subscription apps existing subscribers keep their old price when you change list prices. Calculate subscriber CLV separately from one-time buyers so each number reflects how those customers actually behave.
How do we improve customer lifetime value without more discounts?
Work on the inputs that don’t cost margin: purchase frequency and customer lifespan. Timely replenishment emails, subscriptions for products people already buy on a schedule, and good customer engagement after the first order all raise customer value without lowering price. If your cost per new customer is already near your ceiling, that retention work is usually the cheaper way to improve the economics, because it raises CLV for customers you already paid for.
How often should we be tracking customer lifetime value?
Quarterly is a sensible default, and any time pricing, shipping, the product range or the subscription offer changes. New stores should recalculate more often, because each month of history changes the retention figure noticeably.
Next step: measure what a new customer costs you today
The calculator gives you a ceiling. The next step is to compare it with what you actually pay per new customer, counting discounts and fees, and divided by first-time buyers only.
If the numbers say retention is where the money is, that is work we do every week on Shopify and Shopify Plus: subscriptions, email flows and memberships, plus the data underneath them. You can see the shape of that work in our case studies, or talk with #10 about what your own numbers suggest. If your team is also working out where AI fits in reporting like this, our guide to ChatGPT for business covers where it saves time and where it needs a person.
