Contribution Margin Calculator

See exactly how much “fuel” your revenue provides after variable costs and how that translates into contribution margin dollars and ratio. Use it to stress-test pricing, product mix, volume scenarios, and breakeven revenue so you can protect margins and scale profitably.

By CalcMastery Editorial Team

Contribution Margin Calculator

Compute contribution margin (amount, per unit, and ratio) from price, variable cost, and quantity. Optionally include fixed costs to see profit and break-even. Includes clear tooltips, scenarios, and What It Means insights.

Per UnitTotals

Choose how you’d like to provide inputs. Per Unit = unit price and variable cost. Totals = revenue and total variable costs.

$

Selling price for one unit.

$

Costs that scale directly with units sold (materials, shipping, transaction fees).

Units sold in the period.

$

Total sales for the period.

$

All costs that vary directly with output (exclude fixed costs such as rent, salaried staff).

Provide quantity to derive per‑unit metrics and break‑even. Leave blank if unknown.

Add fixed costs to see profit and break‑even. Fixed costs do not change with volume (e.g., rent, core salaries).

$

Total fixed costs for the period.

Enable to compare your contribution margin ratio to a target or industry benchmark.

%

Your target or peer contribution margin ratio.

Scenarios
Quick examples to explore how price, costs, and volume affect contribution margin.
Commodity Retail (Low Margin)Manufacturing (Typical)SaaS / SoftwareServices + Fixed Costs

Results

  • Contribution Margin$
  • Contribution Margin per Unit$
  • Contribution Margin Ratio %
  • Profit (after Fixed Costs)$
  • Break‑Even Units
  • Break‑Even Revenue$
  • Category
  • Revenue$
  • Variable Costs$
  • Fixed Costs$
  • Quantity
  • Benchmark CM Ratio %
  • CM Ratio − Benchmark %

Enter your inputs above to calculate the results.

What is Contribution Margin?

Contribution margin is the actual portion of revenue left after all variable costs that is available to cover fixed costs and ultimately generate operating profit and a sustainable operating margin percentage.

At product, customer, or business-unit level, it connects unit economics to overall value creation by showing which lines actually pay for shared overhead and which quietly erode profitability when you look at gross profit margin and net profit margin side by side.

For FP&A and corporate finance, contribution margin underpins breakeven sales volume, pricing strategy, and resource allocation across a portfolio, and is a key input into degree of operating leverage analysis.

Formula

For totals:

Contribution Margin = Revenue − Variable Costs

Per unit:

Contribution Margin per Unit = Price per Unit − Variable Cost per Unit

Ratio:

Contribution Margin Ratio = (Revenue − Variable Costs) / Revenue

Example

A software company sells a subscription at $50 per month with $30 variable cost per user (hosting, payment fees, support). The contribution margin per unit is

$50-$30 = $20

and the contribution margin ratio is

20 / 50 = 40%

.

At 1,000 subscribers, revenue is $50,000, variable costs are $30,000, and total contribution margin is $20,000, which is the pool available to cover fixed costs (salaries, R&D, G&A) and ultimately drive a healthy EBITDA margin and net profit margin.

How to Use the Contribution Margin Calculator

This calculator lets you quickly estimate contribution margin in either per-unit or total terms, then see how much revenue is available to cover fixed costs and profit. Use it for quick pricing checks, scenario tests, and break-even analysis.

Select the input mode

  • At the top, choose Per Unit if you know price and variable cost per unit, or Totals if you have total revenue and total variable costs from your reports.

Enter price/revenue and variable costs

  • In Per Unit mode, fill in Price per Unit, Variable Cost per Unit, and Quantity. In Totals mode, enter Revenue (Total) and Variable Costs (Total), plus Quantity (Optional) if you want unit-based outputs.

Review contribution margin metrics

    • The Results panel shows total contribution margin, contribution margin per unit (if quantity is given), and the contribution margin ratio. The core formulas behind the outputs are:
Contribution Margin = Revenue − Variable Costs
Contribution Margin Ratio = Contribution Margin / Revenue × 100%

In per-unit mode, the calculator also applies:

CM per Unit = Price per Unit − Variable Cost per Unit

Add fixed costs to see break-even (optional)

  • Toggle Include Fixed Costs, enter your total fixed costs, and the tool will show Break-Even Revenue (and units where applicable), so you can see the sales level required to cover your overhead.

Compare to benchmarks and run scenarios

  • Turn on Compare to Benchmark to enter a target contribution margin and instantly see if your result is above or below that level. Use the Scenarios dropdown (if available) to test different prices, cost structures, or quantities and see how contribution margin and break-even move.

Frequently Asked Questions

How do I use this calculator to find contribution margin per unit?

Switch to Per Unit mode, enter your selling price per unit and variable cost per unit, then add the quantity. The tool multiplies the per-unit contribution margin (price minus variable cost) by quantity to give total contribution margin and the contribution margin ratio.

What does a 40% contribution margin result actually mean for my business?

A 40% contribution margin means that for every 1 of revenue, 0.40 is left after variable costs to cover fixed costs and profit. Higher percentages give you more room to pay overhead and still make money; low or single-digit margins usually signal pricing or cost problems and warrant a closer look.

When should I use Per Unit vs Totals input mode?

Use Per Unit when you’re making pricing or product decisions and know price and variable cost per unit. Use Totals when you’re working from a P&L or forecast and already have total revenue and total variable costs for a product, line, or business unit.

How does contribution margin in this calculator tie into my break-even point?

If you toggle Include Fixed Costs and enter your fixed costs, the calculator uses your contribution margin ratio to estimate break-even revenue (and units if quantity is available). The higher your contribution margin, the lower the break-even sales needed to cover fixed costs.

Sources & Methodology