Customer lifetime value (CLV) is the revenue, or better the gross margin, that a customer brings over the whole relationship with your shop. You increase it by raising one of three things without destroying margin: the average order value (tiered discounts, bundles, free-shipping thresholds), how often customers buy (newsletters, loyalty and referral programmes) and how long they stay (service, trust and convenient payment). Calculate CLV first, by segment, so that you know which lever pays off and how much you can spend to win and keep a customer.
Many ecommerce entrepreneurs focus on winning new customers. Yet one of the most useful metrics for long-term success is how much existing customers are worth over time.
Customer loyalty, retention and repeat business are key to ecommerce growth. Getting new customers is only the first step; the real work, and the real return, comes from customers who come back.
In this article, we cover:
what CLV is and why it matters;
how to calculate the lifetime value of ecommerce customers, with a worked example;
how to increase customer lifetime value without giving away your margin.
When you know the lifetime value of your customers, you can plan more effective marketing campaigns and, ultimately, build a more profitable business.
How to Calculate the Lifetime Value of Ecommerce Customers
In short, CLV estimates how much an individual customer will spend in your store over the entire relationship. Nobody knows in advance how long a relationship will last, so shops either use a fixed period (for example, 12 or 36 months) or estimate the average customer lifespan from their own data.
Here is a simple customer lifetime value formula:
CLV (revenue) = average order value × purchase frequency per year × customer lifespan in years
CLV (margin) = CLV (revenue) × gross margin %
Average order value (AOV) = revenue ÷ number of orders, for the same period.
Purchase frequency = number of orders ÷ number of unique customers, for the same period.
Customer lifespan = the average number of years a customer keeps buying. If you know your yearly retention rate, a common shortcut is 1 ÷ (1 − retention rate). A retention rate of 60% gives 1 ÷ 0.4 = 2.5 years.
Use the margin version for decisions. Revenue-based CLV makes discounts look free, which they are not.
A worked example
The numbers below are illustrative, not benchmarks. Replace them with your own.
Input
Shop average
After a +10% change in frequency
Average order value
€60
€60
Orders per customer per year
2.5
2.75
Customer lifespan
3 years
3 years
CLV (revenue)
€60 × 2.5 × 3 = €450
€60 × 2.75 × 3 = €495
Gross margin
40%
40%
CLV (margin)
€180
€198
In this example, one more order every fourth year from each customer adds €18 of margin per customer. If a campaign to achieve that costs €10 per customer, it pays off; if it costs €25, it does not. If winning a new customer costs €50, the shop earns €130 of margin per customer before other costs at the current CLV. Comparing CLV with the cost of acquiring a customer is the main reason to calculate it.
Illustrative map of the CLV formula and the levers that move each factor. Every lever should be checked against margin, not only revenue.
Understanding CLV is Vital to Online Business
CLV shows how much you can afford to spend on acquiring and keeping a customer. Without it, marketing budgets are set by habit: the same discount for everyone, the same advertising spend for customers who buy once and customers who buy every month.
Customer lifetime value calculation
Calculating CLV takes some effort, but it is time well spent. It helps you allocate resources more effectively and supports budget forecasting for marketing, advertising and customer acquisition.
Calculate it by segment, not only for the shop as a whole: by acquisition channel, by first product bought, by country, or by customers who used a discount on their first order compared with those who did not. You will quickly see which segments are the most profitable. You can then create special benefits for them and build targeted retention campaigns.
Your data needs three things to make the calculation trustworthy:
One customer, one ID. Guest orders, a second account with another email address and in-store purchases split one customer into several. Match orders by email or loyalty ID where you can.
Net revenue. Subtract returns, refunds and cancellations, or CLV will reward customers who return half of what they buy.
Margin per order. Include the cost of discounts, free shipping and gifts. These are exactly the levers described below.
How to increase customer lifetime value and boost profits in Ecommerce Business
Every major ecommerce platform, whether Magento, Shopware, Shopify or BigCommerce, records orders per customer. The gaps are usually elsewhere: guest checkouts, offline sales, returns handled in another system and customer data spread across the shop, the CRM and the email tool. If you need a single view of the customer, read about ecommerce CRM or our customer data platform consulting.
Below are practical techniques to increase customer lifetime value. They encourage customers to spend more per order, come back more often and stay longer. Test each one on a segment first and measure the result in margin, not only in revenue.
Boost Smaller Orders with Cashback Rewards
A good offer can persuade a shopper to buy more. You can always run sales, but cashback, store credit or points have one advantage: the reward can only be spent in your shop, so it gives the customer a reason to come back.
Set an expiry date and decide in advance how the reward is accounted for, because unspent credit and points affect your margin calculation.
Loyalty programmes are the more structured version of the same idea. Our case pages show several forms: for Prostor, a drugstore chain with 427+ locations, a custom loyalty and bonus programme with a "Unified loyalty balance across online and in-store"; for SpieleMax, a loyalty system built as a separate service for gifts and promo cards integrated with Magento 2; and for the coffee-shop chain Aroma Kava, an iOS and Android loyalty app built to replace plastic loyalty cards.
Referral Programmes
A referral programme rewards existing customers for bringing new ones, so it raises both the number of orders from people who already buy and the number of new customers. For Zebrapack, a US retailer of mailers and packing supplies, we built a custom referral programme on Magento: Ambassadors invite referees and receive a 5% commission for up to a year, while referees get a 5% discount for one month. As with cashback, count the commission and the discount in your margin calculation.
Tiered Discounts
Customers rarely buy more just because you ask. You need to make them an offer.
One way to increase customer lifetime value is a discount based on the cart total. Many shoppers will add an item to reach the next tier if the saving feels worthwhile.
Here is an illustrative example of tiered discounts:
10% off a €100 order
20% off a €200 order
30% off a €300 order
Before you launch it, run the margin check. With a 40% gross margin, a €100 order at 10% off leaves €30 of margin. A €300 order at 30% off also leaves only €30 of margin (€120 − €90), for three times the goods, packing and shipping. In this example, the top tier earns nothing extra. Test which tiers work for your margins and customers, and watch whether customers simply wait for the discount.
Keep in mind two more things when implementing this strategy:
Don't lose sight of your margins. If necessary, exclude specific items from the deal so that you don't sell low-margin products at a loss.
Carefully consider the minimum order value for each tier. Your order value is reduced by the discount: a €100 order is worth only €90 with a 10% discount.
Another way to increase order totals: when shoppers place an order above a certain value, offer them a free gift.
Gifts that customers often appreciate:
a sample or trial size of one of your popular products;
items you have overstocked;
seasonal items themed around holidays.
You can also bundle the free gift with high-value products. Instead of offering a gift for orders of €100 or more, offer the chance to buy a set with the gift included.
Samples have a second benefit for CLV: a customer who tries a new product may buy it in their next order.
Free Shipping to Improve Customer Lifetime Value
Free shipping is a long-standing way to increase sales and repeat purchases. It works for two reasons:
Customers would rather spend money on products than on shipping fees.
Unexpected costs are a major reason for abandoned carts.
Baymard Institute's research on cart abandonment (list last updated on 28 October 2026, checked on 18 November 2026) shows this clearly. In its US survey, among shoppers who had abandoned an order during checkout for a reason other than just browsing, 40% named "Extra costs too high (shipping, tax, fees)" and 12% named "I couldn't see / calculate total order cost up-front".
You do not have to offer free shipping on every order. A free-shipping threshold set slightly above your average order value encourages customers to add an item. Show the remaining amount in the cart: the six extensions listed on our SpieleMax case page include a free-shipping bar. Include the shipping cost you absorb in your margin calculation.
How to Upsell and Cross-Sell Products for Ecommerce
Cross-selling means recommending related products, for example at checkout or in follow-up emails. Upselling means offering a better or larger version of the product the customer is looking at.
Done well, both help the customer as well as the retailer. Done badly, they add noise to the checkout and slow down the purchase. The main techniques:
Compound value. Bundle related products. If you show the value of the items together, customers are more likely to buy the set.
Incentives. Encourage customers to spend more in exchange for a modest saving.
Paradox of choice. Show a few well-chosen recommendations rather than a long list. Fewer options make the decision easier and the customer journey faster.
Prestige and self-presentation. If you offer premium products, remember that customers take pride in owning them; present them accordingly.
Reciprocation. A free sample or small gift makes customers more inclined to buy again. Measure whether it does in your shop.
Urgency and scarcity, only when true. Show real stock levels and real deadlines. Inventing them misleads customers and can break consumer law: in the EU, Annex I of the Unfair Commercial Practices Directive (2005/29/EC) lists "Falsely stating that a product will only be available for a very limited time" among the practices "in all circumstances considered unfair". Check the rules for each market you sell in.
Social proof. Show genuine reviews from your customers. They help new visitors trust your shop.
Bundling complementary products can also lift sales where single items attract little interest. A bundle creates greater perceived value, which makes visitors more likely to buy.
Offer Bulk Discounts on Your Ecommerce Website
If a customer buys a product, they see its value. Bulk discounts build on that: give customers a discount when they buy two or more of the same product.
Customers understand that buying in larger quantities saves money, and you get bigger orders. The technique works best for products that are used up and bought again, such as consumables, cosmetics or pet food. As with tiered discounts, check the margin at each quantity.
Offer Financing of Expensive Items
Retailers who sell high-priced items can help hesitant shoppers with payment in instalments. If a buyer is not ready to pay the full amount at once, instalments make the purchase easier and can turn a one-off buyer into a returning customer.
For example, payment in instalments is among the features on our Mon Tresor Bebe case page, a children's wear and gifts wholesale website built on Magento 2.
Instalment and buy-now-pay-later offers are usually provided through a payment or financing provider, and consumer-credit rules may apply. Check them with your provider for each market.
The Importance of Customer Lifetime Value
In this article, we have explained how to increase customer lifetime value in ecommerce. CLV is not a metric you can ignore. It changes over months and years, so there is no need to check it every day; a monthly or quarterly review by segment is enough for most shops. Our article on the most important ecommerce business metrics shows how it fits with the other numbers you track.
CLV helps you find the balance between spending on new customers and on keeping existing ones. It also shows which customers to build loyalty with first.
CLV matters because it focuses on growth and financial health. Use it to decide which of the levers above to try first, and measure each one in margin.
If you have any questions, feel free to contact us. If your Magento or Shopware store lacks the features you need for loyalty, referrals, bundles or personalised offers, the Dinarys team can build them. See also our ecommerce personalization services.
You may share this article
Lassen Sie Profis Ihre Herausforderung meistern
Unsere zertifizierten Spezialisten finden die optimale Lösung für Ihr Unternehmen.