Skip to content

Glossary Contribution margin

What is contribution margin? Formula, ratio and example

Definition

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.

On the left, a split column: a larger blue part at the bottom and an orange part on top; a dotted path carries the orange to a stack growing next to a large blue block: four orange bars at the bottom and, above them, three dashed empty slots up to a dotted line level with the top of the block, on a dark blue ground.
On this page 11
  1. How it works
  2. Types and variants
  3. Examples
  4. How to measure it
  5. Advantages and disadvantages
  6. How it differs from related concepts
  7. Criticism and limits
  8. How to apply it, step by step
  9. Best practices
  10. Common mistakes
  11. How this entry was made
In brief

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.

On the left, a split column: a larger blue part at the bottom and an orange part on top; a dotted path carries the orange to a stack growing next to a large blue block: four orange bars at the bottom and, above them, three dashed empty slots up to a dotted line level with the top of the block, on a dark blue ground.

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.

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.

LevelClassic scheme (Lexware)Ecommerce scheme (Human)
1sales − variable costsnet revenue − cost of goods
2level 1 − product fixed costslevel 1 − shipping, fulfillment and payment fees
3level 2 − division fixed costslevel 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:

  • level 1: €100 − €45 for goods = €55 (55%);
  • level 2: €55 − €10 shipping − €5 payment = €40 (40%);
  • level 3: €40 − €15 advertising = €25 (25%).

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

ConceptWhat it subtractsRelation to contribution margin
Gross marginonly the cost of goodsaccording to Wayflyer, contribution margin also subtracts logistics, fees and advertising
Profit or EBITDAfixed costs as wellcontribution margin is the step before
Unit economicsrevenue and costs per customer or orderuses contribution margin as a building block
ROASnothing, it compares sales with ad spenddoesn't tell you whether any margin is left; contribution margin does
Break-even pointnothing: it is a sales volumedivides fixed costs by contribution margin

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 Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

How do you calculate contribution margin?

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.

Sources

  1. Jürgen Weber, "Deckungsbeitrag", Gabler Wirtschaftslexikon (in German).
  2. Gabler Wirtschaftslexikon, "stufenweise Fixkostendeckungsrechnung" (in German).
  3. OpenStax, "Principles of Accounting, Volume 2: Managerial Accounting", section 3.1.
  4. Lexware, "Deckungsbeitrag: Berechnungen & Beispiele", 16 February 2023, updated 8 June 2026 (in German).
  5. Human, "Ecommerce Contribution Margin (CM1/CM2/CM3)", 31 August 2026.
  6. Polar Analytics, "Contribution Margin Formula for Ecommerce, CM1 to CM4", 3 June 2026.
  7. Wayflyer, "Contribution Margin: Formula, Calculator & Examples [2026 Guide]", 21 April 2026.
  8. Shopify, "Break-Even ROAS Calculator: How To Measure Break-Even ROAS (2026)", 2 September 2026.
  9. Stripe, "How do you calculate the break-even point?".