Customer lifetime value for online stores
Know what repeat customers are worth before setting an acquisition budget. Use customer lifetime value to guide retention, service and spending.
- Published
- Last updated
Customer lifetime value (CLV) is the revenue or margin a customer generates across their relationship with your store. Its three inputs are average order value, purchase frequency and customer lifespan. Use the margin version when deciding how much you can spend to win a customer.
A high revenue figure can hide an expensive customer. Product costs, refunds and the time taken to earn repeat orders all affect what you can afford today.
What customer lifetime value means
Customer lifetime value measures the value of a customer across purchases, including what they buy after their first order. The revenue calculation has three inputs. Average order value measures spend per order. Purchase frequency counts orders per customer in a defined period, and customer lifespan measures how long they keep buying.
To estimate revenue CLV, multiply average order value by purchase frequency and customer lifespan. Multiply that result by your gross margin percentage to estimate gross-margin CLV.
Use matching time units. If purchase frequency is orders per year, express lifespan in years. A customer who places six orders over two years averages three orders a year across that period.
CLV helps set the upper limit on customer acquisition cost (CAC), the cost of winning one new customer. Your usable limit is below the margin that customer generates. You still need to pay operating costs and retain a profit, and later orders won’t fund an ad bill due today.
Choose the customer value assumptions
Higher order value or more frequent purchases increases estimated customer lifetime value. A longer assumed relationship adds future purchases, while a lower margin leaves less of that revenue to spend. Keep each assumption tied to order history or label it as a forecast.
Gross-margin value accounts for product costs. Payment fees, delivery subsidies and support costs still need separate allowances unless your estimate already deducts them. A single average margin can also hide products with expensive returns. Use the costs of the customer group you’re analysing.
Use the customer lifetime value calculator to compare the figures. Keep an observed result separate from any future lifespan you enter.
To find the inputs, start with your store’s order records. Use a cohort, meaning customers who made their first purchase in the same period. Compare cohorts over equal elapsed periods so older customers don’t look better simply because they’ve had longer to buy.
In Shopify, open Analytics > Reports and filter the category to Customers. The Customer cohort analysis report shows average order value, average orders per customer and amount spent per customer in its interval details. Returning customers lists first and most recent order dates, order count and total spend. One-time customers keeps single-order buyers visible.
Shopify’s customer spend totals include tax and shipping, with discounts and refunds reflected. Reconcile these amounts to the revenue basis you use.
Keep goods and services tax (GST) out of revenue when assessing margin. ASIC’s GST calculator helps separate the tax component of fully taxable sales.
First and last order dates show the observed buying span, not a confirmed future lifespan. The Predicted spend tier report gives a spending category.
Cohort projections use Amount spent per customer and need 24 months of data. A prediction isn’t earned margin.
In Google Analytics 4 (GA4), use an exploration with Ecommerce purchases and Total purchasers to calculate orders per purchaser for the same period. Use your purchase-event revenue, adjusted for recorded refunds, divided by order count for order value. Reconcile the currency and tax treatment to your store’s orders.
For the observed buying span, open Explore > Template gallery > User lifetime. Google’s User lifetime guidance describes first and most recent purchase information and lifetime revenue. Restrict the view to purchasers. Device-based identity can split one customer across devices, and missing events can leave orders out. Use order records for the customer total that sets your budget.
Keep one-time and repeat buyers separate when interpreting the result. A combined average is useful for a whole acquisition cohort, but it hides how differently those customers buy. Don’t apply repeat-buyer CLV to every new customer.
With under a year of orders, report value earned over the observed period. Don’t project a multi-year lifespan from that short history. Even a full year doesn’t prove when customers stop buying. Show longer-life assumptions separately from the historical result.
Read customer value beside acquisition cost
Customer acquisition cost (CAC) in marketing is the relevant acquisition spend divided by newly acquired customers over the same period. Count first-time paying customers, excluding returning buyers from that total.
Set the comparison’s boundaries before reading CAC beside margin-based lifetime value. For a channel figure, include that channel’s acquisition costs and the new customers attributed to it. For a whole-store figure, include acquisition costs across channels and count each new customer once.
Include the relevant agency fees and creative costs alongside ad spend. Add acquisition software and staff costs when using a fully costed figure. State any excluded costs so an ad-only number isn’t mistaken for total CAC.
Use one attribution model and conversion window across channels. Two platforms can both claim the same buyer. Reconcile those claims before adding channel customer totals, and allow for the delay between spending and a first purchase.
A margin-based CLV-to-CAC comparison shows whether a customer group earns enough to cover acquisition costs. Revenue value alone overstates the acquisition budget because product costs still need paying. The ratio also says nothing about when the money arrives.
For a hypothetical skincare store, assume observed gross margin of $360 per original customer over two years and CAC of $90. Its 4:1 comparison means four dollars of gross margin for each acquisition dollar. The $270 left after acquisition still pays order-related costs and overheads.
Suppose the first order earns $60 in gross margin. That doesn’t cover the $90 acquisition cost, even before delivery or payment fees. The store needs repeat orders and enough cash to fund the gap. Treat two years as this example’s observation window, not a promise that each customer stays exactly that long.
When repeat buying ends sooner than forecast, lower the assumed lifespan and reassess the acquisition limit. Reconsider channel budgets and welcome offers that depended on those later orders. Review spending on repeat-purchase activity against the margin it actually earns, and shorten the payback period your cash budget must support.
How to use customer lifetime value in decisions
Customer lifetime value sets an acquisition limit, with room for costs and the time you can wait for repayment. Start with historical margin from a comparable customer group, then deduct the other costs you expect to serve them.
Suppose the skincare store reserves $120 per customer for order-related costs, overheads and profit over the same two years. That leaves a maximum $240 for acquisition. Its actual $90 CAC is below that limit, but the first-order cash shortfall still needs funding. Reduce the spending limit if your cash budget can’t support the wait.
Compare acquisition channels by margin per new customer over the same elapsed period. A channel with cheap first orders can cost more overall if its customers buy once and return products. Choose the group with better margin after acquisition costs, using enough orders to avoid treating a few repeat buyers as a reliable pattern.
Size a welcome offer from the first-order margin and your remaining acquisition budget. In the example, a $10 discount excluding GST cuts first-order gross margin from $60 to $50 if product costs stay unchanged. Count that discount once. If it’s already deducted from revenue, don’t deduct it again as acquisition spend.
Increasing order value is one way to change the calculation. Use the guide to increasing average order value for basket tactics. To plan how to keep customers buying, read the guide to keeping customers buying.
After-Sale answers that lift lifetime value
Fast, accurate after-sale answers can remove problems that stop a customer ordering again. An unresolved delivery question leaves the shopper waiting for the first purchase. A clear returns answer helps them resolve a problem, while a reorder answer makes the next purchase easier.
An AI shopping agent needs order-status data to explain where a parcel is. The store’s shipping documents supply delivery rules, and its returns documents supply eligibility and the next step. For a reorder, the catalogue supplies the product variant, current price and stock. A policy document alone can’t tell the customer whether their individual order has shipped.
Keep the answer specific to the shopper’s question. Give the latest order status instead of a generic delivery promise. Explain the applicable returns steps, and pass exceptions to staff. For reorders, show the previous variant only when it’s available and identify any replacement clearly. The guide to reducing order-status questions covers delivery enquiries in more detail.
Measure whether quicker answers lead to more second orders before increasing your CLV assumption. Group first-time buyers who asked the same type of post-sale question by whether they received a quick answer or waited. Record response time and resolution, then compare their repeat purchase rates over the same follow-up period.
For example, use a 90-day window after each first order. Divide customers who place a second order within that window by all first-time buyers in each group. Keep product type and acquisition channel comparable, and count refunds when comparing margin. Customers with difficult delivery problems can both wait longer and buy less, so a simple group comparison doesn’t prove speed caused the difference.
Test a faster answer process with comparable groups, then track second-order margin as well as repeat purchases. Raise your customer lifetime value estimate only when the additional orders leave more margin after the cost of providing those answers.
Give your store its own shopping agent
Customers ask in their own words. Your agent finds, compares and checks out from your catalogue, right on your site.