The contribution margin formula is revenue minus variable costs: for one sale, its price without VAT minus the goods, the parcel, the payment fee and the ads it took. The contribution margin ratio is that margin divided by revenue. What remains pays the fixed costs first and then becomes profit, which makes it the margin to steer an online store on.
Contribution margin is what a sale leaves behind after the costs that only exist because the sale happened: the goods, the parcel, the payment fee, the advertising. Whatever remains contributes to fixed costs and then to profit, which is what makes it the margin to steer an ecommerce store on.
The formula comes in three forms, and all three are the same subtraction. Per unit, contribution margin is the price minus the variable cost of one unit. In total, it is revenue minus every variable cost, or the per-unit margin times the units sold. As a ratio, it is the contribution margin divided by revenue, which is the same as one minus the variable costs' share of revenue. On the calculator's starting figures, a €50,00 product with €30,00 of variable cost has a contribution margin of €20,00 and a contribution margin ratio of 40,0%, and 1.000 units contribute €20.000 towards the fixed costs.
The test for what belongs in it is simple: would this cost disappear if the order had not happened? The goods would not have been bought, the parcel not shipped, the fee not charged, and, at the level of the whole month, the advertising not needed. Rent, salaries and software fail the test; they are the fixed block the contribution has to cover.
It matters because it is the only margin that answers the question 'should I sell more of this'. Gross margin stops at the goods. Net profit mixes in rent and salaries that have nothing to do with the individual order. Contribution margin sits exactly in between: everything the order caused, nothing it did not. It works per order and per month at once, and both readings matter, one for pricing and one for planning. It also sets the floor for advertising: what is a good ROAS depends on the contribution margin before marketing.
In ecommerce it is normally split into three levels, CM1, CM2 and CM3, so you can see which kind of cost moved. Each level subtracts a different kind of cost, and the whole ladder is walked through in CM1, CM2 and CM3 explained.
Worked through on the example store the calculators use: an €85 order loses €32,30 to goods, leaving CM1 of €52,70. The parcel takes €6,40 and the payment fee €1,62, leaving CM2 of €44,68. The month's ad budget spreads to about €21,25 per order, leaving roughly €23,43 of CM3. That is the euro amount one order actually contributes towards rent, salaries and profit, and it is a long way below the 62% the first line suggested.
The comparison people search for most is contribution margin against gross margin. Gross margin takes off the cost of goods and nothing else, so on that order it is 62,0%, the share CM1 already showed. Contribution margin keeps going through every cost the order caused, 52,6% after the parcel and the fee and 27,6% after the ads. A healthy gross margin above a thin contribution margin is the usual shape of a store that grows its sales and not its profit, and gross margin vs contribution margin sets the two side by side.
In a spreadsheet the formula is one cell. With the net price in B5, the unit cost in B4, shipping in B9 and the payment fee in B12, the contribution per order is =B5-B4-B9-B12 and the contribution margin ratio =IFERROR(B13/B5,0), which a German Excel writes =WENNFEHLER(B13/B5;0). The margin formula sheet has those rows filled in for one product, and contribution margin in Excel, Google Sheets included, is set out with the other margin formulas.
The contribution margin calculator lays those layers out for your own numbers, in euros and as shares of net revenue, on the same lines the product computes.
