Skip to content
All articles

Customers

Customer lifetime value for Shopify: how to calculate LTV and LTV:CAC

LTV tells you what a customer is worth over time. Paired with acquisition cost, it tells you how much you can afford to spend to win one. Here’s how to calculate both.

NexRetain Team · · 6 min read

A first order that barely breaks even can still be a great customer if they come back. Lifetime value (LTV) measures that, and it changes how much you should be willing to spend on acquisition.

The simple LTV formula

LTV = Average order value × Purchase frequency × Gross margin %

Purchase frequency is the average number of orders a customer places over the period you measure, for example 12 months. Multiplying by margin turns revenue LTV into profit LTV, which is the number that matters for decisions.

Use cohorts, not averages

Group customers by the month of their first order and track what each group spends over the following months. Cohorts show whether customers acquired recently are as valuable as older ones, which a single store-wide average hides.

Customer acquisition cost (CAC)

CAC = Total marketing spend ÷ New customers acquired

LTV:CAC

Divide profit LTV by CAC. A ratio below 1 means you lose money on the average new customer even after repeat purchases. Many ecommerce teams aim for around 3 or higher, though the right target depends on your margins, cash position and how quickly customers come back.

Ways to raise LTV

  • Focus acquisition on products whose buyers come back most often.
  • Follow up at the point when customers usually reorder.
  • Watch repurchase rate by cohort after any change to pricing, shipping or product range.

NexRetain’s Customer LTV report shows monthly cohorts, LTV by segment, purchase frequency and LTV:CAC from your real orders and ad spend.

See your real net profit, calculated for you.

NexRetain is coming to the Shopify App Store. Join early access and we’ll email you the day it goes live, with setup help from our team.