Customer Lifetime Value Formula for a Small Online Shop
Customer lifetime value for a shop is average order value × orders per customer × gross margin, all from your own order history. Here is the sum on 12 months of demo orders, and what goes wrong when most customers buy once.
The short answer
The customer lifetime value formula for an online shop is average order value × orders per customer × gross margin. All three numbers come from your own order history, so you need no churn rate and no analyst. In the ManteIQ demo shop, the last 12 months give €166.54 × 1.17 × 51 % = about €99 of gross profit per customer. That is close to the most this shop can pay to win a new customer and still break even within a year. Below: where each number sits in PrestaShop, WooCommerce and OpenCart, the sum in a spreadsheet, and what goes wrong when most of your customers buy only once.
In short Customer lifetime value (CLV) = average order value × orders per customer × gross margin. Take all three from one fixed window. For most shops that is the last 12 months. Use gross profit, not revenue, or you will overpay for customers. With few repeat buyers, most customers are worth one order. Plan around that, not around the average.
The customer lifetime value formula, part by part
Customer lifetime value = average order value × orders per customer × gross margin. Each part answers one question.
- Average order value: revenue ÷ orders. What one order brings in.
- Orders per customer: orders ÷ unique customers, in the same window. How often a customer comes back.
- Gross margin: (revenue − product cost) ÷ revenue. How much of each euro you keep before ads and overheads.
The first two parts multiply to revenue per customer. So the short version is revenue ÷ customers × gross margin. Google builds it from the same blocks: in Google Ads, customer lifetime value is calculated from the average conversion value and the purchase frequency of your customers.
Keep the margin in. A CLV in revenue tells you what a customer spends. A CLV in gross profit tells you what you can afford to spend on them. Only the second one helps you set an ad budget.
Why the subscription formula does not fit a shop
Most guides divide revenue per customer by a churn rate. That works when customers cancel a contract, because you know the day they leave. A shop customer never cancels. They just stop ordering, and you find out months later, if at all. An MIT Sloan Management Review article notes that CLV "can be extremely difficult to project for customers with whom the company does not have a contract". So measure what customers really spent over a fixed window, and leave the forecasting out.
Calculate customer lifetime value from 12 months of orders
Here is the sum on Northlane Supply, the shop in the ManteIQ demo. It is an invented PrestaShop shop, so read every figure as example data. The window is the last 12 months, read on 18 November 2026.
The header gives the orders: 9,534 counted orders, after 565 cancelled or unpaid ones were left out. Net revenue was €1,587,805 after €33,217 of refunds; the header rounds it to 1,59 mln. €, and the Sales over time card further down gives the exact figure. So the average order is €1,587,805 ÷ 9,534 = €166.54. The screen rounds it to 167 €.
The Customers card gives the people: 6,659 new customers and 1,506 who had bought before the window began. Together that is 8,165 customers, so orders per customer = 9,534 ÷ 8,165 = 1.17.
The Profit card gives the margin: 51 %, worked out from the product costs stored in the shop. Now the sum.
Customer lifetime value of the demo shop Northlane Supply, last 12 months, read on 18 November 2026. Example data from the ManteIQ demo.
- Value
- €166.54
- Value
- 1.17
- Value
- €194.46
- Value
- 51 %
- Value
- €99.18
So one customer of this shop is worth about €99 of gross profit over 12 months. Keep the unrounded orders per customer (1.1677) in your sheet. Rounding early only moves cents, but it makes next quarter's sum harder to compare.
Where the numbers are in PrestaShop, WooCommerce and OpenCart
Every platform has a report with one row per customer. That is nearly all you need: the orders and the money spent by each customer, over the same window.
Per-customer reports in each platform, from the PrestaShop, WooCommerce and OpenCart documentation listed under Sources.
- Where
- Customers › Customers, then Export
- What you get
- The Sales column: what each customer has spent so far
- Where
- Analytics › Customers, then Download
- What you get
- Orders, Total spend and AOV for each customer
- Where
- Reports › Customer Orders Report
- What you get
- Order count, product quantity and total for each customer
The sum in a spreadsheet
Put one customer per row from row 2 down: email in column A, orders in column B, money spent in column C. Put your gross margin in F1 as a decimal, for example 0.51. Then:
- Average order value:
=SUM(C:C)/SUM(B:B) - Orders per customer:
=SUM(B:B)/COUNTA(A2:A10000) - Customer lifetime value:
=SUM(C:C)/COUNTA(A2:A10000)*F1
Clean the export first
- Lowercase every email before you count customers, so one person counts once.
- Leave out cancelled, failed and unpaid orders, and your own test orders.
- Subtract refunds.
- Take VAT out of revenue. Take shipping out too if you pass it straight to the carrier.
- Use product costs without VAT for the margin, so both sides match.
What goes wrong when most customers buy once
The formula is simple. Trouble starts when the shop has few repeat buyers, which is normal for a small shop. Four things go wrong.
The average describes almost nobody
1.17 orders per customer does not mean each customer orders 1.17 times. In the demo, 9,534 − 8,165 = 1,369 orders came on top of a customer's first order in the window. Most customers placed one order. A smaller group placed several and pulled the average up.
So a typical new customer is worth one order: €166.54 × 51 % = €84.94 of gross profit. The €99 holds only if new customers come back as often as past ones did. Check that before you plan on it.
Budget a new customer on their first order, €84.94 in the demo. Treat repeat orders as the margin of safety, not as money already earned.
Recent customers have not had time to come back
In the demo, the median wait from first to second order is 166 days. Someone who first bought last month has had no fair chance to order again. A 12-month window mixes them with customers who had a full year, and the average comes out low. The fix is a cohort:
- Take the customers whose first order fell in one month at least a year ago.
- Add up everything they spent in the 12 months after that first order.
- Divide by the number of customers in that month, then multiply by your margin.
This needs orders with dates and emails, so work from the order export, not the customer list. Repeat it for a few months in a row and you will see whether newer customers come back as often as older ones.
"Lifetime" quietly changes meaning
The Customers card shows an average lifetime value of 238 €. That is the average spent since the first order by every customer who bought in the window, including orders from before it. It is higher than the 12-month €194.46 because returning customers bring their older orders along. It is also revenue: at a 51 % margin it is €121.38 of gross profit. Neither number is wrong. Pick one definition and keep it from quarter to quarter.
Two emails, two customers
Shops count customers by email. A buyer who checks out as a guest with a work email, then with a private one, becomes two customers with one order each. That lowers orders per customer and makes the shop look less loyal than it is. Our repeat customer rate guide shows how to match emails and which window to pick.
How much can you pay for a new customer?
CLV in gross profit is the break-even price of one customer. Pay that much and you get your money back, nothing more. How much you can pay depends on how long you can wait.
Tap a bar for the number
Show as a table
| Gross profit per customer | |
|---|---|
| First order only | €84.94 |
| First 12 months | €99.18 |
| Lifetime to date | €121.38 |
ManteIQ demo shop Northlane Supply (an invented shop, example data), last 12 months, read on 18 November 2026. Average order €166.54, 1.17 orders per customer and an average lifetime value of 238 € (Customers card), each at the 51 % blended margin from the Profit card.
If ads must pay back on the first order, the cap is €84.94 per new customer. In ROAS terms, break-even is 1 ÷ 0.51 = 1.96, as our guide on how to calculate ROAS explains. If you can wait a year for repeat orders, the cap rises to €99.18. Break-even ROAS on the first order then falls to €166.54 ÷ €99.18 = 1.68.
Now compare that with what you pay today. The demo shop spent €97,735 on ads in the same 12 months and won 6,659 new customers. That is €97,735 ÷ 6,659 = €14.68 per new customer, far under the cap. Not every new customer came from an ad, so the real cost of an ad customer is higher than this blended figure.
These are break-even prices. Gross margin leaves out ad fees, payment fees, shipping you absorb and your own time, as the Profit card itself warns. Set your real limit below them.
Google Ads can use the number. Its customer lifecycle goals let a campaign bid higher for new customers than for existing ones. Your 12-month CLV is a sound anchor for how much more a new customer is worth to you.
Check your customer lifetime value this week
- Export the last 12 months of orders, or the per-customer report from the table above.
- Clean it: lowercase emails, drop cancelled and test orders, subtract refunds, take VAT out.
- Work out the average order value and orders per customer.
- Take your gross margin from product costs. If some costs are missing, use your best estimate and write it down.
- Multiply the three. That is your 12-month customer lifetime value.
- Divide last year's ad spend by last year's new customers, and compare the two.
If the cost of a new customer sits well under your CLV, you can afford to bid harder. If it is close, or above, work on repeat orders first, or cut the bids.
What ManteIQ shows, and what it does not
ManteIQ reads orders straight from PrestaShop, WooCommerce and OpenCart, so customer and repeat numbers come from the shop and not from GA4. The Sales page shows new and returning customers, average lifetime value, days to second order, the repeat rate and the blended margin for 7 days, 30 days or 12 months. Customers are matched by an anonymous key made from the email, and no names or emails are stored. The weekly briefing carries revenue, orders and average order value.
Some limits, plainly. There is no cohort table by first-order month yet, so the cohort method above is still a spreadsheet job. Average lifetime value is shown in revenue, not gross profit, so you apply the margin yourself. Products without a stored cost use a fallback margin, marked as estimated. ManteIQ does not predict future CLV, and it does not split CLV by channel.
Questions
- Is CLV the same as LTV?
- Yes. CLV, CLTV and LTV all name the same idea: what one customer is worth over time. Software companies tend to say LTV, shops and marketers CLV.
- Should customer lifetime value use revenue or profit?
- Profit. A revenue figure tells you what a customer spends, not what you can pay to win one. Multiply by your gross margin at the very least.
- Which time window should a small shop use?
- The last 12 months suits most shops. If customers reorder rarely, as with furniture, use two years. Your median days to second order tells you which window is long enough.
- Do I need a customer lifetime value calculator?
- No. A spreadsheet with three cells does the job: average order value, orders per customer and gross margin. The hard part is a clean export, not the sum.
Sources
- Set up new customer acquisition parameter in your conversion tracking tag, Google Ads Help
- About customer lifecycle goals, Google Ads Help
- How Should You Calculate Customer Lifetime Value?, MIT Sloan Management Review
- Your customers, PrestaShop 8 user guide
- Order list management, PrestaShop 8 user guide
- Customers report, WooCommerce documentation
- Reports, OpenCart documentation
About the author: Mantas Lukošius
Mantas has worked in ecommerce for more than 15 years, almost all of it on PrestaShop: from his own first shop to business stores and large clients. He builds ManteIQ. Ecommerce and the data behind it are still what he enjoys most.
How we write and check what we publish



