Guide · Profit and finance

Unit economics for ecommerce: per order, per product and per customer

What unit economics are for a webshop, how to calculate contribution per order, CAC, LTV, LTV:CAC and payback, with worked examples and what to fix first.

Updated · 8 min read

By the ROASaurus team

The short answer
  • Unit economics are the revenue and costs of one unit of your business: one order, one product sold, or one customer over time.
  • The core chain is: contribution per order, what a new customer costs (CAC), what they earn you over time (LTV, in margin) and how long until they pay back their CAC.
  • If one order does not cover its own costs, more orders make the loss bigger; growth only helps once the unit is profitable.
  • A high LTV:CAC ratio is not the goal in itself: the goal is the most total profit your cash can fund, which can mean accepting a lower ratio.
  • Measure LTV in contribution margin, not revenue, and per cohort of customers, not as one store-wide average.

Unit economics ask a simple question: does one unit of the business make money? For a webshop the unit is an order, a product sold or a customer. Totals mix good units with bad ones; looking at one unit separates them, and tells you whether growing will make the business richer or only bigger.

This guide defines the units, builds the numbers for a fictional store step by step, and shows what to improve when they do not work. Subscription businesses have their own twist on the same numbers, covered in subscription economics.

What unit economics are

Unit economics describe the revenue and the costs attached to one unit. Three units are useful for an online store:

UnitQuestionKey figure
One product soldDoes this product earn money after its costs?Contribution per unit, after its share of ads
One orderDoes an average order pay for itself?Contribution per order before and after marketing
One customerIs a customer worth what they cost to win?Lifetime value against CAC, and the payback time

Swipe the table sideways to see every column.

They build on each other: products make up orders, orders make up a customer's value. The calculation for one product is in the profit margin formula guide; this guide starts from the order and works up to the customer.

Why unit economics matter

Ad costs per customer tend to rise as a store grows, because each extra euro reaches people who are less likely to buy. Costs for shipping, materials and wages change too. In that setting, unit economics decide three things:

  • Whether growth pays. If each new customer earns more than they cost, more customers mean more profit. If not, more customers mean a bigger loss.
  • How much you can spend to grow. The margin per order and the value of a customer set the most you can pay for one.
  • How others see the business. Lenders, investors and buyers look at contribution per order, CAC and payback before revenue, because they show whether the model works at all.

What happens when you ignore them

  • Scaling a loss. More budget buys more orders that each lose money; revenue rises, the bank balance falls.
  • Cash runs out before profit arrives. Customers that pay back after a year need a year of cash in between.
  • One shock breaks the model. A rise in ad costs or a supplier price wipes out a margin that had no room in it.
  • Bad products stay hidden. A bestseller with expensive shipping and high returns can lose money on every order while the total looks fine.
  • Discounts and free shipping by habit. Without the unit view, nobody sees that a code or a threshold costs more than it brings.

Step 1: contribution per order

Start with an average order and subtract every cost that comes with it.

Contribution per order, ROASaurus Demo StoreSample data
Average order value (excl. VAT, after discounts)€60.00
Product cost−€18.00
Shipping and packaging−€6.50
Payment fee (2% + €0.30)−€1.50
Contribution before marketing (56.7%)€34.00
Example data for a fictional store.

€34 is what one order leaves before you pay anything to win it. It is the ceiling for what an order can cost in marketing without losing money: here, a cost per order above €34 means every order loses. As a ratio, the break-even ROAS is €60 ÷ €34, about 1.76.

Step 2: what a customer costs (CAC)

CAC=marketing spend to win new customers ÷ number of new customers
Marketing spend
Ad spend plus agency, influencer and affiliate costs aimed at new customers, for a period.
New customers
People who placed their first order in that period.

Use new customers, not all orders: returning customers would make acquisition look cheaper than it is. When you cannot split spend, a blended figure (all marketing ÷ new customers) is a conservative stand-in. More in the CAC glossary entry.

For the demo store, a CAC of €40 means the first order alone loses €6 (€34 − €40). Whether that is a problem depends on step 3.

Step 3: what a customer earns over time (LTV)

Lifetime value is what a customer brings in over time. For unit economics, measure it in contribution, not revenue: a customer who spends €300 on low-margin products can be worth less than one who spends €150 on high-margin ones. Measure it per cohort (all customers who first ordered in the same month), so you see how value builds up after the first order.

Months after first orderCumulative contribution per customerAgainst a CAC of €40
0 (first order)€34.00−€6.00
1€37.20−€2.80
2€40.40+€0.40, paid back
6€53.20+€13.20
12€72.40+€32.40
Example data for a fictional cohort. Repeat orders add an average of €3.20 contribution per original customer each month, after the cost of email and retention marketing.

Swipe the table sideways to see every column.

Step 4: LTV:CAC and the payback period

LTV:CAC=lifetime value (in contribution) ÷ CAC

€72.40 ÷ €40 = 1.81 after 12 months.

CAC payback period=months until cumulative contribution per customer ≥ CAC

Month 2 in the table above.

The two answer different questions. LTV:CAC says whether a customer is worth acquiring at all: below 1, they never pay back. Payback says how long your money is tied up: a short payback recycles cash quickly into the next customers; a long one needs cash to bridge the gap, even when the ratio looks fine.

A higher ratio is not always better

A very high LTV:CAC can mean you are spending too little: you only buy the cheapest customers and leave profitable ones to competitors. The goal is the most total contribution your cash can fund. Each extra euro of ad spend usually finds customers a little more expensively than the last, so compare total results, not ratios:

Plan A: spend €10,000Plan B: spend €20,000
CAC€30€40
New customers333500
12-month contribution per customer€72.40€72.40
LTV:CAC2.411.81
Contribution after CAC, 12 months€14,120€16,200
Example data for a fictional store. Plan B has the lower ratio and the higher profit, but it ties up twice the cash for two months.

Swipe the table sideways to see every column.

So use LTV:CAC as a floor (do not go below a level you are comfortable with), payback as the cash limit, and total contribution as the goal. The step in between is to know, per campaign, what the last euro returned; see marginal analysis.

The metrics to keep together

MetricFormulaWatch for
Average order valuerevenue ÷ ordersFalling baskets spread fixed order costs over less revenue.
Contribution per orderAOV − product, shipping, packaging and feesThe ceiling for your cost per order.
CACacquisition spend ÷ new customersRising faster than contribution per order.
Repeat ratecustomers with 2+ orders ÷ customersPer cohort; a falling rate lowers every LTV.
LTV (contribution)cumulative contribution per customer in a windowMeasured in margin, per cohort.
LTV:CACLTV ÷ CACBelow 1 means customers never pay back.
Payback periodmonths to recover CACLonger than your cash can carry.

Swipe the table sideways to see every column.

How to improve your unit economics

Each figure in the chain has its own levers. Work on the one that is weakest:

  1. Raise contribution per order

    Price, bundles, a free-shipping threshold above your average order, cheaper shipping and lower product cost. The levers are listed in how to increase profit margin.

  2. Lower CAC

    Pause campaigns that bring few new customers for their spend, improve conversion on landing pages, and give ad platforms complete conversion data so they find buyers more efficiently.

  3. Raise LTV

    Retention flows, reorder reminders, products that lead to a second purchase, and service that earns the next order. Find which first products bring the most valuable customers; see customer lifetime value.

  4. Shorten payback

    Bring the second order forward: a reorder reminder timed to when the product runs out, a sample of a related product, a small incentive on the second order.

  5. Spend where the units work

    Move budget to products, campaigns and countries with the best contribution after ads, and away from those that lose money per unit.

Per product: the units inside the order

An average order hides its products. One product can carry high shipping (bulky, heavy), a high return rate or a thin margin, and still sell best. Look at each product's contribution after shipping, fees, refunds and its share of ad spend. A product that loses money per unit before ads cannot be fixed with better ads: it needs a new price, a new supplier, a bundle, or to stop being advertised.

Two products, same priceSample data
Cleanser: price / cost / shipping share / refunds€30 / €7 / €3 / 2%
Cleanser contribution before ads€19.40
Body lotion (large bottle): price / cost / shipping share / refunds€30 / €9 / €6.50 / 8%
Body lotion contribution before ads€12.10
Example data for fictional products. Refunds are taken as a share of the price (2% = €0.60, 8% = €2.40); payment fees are left out for simplicity.

At the same price and similar sales, the cleanser can carry about 1.6 times the ad cost per unit. Advertising both on one budget lets the weaker one spend money the stronger one would have earned back.

How to see unit economics in ROASaurus

ROASaurus calculates the chain above from your orders, product costs, shipping and fee rules and imported ad spend.

In ROASaurusProfit › Products
  1. Enter product costs per variant under Settings › Costs › Product costs and shipping and fee rules under Settings › Costs › Cost settings.
  2. Open Profit › Products, by product or by variant: units, revenue, refunds, COGS, gross profit, shipping and fees, CM2, net margin, refund rate, ad spend, CM3 and POAS per row.
  3. Open Profit › Orders › Profit per order for revenue, costs, margin and contribution per order, with filters by customer type, country, discount code and channel.
  4. Open Customers › LTV & cohorts for lifetime value, LTV:CAC and time to second order, and Cohorts for cumulative contribution per customer by month of first order.
  5. Marketing › Channels & campaigns › Profit per campaign shows CAC, 90-day LTV and LTV:CAC per campaign.
The ROASaurus Mac app showing Profit › Products: the POAS of every product with its trend, by product or by variant. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Profit › Products: the POAS of every product with its trend, by product or by variant. Fictional demo store, simulated data.
Profit › Products: units, revenue, refunds, COGS, gross profit, CM2, net margin, ad spend, CM3 and POAS per product. Fictional demo store, simulated data.

Start freeOpen the live demo14-day trial of every feature, no credit card.

More guides on profit and finance · All guides

FAQ

Questions, answered

More answers in the FAQ and the help center.

What are unit economics in ecommerce?

The revenue and costs of one unit of the business: one product sold, one order or one customer over time. They show whether each unit makes money before you look at totals.

Why do unit economics matter?

They decide whether growth makes you richer or only bigger. If one order or one customer loses money, spending more to get more of them increases the loss.

What happens if I ignore unit economics?

You can scale a loss without seeing it, run out of cash while waiting for customers to pay back, and be caught out when ad costs or supplier prices rise.

What is a good LTV:CAC ratio?

Above 1 means customers pay back their acquisition cost. How far above you need to be depends on your overheads and how long you can wait for the money; a higher ratio is not always better if it means you under-spend.

What is CAC payback?

The time until the contribution a customer brings in covers what it cost to acquire them. Measure it per cohort of customers, in contribution margin, not revenue.

How do I optimise the LTV/CAC ratio?

Raise contribution per order and repeat orders, and lower acquisition cost. But aim for the most total contribution your cash can fund, not the highest ratio: spending more at a slightly higher CAC can earn more in total.

Should LTV be measured in revenue or profit?

In contribution margin (revenue minus product, shipping, fees and retention marketing). Revenue-based LTV overstates the value of customers who buy low-margin products.

How is unit economics different for subscription businesses?

The same metrics apply, but repeat revenue is more predictable, so subscription brands often accept a loss on the first order and manage payback and cash flow closely.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.