Contribution margin is what is left of a sale after subtracting variable costs, the costs that rise and fall with every unit sold. It is the part of each sale that contributes to covering fixed costs and, once those are covered, to profit. It is not profit: fixed costs haven't been subtracted yet. In German it is called Deckungsbeitrag, in Spanish margen de contribución.
Contribution margin is what's left of each sale after variable costs. How to calculate it, how it differs from gross margin, what it says about ads.
How it works
OpenStax's managerial accounting textbook defines it as the amount by which a product's selling price exceeds its total variable cost per unit, each unit's contribution toward covering fixed costs. There are three ways to express it:
contribution margin per unit = price − variable cost per unit;
total contribution margin = margin per unit × units sold;
contribution margin ratio = margin per unit ÷ price.
A worked example with round numbers: an online shop sells an order worth €100 net, excluding VAT. The goods cost €45, shipping and packaging €10 and the payment fee €5. That leaves 100 − 45 − 10 − 5 = €40 of contribution margin, a ratio of 40%. If the shop also spends €15 on advertising per order, the margin after ads is €25.
Those €40 per order pay for rent, fixed salaries and every other cost that doesn't depend on how many orders come in. How many orders it takes to cover them is what the break-even point calculates.
One order, from revenue to contribution margin
Order, net of VAT
€100
Goods
−€45
Shipping and packaging
−€10
Payment fee
−€5
Contribution margin
€40
Optional: with advertising
Advertising
−€15
Margin after ads
€25
Worked example with round numbers
The example order, cost by cost
Types and variants
Fixed costs can be subtracted in stages. Germany's Gabler business encyclopedia describes this as a layered calculation: variable costs come off first, then fixed costs layer by layer, from those of a single product to those of the whole company. Ecommerce uses a similar ladder, but with the variable costs of each order.
Level
Classic scheme (Lexware)
Ecommerce scheme (Human)
1
sales − variable costs
net revenue − cost of goods
2
level 1 − product fixed costs
level 1 − shipping, fulfillment and payment fees
3
level 2 − division fixed costs
level 2 − ad spend
Source: Lexware (16.02.2023, updated 08.06.2026) and Human (31.08.2026), accessed 26.11.2026.
The numbers don't mean the same thing in every source. Human writes that some blogs put ads in level 2 while it puts them in level 3, and Polar Analytics does take ad spend out in its CM2. Before comparing a CM2 or CM3 from two sources, check which costs each one includes.
When a company sells several products, it uses a weighted average contribution margin based on the sales mix, as Stripe explains for the multi-product break-even point.
Examples
The €100 order from above, through Human's ecommerce levels:
Wayflyer calls this first level gross margin (CM1). At €55 per order the product looks very profitable, but only the €25 at level 3 is really left for fixed costs. With €20,000 of fixed costs a month, the shop needs 800 orders to avoid a loss; without advertising, 500 would be enough.
How to measure it
The figures to track are the margin per unit, the ratio and the margin after ads (level 3 in Human's scheme). The ratio lets you compare products at different prices: a €200 product with a €60 margin has a ratio of 30%, lower than the 40% of the sample order.
The ratio before ads gives you the minimum ROAS to avoid a loss: at 40%, every euro of advertising has to bring in at least €2.50 in sales. The full calculation is in the break-even point entry.
Wayflyer, which finances online shops, gave a minimum of 20% for the margin after ads in April 2026, based on its own analysis of more than 5,000 shops, without publishing the method. That is its benchmark, not a standard.
Advantages and disadvantages
Contribution margin supports decisions that total profit blurs. It shows which products contribute most per sale, below which price an order stops covering its own costs, and how much you can spend on advertising per order. According to Gabler, it also shows how much the result changes if one unit more or less is sold.
Its weak point is the split between fixed and variable, which in practice is an approximation. Shipping can have a fixed component in the carrier contract, and a warehouse employee is a fixed cost until you need to hire another. Gabler also warns that margin per unit isn't enough to compare products when a resource is scarce, such as warehouse space; then what counts is the margin per unit of that resource.
How it differs from related concepts
Concept
What it subtracts
Relation to contribution margin
Gross margin
only the cost of goods
according to Wayflyer, contribution margin also subtracts logistics, fees and advertising
Source: Wayflyer (21.04.2026), Gabler and entries in this glossary, accessed 26.11.2026.
The names aren't always used the same way. Gabler lists "(variable) gross margin" among the English translations of Deckungsbeitrag, and Shopify calls a margin "gross profit margin" after subtracting all variable costs. What matters is which costs are subtracted, not what the figure is called.
Criticism and limits
A positive contribution margin per order doesn't mean profit. If there aren't enough orders to cover fixed costs, the company still loses money.
Some costs depend on the order but don't show up on the supplier's invoice: returns, discounts and payment gateway fees. Leave them out and the margin comes out higher than it is, and the minimum ROAS derived from it comes out lower.
How to apply it, step by step
Work out net revenue, excluding VAT, per unit or per order.
Subtract every cost that changes with each sale, including shipping, fees and returns.
Treat advertising as a level of its own.
Calculate the margin per product or per channel, not just the average.
Track the ratio monthly and recalculate when prices or rates change.
Best practices
Write down which costs you treat as variable and keep that the same in every calculation.
Always state which level you quote, and under which scheme.
Use the margin after ads to decide budgets.
Compare products by ratio, not just by amount.
Cite any outside benchmark with its author and date.
Common mistakes
Treating contribution margin as profit.
Calculating with prices including VAT.
Leaving out returns and payment fees.
Comparing one source's CM2 with another source's CM2.
Using gross margin to set a target ROAS.
How this entry was made
This entry was written in November 2026 with the help of AI. The definitions come from the Gabler Wirtschaftslexikon, OpenStax and Lexware, the ecommerce schemes from Human, Polar Analytics and Wayflyer, all accessed on 26.11.2026. The round-number example is ours and is the same as in the break-even point entry. The entry was reviewed before publication and contains no client data.
Manuel Riveiro RodriguezCEO & Digital Strategist
A technical audit covers this and everything else in one pass.
Price minus variable costs per unit. With a €100 order and €60 of goods, shipping and fees, the margin is €40, a ratio of 40%.
Is contribution margin the same as profit?
No. Contribution margin comes before fixed costs such as rent and salaries. Profit is what remains after those too.
What is the difference between contribution margin and gross margin?
Gross margin subtracts only the cost of goods. Contribution margin subtracts all variable costs, including shipping, fees and, if included, advertising.
What does a contribution margin ratio of 40% mean?
Each sale leaves 40% of its value to cover fixed costs. On a €100 order, that is €40, and it also means every euro of advertising has to bring in at least €2.50 in sales.
How much contribution margin is good?
It depends on the sector, the price and fixed costs. What matters is that the total covers fixed costs. Wayflyer gives 20% as the minimum after ads, based on its own analysis from April 2026.