Strategy

Ecommerce Unit Economics: The Numbers You Must Know Before Spending on Ads

10 min read

Why Unit Economics Come Before Ads

Here's a scenario I see constantly: a brand launches ads, gets 3x ROAS, celebrates, scales to $5,000/day — and six months later realizes they've been losing money the entire time. How? Because a 3x ROAS means nothing if your margins can't support it. Unit economics determine what ROAS you need to be profitable, and if you don't know your numbers, you're gambling.

Before you spend a single dollar on ads, you need to know three numbers: your contribution margin, your break-even ROAS, and your target CPA. Everything else in paid advertising flows from these fundamentals.

Calculating Contribution Margin

Contribution margin is what's left after all variable costs are subtracted from revenue. For ecommerce, the formula is:

Contribution Margin = Selling Price - COGS - Shipping - Payment Processing - Packaging

Let's work through an example. You sell a product for $60:

  • Cost of goods (manufacturing/wholesale): $15
  • Shipping to customer: $6
  • Payment processing (Shopify Payments ~2.9% + $0.30): $2.04
  • Packaging and fulfillment labor: $3
  • Total variable costs: $26.04
  • Contribution margin: $33.96 (56.6%)

This $33.96 is the maximum you can spend to acquire a customer and break even on the first order. In practice, you want to spend less to account for returns, fixed costs, and profit.

Calculating Break-Even ROAS

Break-even ROAS tells you the minimum return you need from your ads to not lose money. The formula is simple:

Break-Even ROAS = 1 / Contribution Margin Percentage

Using our example: 1 / 0.566 = 1.77x ROAS. This means if you're generating at least 1.77x ROAS, every dollar of ad spend is paying for itself on the first purchase. Below 1.77x, you're losing money. Above 1.77x, you're profitable.

Now add your desired profit margin. If you want 20% net profit on ad-acquired customers:

Target ROAS = 1 / (Contribution Margin % - Desired Profit %) = 1 / (0.566 - 0.20) = 2.73x

Maximum CPA Calculation

CPA (Cost Per Acquisition) is often more intuitive than ROAS for daily management. Your max CPA is:

Max CPA = Contribution Margin × (1 - Desired Profit Margin)

From our example: $33.96 × 0.80 = $27.17. You can spend up to $27.17 to acquire a customer and still maintain a 20% profit margin. This is your hard ceiling — any ad, campaign, or platform with a CPA above $27.17 is losing money.

The LTV Factor

The above calculations assume a single purchase. If your customers buy repeatedly, you can afford a higher initial CPA because the customer's lifetime value exceeds their first order value.

If your average customer makes 2.5 purchases over 12 months with a $60 AOV, their lifetime revenue is $150 and their lifetime contribution margin is approximately $84.90. Your 12-month break-even CPA jumps from $33.96 to $84.90.

But be cautious with LTV-based CPA calculations. They require cash flow to fund the gap between acquisition cost and eventual payback. A brand spending $50 CPA on a $60 product needs deep pockets to survive the 6+ months before repeat purchases make that customer profitable. Most brands should use first-order profitability as their primary target and treat LTV as upside.

Unit Economics by Channel

Different channels have different economics. Calculate your break-even for each:

  • Meta Ads: Average CPA tends to be $20–$40 for products in the $40–$80 range. Set your Meta CPA target at 70% of your max allowable CPA for a safety margin.
  • Google Search: Often higher CPA but higher intent. You might accept a CPA 10–15% higher than Meta because these customers tend to have higher AOV and better retention.
  • TikTok: Lower CPMs but lower conversion rates can yield similar CPAs. The key metric is whether TikTok customers have similar LTV to Meta customers — early data suggests they often have 15–20% lower repeat purchase rates.
  • Snapchat: Lowest CPMs, but conversion rates are typically 30–50% lower. Run the full unit economics calculation for Snapchat separately — don't assume Meta benchmarks translate.

The Return Rate Reality

Many brands forget to factor returns into their unit economics. If your return rate is 15% (common in fashion), your effective contribution margin drops significantly. For our $60 product example, a 15% return rate reduces effective contribution margin from $33.96 to approximately $27.37 per order — because 15% of the time, you're paying shipping both ways and can't resell at full price.

Recalculate your break-even ROAS with returns factored in. A 15% return rate can increase your required ROAS by 20–25%. If you were targeting 2.5x ROAS, you might need 3.1x to maintain the same profitability after returns.

Building Your Unit Economics Dashboard

Create a simple spreadsheet that tracks these metrics monthly. Include selling price, COGS, shipping cost, processing fees, contribution margin percentage, return rate, adjusted contribution margin, break-even ROAS, target ROAS including desired profit, maximum CPA, and actual blended CPA achieved. Update this monthly as your costs change. Supplier price increases, shipping rate changes, and seasonal return rate variations all shift your targets. Brands that track unit economics monthly catch margin erosion before it becomes a crisis.

Want AI to manage your ads?

Adboard handles daily ad management across Meta, TikTok, Google & Snapchat — kill/scale decisions, creative analysis, and profit tracking. All on autopilot.

Get Started Free