How to use the Contribution Margin Calculator
- Enter revenue for the period.
- Enter total variable costs for the same period.
- Optionally add units sold to get contribution per unit.
How it works
Contribution margin = Revenue − Variable costs.
Contribution margin ratio = Contribution margin ÷ Revenue × 100.
Per unit = Contribution margin ÷ Units.
Worked examples
Product line
Revenue 1,000 and variable costs 600 give a contribution margin of 400 and a 40% ratio — 40 cents of every sale goes toward fixed costs and profit.
Limitations and assumptions
- Only variable costs belong here. Mixing in fixed costs turns it into operating profit instead.
Frequently asked questions
How is contribution margin different from gross margin?
Gross margin subtracts cost of goods sold (which can include some fixed production costs). Contribution margin subtracts only costs that vary with volume.
Built and reviewed by Guru G
Calculation logic is covered by automated tests against known values. Last reviewed Nov 6, 2026. Found a problem? Let us know — see our editorial policy.