Customer Lifetime Value: How to Calculate and Raise It

How do you calculate customer lifetime value for an online store? Use the simple formula, a worked AUD example and practical ways to raise it.

Customer lifetime value (CLV) is the revenue or margin a customer generates across their relationship with your store. The simple calculation multiplies average order value by 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.

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.

How to Calculate Customer Lifetime Value

Calculate revenue CLV from order history, then apply gross margin to estimate what remains after product costs. Keep the calculation tied to a stated observation period or an explicit future assumption.

For a historical measure, divide a customer group’s total revenue after discounts and refunds, excluding goods and services tax (GST), by the number of customers in that group. This gives revenue per customer earned so far. It becomes a lifetime measure only when the group’s buying relationship has ended.

The simple model expresses that value through the underlying inputs:

Revenue CLV = average order value × orders per customer per year × customer lifespan in years.

For an acquisition decision, use the margin-based version:

Gross-margin CLV = revenue CLV × gross margin percentage.

Gross margin is revenue less cost of goods sold, divided by revenue. Express a 60% margin as 0.60 in the calculation. Gross-margin CLV still excludes payment fees, delivery subsidies and support costs unless you deduct them separately. Subtract those costs to estimate the contribution available for acquisition and profit.

A revenue calculation overstates the money available for ads. A margin calculation also misleads when one average margin hides different product costs or expensive returns. Calculate margin from the orders in the customer group you’re analysing.

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. 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.

Customer Lifetime Value Example for an Australian Store

A hypothetical Australian skincare store earns $360 in gross margin per customer over a two-year observation period. All figures below are in Australian dollars (AUD). Assume the store is registered for GST, and every example sale is fully taxable at 10%.

Customers pay an average $110 per order including GST, after discounts and refunds. The GST component is $110 ÷ 11 = $10, so revenue excluding GST is $100. ASIC’s GST calculator explains the one-eleventh calculation for fully taxable sales. Mixed taxable and GST-free baskets need their actual tax amounts.

The cohort places six orders per original customer over two years, including customers who never return. That is three orders per customer per year. The store’s cost of goods sold averages $40 per order excluding recoverable GST, leaving a 60% gross margin. Shipping charges and costs are excluded from these example order values.

CalculationWorkingResult
Revenue per order excluding GST$110 - $10$100
Revenue CLV over two years$100 × 3 × 2$600
Gross-margin CLV over two years$600 × 0.60$360
Customer acquisition cost$18,000 acquisition spend ÷ 200 new customers$90
Gross-margin CLV to CAC ratio$360 ÷ $904:1

The 4:1 ratio means the cohort earns four dollars of gross margin for each dollar spent acquiring a customer. It doesn’t mean four dollars of net profit. The $270 left after acquisition still pays order-related costs and overheads.

Compare that with the first order. Its $60 gross margin 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.

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.