Contribution Margin Calculator

Total contribution margin$100,000.00
Contribution margin ratio40.00%
Contribution per unit$20.00
Variable cost ratio60.00%
How this was calculated
  1. Contribution margin = revenue - variable costs = $250,000.00 - $150,000.00 = $100,000.00.
  2. Contribution ratio = $100,000.00 / $250,000.00 = 40.00% of every sales dollar, leaving 60.00% consumed by variable costs.
  3. Per unit, that is $20.00 of contribution toward fixed costs and profit on each of the 5,000 units sold.

The contribution margin calculator on this page finds the contribution margin, contribution margin ratio, and contribution per unit from your revenue and variable cost figures. Contribution margin equals revenue minus total variable costs, representing the money available to cover fixed costs, after which it becomes profit. The contribution margin ratio expresses this value as a percentage of revenue, while contribution per unit equals the total contribution margin divided by units sold. For example, $250,000 in revenue and $150,000 in variable costs produce $100,000 of contribution margin, a 40.00% ratio, and $20.00 per unit on 5,000 units sold.

This calculation method is the accepted standard because it isolates the portion of revenue that funds fixed costs and profit, making it essential for sound financial planning. Contribution margin also drives break-even analysis, where break-even revenue equals fixed costs divided by the contribution margin ratio. This page presents the formula, step-by-step workings, worked examples such as $80,000 revenue with $56,000 variable costs yielding $24,000 at a 30.00% ratio and $12.00 per unit, and sources so you can verify every result.

Worked examples

A healthy 40% margin

Primary result: $100,000.00 — a 40.00% contribution ratio, $20.00 from every unit sold. (250000 $ · 150000 $ · 5000)

Total contribution margin$100,000.00
Contribution margin ratio40.00%
Contribution per unit$20.00
Variable cost ratio60.00%

A thin-margin reseller

Primary result: $24,000.00 — only 30.00% of each sale survives variable costs, $12.00 per unit. (80000 $ · 56000 $ · 2000)

Total contribution margin$24,000.00
Contribution margin ratio30.00%
Contribution per unit$12.00
Variable cost ratio70.00%

The same math at scale

Primary result: $420,000.00 — a 35.00% ratio across 30,000 units, $14.00 of contribution each. (1200000 $ · 780000 $ · 30000)

Total contribution margin$420,000.00
Contribution margin ratio35.00%
Contribution per unit$14.00
Variable cost ratio65.00%

Total, ratio and per-unit: three views of one number

The contribution margin starts as one simple subtraction: revenue minus total variable costs. That single dollar figure is the money available to cover fixed costs, after which it becomes profit. A contribution margin calculator can display this result in three connected forms — total, ratio, and per-unit — and each view comes from that same subtraction, just restated for a different purpose.

The total contribution margin is the raw dollar amount left after variable costs. The contribution margin ratio expresses that total as a percentage of revenue: contribution margin divided by revenue. The contribution per unit divides the total by units sold, and it also equals price per unit minus variable cost per unit. All three forms trace back to the same revenue-minus-variable-costs calculation, so a change in any input flows through every view.

Consider a worked example with $250,000 in revenue and $150,000 in variable costs. The subtraction yields $100,000 of contribution margin. Dividing by revenue gives a 40.00% ratio, and dividing by 5,000 units gives $20.00 per unit. A second example with $80,000 in revenue and $56,000 in variable costs produces $24,000 of contribution — a 30.00% ratio and $12.00 per unit. A third example with $1,200,000 in revenue and $780,000 in variable costs yields $420,000 — a 35.00% ratio and $14.00 per unit. In each case, the ratio and per-unit figures are the same contribution margin restated, not separate calculations.

These three views matter because they answer different questions. The total tells you how many dollars are available to cover fixed costs. The ratio tells you how many cents of each revenue dollar become contribution. The per-unit figure tells you how much each sale contributes. Contribution margin also drives break-even analysis: break-even revenue equals fixed costs divided by the contribution margin ratio. Because all three forms derive from one subtraction, using a contribution margin calculator gives consistent results across every view.

Every form starts from the same place: revenue minus total variable costs. The ratio and per-unit views simply restate that result as a percentage or per unit sold.

The worked examples

The worked examples below show how a contribution margin calculator turns raw revenue and cost figures into percentages that reveal how much money is left to cover fixed costs. In the first scenario, a business records $250,000 in revenue and $150,000 in variable costs. Subtracting those variable costs leaves $100,000 of contribution margin. Dividing that contribution by revenue produces a 40.00% contribution margin ratio, meaning 40 cents of every sales dollar is available to pay fixed costs before any profit remains. Spread across 5,000 units sold, the contribution per unit works out to $20.00.

The second example involves $80,000 in revenue and $56,000 in variable costs, which produce $24,000 of contribution margin. Here the contribution margin ratio is 30.00%, so 30 cents of each dollar of sales goes toward covering fixed costs. The contribution per unit is $12.00. A lower ratio means less cushion for fixed-cost coverage, so the business needs either higher sales volume or lower fixed costs to reach profitability. Using break-even analysis, break-even revenue equals fixed costs divided by the contribution margin ratio, so a 30.00% ratio requires more revenue to break even than a higher ratio would for the same level of fixed costs.

The third example scales up to $1,200,000 in revenue and $780,000 in variable costs, yielding $420,000 of contribution margin. The contribution margin ratio is 35.00%, and the contribution per unit is $14.00. This ratio sits between the first two examples: more fixed-cost coverage per dollar than the 30.00% case, but less than the 40.00% case. For a company with substantial fixed costs, the 35.00% ratio means that 35 cents of every sales dollar is available to cover those obligations before profit begins.

Comparing these three ratios side by side makes the practical difference clear. A 40.00% ratio offers the strongest fixed-cost coverage of the three, a 35.00% ratio provides a moderate level, and a 30.00% ratio leaves the thinnest margin for absorbing fixed costs. Because contribution margin drives break-even analysis directly, a higher ratio lowers the revenue needed to break even, while a lower ratio raises it. Managers use these figures to judge whether sales levels are sufficient to cover fixed costs and generate profit.

RevenueVariable CostsContribution MarginContribution Margin RatioContribution Per UnitUnits Sold
$250,000$150,000$100,00040.00%$20.005,000
$80,000$56,000$24,00030.00%$12.00
$1,200,000$780,000$420,00035.00%$14.00
Break-even revenue equals fixed costs divided by the contribution margin ratio. A higher ratio means less revenue is needed to cover the same fixed costs.

Sorting variable from fixed costs

A contribution margin calculator can only produce trustworthy numbers if every cost lands in the right column. The distinction sounds simple: variable costs rise and fall with production volume, while fixed costs stay the same regardless of how many units you make. In practice, several expense categories blur the line and cause errors that ripple through every downstream metric.

Utilities are a frequent trap. A factory's electricity bill climbs when machines run longer, but a portion of the charge covers baseline lighting and climate control that continues even during a shutdown. The cleanest approach is to review past bills, estimate the portion that would remain if production dropped to zero, and treat that amount as fixed. Classify the remainder as variable. The same logic applies to salaried staff who earn overtime during busy periods. The base salary is a fixed cost, while the overtime premium tied to output is variable. Splitting the two keeps your contribution margin accurate without distorting either category.

Shipping creates its own confusion because rate structures often combine fixed contracts with usage-based fees. A monthly retainer with a carrier is fixed, but per-package charges and fuel surcharges vary with volume. Treat each component according to its behavior. If the contract does not break them out, estimate the fixed portion from a low-volume month and classify the rest as variable. This discipline matters because contribution margin equals revenue minus total variable costs, and it is the money available to cover fixed costs, after which it becomes profit. Misclassifying a cost shifts dollars between those two pools and changes the result.

The impact shows up quickly in the contribution margin ratio, which equals contribution margin divided by revenue, expressed as a percentage. In a worked example where $250,000 of revenue and $150,000 of variable costs produce $100,000 of contribution, the ratio is 40.00%. Move $10,000 of overhead into variable costs by mistake and the ratio drops to 36.00%. That error then distorts break-even analysis, since break-even revenue equals fixed costs divided by the contribution margin ratio. A clean sort at the start prevents that chain reaction.

Using the margin: break-even and pricing

The contribution margin ratio does more than summarize profitability — it tells you what every sales dollar keeps after variable costs. That makes it the central figure in two decisions every business faces: finding break-even revenue and judging whether a discount is actually safe. A contribution margin calculator gives you the ratio in seconds, but the real value comes from putting it to work in those decisions.

Break-even revenue equals fixed costs divided by the contribution margin ratio. If your fixed costs are $60,000 and your ratio is 40.00%, you need $150,000 in revenue to break even. The same formula works at any scale: with $84,000 of fixed costs and a 30.00% ratio, break-even sits at $280,000. With $210,000 of fixed costs and a 35.00% ratio, it lands at $600,000. Notice that a higher ratio lowers the revenue hurdle, while a lower ratio raises it — which is exactly why the ratio matters before pricing changes, not after.

Discounts test the ratio directly. A 10% price cut needs the margin math before it needs enthusiasm, because the cut comes off the top of every sale while variable costs stay the same. Take the case of $250,000 revenue, $150,000 variable costs, and $100,000 of contribution — a 40.00% ratio and $20.00 per unit on 5,000 units. Drop the price 10% and revenue falls to $225,000 while variable costs hold at $150,000. Contribution shrinks to $75,000, and the ratio drops to 33.33%. The break-even revenue just went up, even though the goal of the discount was to drive sales volume.

The same drag shows up in the other examples. At $80,000 revenue and $56,000 variable costs, contribution is $24,000 — a 30.00% ratio and $12.00 per unit. A 10% price cut takes revenue to $72,000 against the same $56,000 in variable costs, leaving $16,000 of contribution and a 22.22% ratio. At $1,200,000 revenue and $780,000 variable costs, contribution is $420,000 — a 35.00% ratio and $14.00 per unit. The same 10% cut pulls revenue down to $1,080,000, contribution falls to $300,000, and the ratio lands at 27.78%. In each case the discount does not just reduce profit — it weakens the margin that covers fixed costs.

Run the numbers first. Figure out how many extra units the discount has to generate just to get contribution back to where it was, then decide whether that volume gain is realistic. The ratio gives you that answer before you commit.

FAQs

How do I calculate contribution margin?

Subtract total variable costs from revenue; divide by revenue for the ratio, or by units sold for the per-unit figure. The result shows how much money from sales remains to cover fixed costs and profit. Use the ratio to compare products of different prices, and use the per-unit figure to evaluate individual items.

Which costs are variable?

Costs that rise with volume: materials, piece-rate labour, packaging, shipping and commissions — not rent or salaried overhead. If producing one more unit increases the expense, it is variable. Fixed costs like rent and salaries stay the same regardless of output and do not belong in the contribution margin calculation.

What is a good contribution margin ratio?

It varies hugely by industry; what matters is that the total contribution covers fixed costs with room to spare. A higher ratio means each sale contributes more toward profit after fixed costs are met. Compare your ratio to similar companies in your sector rather than aiming for a universal benchmark.

Can contribution margin be negative?

Yes — that means every sale loses money before fixed costs, so selling more makes the loss bigger. When variable costs exceed revenue, each additional unit increases the total loss. This signals a pricing or cost problem that requires immediate attention before scaling production or expanding sales efforts further.

How does contribution margin relate to gross margin?

Gross margin subtracts all cost of goods sold including fixed production overhead; contribution margin subtracts only variable costs, including variable selling costs. Gross margin appears on income statements for external reporting, while contribution margin is used internally for pricing, break-even analysis, and decisions about which products to emphasize or discontinue.

Why does contribution per unit matter?

It tells you exactly how much each additional sale helps cover fixed costs, which drives pricing and break-even decisions. Knowing this figure lets you calculate how many units you must sell to reach profitability. It also helps compare products, set prices, and decide where to focus marketing and production resources.

Sources

Related calculators

Markup & Margin Calculator
Markup and margin from cost and price — the two percentages sellers constantly confuse — plus the price you need for a 30% or 50% margin.
Operating Margin Calculator
The share of revenue left as operating profit — entered directly from the income statement, or built up from revenue, COGS and operating expenses.
Break-Even Calculator
How many units you must sell to cover your costs: break-even volume and revenue from fixed costs, price and variable cost per unit.
EBITDA Calculator
Earnings before interest, taxes, depreciation and amortization — built from net income or from operating income, with the margin against revenue shown.