What Is Contribution Margin?
Contribution margin is revenue minus variable costs, the portion of each sale that is left to cover fixed costs and then contribute to profit. Unlike gross margin, which subtracts the cost of goods sold, contribution margin subtracts only the costs that vary with volume: materials, per-unit labor, shipping, sales commissions. What remains is how much each additional unit sold contributes, which makes it one of the most useful figures for pricing, product, and volume decisions.
How to Calculate Contribution Margin
Contribution margin can be expressed as a total, per unit, or as a ratio.
Contribution Margin = Revenue – Variable Costs
Contribution Margin % = (Revenue – Variable Costs) / Revenue
Worked example, per unit:
- Selling price per unit: $100
- Variable cost per unit: $60
- Contribution margin per unit: $40
- Contribution margin ratio: 40 / 100 = 40%
Each unit sold contributes $40 toward fixed costs and profit.
Contribution Margin in Power BI (DAX)
The pattern depends on how costs are modeled. Replace the measure names with the ones in your model:
Variable Costs = SUM ( Sales[Variable Cost] )
Contribution Margin = [Total Revenue] - [Variable Costs]
Contribution Margin % = DIVIDE ( [Contribution Margin], [Total Revenue] )
The key modeling decision is which costs are treated as variable; the measure is only as meaningful as that classification.
Contribution Margin vs Gross Margin
The two are close but not the same. Gross margin subtracts the full cost of goods sold, which usually includes some fixed production overhead. Contribution margin subtracts only variable costs, leaving fixed costs entirely out. Gross margin answers how profitable the product is after production; contribution margin answers how much each sale adds before fixed costs, which is what break-even and pricing analysis need.
What Contribution Margin Is Used For
Contribution margin drives several decisions:
- Break-even analysis: fixed costs divided by contribution margin per unit gives the units needed to break even.
- Pricing: it shows how much room a price has before a sale stops contributing.
- Product mix: comparing contribution margins reveals which products add the most per sale, which is not always the ones with the highest revenue.
Reporting Contribution Margin From Your ERP Data
Contribution margin depends on cleanly separating variable from fixed costs, which is rarely how an ERP records them by default. The classification has to be applied consistently across products and periods, or the margin misleads. A governed data foundation applies that cost logic once so contribution margin is consistent everywhere it is reported. QuickLaunch ships pre-built models for JD Edwards, Vista, NetSuite, and OneStream that bring revenue and cost data together for margin analysis without rebuilding the logic by hand.
Frequently Asked Questions
How is contribution margin calculated?
Subtract variable costs from revenue. Per unit, a $100 item with $60 of variable cost has a $40 contribution margin, or a 40% contribution margin ratio.
What is the difference between contribution margin and gross margin?
Gross margin subtracts the full cost of goods sold, including some fixed overhead. Contribution margin subtracts only variable costs, leaving fixed costs out, which is what break-even and pricing analysis need.
What is contribution margin used for?
Break-even analysis, pricing decisions, and product-mix decisions. It shows how much each sale contributes toward fixed costs and profit, which the highest-revenue product does not always do best.