Contribution margin: how to calculate it and use it in pricing decisions
Contribution margin is what is left of the selling price after the costs that move with each sale: product cost, taxes on the sale, commission and variable freight. It pays fixed overhead and then becomes profit. Calculate it per product, in dollars and as a percentage of price.
What contribution margin is and the formula
Contribution margin shows how much each sale leaves to cover fixed overhead (rent, administrative payroll, software) and, after that, to become profit. The math is short:
Unit contribution margin = selling price minus variable costs per unit.
Variable costs are the ones that exist only because the sale happened: cost of goods sold (or production cost in manufacturing), taxes on the sale, sales commission, freight the company pays per order and payment processing fees. Rent, fixed payroll and depreciation stay out, because they exist even when nothing sells.
The contribution margin ratio is the same figure as a percentage: unit margin divided by selling price. It lets you compare a $20 product with a $2,000 one.
Break-even comes from the same math. Fixed costs for the period divided by unit contribution margin gives the number of units the company must sell to avoid a loss.
This is one of the indicators behind decision intelligence, because it answers a concrete question: if I sell one more unit at this price, how much is left?
A worked example: one product and one line
The numbers below are illustrative, from a fictional distributor of cleaning supplies. Take product A, sold at $100.00. Taxes on the sale take 12% of the price and commission takes 5%. Product cost is $52.00 and variable freight is $6.00 per unit.
Variable costs: 52.00 + 12.00 + 5.00 + 6.00 = $75.00. Unit contribution margin: $25.00. Ratio: 25%.
Now the supplier raises its price by 10%, so product cost goes from $52.00 to $57.20, and the selling price stays put. Margin drops to $19.80, or 19.8%. To win back the $25.00, the price has to rise to about $106.27, a 6.3% increase, because part of the increase goes right back out as tax and commission. To win back the 25% ratio, the price would need to reach roughly $108.97. Choosing between holding the dollars and holding the percentage is a decision, and whoever makes it should know which one they are making.
Now the line. In July the line had three products with total revenue of $200,000: product A with $40,000 at a 25% margin, B with $100,000 at 30%, C with $60,000 at 22%. Contribution margin for the line was $53,200, or 26.6%. By October, A's cost had gone up and its price had not followed: A fell to 15%, while B and C stayed where they were. The line dropped to 24.6%. The average slipped two points, which looks like normal noise. Product A lost ten points.
| Situation | Selling price | Product cost | Taxes on the sale (12%) | Commission (5%) | Variable freight | Unit margin | Ratio |
|---|---|---|---|---|---|---|---|
| Product A today | $100.00 | $52.00 | $12.00 | $5.00 | $6.00 | $25.00 | 25.0% |
| Product A, cost +10%, price unchanged | $100.00 | $57.20 | $12.00 | $5.00 | $6.00 | $19.80 | 19.8% |
| Product A, price corrected | $106.27 | $57.20 | $12.75 | $5.31 | $6.00 | $25.01 | 23.5% |
| Your product |
Illustrative values. Tax and commission rates are assumptions for the example. Every cost column is variable: include only what exists because of the sale.
Contribution margin, gross margin and net margin
The three answer different questions, and one does not replace another.
Gross margin takes only cost of goods sold out of revenue. It is useful for looking at production or purchasing. Contribution margin goes further: it also removes taxes on the sale, commission and variable freight, everything that changes with each order. That makes it the most useful of the three for pricing, discount and mix decisions.
Net margin removes everything, including fixed overhead and income taxes, and measures profit for the whole company. You cannot calculate it per product without allocating fixed costs, and allocation turns into opinion. To decide whether a product can take a discount, net margin gets in the way. Contribution margin helps.
Contribution margin for the whole company, minus fixed costs, is operating income. For teams that track budget vs. actual, contribution margin is one of the lines that most deserves a month-over-month comparison.
Margin by product and by customer: the average hides what fell
Margin for a line, or for the company, is a weighted average. In the example above, product A fell ten points and the line fell two. If the meeting looks only at the total, the problem reaches leadership after it has lasted months.
That is why contribution margin should be read by product and, where possible, by customer. Two customers buy the same product on different terms: one with a campaign discount, freight paid by the company and long payment terms; the other at list price. Same product, different margin. Crossing margin with customer revenue in an ABC analysis of customers shows which large accounts leave little and which small ones leave a lot.
The same goes for inventory turnover: a high-margin product that turns slowly ties up cash, and a low-margin one that turns fast can earn more over the year. Read margin and turnover together.
In practice, the useful cut is a short list: the products that lost the most margin since last month, ranked by dollars lost. That is the report the meeting needs, and it is often the slowest one to arrive when the data sits in the ERP and the request goes into the IT queue.
Passing a cost increase through to price: a decision you log and check
A cost increase that never reaches the price is one of the decisions companies lose track of most often. Cost goes up in March, someone says "let's pass it through", the meeting moves on, and by June half the products are still at the old price. Nobody decided against it. Nobody wrote down that they would.
A decision journal fixes this with one row: what was decided (reprice the products whose cost has risen since a given date), what you expect to see (line contribution margin back at July's level), the date to check and the assumptions (line volume does not fall more than 5%). On the due date, someone opens the row and checks the ratio, with a verdict: met, not met or inconclusive.
The check happens in the monthly business review, alongside the target vs. actual comparison. Writing the expectation before the result arrives protects the review from hindsight bias and outcome bias: once the number is known, everyone feels they expected it.
One point of method is worth repeating. A repricing decision has two possible targets, dollars or percentage, as product A shows. Write down which one applies. It is the assumption that most often stays implicit.
Common mistakes in the calculation
- Using an outdated average cost. If inventory was bought at different prices, average cost hides the most recent increase. The margin on today's order depends on replacement cost, not on the last purchase.
- Forgetting taxes on the sale. Calculating margin on the full price without removing them inflates the number. The ratio looks high on paper and lower in the bank.
- Treating fixed costs as variable. Allocating rent or administrative payroll per unit sold makes a product look less profitable when volume falls and more profitable when it rises, with nothing changing in the product.
- Ignoring freight and commission. Customers never see these costs, and they change from order to order. A product with a good margin can turn into a bad deal when the order is small and the company pays the freight.
- Comparing the ratio without looking at dollars. A product at 40% on a low price can leave less money than one at 15% on a high price. Look at both.
- Calculating it once a quarter. A cost increase gets lost in weeks, and the number arrives after the pricing decision has been forgotten.
The whole method fits in the spreadsheet above. For teams that want to run the numbers straight from ERP data, without exporting a spreadsheet, conversational BI on the ERP database shows how that works, and the piece on data-driven decision making explains what changes once decisions get checked.
Entendo answers questions in plain language directly on the ERP database, in read-only mode, and shows the SQL so you can verify the calculation. For questions such as "which products lost margin since last month", see how to query a database in natural language. Margin still depends on the company deciding which costs belong in the calculation, and that definition is yours.
Sources
- Wikipedia. Cost-volume-profit analysis. Defines contribution as sales minus variable costs and relates break-even to contribution and fixed costs.