Contribution Margin (CM1, CM2, CM3)

Contribution margin is the revenue left after the costs that come with each sale. E-commerce splits it into three levels: CM1 after product costs, CM2 after fulfilment, shipping, payment fees and returns, CM3 after marketing. CM3 pays the fixed costs and the profit.

Daniel Busch
Written by Daniel Busch · Chief of Staff · Updated

In short

  • Formula: contribution margin = net revenue − variable costs; divided by net revenue, it is the contribution margin ratio
  • CM1 = net revenue − COGS; CM2 = CM1 − fulfilment, shipping, payment fees and returns; CM3 = CM2 − marketing
  • Fixed costs such as salaries, rent and software come after CM3; what is left is operating profit
  • Break-even ROAS = 1 ÷ CM2 margin: at a 45% CM2 margin, every euro of ads has to bring €2.22 of net revenue
  • Our customers steer on CM2 and CM3; in our mostly German customer threads, those abbreviations far outnumber "Deckungsbeitrag"

What contribution margin is

Contribution margin is what a sale contributes, after its own costs, to everything that doesn’t grow with sales: the team, the rent, the software, and then the profit. To get it, subtract from an order’s revenue every cost that one more order adds: the product, packing and shipping, the payment fee, the cost of returns, and in the last step the marketing that won the order. Fixed costs stay out, because one more order doesn’t change them.

Cost accounting subtracts all variable costs in one step and then layers of fixed costs. E-commerce teams split the variable costs instead, into three levels:

  • CM1 = net revenue − COGS (cost of goods sold). The same as gross profit.
  • CM2 = CM1 − fulfilment, shipping, payment fees and returns. What an order earns before anyone paid to win it.
  • CM3 = CM2 − marketing: ad spend, influencer fees, affiliate commissions. What is left for fixed costs and profit.

Every level starts from net revenue: what customers paid, minus VAT, discounts and refunds (gross vs. net revenue). Divided by net revenue, each level becomes a margin in percent, the contribution margin ratio.

CM2 and CM3 are the numbers our customers steer on. Most of our customer threads are in German, yet CM2 and CM3 come up in them dozens of times as often as “Deckungsbeitrag” or “DB2”, and some customers judge their ad sets every day on CM3.

CM1 to CM3 in one shop’s month

A shop with 1,000 orders in a month. Customers paid €119,000 including 19% VAT, which is €100,000 net. Refunds took €10,000 of that back, so net revenue is €90,000, or €90 per order.

Per monthPer orderShare of net revenue
Net revenue€90,000€90.00100%
− COGS€31,500€31.5035%
= CM1€58,500€58.5065%
− Fulfilment: pick, pack, boxes€5,400€5.406%
− Shipping to customers€6,300€6.307%
− Payment fees€1,800€1.802%
− Returns: labels and handling€4,500€4.505%
= CM2€40,500€40.5045%
− Marketing: ads, influencers, affiliates€27,000€27.0030%
= CM3€13,500€13.5015%
− Fixed costs: team, rent, software€9,00010%
= Operating profit€4,5005%

Three things the table shows. The 65% gross margin is not what marketing can work with: after the order costs, 45% is left. Marketing is the biggest cost after the products, which is why CM3 swings most from month to month. And the €27,000 of marketing ran at a ROAS of 3.33 on net revenue, or 4.41 on what customers paid, and still left only €13,500.

Where COGS, shipping, payment fees and fixed costs go

How CM1 to CM3 are built, and where a cost belongs, is about one in fourteen of the questions customers send us. One test sorts almost every cost: if one more order makes it bigger, it is variable and belongs to CM1 or CM2; if it buys the order, it is marketing and belongs to CM3; if it stays the same, it is fixed and comes after CM3.

CostLevelWhy
Purchase price, inbound freight, import duties, product packagingCM1The landed cost of the units sold, net of supplier discounts
Pick and pack, shipping boxes, per-order warehouse feesCM2Per order, even when your 3PL bills them monthly
Shipping to customers, including surcharges for countries such as SwitzerlandCM2A per-parcel surcharge rises with orders, so it is variable
Payment feesCM2They stay when you refund: Stripe and Shopify Payments keep the fee of the original payment (Stripe, Shopify). More in payment fees in your contribution margin
Return labels and handlingCM2The refunded revenue itself already left net revenue
Ad spend, influencer fees, affiliate commissionsCM3Everything you pay to win the order
Salaries, rent, software, a flat monthly 3PL feeAfter CM3One more order doesn’t change them

Returns sit in two places, which is how they get counted twice or not at all: the refunded revenue leaves net revenue, and the cost of handling the return stays in CM2. Whether the product cost comes back with a return is the COGS entry’s answer on refunds and restocks.

Break-even ROAS: what a good contribution margin is

No CM1, CM2 or CM3 margin is good in itself. A CM2 margin is good if your ads can beat the ROAS it requires, and CM3 is good if it covers your fixed costs. The link is the break-even ROAS: 1 ÷ CM2 margin, on net revenue, so the shop above, at a CM2 margin of 45%, breaks even at 2.22. The break-even ROAS entry’s margin table gives it for every margin from 15% to 60%.

Ad platforms and most dashboards count revenue including VAT and before returns, so a ROAS read there needs a higher break-even than the one on net revenue; the ROAS calculator works it out with VAT and returns.

For a reference point, the median D2C brand in our panel runs at an MER of 4.60 (September 2026): gross revenue, including VAT and shipping and before returns, per euro of paid advertising across all channels. Attributed per channel, ROAS reads lower, because MER also counts organic and repeat orders (Meta Ads ROAS benchmark). Set your break-even next to these on the same revenue basis.

Our view: set marketing targets on CM2 and decide budgets on CM3. CM3 per channel moves with the attribution model, so the break-even ROAS from your CM2 margin is the number for daily targets and CM3 the one for the monthly budget decision. In the example, marketing takes 30% of net revenue: spending it 10% more efficiently adds three points of CM3 margin. Why a target set on gross margin, CM1, scales losses is worked through in the break-even ROAS entry’s section on gross margin.

How adtribute calculates CM1 to CM3

In adtribute’s e-commerce attribution software, your order conversion can carry revenue and contribution margin, such as CM1 and CM2, as attributes (docs: Google Ads Conversion Upload). What each includes is set per account: Admins and Editors read it under Definitions › Attributes, in its Configuration, before comparing it with their own sheet (docs: Why your numbers differ from other tools).

FAQ about Contribution Margin

What is the difference between CM1, CM2 and CM3?

CM1 is net revenue minus the cost of the goods sold. CM2 also subtracts what it costs to get the order to the customer and back: fulfilment, shipping, payment fees and returns. CM3 also subtracts marketing. CM1 tells you whether prices and sourcing work, CM2 what an order earns before acquisition, CM3 what is left for fixed costs and profit.

Is a 30% contribution margin good?

It depends on the level. A 30% CM1 is thin for a D2C brand, because fulfilment, shipping, payment fees, returns and marketing still have to come out of it. A 30% CM3, after all of those, is strong. A 30% CM2 is good if your ads can beat the break-even ROAS it sets: 3.33 on net revenue (1 ÷ 0.30), or 3.97 on revenue with 19% VAT.

What is the contribution margin ratio?

Contribution margin as a share of net revenue, at each level. Per order, the shop in the example keeps €58.50 of CM1, €40.50 of CM2 and €13.50 of CM3 from €90.00 of net revenue: ratios of 65%, 45% and 15%. The CM2 ratio sets the break-even ROAS: 1 ÷ 0.45 = 2.22.

Do CM1 and CM2 include draft, cancelled or test orders?

Only if your order conversion counts them: CM1 and CM2 are attributes of that conversion, so the draft, cancelled or test orders it leaves out are in neither, just as they are missing from its revenue (gross vs. net revenue entry’s section on why your revenue differs from Shopify).

Can I see CM3 per ad, or only CM2?

CM3 per ad is the CM2 of the orders attributed to the ad minus the ad’s spend. That makes it as dependent on the attribution model as ROAS: under first touch, an ad that opens journeys earns more CM3 than under last touch. Read it on one model you trust, over a period long enough for returns to come in.

Where do returns go in the contribution margin?

In two places, net revenue and CM2, as the section on where costs go explains; whether the product cost comes back too is the COGS entry’s answer on refunds and restocks.