Start free
Kunads / Glossary / Contribution margin

Contribution margin

Updated 2026-11-19 · Editorial policy

Contribution margin is the share of an order's value left after every cost that comes with that order: goods, payment fees, delivery you pay, packaging and expected refunds. A €60 order that carries €31.54 of such costs has a contribution margin of 47.4%. It is the money each sale contributes toward ads, fixed costs and profit.

Contribution margin = (order value − variable costs per order) ÷ order value

The test for whether a cost belongs is one question: does it go up when one more order comes in? If yes, it is variable and goes in. Rent, salaries, software and the accountant do not change with one more order, so they stay out. VAT stays out too, on both sides.

Worked example: a €60 order, line by line

A homeware shop's average order is €60.00 without VAT.

Variable costPer orderNote
Cost of goods€21.00Purchase price of the items
Payment fee€1.141.9% of €60.00
Delivery the shop pays€5.50Average across free and paid shipping
Packaging and pick-and-pack€0.90Box, filler, warehouse fee
Expected refunds and returns€3.00Measured from last year's returns
Total€31.54

The €10.54 of non-product costs move the breakeven from 1.54× to 2.11×. A campaign running at 1.8× looks profitable on gross margin and is losing money on contribution.

Bar chart: the €60 order breaks even at 1.54× ROAS on gross margin of 65.0% but at 2.11× on its real contribution margin of 47.4%.

What is the difference between contribution margin and gross margin?

Gross margin subtracts only the cost of goods; contribution margin also subtracts every other cost that comes with the order, so it is always lower. In the example the gap is 65.0% against 47.4%. See gross margin for when the higher number is the right one to use.

Second example: a fashion order with returns

Returns change the shape of the sum, not just one line. A fashion shop's average order is €80.00 without VAT, its goods cost €28.00, and 25% of orders come back. Per order placed:

Against the €80.00 the ad platforms record at checkout, that is a contribution margin of 35.7% and a breakeven ROAS of 80.00 ÷ 28.53 = 2.80×. The catalogue view, (80 − 28) ÷ 80 = 65%, would put breakeven at 1.54×. A campaign at 2.2× looks comfortable on the catalogue figure and loses money on every order.

Should ad spend be in contribution margin?

No, not when you use it to set a breakeven ROAS, because ad spend is the thing you compare it against. Some reports add a "contribution after ads" line (contribution minus ad spend); that is a later, different number, useful for the month's result.

Every profit number rests on it

Every profit number in advertising rests on it. Breakeven ROAS is 1 ÷ contribution margin. POAS is ROAS × contribution margin. The highest CPA you can pay is contribution per order. Get the margin wrong and every one of those is wrong in the same direction, usually toward spending too much.

Per order, per product, per campaign

The example above is an average order. The same calculation works at other levels, and the right one depends on the decision. For a single product, use its own cost and its share of delivery. For a campaign, use the margin of what that campaign actually sold: a Shopping campaign full of clearance items can run at half the shop's average margin. For the whole account, the average is fine, and it is what you compare blended ROAS against. Recalculate whenever a big cost moves, such as a carrier price rise or a new payment provider.

How Shopify and Google Ads report margin

Neither reports contribution margin as defined here. Shopify's gross margin report calculates (net sales − cost) ÷ net sales, using the cost per item you record and net sales after discounts and refunds; its profit-by-order reports add shipping charges and the shipping costs your store pays, but payment fees are not mentioned. Google Ads can report gross profit through conversions with cart data, using the cost of goods from your Merchant Center feed, which is gross profit, not contribution. Use these as inputs and add the remaining lines yourself.

Where the margin goes wrong

The contribution margin calculator walks through each line for your own shop.

Related: AOV and LTV.

Numbers from your shop, not from the ad platforms. Connect Meta, Google and Shopify, WooCommerce or Magento and see what each campaign kept.

Get my profit audit Open a free workspace

Contribution margin and VAT

Is VAT a cost in contribution margin?

No. Remove VAT from both the order value and the costs. It is collected for the tax office.