Contribution margin
Contribution margin is revenue after variable costs: cost of goods, shipping, packaging, payment and marketplace fees. It is the amount each order leaves behind to pay for advertising and fixed costs. Without it there is no way to calculate POAS, break-even ROAS or any meaningful campaign target.
In short
| Formula | Contribution margin = revenue minus the order's variable costs |
| What variable costs are | Cost of goods, shipping, packaging, payment and marketplace fees, returns |
| What does not belong | Fixed costs: rent, salaries, systems. Those get paid out of the margin's total |
| Its job in marketing | It sets what a conversion may cost and which ROAS is the real zero |
How it is calculated
Step by step
The calculation runs per order and is then summed per category or per period.
- Revenue net of VAT after discounts and coupon codes. Shipping paid by the customer belongs in revenue too.
- Cost of goods net of VAT, including inbound freight and duties.
- Fulfillment costs: outbound shipping, packaging and packing materials, any fulfillment fee.
- Payment and sales channel fees: payment gateway, cash on delivery, marketplace or price comparison commissions.
- Returns: the expected share of returned orders times the cost of one return (return shipping, inspection, restocking, any write-off).
Revenue minus items 2 to 5 is the contribution margin in currency terms. Divided by revenue it becomes the contribution margin as a percentage, which is what break-even ROAS and target POAS work with. Summed over a month, the same five items give the margin per category, which is the level campaign targets need.
Example calculation
Worked example: one order in an apparel e-shop.
| Revenue net of VAT (the customer paid €363 including 21% VAT) | €300 |
| Cost of goods (60% of revenue) | €180 |
| Outbound shipping and packaging | €12 |
| Payment gateway fee (1.5%) | €4.50 |
| Returns reserve (5% of orders × €30) | €1.50 |
| Contribution margin = 300 minus 198 | €102, or 34% |
Out of the €102, customer acquisition and a share of fixed costs both get paid. If the order has to contribute €30 to overhead and profit, advertising may cost at most €72 per order, which corresponds to a target ROAS of 300 / 72 = 4.17. Advertising at €102 per order is the zero line, break-even ROAS 300 / 102 = 2.94.
What not to confuse it with
Margin is calculated on the selling price, markup on the purchase price. Goods bought for €180 and sold for €300 carry a 67% markup but a 40% gross margin, and after fulfillment, fees and returns a 34% contribution margin. Campaign targets always rest on margin over revenue, never on markup. Contribution margin is the number before advertising is subtracted; after subtracting it, what remains is the contribution after marketing, and only that pays for fixed costs. And it is calculated on prices net of VAT: whoever plugs in the VAT-inclusive price counts €63 of tax that is not theirs as margin.
Why it is the base number of performance marketing
A worked example: an order of 200, goods cost 120, shipping and packaging 15, payment fees 5. The contribution margin is 60, meaning 30 percent. Out of those 60 the customer acquisition and a share of fixed costs both have to be paid. When advertising costs more than 60 per order, the company loses money regardless of how good a revenue-based ROAS on the 200 looks. Any campaign target that does not start from this number is just a wish.
From our own practice
When we take over accounts, a missing margin layer is the most common reason campaigns look good while the business does not. We see it repeatedly across EUR 52 million of managed spend: target ROAS values tend to be set by feel, without knowing which value is the real zero. So the first step is always the same: calculate contribution margin at least per category, derive break-even ROAS from it, and only then tune targets. With broad-assortment clients it routinely turns out that categories sharing one target ROAS have their real zero in different places, and part of the budget flows into losses.
Common mistakes
- Using list-price margin instead of reality. Discounts, returns and fees cut the margin, and a list-price average becomes optimistic fiction.
- One average margin for the whole range. The average hides loss-making categories. Category level is the minimum.
- Forgetting returns. In fashion and footwear, returns move margin by tens of percentage points.
Related terms
See also POAS, break-even ROAS, AOV, CAC and LTV.
Frequently asked questions
How does it differ from gross margin?
Gross margin subtracts only the cost of goods sold. Contribution margin subtracts all variable costs of the order, which makes it more accurate for steering advertising.
How precise does the data need to be?
Category level is enough to start. Starting to measure at all matters more than measuring perfectly.
Should I send margin to the ad platforms?
Ideally yes, as the conversion value. The algorithms then optimize for profit instead of revenue. See POAS.
How we can help
We set up margin-based campaign management as part of our Performance marketing agency service.