Contribution margin
What each sale leaves to cover fixed costs and then profit
In briefContribution margin is what is left from sales after variable costs. OpenStax defines it as the amount by which a product's selling price exceeds its variable cost per unit. It first covers fixed costs, and whatever remains is profit.
How is contribution margin calculated?
- Per unit: selling price per unit minus variable cost per unit.
- Ratio: contribution margin per unit divided by selling price per unit.
- Total: per-unit margin times units sold, which also equals total sales minus total variable costs.
Variable costs change with the number of units made or sold. Materials and sales commissions are examples. Fixed costs, such as rent, are not subtracted.
Contribution margin calculator
Change the numbers to see the result. Everything is calculated on this page; nothing is sent or saved.
- Contribution margin per unit
- -
- Contribution margin ratio
- -
- Break-even units
- -
Illustration only, not financial, tax or investment advice.
A worked example
A bakery sells loaves for $5.00. Each loaf costs $1.20 in ingredients and $0.30 in packaging.
- Variable cost per loaf: $1.20 + $0.30 = $1.50.
- Contribution margin per loaf: $5.00 - $1.50 = $3.50.
- Ratio: $3.50 / $5.00 = 70%.
In a month with 2,000 loaves sold:
| Item | Amount |
|---|---|
| Sales (2,000 x $5.00) | $10,000 |
| Variable costs (2,000 x $1.50) | $3,000 |
| Total contribution margin | $7,000 |
| Fixed costs (rent, oven lease, one salary) | $4,500 |
| Operating profit | $2,500 |
Total margin checks both ways: 2,000 x $3.50 and $10,000 x 70% each give $7,000. Selling 100 more loaves would add $350 of profit, since fixed costs stay the same. OpenStax gives the break-even point in units as total fixed costs divided by contribution margin per unit: $4,500 / $3.50 is 1,285.7, or 1,286 loaves rounded up.
A real example: Prestige Consumer Healthcare
Companies use the name for their own measures. In its 10-K for the year ended March 31, 2026, filed May 14, 2026, Prestige Consumer Healthcare, which sells over-the-counter health products, calls contribution margin its segment measure of profitability. It defines it as gross profit less advertising and marketing expenses. That differs from the textbook formula, which subtracts only variable costs.
| Segment | Contribution margin | Share of segment revenues |
|---|---|---|
| North American OTC Healthcare | $380.0 million | 41.6% |
| International OTC Healthcare | $66.8 million | 38.1% |
| Total | $446.8 million | 41.0% |
Common confusion
- Is contribution margin profit? No. Fixed costs still have to be paid from it.
- Is it the same as gross margin? No. Gross margin subtracts the cost of goods sold, including fixed factory costs, and appears on the income statement. The comparison page sets out the difference.
- Is contribution margin defined the same way everywhere? No. As Prestige shows, a reported "contribution margin" may follow a company's own definition. Check the filing.
- Does a high ratio mean high profit? No. A product with a 70% ratio can lose money if volume is too low to cover fixed costs.
Related entries
- Contribution margin vs. gross marginTwo ways to measure what is left after costs, and what each leaves out
- Fixed costsCosts that stay the same in total however much a business makes or sells
- Fixed vs. variable costsCosts that stay put as output changes, and costs that rise and fall with it
- Variable costsCosts that rise and fall in step with how much a business makes or sells
- Gross marginWhat is left from sales after paying for the goods sold
- Unit economicsThe revenue and costs of one customer, order or other single unit