# Contribution Margin and Contribution Margin Ratio: Formula and Examples

Published: 2026-02-23
Author: Warren Team
URL: https://www.heywarren.com/blog/contribution-margin-and-contribution-margin-ratio

---
[Contribution margin](/blog/calculation-contribution-margin) is the amount of revenue remaining after subtracting **variable costs** — the portion of each sale that "contributes" to covering fixed costs and, eventually, generating profit. The contribution margin ratio (CMR) expresses this as a percentage of revenue. These two metrics are the foundation of **break-even analysis** and **cost-volume-profit (CVP) analysis**: once you know your contribution margin, you can calculate exactly how many units you need to sell to cover fixed costs and start making profit. A software company with 80% contribution margins needs far less revenue to break even than a restaurant with 20% margins — making these metrics fundamental to understanding business model economics.

## Formulas

**Contribution Margin (per unit)**:
> **CM = Selling Price − [Variable Cost](/blog/variable-cost) per Unit**

![How revenue splits into variable costs, contribution margin, fixed costs, and profit.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201090%20125%22%20width%3D%221090%22%20height%3D%22125%22%20role%3D%22img%22%3E%3Ctitle%3EFlow%20diagram%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Crect%20x%3D%2230%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22115%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ERevenue%3C%2Ftext%3E%3Ctext%20x%3D%22115%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3E%2450%2Funit%3C%2Ftext%3E%3Cline%20x1%3D%22205%22%20y1%3D%2262.5%22%20x2%3D%22237%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22244%2C62.5%20235%2C57.5%20235%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22245%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22330%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EVariable%20Costs%3C%2Ftext%3E%3Ctext%20x%3D%22330%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3E%2420%2Funit%3C%2Ftext%3E%3Cline%20x1%3D%22420%22%20y1%3D%2262.5%22%20x2%3D%22452%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22459%2C62.5%20450%2C57.5%20450%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22460%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22545%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EContribution%20Margin%3C%2Ftext%3E%3Ctext%20x%3D%22545%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3E%2430%20%2860%25%29%3C%2Ftext%3E%3Cline%20x1%3D%22635%22%20y1%3D%2262.5%22%20x2%3D%22667%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22674%2C62.5%20665%2C57.5%20665%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22675%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22760%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EFixed%20Costs%3C%2Ftext%3E%3Ctext%20x%3D%22760%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3E%2490%2C000%2Fmo%3C%2Ftext%3E%3Cline%20x1%3D%22850%22%20y1%3D%2262.5%22%20x2%3D%22882%22%20y2%3D%2262.5%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%2F%3E%3Cpolygon%20points%3D%22889%2C62.5%20880%2C57.5%20880%2C67.5%22%20fill%3D%22%2364748b%22%2F%3E%3Crect%20x%3D%22890%22%20y%3D%2225%22%20width%3D%22170%22%20height%3D%2275%22%20rx%3D%2210%22%20fill%3D%22white%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%2F%3E%3Ctext%20x%3D%22975%22%20y%3D%2258.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EProfit%3C%2Ftext%3E%3Ctext%20x%3D%22975%22%20y%3D%2278.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2211%22%20fill%3D%22%2364748b%22%3ERemainder%3C%2Ftext%3E%3C%2Fsvg%3E)

*How revenue splits into variable costs, contribution margin, fixed costs, and profit.*

**Contribution Margin (total)**:
> **Total CM = [Total Revenue](/blog/how-do-we-calculate-total-revenue) − Total Variable Costs**

**Contribution Margin Ratio (CMR)**:
> **CMR = Contribution Margin / Revenue × 100%**

Or per unit:

> **CMR = (Selling Price − Variable Cost) / Selling Price × 100%**

## Example Calculation

**Scenario**: A business sells a product for $50/unit with $20 in variable costs per unit and $90,000 in monthly fixed costs.

| Metric | Calculation | Value |
|---|---|---|
| Selling price | — | $50.00 |
| Variable cost per unit | — | $20.00 |
| **Contribution margin per unit** | $50 − $20 | **$30.00** |
| **Contribution margin ratio** | $30 / $50 | **60%** |
| Units to break even | $90,000 / $30 | **3,000 units** |
| Revenue to break even | $90,000 / 60% | **$150,000** |
| Profit at 5,000 units | (5,000 × $30) − $90,000 | **$60,000** |

The 60% CMR means: for every $1 of revenue, $0.60 goes toward fixed costs and profit, and $0.40 covers variable costs.

## Variable Costs vs. Fixed Costs

**Variable costs** change directly with volume:
- Raw materials per unit
- Direct labour (if paid per piece)
- Sales commissions (% of revenue)
- Packaging and shipping per unit
- Credit card processing fees (% of transaction)

**Fixed costs** do not change with volume (within a relevant range):
- Rent and occupancy
- Base salaries (administrative, management)
- [Insurance premiums](/blog/what-are-insurance-premiums)
- Software subscriptions
- Depreciation
- Marketing overhead

**Semi-variable costs** (mixed): Some costs have a fixed base plus a variable component — a salesperson with a base salary plus commission. Separate into fixed and variable components for accurate contribution margin analysis.

## Contribution Margin Ratio by Industry

CMR varies dramatically by business model:

![Contribution margin ratio comparison between a high-CMR software business and a low-CMR restaurant.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20210%22%20width%3D%22800%22%20height%3D%22210%22%20role%3D%22img%22%3E%3Ctitle%3EComparison%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Ctext%20x%3D%22230%22%20y%3D%2257.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ESaaS%20Software%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%2225%22%20width%3D%22450%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%232563eb%22%2F%3E%3Ctext%20x%3D%22702%22%20y%3D%2257.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%232563eb%22%3E%2577%3C%2Ftext%3E%3Ctext%20x%3D%22230%22%20y%3D%22152.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ERestaurant%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%22120%22%20width%3D%22146.1038961038961%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%237c3aed%22%2F%3E%3Ctext%20x%3D%22398.1038961038961%22%20y%3D%22152.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%237c3aed%22%3E%2525%3C%2Ftext%3E%3C%2Fsvg%3E)

*Contribution margin ratio comparison between a high-CMR software business and a low-CMR restaurant.*

| Business Type | Typical CMR Range | Why |
|---|---|---|
| SaaS software | 70–85% | [Marginal cost](/blog/marginal-cost) of serving one more customer ≈ $0 |
| Professional services | 60–80% | Low material cost; labour is partly fixed |
| Consumer electronics | 35–55% | Hardware COGS significant |
| E-commerce retail | 20–40% | High cost of goods + shipping + returns |
| Restaurant | 15–35% | High food cost + variable labour |
| Grocery retail | 10–25% | Low prices, high volume, thin margins |

## Operating Leverage and Contribution Margin

Companies with high contribution margins have **high operating leverage** — their profits are highly sensitive to changes in revenue:

![Profit impact of a 20% revenue increase for a high-CM business versus a low-CM business.](data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20210%22%20width%3D%22800%22%20height%3D%22210%22%20role%3D%22img%22%3E%3Ctitle%3EComparison%3C%2Ftitle%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23f8fafc%22%2F%3E%3Ctext%20x%3D%22230%22%20y%3D%2257.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3EHigh%20CM%20%2880%25%29%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%2225%22%20width%3D%22450%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%232563eb%22%2F%3E%3Ctext%20x%3D%22702%22%20y%3D%2257.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%232563eb%22%3E%24200K%3C%2Ftext%3E%3Ctext%20x%3D%22230%22%20y%3D%22152.5%22%20text-anchor%3D%22end%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22600%22%20fill%3D%22%230f172a%22%3ELow%20CM%20%2820%25%29%3C%2Ftext%3E%3Crect%20x%3D%22240%22%20y%3D%22120%22%20width%3D%2290%22%20height%3D%2255%22%20rx%3D%226%22%20fill%3D%22%237c3aed%22%2F%3E%3Ctext%20x%3D%22342%22%20y%3D%22152.5%22%20font-family%3D%22system-ui%2C-apple-system%2Csans-serif%22%20font-size%3D%2214%22%20font-weight%3D%22700%22%20fill%3D%22%237c3aed%22%3E%2440K%3C%2Ftext%3E%3C%2Fsvg%3E)

*Profit impact of a 20% revenue increase for a high-CM business versus a low-CM business.*

**High CM business** (CMR = 80%, fixed costs = $1M/month):
- Revenue from $1.25M to $1.5M (+20%) → Profit from $0 to $200K → profit increases by infinity (break-even flip)
- Operating leverage amplifies both gains and losses

**Low CM business** (CMR = 20%, fixed costs = $200K/month):
- Revenue from $1M to $1.2M (+20%) → Contribution margin from $200K to $240K → profit from $0 to $40K
- Less amplification; more stable

This is why technology companies (high CM, high fixed costs) have both explosive profit potential and significant downside risk when revenue falls.

## Weighted Average Contribution Margin (Multi-Product)

For companies selling multiple products with different margins, the **weighted average contribution margin** blends the CMR by sales mix:

| Product | Price | Variable Cost | CM per Unit | Unit Sales | Total CM |
|---|---|---|---|---|---|
| Product A | $100 | $40 | $60 | 2,000 | $120,000 |
| Product B | $50 | $30 | $20 | 3,000 | $60,000 |
| **Total** | | | | **5,000** | **$180,000** |

Weighted avg CM = $180,000 / 5,000 = **$36 per unit**
Weighted avg CMR = $180,000 / ($200,000 + $150,000) = **51.4%**

## Authoritative Sources

For deeper background and primary-source data on this topic, the following authoritative sources are useful starting points:

- [IRS](https://www.irs.gov/)
- [SEC](https://www.sec.gov/)

## Conclusion

Contribution margin = revenue minus variable costs; the contribution margin ratio expresses this as a percentage of revenue. These metrics drive break-even analysis, pricing decisions, and understanding of operating leverage. High-CMR businesses (software, services) have far more profit leverage than low-CMR businesses (retail, manufacturing). For related financial analysis, see our guides on [formula for operating income](/blog/formula-for-operating-income) and [EBITDA margin](/blog/ebitda-margin).

Warren at [heywarren.com](https://heywarren.com) helps finance teams, entrepreneurs, and analysts calculate contribution margins, build break-even models, and understand the cost structure that drives business profitability.

---


## Related Reading

**More from Warren**:
- [Formula for Operating Income: How to Calculate It and Why It Matters](/blog/formula-for-operating-income)
- [EBITDA Margin: What It Is, How to Calculate It, and What It Tells You](/blog/ebitda-margin)
- [Formula for COGS: How to Calculate Cost of Goods Sold](/blog/formula-for-cogs)

**Authoritative sources**:
- [IMA — Management Accounting Practices](https://www.imanet.org/)
- [FASB — Income Statement Standards](https://asc.fasb.org/220)
- [SBA — Understanding Business Financials](https://www.sba.gov/business-guide/manage-your-business/manage-your-finances)
