Contribution Margin Calculator

Enter your selling price per unit and variable cost per unit to calculate contribution margin, CM ratio, and — optionally — total contribution margin at a given sales volume.


Per-Unit Economics
$
The price you charge one customer for one unit.
$
Costs that vary with each unit sold: materials, direct labor, packaging, shipping, commissions.
Sales Volume Optional
#
Enter unit volume to calculate total contribution margin. Leave blank to see per-unit and ratio results only.
Contribution Margin Analysis
CM per unit $0.00
CM ratio (% of selling price)
Total CM (at entered volume)
CM / Unit
$0.00
CM Ratio
Total CM
CM covers fixed costs first. Profit = Total CM − Total Fixed Costs. Negative CM means losses deepen with every unit sold.

About the Contribution Margin Calculator

Contribution margin is the cornerstone of cost-volume-profit (CVP) analysis. It tells you how much revenue each unit sale contributes toward covering fixed costs and generating profit — after variable costs are paid. Without a positive contribution margin, a business cannot break even no matter how much it sells. This calculator gives you CM per unit, CM ratio, and total contribution margin in seconds.

The Formula

CM per Unit   = Selling Price − Variable Cost per Unit
CM Ratio      = CM per Unit ÷ Selling Price × 100
Total CM      = CM per Unit × Units Sold

How to Use Contribution Margin

  • Break-even analysis — Break-Even Units = Total Fixed Costs ÷ CM per Unit. Knowing your CM is the first step to finding break-even volume.
  • Pricing decisions — Evaluate whether a discount promotion still yields a positive CM after the price reduction.
  • Product mix optimization — When capacity is limited, prioritize the products with the highest CM per unit of the constraining resource.
  • Profitability modeling — Project operating income at different sales volumes: Operating Profit = Total CM − Fixed Costs.
  • Make-or-buy decisions — Compare the CM of making a component in-house versus buying it externally.

Variable Costs vs. Fixed Costs

Only variable costs go into the contribution margin calculation. Variable costs move with volume — raw materials, direct labor, packaging, shipping, and sales commissions. Fixed costs — rent, salaries, depreciation, insurance — are excluded because they don't change with each unit sold. Misclassifying a fixed cost as variable (or vice versa) will distort the CM and lead to poor pricing and production decisions.

Negative Contribution Margin Warning

If variable cost exceeds selling price, contribution margin is negative — shown in red in this calculator. This means every additional unit sold increases the business's losses. No amount of volume will fix a negative CM; the only solutions are raising prices, cutting variable costs, or discontinuing the product. Negative CM can occur intentionally (loss-leader pricing) but should be a deliberate, time-limited strategy rather than a structural condition.

Contribution margin analysis is a management accounting tool. Results depend entirely on accurate cost classification. Fixed/variable cost distinctions can be context-dependent. Not financial or accounting advice.

Frequently Asked Questions

What is contribution margin?

Contribution margin (CM) is the selling price per unit minus the variable cost per unit. It represents how much each unit sold contributes toward covering fixed costs and, after fixed costs are recovered, generating profit. For example, if you sell a product for $100 and variable costs are $60, the contribution margin is $40 per unit — each sale contributes $40 toward fixed overhead and profit.

What is contribution margin ratio?

The contribution margin ratio (CM ratio) expresses contribution margin as a percentage of selling price: CM Ratio = CM per Unit ÷ Selling Price × 100. A CM ratio of 40% means that for every dollar of revenue, $0.40 goes toward fixed costs and profit. A higher CM ratio means the business retains more of each sales dollar, which creates greater operating leverage — profits grow faster relative to revenue increases.

How is contribution margin different from gross profit?

Contribution margin subtracts only variable costs from revenue. Gross profit subtracts cost of goods sold (COGS), which often includes both variable and fixed manufacturing costs. In a business where COGS is entirely variable, they may be equivalent. In manufacturing or production-heavy businesses, CM is a cleaner measure of marginal profitability per unit because it isolates the incremental cost of producing one more unit.

What does a negative contribution margin mean?

A negative contribution margin means variable cost per unit exceeds selling price — every unit sold makes the loss worse rather than contributing to fixed cost coverage. This is financially unsustainable unless the pricing is intentionally a loss-leader strategy. Negative CM typically signals that pricing is too low, variable costs are too high, or the product mix needs to change. It is critical to correct before scaling volume.

How do I use contribution margin to calculate break-even?

Break-Even Units = Total Fixed Costs ÷ Contribution Margin per Unit. For example, if fixed costs are $50,000/month and CM per unit is $40, you need to sell 1,250 units per month to break even. Use our Break-Even Calculator for a full analysis including break-even revenue and charts.

What is total contribution margin?

Total contribution margin is CM per unit multiplied by the number of units sold. It equals total revenue minus total variable costs, and represents the total pool of dollars available to cover fixed costs and generate operating profit. If total CM exceeds total fixed costs, the business is profitable; if it falls short, the business is operating at a loss.

What are variable costs?

Variable costs are costs that change in direct proportion to production or sales volume — they increase with each unit produced and decrease when production falls. Examples include raw materials, direct labor, packaging, sales commissions, and shipping costs. Variable costs are distinct from fixed costs (rent, salaries, insurance) which remain constant regardless of volume. Identifying which costs are truly variable is the most important step in a contribution margin analysis.