CCalculate.Studio

🧩 Contribution Margin Calculator

Contribution margin is total revenue minus total variable costs — the amount remaining to cover fixed costs and, beyond that, generate profit. This calculator computes the contribution margin in dollars and as a percentage of revenue (the contribution margin ratio) from your revenue and variable cost figures.

Last reviewed: 2026-07-07

Understanding your contribution margin results

These figures are the building blocks of break-even analysis and short-term pricing decisions, following standard managerial-accounting conventions.

MetricWhat it tells you
Contribution marginThe dollar amount left from revenue after variable costs, available to cover fixed costs and profit.
Contribution margin ratioThat same amount as a percentage of revenue — useful for comparing product lines or businesses of different sizes.
  • This calculator uses total revenue and total variable costs for a period rather than a per-unit breakdown; for a per-unit view (and the resulting break-even unit count), use the break-even calculator.
  • Contribution margin does not indicate overall profitability on its own — a positive contribution margin only means variable costs are covered; fixed costs must still be subtracted to determine net profit or loss.

What is contribution margin?

Contribution margin is a managerial-accounting measure equal to revenue minus variable costs — the costs that rise and fall directly with sales volume, such as materials, direct labor tied to production, or per-unit shipping. What remains after variable costs are subtracted is the amount available to cover fixed costs (rent, salaried payroll, insurance) and, once those are covered, to contribute to profit.

The contribution margin ratio expresses this same figure as a percentage of revenue, which makes it easier to compare businesses or product lines of different sizes. A higher contribution margin ratio means a larger share of every revenue dollar is available to cover fixed costs and generate profit.

Contribution margin differs from gross margin, which is calculated using cost of goods sold (a mix of fixed and variable production costs) rather than variable costs specifically. Contribution margin is the figure used in break-even analysis and in short-term decisions such as whether to accept a one-off order at a discounted price.

How to use this contribution margin calculator

  1. Enter total revenue for the period being analyzed.
  2. Enter total variable costs for that same period — costs that scale directly with sales volume or production, such as materials, direct labor, and per-unit delivery costs.
  3. Read the contribution margin in dollars and the contribution margin ratio as a percentage of revenue.

The formula behind contribution margin

Contribution margin = total revenue − total variable costs
Contribution margin ratio = (contribution margin ÷ total revenue) × 100

Contribution margin is calculated by subtracting total variable costs from total revenue for the period. For example, with $200,000 in revenue and $120,000 in variable costs, the contribution margin is $80,000.

The contribution margin ratio divides that dollar figure by revenue and expresses it as a percentage, showing what share of each revenue dollar is left after variable costs: $80,000 ÷ $200,000 = 40%.

Common mistakes

  • Confusing contribution margin with gross margin — gross margin is based on cost of goods sold (which can include fixed production overhead), while contribution margin is based specifically on variable costs.
  • Assuming a positive contribution margin means the business is profitable overall, when fixed costs may still exceed it and produce a net loss.
  • Including fixed costs (such as rent or salaried payroll) in the variable cost figure, which understates the contribution margin.
  • Using contribution margin ratio alone to compare products without also considering total sales volume — a high-ratio, low-volume product can generate less total contribution than a lower-ratio, high-volume product.

Frequently asked questions

What is contribution margin?

Contribution margin is total revenue minus total variable costs — the amount left over to cover fixed costs and, once those are covered, to contribute to profit. It is a core figure in managerial accounting used for break-even analysis and short-term pricing decisions.

What is a good contribution margin ratio?

There is no single universal benchmark, since a 'good' ratio depends heavily on the industry's typical cost structure — software and services businesses often report high contribution margin ratios, while retail and manufacturing with significant materials costs typically run lower. Comparing the ratio against your own fixed-cost base and industry peers is more meaningful than any fixed threshold.

How is contribution margin different from gross profit?

Contribution margin subtracts variable costs from revenue, while gross profit subtracts cost of goods sold (COGS), which under standard accounting can include both variable costs and fixed manufacturing overhead. The two figures can differ meaningfully when a meaningful share of COGS is fixed rather than variable.

How does contribution margin relate to break-even analysis?

Break-even analysis divides total fixed costs by the contribution margin (typically on a per-unit basis) to find the sales volume needed to cover fixed costs exactly. A higher contribution margin, in dollars or as a ratio, means fewer sales are needed to reach break-even.

References

  1. U.S. Small Business Administration. Write your business plan — financial planning guidance. sba.gov.
  2. Horngren CT, Datar SM, Rajan MV. Cost Accounting: A Managerial Emphasis. 16th ed. Pearson, 2018.
  3. Brealey RA, Myers SC, Allen F. Principles of Corporate Finance. 13th ed. McGraw-Hill Education, 2020.

Business · All calculators

Related calculators

Guides & articles