Customer Lifetime Value Calculator for Ecommerce (Gross Profit Based)
Customer lifetime value is the money a customer brings in across every order they place with you. For a DTC brand, the version worth planning around is lifetime contribution margin (LTCM): the gross profit left after the variable costs of each order, set against what you paid to win that customer. The unit economics calculator shows the first order and the first 12 months side by side.
Hypothetical example: a customer spends $80 on a first order and $84 more over the next 12 months. On revenue, that customer is worth $164. After product cost only, they look like $114.80. After COGS, shipping, pick and pack, payment fees and returns, at a 55% gross margin, they are worth $90.20. That last number is LTCM. If you paid $60 to acquire them, the revenue view says 2.73x your acquisition cost. The LTCM view says 1.50x. Same customer, same orders, two very different spend decisions.
Revenue version: Customer lifetime value = First-order AOV + (Repeat orders per customer × Repeat AOV)
LTCM version: Lifetime contribution margin = (First-order AOV × Gross margin) + (Repeat orders per customer × Repeat AOV × Gross margin)
The ratio to watch: LTCM:nCAC = Lifetime contribution margin ÷ New-customer acquisition cost
Put your own numbers into the calculator below. It shows the revenue view and LTCM side by side, how much of your acquisition cost the first order earns back, and how many repeat orders it takes to cover the rest.
Customer lifetime value calculator for ecommerce
Prefilled with the hypothetical customer used in the examples on this page. Use one cohort of new customers and one time window, such as their first 12 months. Outputs include lifetime contribution margin (LTCM). Nothing you type leaves your browser.
| Customer lifetime value, revenue view | |
| First-order gross profit (zero-day LTCM) | |
| Lifetime contribution margin (LTCM) for the window | |
| LTCM:nCAC | |
| Revenue view ÷ nCAC, for comparison | |
| Gross profit left after paying nCAC | |
| Share of nCAC earned back on the first order | |
| Repeat orders needed to cover the rest of nCAC |
How to calculate customer lifetime value for ecommerce
Many lifetime value formulas you'll find online come from subscription software: monthly revenue per account, divided by churn. A DTC brand doesn't bill monthly. Customers buy, some come back, and the gaps between orders vary. So the ecommerce version is built from orders.
- Pick one cohort. Take the customers whose first order fell in the same month or quarter. Mixing old and new customers blends two different businesses into one number.
- Pick one window. Twelve months is a practical choice if you have a year of order history. "Lifetime" with no end date is a guess dressed up as a metric.
- Find first-order AOV. The average net order value on those customers' first orders, after discounts and refunds.
- Count repeat orders. Total orders from the cohort inside the window, minus one first order per customer, divided by the number of customers in the cohort. If 1,000 customers placed 2,200 orders in their first year, that's 1,200 repeat orders, or 1.2 per customer.
- Find repeat AOV. Repeat orders often come in at a different size than first orders, so measure them separately.
- Apply gross margin. Multiply each order value by your gross margin to turn revenue into LTCM. Gross margin here is not product cost alone. It takes out COGS, shipping, pick and pack, payment fees and returns. The LTCM section below unpacks those costs.
Hypothetical example, step by step:
- First order: $80 × 55% = $44.00 in gross profit (zero-day LTCM)
- Repeat orders: 1.2 × $70 × 55% = $46.20 in gross profit
- 12-month LTCM: $44.00 + $46.20 = $90.20
- Revenue view for the same customer: $80 + (1.2 × $70) = $164
Run this on your own cohorts. The $0 DTC unit economics course teaches what a customer is worth after the costs that move with each order, which is the foundation for numbers like these.
Why revenue lifetime value flatters the business
Revenue tells you how much a customer spent. It doesn't tell you how much of that spend you keep. A $164 customer at a 70% gross margin and a $164 customer at a 35% margin look identical on revenue, yet one leaves twice as much gross profit as the other.
The gap gets dangerous when it meets acquisition cost. Compare a $60 nCAC to $164 in revenue and it looks like a customer pays you back almost three times. Compare it to $90.20 in LTCM and the multiple is 1.50x, and it takes the full 12 months of repeat orders to get there. Two people can look at the same customer and reach different conclusions about how hard to push spend. The one reading LTCM is usually the one who's right.
What is lifetime contribution margin (LTCM)?
Lifetime contribution margin (LTCM) is the gross profit a customer produces across every order in a set window, after the costs that move with each order and before what you paid to acquire them.
That last part is the distinction. The revenue version of customer lifetime value adds up what the customer spent. A gross-profit version that only subtracts COGS, which is the gross profit on many income statements, still leaves shipping, pick and pack, payment fees and returns inside the number. LTCM subtracts those variable costs too. It does not subtract ad spend. That cost enters later, as nCAC, so you can compare the two without counting acquisition twice.
At Move the Needle we use LTCM because the name keeps the point visible: it counts what each order contributes after the costs that move with it, not what the customer spent.
LTCM formula: Lifetime contribution margin = (First-order AOV × Gross margin) + (Repeat orders per customer × Repeat AOV × Gross margin)
Zero-day LTCM is the first-order piece on its own: new-customer AOV × gross margin. In the hypothetical example it's $44. It tells you how much of your acquisition cost comes back the day the customer buys, before you count on a single repeat order.
Gross margin here is MTN's CM2 figure: net revenue minus COGS, shipping, fulfillment, payment fees and returns, divided by net revenue. It sits lower than the gross profit many accountants report, which usually stops at COGS (product margin). Our contribution margin guide walks through that difference.
Hypothetical example, with the costs unpacked. Take a first order of $80. After discounts and refunds, the variable costs of that order are:
- COGS (landed product cost): $24.00
- Shipping and pick and pack: $8.00
- Payment fees: $2.40
- Returns allowance: $1.60
- Total variable costs, before ads: $36.00
- First-order gross profit, which is also zero-day LTCM: $80 - $36.00 = $44.00 (55% gross margin)
The same 55% gross margin on 1.2 repeat orders at $70 AOV adds $46.20. Twelve-month LTCM is $44.00 + $46.20 = $90.20.
For the same hypothetical customer:
| Revenue customer lifetime value | After COGS only (income-statement gross profit) | Lifetime contribution margin (LTCM) | |
|---|---|---|---|
| What it subtracts | Nothing | Product cost | COGS, shipping, pick and pack, payment fees and returns |
| Result | $164.00 | $114.80 | $90.20 |
| Compared to a $60 nCAC | 2.73x | 1.91x | 1.50x |
| Best used for | Sizing revenue and forecasting sales | A first cut when delivery and fee data is missing | Deciding what you can pay to acquire a customer |
The COGS-only column uses the same $24 first-order product cost and the same 30% product cost on each $70 repeat order: $56.00 + (1.2 × $49.00) = $114.80. Delivery, payment and returns still sit inside that number, which is why it reads $24.60 higher than LTCM.
When to use each version:
- Use the revenue version to size sales or forecast revenue. Do not use it to decide what a new customer can cost.
- Use the COGS-only version only as a first cut, or when delivery and fee data is not available yet. Treat it as incomplete for spend decisions.
- Use LTCM whenever you compare a customer to nCAC or decide how much you can pay to acquire one.
Why LTCM is the number to set against CAC. nCAC is what you paid in marketing to win the customer. LTCM is what that customer returns in gross profit over the window. Divide them and you get LTCM:nCAC, the total return on acquisition and the gross-profit version of the LTV:CAC ratio.
CAC payback asks a different question with the same ingredients: how long until that gross profit covers nCAC. The ratio can look fine while the wait is too long for your cash position. A 1.50x LTCM:nCAC earned mostly on the first order is a different business from 1.50x that only appears in month eleven. The calculator's first-order share and repeat-orders-needed lines show that timing. Both metrics use the same gross profit per order, which is why they belong together.
Why LTCM uses gross margin, not contribution margin after ads
If you've read our contribution margin guide, you'll know contribution margin there means profit after ad spend. LTCM deliberately stops one step earlier, at gross margin.
The reason is the comparison you're about to make. LTCM gets divided by nCAC, and nCAC is your marketing cost per new customer. If you took ad spend out of each order and then compared the result to ad spend again, you'd count acquisition cost twice and make every customer look worse than they are. The same logic runs through CAC payback period, which also uses gross profit per order.
How to read LTCM:nCAC
LTCM:nCAC answers one question: over the window you chose, how many times does a new customer's gross profit cover what you paid to win them? Above 1.0x, the cohort earns back its acquisition cost inside the window. Below 1.0x, it doesn't, at least not yet.
There's no single target that fits every brand. What a ratio is worth depends on a few things:
- How fast the gross profit arrives. The calculator's first-order share and repeat-orders-needed lines show whether the ratio is earned on the first order or late in the window.
- Your cash position. Every month between paying for a customer and earning it back is cash you've fronted. A brand with thin cash reserves may need a faster payback than the ratio alone suggests. Our cash conversion cycle guide covers the inventory side of that timing.
- Fixed costs. LTCM:nCAC ignores salaries, rent and software. A ratio just above 1.0x covers acquisition and very little else.
- How old the cohort is. A cohort that's three months old hasn't had time to reorder. Projecting its 12-month repeat rate from older cohorts is reasonable, but label it a projection.
- How steady repeat behavior is. If repeat orders lean on one promotion or one hero product, the repeat number is less certain than it looks.
Where the inputs come from
- First-order and repeat AOV: your store's order export, split by whether the order was the customer's first. Many ecommerce platforms and analytics tools can tag first vs returning orders.
- Repeat orders per customer: a cohort report, or the same order export grouped by customer and first-order month.
- Gross margin: net revenue minus COGS, shipping, fulfillment (pick and pack), payment fees and returns, divided by net revenue. The contribution margin calculator breaks this out per order.
- nCAC: direct marketing spend divided by first-time customers in the same period. The CAC calculator does this split for you. Use new-customer acquisition cost, not blended CAC, because returning customers didn't cost you a new acquisition. The marketing efficiency ratio guide covers the blended vs new-customer split.
What moves LTCM:nCAC
Four inputs drive the ratio, and the calculator lets you test each one:
- Gross margin. It multiplies every order, first and repeat. A few points of margin show up across the whole customer, which is why margin work often moves the ratio more than any single campaign.
- First-order AOV. Bundles and thresholds that lift the first order raise zero-day LTCM, which shortens the wait for payback.
- Repeat orders. Replenishment timing, post-purchase email and the second product a customer is offered all show up here.
- nCAC. The denominator. Ad efficiency matters, but so does knowing your break-even ROAS, because it tells you what a new customer can cost before the first order loses money.
Try changing one input at a time. In the hypothetical example, lifting gross margin from 55% to 60% takes LTCM from $90.20 to $98.40 and the ratio from 1.50x to 1.64x, with no change in spend.
FAQ
What is customer lifetime value in ecommerce?
It's the total a customer brings in across all their orders over a set window, such as their first 12 months. The revenue version adds up what they spend. The version we plan around is lifetime contribution margin (LTCM): what you keep after the costs of making, shipping, packing, taking payment and standing behind each order.
What is lifetime contribution margin (LTCM)?
LTCM is the gross profit a customer produces across their orders in a set window, after COGS, shipping, pick and pack, payment fees and returns, and before ad spend. It is the version of customer lifetime value to use when the next step is a comparison to nCAC.
What is the customer lifetime value formula?
For ecommerce: first-order AOV + (repeat orders per customer × repeat AOV) for the revenue version. Multiply each part by gross margin for LTCM: (first-order AOV × gross margin) + (repeat orders × repeat AOV × gross margin). Gross margin in that formula is after product, delivery, payment and returns costs, not after ads.
Should customer lifetime value use revenue or profit?
Use LTCM (gross profit after the variable costs of each order) whenever you're comparing it to acquisition cost or deciding how much to spend. Revenue lifetime value is fine for sales forecasts, but it overstates what a customer is worth to the business by the full cost of every product shipped. A version that only subtracts COGS still overstates it by shipping, pick and pack, payment fees and returns.
What's a good lifetime value to CAC ratio?
It depends on how fast the gross profit comes back, your cash position, your fixed costs and how reliable your repeat rate is. A ratio above 1.0x means a cohort covers its acquisition cost within the window. How far above 1.0x you need to be is a judgement call for your brand, not a number to copy from someone else's.
What time window should I use?
Pick the window your business can measure and act on. Twelve months works if you have a year of history. Brands with fast replenishment may look at 90 or 180 days as well, and brands with slow repeat cycles may need longer. Use the same window every time so cohorts stay comparable.
Is LTCM the same as customer lifetime value?
LTCM is customer lifetime value measured after the variable costs of each order, not in revenue and not after product cost alone. Same customer and same window, with COGS, shipping, pick and pack, payment fees and returns taken out, and with ad spend left for the nCAC comparison.
Turn lifetime value into spend decisions
A lifetime value number earns its keep when it changes what you're willing to pay for a customer, and when you can say why. The Move the Needle Academy is built for DTC operators who want to make that call from their own numbers.
Want to start with the core numbers first? Get the Starter Toolkit →
Comments ()