Contribution Margin Calculator

Use this contribution margin calculator to find contribution margin per unit, contribution margin ratio, total margin, break-even units, and operating income.

Calculate contribution margin per unit, contribution margin ratio, and total contribution margin from selling price, variable costs, and units sold. Add fixed costs to estimate break-even units and operating income.

50
$
20
$
units
Include Fixed Costs

Show break-even analysis & operating income

5.0K
$
Contribution Margin
$30/ unit
60.0% of $50 selling price
CM Ratio
60.0%
CM ÷ Price × 100
Total CM
$15,000
500 units
Break-even
167 units
$8,350 revenue
Operating Income
$10,000
Total CM − Fixed Costs

Margin Breakdown

500 units at $50 each

Revenue (500 units)
$25,000
25K
Total variable costs
−$10,000
Contribution Margin60.0%
$30/unit
$15,000 total
Fixed costs
$5,000
5.0K
Operating Income
$10,000
10K

Price per Unit Breakdown

How each unit's selling price splits into costs and margin

Variable Cost
$20
40%
CM
$30
60%

What is Contribution Margin?

Understanding the fundamentals of contribution margin analysis

Contribution margin is the amount of revenue remaining after subtracting variable costs from the selling price. It represents the portion of each sale that "contributes" to covering fixed costs and generating profit. Once total contribution margin exceeds fixed costs, the business starts earning a profit.

Pricing decisionsKnow how low you can price without losing money on each sale.
Break-even analysisFind how many units you need to sell to cover all costs.
Product mix optimizationPrioritize products with the highest contribution margins.
CVP analysisUnderstand how changes in volume, costs, or prices affect profit.

How to Use This Calculator

Six steps to calculate contribution margin per unit, ratio, and more

  1. 1
    Choose your mode. Use Standard mode to enter a single variable cost per unit. Switch to Advanced mode to split variable costs into direct costs (materials, labor) and indirect costs (commissions, shipping) for a CM1/CM2 breakdown.
  2. 2
    Enter the selling price per unit. This is how much you charge customers for one unit of your product. The selling price must be greater than zero.
  3. 3
    Enter your variable costs. In Standard mode, enter one total variable cost per unit. In Advanced mode, enter direct and indirect variable costs separately. Costs cannot be negative.
  4. 4
    Optionally, enter units sold. Add the number of units to see total contribution margin and revenue. Leave at zero to focus on per-unit metrics only.
  5. 5
    Optionally, include fixed costs. Toggle fixed costs on to enter your total fixed costs and see break-even units, break-even revenue, and operating income. Fixed costs cannot be negative.
  6. 6
    Read your results. The calculator shows contribution margin per unit, contribution margin ratio, total margin (when units are provided), break-even point (when fixed costs are included), and operating income (when both are provided).

How to Calculate Contribution Margin

Standard formula, ratio, CM1/CM2 breakdown, and break-even

Contribution Margin per Unit (Standard)

Contribution Margin = Selling Price − Variable Cost

Contribution Margin Ratio

CM Ratio (%) = (Contribution Margin per Unit / Selling Price) × 100

Total Contribution Margin

Total Contribution Margin = Contribution Margin per Unit × Units Sold

Break-Even Point (in Units)

Break-Even Units = Fixed Costs / Contribution Margin per Unit

Advanced: CM1 per Unit

CM1 = Selling Price − Direct Variable Costs (materials, labor)

Advanced: CM2 per Unit

CM2 = CM1 − Indirect Variable Costs (commissions, distribution)

Example Calculation

A product sells for $100 with variable costs of $60/unit. Contribution margin per unit = $40. CM ratio = 40%. Selling 1,000 units gives total CM = $40,000. With $10,000 in fixed costs, break-even = 10,000 / 40 = 250 units. Operating income = $40,000 − $10,000 = $30,000.

CM1 vs. CM2: Two Levels of Contribution Margin

Understanding the two-tier contribution margin analysis for better decision-making

CM1 — Contribution Margin 1

CM1 = Selling Price − Direct Variable Costs

CM1 measures how much each unit contributes after covering direct production costs — raw materials, direct labor, and manufacturing supplies. It tells you if the product is viable at a production level.

Example: $100 price − $40 direct costs = $60 CM1

CM2 — Contribution Margin 2

CM2 = CM1 − Indirect Variable Costs

CM2 subtracts indirect variable costs — sales commissions, distribution, packaging, and payment processing fees. It shows the true per-unit contribution to covering fixed costs and profit.

Example: $60 CM1 − $20 indirect costs = $40 CM2

A product with a positive CM1 but negative CM2 means it covers production costs but not selling/distribution costs — a sign to renegotiate distribution or reduce commissions rather than discontinue the product entirely.

Contribution Margin vs. Gross Margin

Understanding the key differences between these two profitability metrics

AspectContribution MarginGross Margin
Costs subtractedOnly variable costsAll COGS (fixed + variable)
Fixed manufacturing costsExcludedIncluded in COGS
Primary useCVP analysis, pricing, break-evenOverall production efficiency
ReportingInternal / managementExternal financial statements
Example$100 price − $60 variable = $40 CM$100 revenue − $70 COGS = $30 GP

Direct vs. Indirect Variable Costs

What goes into CM1 vs CM2 calculations

Direct Variable Costs

Subtracted for CM1

  • Raw materials & components
  • Direct labor (per unit)
  • Manufacturing supplies
  • Piece-rate wages

Indirect Variable Costs

Subtracted for CM2

  • Sales commissions
  • Shipping & distribution
  • Payment processing fees
  • Per-unit packaging

Fixed Costs

Excluded from CM

  • Rent & lease payments
  • Salaried employees
  • Insurance premiums
  • Equipment depreciation

How to Improve Contribution Margin

Actionable strategies to increase your contribution margin percentage

Raise selling prices

Increase prices where the market allows. Even small price increases directly improve contribution margin.

Reduce variable costs

Negotiate better supplier rates, source cheaper materials, or improve manufacturing efficiency to lower per-unit costs.

Optimize product mix

Focus on selling products with higher contribution margins. Use CM1 vs CM2 analysis to identify where margin is lost.

Cut indirect costs

Renegotiate distribution contracts, reduce commissions, or switch to lower-cost payment processors to improve CM2.

Frequently Asked Questions

Common questions about contribution margin calculation and analysis

Embed Contribution Margin Calculator

Add this calculator to your website or blog for free.