Contribution Margin Calculator
Enter your price, variable cost per unit, units sold and fixed costs to see how much each sale contributes to covering fixed costs and profit. You also get the break-even point, margin of safety and a profit table at other sales volumes.
Materials, direct labor, packaging, shipping, sales commissions, payment fees.
Rent, salaries, insurance, software: costs that don't change with volume.
Shows how many units you need to reach it.
How to use the Contribution Margin Calculator
- Enter the selling price and the variable cost of one unit.
- Enter the units sold and the fixed costs for the same period (for example one month).
- Optionally add a target profit to see the sales volume needed to reach it.
- Read the CM per unit, CM ratio and break-even point in the results.
- Use the chart and table to see how profit changes as volume rises or falls.
Contribution margin formulas
- CM per unit = selling price − variable cost per unit
- CM ratio = CM per unit ÷ selling price (or total CM ÷ revenue)
- Total CM = CM per unit × units sold
- Operating profit = total CM − fixed costs
- Break-even units = fixed costs ÷ CM per unit; break-even revenue = fixed costs ÷ CM ratio
- Margin of safety = (units sold − break-even units) ÷ units sold
- Degree of operating leverage = total CM ÷ operating profit
Example: price $50, variable cost $30, 2,000 units, $25,000 fixed costs. CM = $20 (40%), total CM = $40,000, profit = $15,000, break-even = 1,250 units ($62,500), margin of safety = 37.5%, operating leverage = 2.67×.
Variable vs fixed costs
| Usually variable (per unit) | Usually fixed (per period) |
|---|---|
| Raw materials and components | Rent and utilities base charges |
| Packaging and shipping | Salaried staff |
| Piece-rate or hourly production labor | Insurance and licenses |
| Sales commissions | Software subscriptions |
| Payment processing and marketplace fees | Loan payments and depreciation |
How to raise your contribution margin
- Raise prices where demand allows; every extra dollar of price is extra contribution.
- Lower variable costs with better supplier terms, cheaper shipping or lower payment fees.
- Shift the sales mix toward products with a higher CM ratio.
- Bundle products to spread per-order costs such as packaging and shipping.
Frequently asked questions
What is contribution margin?
Contribution margin is the selling price of a unit minus its variable costs. It is the amount each sale contributes toward paying fixed costs; once fixed costs are covered, the contribution margin becomes profit.
How do you calculate the contribution margin ratio?
CM ratio = (price − variable cost) ÷ price, or total contribution margin ÷ total revenue. A product sold for $50 with $30 of variable cost has a CM of $20 and a CM ratio of 40%.
How is contribution margin used to find break-even?
Break-even units = fixed costs ÷ contribution margin per unit, and break-even revenue = fixed costs ÷ CM ratio. With $25,000 of fixed costs and a $20 CM you need 1,250 units, or $62,500 of sales, to break even.
What is the difference between contribution margin and gross margin?
Gross margin subtracts cost of goods sold, which can include fixed production overhead. Contribution margin subtracts only variable costs, including variable selling costs like commissions and payment fees. Contribution margin is better for break-even and pricing decisions.
What is a good contribution margin ratio?
It depends on the industry and on fixed costs. Software and digital products often exceed 70%, while retail and food businesses may run between 20% and 50%. What matters is that total contribution margin comfortably exceeds fixed costs.
What is the margin of safety?
The margin of safety is how far sales can fall before you reach break-even: (actual units − break-even units) ÷ actual units. A 30% margin of safety means sales could drop 30% before the business starts losing money.
Is my data stored anywhere?
No. All calculations run in your browser and nothing is sent to a server.