Contribution Margin Calculator
How to Use This Calculator
- 1
Enter Price per Unit and Variable Cost per Unit
Use the selling price and the costs that change with each unit, such as materials or packaging.
- 2
Enter Units Sold and Fixed Costs
Use the same time period for units sold and fixed costs, such as one month or one year.
- 3
Review contribution, breakeven, and operating income
The calculator subtracts fixed costs from total contribution margin and estimates the unit volume needed to cover those fixed costs.
Example Calculation
A business sells 1,000 units at $20 each, has a $10 variable cost per unit, and incurs $5,000 in fixed costs for the period.
Price per Unit ($)
20
Variable Cost per Unit ($)
10
Units Sold
1,000
Fixed Costs ($)
5,000
Results
Contribution Margin per Unit
$10.00
CM Ratio
50.0%
Total Contribution Margin
$10,000.00
Breakeven Point
500 units
Operating Income
$5,000.00
Margin of Safety
50.0%
Insights card shows how current sales volume compares with breakeven.
Tips
At a $12 variable cost, breakeven rises to 625 units
Change Variable Cost per Unit from $10 to $12 while keeping price at $20 and fixed costs at $5,000. The contribution per unit drops to $8, so more units are needed to cover fixed costs.
At a $25 price and $10 variable cost, breakeven falls to about 334 units
Change Price per Unit to $25 and keep Variable Cost per Unit at $10. The contribution rises to $15 per unit; the exact breakeven is 333⅓ units, so a business selling whole units needs 334 to cover fixed costs.
A 20% margin of safety means sales can fall by one-fifth before breakeven
Test Units Sold at 625 with the default price, variable cost, and fixed costs. The calculator shows a 20% margin of safety above the 500-unit breakeven point.
What this calculator estimates
Contribution margin is sales revenue remaining after variable costs, available to cover fixed costs and then operating income. This calculator reports the amount per unit, contribution margin ratio, total contribution, breakeven volume, operating income, and margin of safety; it assumes the entered prices and costs stay constant across the period.
How contribution margin and breakeven are calculated
Contribution margin per unit = Price per unit − Variable cost per unit
CM ratio = Contribution margin per unit / Price per unit × 100
Total contribution margin = Contribution margin per unit × Units sold
Breakeven units = Fixed costs / Contribution margin per unit
Operating income = Total contribution margin − Fixed costs
Margin of safety = (Units sold − Breakeven units) / Units sold × 100
The CM ratio expresses contribution margin as a share of selling price. Breakeven units are the sales volume at which total contribution covers fixed costs, before any other costs not entered in the calculator.
For the example, contribution per unit is $20 − $10 = $10. The CM ratio is $10 ÷ $20 × 100 = 50%. Total contribution is $10 × 1,000 = $10,000. Breakeven is $5,000 ÷ $10 = 500 units, leaving operating income of $10,000 − $5,000 = $5,000. The margin of safety is (1,000 − 500) ÷ 1,000 × 100 = 50%.
How price and variable cost affect breakeven
Breakeven falls when contribution per unit rises, assuming fixed costs do not change. The table compares different price and variable-cost combinations with $5,000 in fixed costs and 1,000 units sold.
| Price per unit | Variable cost per unit | Contribution per unit | Breakeven volume | Operating income at 1,000 units |
|---|---|---|---|---|
| $20 | $12 | $8 | 625 units | $3,000 |
| $25 | $10 | $15 | 333⅓ units (334 whole units) | $10,000 |
| $18 | $10 | $8 | 625 units | $3,000 |
The formula gives a theoretical breakeven that can be fractional. If you sell whole units, round the required volume up to the next whole unit to cover fixed costs. Also use matching periods: monthly unit sales should be compared with monthly fixed costs, not annual expenses.
Use the estimate to make a pricing decision
A price increase can raise contribution per unit, but it can also affect the number of units customers buy. A cost reduction can improve contribution without raising the listed price, but only if the lower cost does not reduce quality or sales. Test a few plausible price and cost combinations, then compare the breakeven volume with realistic demand.
The calculator assumes one product or a consistent product mix. Businesses selling products with different prices and variable costs need a weighted average contribution margin based on their sales mix. For broader planning, the SBA guide to calculating startup costs can help identify one-time and ongoing costs that should not be confused with per-unit variable costs.
When to use a different calculator
- Find an annual sales volume needed to break even → annual break-even point calculator
- Calculate operating margin as a share of revenue → operating margin calculator
- Calculate gross profit margin → gross margin calculator
- Set a price from a target margin → cost price from margin calculator
Frequently Asked Questions
What is contribution margin?
Contribution margin is the amount of sales revenue left after variable costs, available to cover fixed costs and then profit. Per unit, it is selling price minus variable cost per unit.
How do I calculate the breakeven point in units?
1. Subtract variable cost per unit from selling price. 2. Divide fixed costs by that contribution margin per unit. 3. Round up to the next whole unit if you cannot sell a fraction. For $5,000 in fixed costs and $10 contribution per unit, breakeven is 500 units.
What if variable cost per unit equals or exceeds the price?
The product then has no positive contribution margin, so each additional unit cannot contribute toward fixed costs under this model. The calculator returns zero for breakeven when contribution margin is zero or negative; that zero is not a feasible breakeven target.
Does contribution margin equal profit?
No; contribution margin subtracts variable costs but not fixed costs. Operating income in this calculator is total contribution margin minus the fixed costs entered, and other expenses or taxes may still need separate treatment.
What does a high margin of safety mean?
A higher margin of safety means current unit sales are farther above the calculated breakeven volume. It is a sales-volume buffer, not a guarantee against losses if prices, costs, product mix, or fixed expenses change.
