StatGardenREF. DESK
Calculators/Finance/Contribution Margin Calculator
Finance

Contribution Margin Calculator calculator

Contribution margin per unit and as a ratio, from selling price and variable cost, plus break-even units against fixed costs.

Published 21 August 2026

What this calculator does

Contribution margin is what is left from the selling price of one unit after only the variable costs of making or delivering it are subtracted, the costs that rise and fall directly with volume, such as materials or a per-unit shipping fee. It is the amount each additional unit sold contributes toward covering fixed costs and, beyond that, toward profit.

The distinction people miss is contribution margin versus gross margin. Gross margin typically subtracts the full cost of goods sold, which can include some fixed manufacturing overhead allocated per unit. Contribution margin strips that back further, to variable costs only, which is why it is the figure used for break-even analysis and short-run pricing decisions rather than for reporting overall profitability.

The formula

FormulaContribution margin = Price − Variable cost; Break-even units = Fixed costs / Contribution margin

Subtract the variable cost per unit from the selling price per unit to get the contribution margin per unit. Dividing that by the selling price gives the contribution margin ratio. If fixed costs are entered, dividing fixed costs by the contribution margin per unit gives the number of units that must be sold to break even.

TermMeaning
Contribution marginSelling price minus variable cost per unit: what each unit contributes before fixed costs.
Variable costCosts that scale with each unit produced or sold, such as materials, packaging or a per-unit commission.
Fixed costsCosts that stay the same regardless of volume, such as rent or a manager’s salary, used only for the break-even figures here.
Break-even unitsThe number of units where total contribution margin exactly covers fixed costs, with zero profit or loss.

The inputs explained

FieldWhat to enter
Selling price per unit ($)The selling price of one unit.
Variable cost per unit ($)The variable cost of producing or delivering one unit, excluding any fixed overhead.
Units sold (0 to skip)Units sold over the period, if you want a total contribution margin figure. Leave at 0 to skip.
Total fixed costs (0 to skip) ($)Total fixed costs for the same period, if you want the break-even point. Leave at 0 to skip.

When to use it

Pricing a new product

Before fixed overheads are even considered, contribution margin shows whether a proposed price covers the direct cost of making the product with enough left over to be worth stocking at all.

Working out how many units to break even

Entering total fixed costs alongside price and variable cost shows the sales volume needed before the product starts contributing actual profit, rather than just covering its own variable costs.

Comparing two products on shelf space

A product with a lower contribution margin ratio needs to sell in higher volume to justify the same shelf or production capacity as one with a higher ratio.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the contribution margin ratio changes with variable cost, at a $50 price

A $50 unit price against a range of variable costs.

$50 selling price
Variable cost per unitContribution margin per unitContribution margin ratio
$10$40.0080.0%
$20$30.0060.0%
$30$20.0040.0%
$35$15.0030.0%
$40$10.0020.0%
$45$5.0010.0%
As variable cost approaches the selling price, the contribution margin ratio falls toward zero and more volume is needed to cover any fixed costs at all.

How the break-even point changes with fixed costs

A $20 contribution margin per unit (price $50, variable cost $30), against a range of fixed cost levels.

$50 price, $30 variable cost per unit
Fixed costsBreak-even units
$5,000250 units ($12,500.00 revenue)
$10,000500 units ($25,000.00 revenue)
$15,000750 units ($37,500.00 revenue)
$20,0001,000 units ($50,000.00 revenue)
$30,0001,500 units ($75,000.00 revenue)
$50,0002,500 units ($125,000.00 revenue)
Break-even units rise in direct proportion to fixed costs, since each unit still only contributes the same $20 toward covering them.

Questions

Is contribution margin the same as gross margin?

No. Gross margin usually subtracts the full cost of goods sold, which can include allocated fixed manufacturing overhead. Contribution margin subtracts only the costs that vary with volume, which is why the two figures differ for the same product. For a cost-of-goods-sold based figure, see the margin calculator.

What counts as a variable cost versus a fixed cost?

A variable cost changes in step with units produced or sold, such as raw materials, packaging or a per-unit sales commission. A fixed cost stays roughly the same regardless of volume over the period being measured, such as rent, insurance or a salaried manager. Some costs are mixed and need judgement to split.

What is a good contribution margin ratio?

It depends entirely on the industry and cost structure; a service business with low variable costs can run a ratio above 70%, while a low-margin retailer might sit well under 30%. Compare against your own history or direct competitors rather than a fixed benchmark.

Why can break-even units come out as a fraction?

The exact break-even point is rarely a whole number of units. This calculator rounds up, since selling a fractional unit is not possible and rounding down would leave fixed costs still uncovered.

For a cost-of-goods-sold based margin instead of a variable-cost one, see the margin calculator. For total dollar profit after every cost, see the profit calculator.