Quick answer
Contribution Margin = Revenue − Variable Costs. CM Ratio = CM / Revenue × 100. Example: $500,000 revenue − $300,000 variable costs = $200,000 CM, 40% CM ratio. Subtract fixed costs to get operating profit: $200,000 − $120,000 = $80,000.
How to use this calculator
Enter Total Revenue and Total Variable Costs to see contribution margin and CM ratio. Optionally add Units Sold to see contribution margin per unit, and Fixed Costs to see operating profit and operating margin. All inputs should be for the same period (month, quarter, or year).
Variable costs include raw materials, direct labour paid per unit produced, packaging, shipping, and sales commissions. Do not include salaries, rent, or other fixed overheads in the variable cost field.
Contribution margin formula
Contribution margin can be calculated in total, per unit, or as a ratio:
$$\text{Contribution Margin} = \text{Revenue} - \text{Variable Costs}$$
$$\text{CM per Unit} = \text{Selling Price} - \text{Variable Cost per Unit}$$
$$\text{CM Ratio} = \frac{\text{Contribution Margin}}{\text{Revenue}} \times 100$$
Operating profit is then derived by subtracting fixed costs:
$$\text{Operating Profit} = \text{Contribution Margin} - \text{Fixed Costs}$$
And break-even units follow directly:
$$\text{Break-Even Units} = \frac{\text{Fixed Costs}}{\text{CM per Unit}}$$
The CM ratio is the most versatile form — it tells you what percentage of every revenue dollar is available to cover fixed costs and profit, regardless of volume. It is constant as long as selling price and variable cost per unit remain unchanged.
CM ratio benchmarks by industry
CM ratios vary widely by business model. Asset-light, software, and services businesses have high CM ratios; manufacturing and distribution have lower ratios due to material costs:
| Industry / Business Type | Typical CM Ratio | Key Variable Cost Drivers |
|---|---|---|
| SaaS / Software | 70% – 85% | Hosting, payment processing, support |
| Consulting / Professional Services | 50% – 75% | Contractor / project-based labour |
| Restaurants | 60% – 75% | Food and beverage cost (COGS) |
| E-commerce / Retail | 30% – 55% | Product cost, shipping, returns |
| Manufacturing | 25% – 45% | Raw materials, direct labour |
| Construction | 20% – 35% | Subcontractors, materials |
| Distribution / Wholesale | 15% – 30% | Product cost, freight |
Worked examples
| Business | Revenue | Variable Costs | CM | CM Ratio | Fixed Costs | Operating Profit |
|---|---|---|---|---|---|---|
| SaaS company | $800,000 | $120,000 | $680,000 | 85% | $500,000 | $180,000 |
| Restaurant | $400,000 | $120,000 | $280,000 | 70% | $220,000 | $60,000 |
| E-commerce store | $600,000 | $330,000 | $270,000 | 45% | $180,000 | $90,000 |
| Manufacturer | $2,000,000 | $1,200,000 | $800,000 | 40% | $650,000 | $150,000 |
Contribution margin vs. gross profit
These two metrics are related but answer different questions:
| Contribution Margin | Gross Profit | |
|---|---|---|
| Formula | Revenue − Variable Costs | Revenue − COGS |
| What's excluded | All fixed costs | SG&A, R&D (below gross profit line) |
| COGS treatment | Splits COGS into fixed/variable | Uses COGS as reported (includes fixed manufacturing overhead) |
| Best used for | Internal decisions, break-even, pricing | External reporting, industry comparison |
| Is it GAAP? | No — management accounting metric | Yes — appears on the income statement |
Gross profit is the standard reported metric. Contribution margin is more useful for internal decision-making because it cleanly separates the volume-driven variable costs from the fixed cost base.
Using CM to make product mix decisions
When a business sells multiple products with a shared fixed cost base, CM per unit (or CM ratio) determines which products to prioritise. Always maximise total contribution margin — not revenue or gross margin.
| Product | Price | Variable Cost | CM / Unit | CM Ratio | Should you prioritise? |
|---|---|---|---|---|---|
| Product A | $200 | $80 | $120 | 60% | Yes — high CM ratio |
| Product B | $500 | $350 | $150 | 30% | Only if volume is very high |
| Product C | $50 | $15 | $35 | 70% | Yes — highest CM ratio |
Product B has the highest CM per unit ($150) but the lowest CM ratio (30%). If production capacity is constrained, Product C generates more CM per dollar of revenue. If sales time is the constraint, focus on which product generates the most CM per sales hour.
Frequently asked questions
What is contribution margin?
Contribution margin is the amount of revenue left after subtracting all variable costs. It is the pool of money available to cover fixed costs and generate profit. CM = Revenue − Variable Costs. A positive CM means each additional sale moves the business toward profitability; a negative CM means each sale deepens the loss.
What is CM ratio and why does it matter?
CM Ratio = Contribution Margin / Revenue × 100. It tells you what percentage of every revenue dollar flows through to cover fixed costs and profit. A 40% CM ratio means 40 cents of every dollar earned is available for fixed costs and profit. Higher CM ratios mean faster break-even and more profit per unit of revenue growth.
What is the difference between contribution margin and gross profit?
Gross profit uses COGS as reported, which often includes fixed manufacturing overhead. Contribution margin uses only variable costs. For a manufacturer with $2M in COGS — $1.4M variable, $600K fixed overhead — CM is $200K higher than gross profit. CM is more useful for break-even and pricing; gross profit is used for financial reporting.
Can contribution margin be negative?
Yes. A negative CM means variable costs exceed revenue per unit — every unit sold increases the loss. This is always unsustainable and indicates a fundamental pricing or cost problem. If CM is negative, increasing sales volume makes things worse, not better. The fix is either to raise prices or reduce variable costs.
How is contribution margin used in pricing?
Minimum viable price = Variable Cost per Unit + (Fixed Costs / Expected Units). Any price above variable cost contributes positively to fixed cost coverage. Target price should provide enough CM to cover fixed costs AND deliver the required profit margin. Use CM ratio sensitivity: if you discount price by 10%, how many more units must you sell to maintain the same total CM?