Introduction

Many direct-to-consumer (DTC) brands today struggle with rising advertising costs, shrinking margins, and uncertainty around attribution. Common metrics such as Return on Ad Spend (ROAS) or Marketing Efficiency Ratio (MER) provide some insight, but they rarely give the full picture.

This is where contribution margin comes in. While lesser-known to newer operators, itโ€™s the metric that the most sophisticated ecommerce brands and agencies rely on to make day-to-day decisions. Contribution margin takes into account all variable costs (COGS) โ€” not just ad spend, and provides the clearest possible measure of whether your sales are actually profitable.

What Is Contribution Margin?

Contribution margin is simply net revenue minus all the variable costs in your business โ€” things like product costs, shipping, payment fees, and advertising.

For ecommerce brands, this number is the truth serum. It shows if every sale is actually moving you closer to profit โ€” or just growing top-line revenue while cash bleeds out the back door.

Variable costs typically include:

Cost of Goods Sold (COGS)

Fulfillment and shipping

Packaging

Transaction and payment processing fees

Advertising and promotional expenses

This figure represents how much profit each unit of sale contributes toward covering fixed costs (like salaries, rent, and software) and ultimately generating net profit.

StoreHero Profit Dashbaord
StoreHero Spend Advisor Dashboard showing Net Sales, MER, Spend & Contribution Profit

Contribution Margin Formula:

Contribution Margin = Net Revenue โ€“ Variable Costs

Contribution Margin vs. Gross Margin

Many ecommerce founders confuse contribution margin with gross margin. The difference is in what costs are included:

Gross Margin โ†’ Revenue minus product costs (COGS).

Contribution Margin โ†’ Revenue minus all variable costs (product, shipping, fees, marketing, etc.).

Gross margin can make a product look profitable. But once you include shipping, fulfillment, and ads, contribution margin often shows the real story โ€” sometimes a loss.

The Three Levels of Margin

Think of ecommerce profitability in three layers:

1. CM1 (Gross Margin 1 / Product Margin)

  • Revenue โ€“ COGS
  • Only product costs are included.
  • Common starting point, but too simple on its own.

2. CM2 (Gross Margin 2 / Cost of Delivery)

  • Revenue โ€“ (COGS + shipping + 3PL + transaction fees + packaging + returns)
  • Includes all costs to deliver the product, except marketing.
  • Much closer to reality for ecommerce.

3. CM3 (Contribution Margin)

  • Revenue โ€“ (COGS + fulfillment + packaging + fees + returns + marketing)
  • Includes marketing spend (ad costs, sometimes agency/influencer fees too).
  • Gives the clearest picture of profitability.

Why It Matters

  • CM1 = Are my products priced well vs. COGS?
  • CM2 = Can I deliver the product profitably?
  • CM3 = Am I acquiring customers profitably after ads?

Many brands stop at CM1 and overestimate their margins. The smartest operators track CM3 daily to understand true profitability and scale sustainably.

Example of Contribution Margin

Consider an ecommerce brand selling sneakers for โ‚ฌ100:

  • Net Revenue: $100
  • COGS: $35
  • Shipping & packaging: $8
  • Transaction fees: $3
  • CAC: $20

Contribution Margin = $100 โ€“ ($35 + $8 + $3 + $20) = $34

This means that for every $100 sale, $34 is available to cover fixed expenses and profit.

Why Contribution Margin Matters for Ecommerce

Contribution margin is more than just another financial metric. Itโ€™s the clearest way to see if your sales are actually profitable, because it accounts for all variable costs โ€” not just product and shipping, but also marketing, fees, and fulfillment.

  • ROAS shows revenue efficiency but ignores costs.
  • MER gives a big-picture view but hides product-level profitability.
  • Contribution Margin cuts through the noise, showing exactly whatโ€™s left over to cover operating expenses and generate profit.

The โ€œWall of Opexโ€

Think of operating expenses (OPEX) โ€” salaries, software, rent โ€” as a fixed wall.

Every order adds contribution margin, helping you climb that wall. Once you generate enough to clear it, everything above becomes net profit.

Hereโ€™s a real-world example from StoreHeroโ€™s Finance dashboard ๐Ÿ‘‡

Finance dashboard example showing contribution margin after COGS and marketing, and how operating expenses reduce it to net profit.
Example from StoreHeroโ€™s Finance dashboard showing how contribution margin flows into operating expenses and ultimately net profit.

This makes the flow crystal clear:

Contribution Margin โ€“ Operating Expenses = Net Profit

Itโ€™s why the fastest-growing ecommerce brands obsess over contribution margin. Revenue can scale forever, but OPEX grows much slower โ€” once youโ€™re over the wall, profit compounds fast.

Why the Best Brands Focus Here

All of the biggest ecommerce brands, and the smartest agencies, are laser focused on contribution margin. Scaling revenue is not hard if we’re willing to overspend on ads, the art is in scaling the profit of the business.

In other words:

  • Revenue can grow without profit.
  • ROAS can look great while youโ€™re still burning cash.
  • But contribution margin shows you when growth is sustainable – and when it isnโ€™t.

๐ŸŽฅ Watch Karl & Thomas explain it here:

โ€œContribution margin is the profit that each order contributes after marketing costs. Itโ€™s a better North Star for running the business with a profit orientation.”โ€“ Karl Oโ€™Brien, StoreHero Co-Founder

Benchmarks: What Is a Good Contribution Margin?

Whatโ€™s a good contribution margin? It depends on your category:

  • Food & Beverage: 20โ€“40% (low margins are normal)
  • Beauty & Supplements: 60โ€“80% (higher margins possible)
  • Fashion & Apparel: 50โ€“70% (varies with returns & logistics)

As a rule of thumb, if youโ€™re scaling paid ads, you should target at least 35% contribution margin. That leaves enough room to cover OPEX and still generate net profit.

Why Contribution Margin Beats ROAS & MER

For years, ecommerce brands have leaned on ROAS (Return on Ad Spend) and MER (Marketing Efficiency Ratio) to measure success. The problem? Both can look great while youโ€™re quietly losing money.

  • ROAS only measures revenue per ad dollar. It ignores COGS, shipping, returns, and fees.
  • MER lumps all revenue vs all ad spend. It hides unprofitable products and channels.

Contribution margin fixes both by showing the actual profit left after every variable cost.

A Simple Example

Two brands, same ROAS.

ย Brand ABrand B
Revenue$100,000$100,000
Ad Spend$25,000$25,000
ROAS4.04.0
COGS$30,000$50,000
Fulfillment & Fees$10,000$15,000
Contribution Margin$35,000$10,000

Result:

  • Brand A has lean costs โ†’ healthy contribution margin โ†’ profitable growth.
  • Brand B has high COGS and expensive shipping โ†’ contribution margin thin โ†’ scaling at a loss.

๐Ÿ‘‰ Same ROAS. Same revenue. But only contribution margin shows whoโ€™s really winning.

The Bottom Line

  • ROAS can trick you. It rewards revenue growth, even if itโ€™s unprofitable.
  • MER is too blunt. It averages performance and hides problem SKUs.
  • Contribution Margin is the truth. It tells you whether scaling ads is adding real profit, or just bigger top-line numbers.

This is why the most sophisticated DTC operators, and all the big brands you look up to, are laser-focused on contribution margin.

How to Improve Contribution Margin

Brands can take several steps to increase contribution margin:

  1. Pricing Strategy: Small price adjustments or bundling can raise margins without reducing conversion.
  2. Cost Management: Negotiate supplier terms, optimize packaging, or leverage 3PLs to reduce fulfillment expenses.
  3. Marketing Efficiency: Align advertising spend with profitability rather than pure revenue growth.
  4. Retention: Encourage repeat purchases to improve lifetime value (LTV), lowering the reliance on expensive customer acquisition.

๐Ÿ‘‰ We go deeper into these strategies in our 3 Levers for Margin Expansion blog post.

Donโ€™t just read about it โ€” calculate it.

Key Takeaways

  • Contribution Margin = Net Revenue โ€“ All Variable Costs
  • It provides a more complete view of profitability than ROAS or MER.
  • Benchmarks vary, but DTC brands should aim for 50%+.
  • Improving CM requires a mix of pricing strategy, cost reduction, efficient marketing, and retention.
  • The most sophisticated ecommerce brands and agencies already use it as their primary growth metric.
Is contribution margin the same as profit?

No. Contribution margin is the profit left after variable costs (like COGS, shipping, ads, and fees) but before fixed costs like salaries and rent. Net profit comes AFTER fixed costs are subtracted.

Should advertising costs be included in contribution margin?

Yes. Advertising is a variable cost in ecommerce, directly tied to generating sales. Excluding it gives an inaccurate view of profitability. Some businesses will include marketing SaaS/agencies whereas other businesses will only include Ad Spend.ย 

There is no right or wrong answer here!

How often should ecommerce brands calculate contribution margin?

DTC operators should track contribution margin daily to guide ad spend and prevent unprofitable scaling.

It helps you understand are your ads scaling profit, so it needs to be tracked daily.ย 

Whatโ€™s more important: ROAS or contribution margin?

Contribution margin. ROAS is super important for directional insights around campaign or channel performance. Contribution margin shows if your sales are actually profitable – much more important if profit a KPI of yours.ย 

Can contribution margin be used for forecasting ecommerce profit?

Yes, you can create ecommerce forecasts and map to MER, CAC & Contribution margin goals.ย 

More on this here – Ecommerce Forecasting: How to Forecast Ad Spend, MER & Profit Goals (with StoreHero)

Should my agency focus on contribution margin instead of ROAS?

Yes. Agencies that track contribution margin provide a more accurate picture of profitability. If your agency only reports on ROAS, they may be missing critical financial context.

Should I still track ROAS if I track contribution margin?

Yes. ROAS is useful for comparing channel efficiency, but contribution margin should always be the ultimate profitability metric.

COGS can be quite variable, when we think about discounts and promo’s – not all revenue is created equal! So profit tracking is essential.ย 

Why donโ€™t many agencies track contribution margin?

The best ones all do.

It requires access to full financial data (COGS, shipping, fees, marketing costs). Many agencies prefer surface-level metrics like ROAS, which are easier to report but less accurate.ย 

The best agencies want to be held account to financial metrics aswell as marketing metrics.ย 

What tools can help track contribution margin?

StoreHero is a profitability platform designed for ecommerce brands. It integrates Shopify, marketing, and finance data to track contribution margin automatically. Spreadsheets work, but theyโ€™re manual and error-prone.

Whatโ€™s the best Shopify app for contribution margin?

Most Shopify apps track gross margin or COGS but donโ€™t fully integrate ads, fulfillment, and finance. StoreHeroโ€™s platform is designed specifically for Shopify brands to track contribution margin and profitability in real time.

Will changing my COGS affect contribution margin?

Yes. Lowering COGS directly increases contribution margin. Negotiating with suppliers, optimizing packaging, or sourcing smarter all improve profitability.

Should I track MER or contribution margin?

Track both. MER is useful as a broad efficiency check, but contribution margin gives the most accurate picture of true profitability.