Lelifi·tools

Contribution Margin Calculator

A $50 unit with $20 of variable cost carries a $30 contribution margin, a ratio of 60.0%. At 500 units that is $15,000 of contribution margin on $25,000 of revenue, and $9,000 of fixed costs leaves $6,000 of operating profit with a break-even point of 300 units.

Enter the price you charge, the units you sell and the costs that move with each sale. Fixed costs are optional and only feed the break-even rows.

Enter price, units, variable cost per unit and fixed costs to get the contribution margin, the ratio, the break-even point and the margin of safety.

By the Lelifi editors ·

Key takeaways

Where each $50 sale goes$20$30Variable costs ($20)Contribution margin ($30)
A $50 sale with $20 of variable cost leaves $30 of contribution margin, which is 60.0 percent of the price.
One month, one ratioContribution margin = Revenue - Variable costsRatio = Contribution margin / Revenue$15,000 / $25,000 = 60.0%Fixed costs of $9,000 never enter this calculation
The ratio for the 500 unit month: $25,000 of revenue minus $10,000 of variable costs leaves $15,000, or 60.0 percent.
On this page
  1. What the contribution margin ratio measures
  2. Contribution margin and gross margin are different numbers
  3. Worked example: 500 units at $50
  4. From ratio to break-even point
  5. Pricing to a target contribution margin
  6. Which costs belong in the variable column
  7. Benchmarks: gross margins by retail sector
  8. Four ways the ratio misleads

What the contribution margin ratio measures

A contribution margin calculator answers one question about a sale: after the costs that move with that sale are paid, how much money is left to cover everything else? The formula is revenue minus variable costs, divided by revenue.

Take a product that sells for $50 and carries $20 of variable cost for materials, packaging and shipping. The contribution margin is $30 per unit, and the ratio is 30 / 50 = 60 percent. That 60 percent is not profit. It is the share of each sales dollar available to pay rent, salaried staff, insurance and software, and whatever survives those payments is profit.

Four versions of the same idea appear in practice, and each answers a different question:

FormFormulaFor the $50 unit
Contribution margin per unitPrice - variable cost per unit$50 - $20 = $30
Contribution margin, totalRevenue - total variable costs$25,000 - $10,000 = $15,000
Contribution margin ratioContribution margin / revenue$15,000 / $25,000 = 60.0%
Variable cost ratioVariable costs / revenue$10,000 / $25,000 = 40.0%

The two ratios always add to 100 percent, which makes a fast check possible on any set of numbers. The Small Business Administration's break-even guidance uses the per unit form, defining contribution margin as the sale price per unit minus the variable cost per unit and then dividing fixed costs by it to reach a break-even count.

Contribution margin and gross margin are different numbers

Both compare a sale to a cost, and the two rarely agree. Gross margin subtracts cost of goods sold from revenue and divides by revenue, the formula Harvard Business School Online lists among the standard margin ratios. Under normal accounting, cost of goods sold carries fixed production overhead: factory rent, depreciation on the machine, the salary of the shift supervisor. Contribution margin removes every fixed cost, including the ones that sit inside cost of goods sold.

A small distributor shows the gap. Revenue for the quarter is $120,000 and cost of goods sold is $78,000, so gross margin is 42,000 / 120,000 = 35.0 percent. Of that $78,000, $72,000 moves with volume and $6,000 is fixed overhead. Contribution margin is 120,000 - 72,000 = $48,000, which is 40.0 percent of revenue. The gap is exactly the fixed overhead as a share of sales: 6,000 / 120,000 = 5.0 percent, or five points of margin.

LineAmountShare of revenue
Revenue$120,000100.0%
Variable costs$72,00060.0%
Fixed overhead inside cost of goods sold$6,0005.0%
Cost of goods sold$78,00065.0%
Gross margin$42,00035.0%
Contribution margin$48,00040.0%

Which number to use depends on the decision in front of you. Gross margin is the one for comparing your business to published industry figures, because everyone computes it the same way from the same statements. Contribution margin is the one for decisions inside the business: add a product line, drop a slow item, bid on a contract, or work out how much revenue has to arrive before the rent is covered. The margin calculator covers the gross margin and markup side, and the break-even calculator turns either number into a unit count.

Worked example: 500 units at $50

A one person business sells 500 units in a month at $50 each. Variable cost is $20 per unit and fixed costs are $9,000 for the month. Every row below is what the calculator returns for those four inputs.

StepWorkResult
Revenue500 x $50$25,000
Total variable costs500 x $20$10,000
Contribution margin$25,000 - $10,000$15,000
Contribution margin ratio$15,000 / $25,00060.0%
Contribution per unit$50 - $20$30
Operating profit$15,000 - $9,000$6,000
Operating margin$6,000 / $25,00024.0%

Read the last two rows together. A 60 percent contribution margin with $9,000 of fixed costs leaves 24 cents of profit on every sales dollar. Raise fixed costs to $15,000 and the profit disappears while the ratio stays at 60 percent. That is why the ratio and the profit figure have to be read as a pair: the ratio says how much each sale contributes, and the fixed cost total says how much has to be contributed before anything is left over.

The same four inputs give the break-even point in one more step. Each unit contributes $30, so 9,000 / 30 = 300 units covers the fixed costs exactly, and 300 x $50 = $15,000 of revenue does the same in dollars.

From ratio to break-even point

Break-even revenue is fixed costs divided by the contribution margin ratio. Break-even units is fixed costs divided by the contribution margin per unit. The SBA states both forms, and they agree whenever the ratio is computed from the same price and variable cost.

For the example above the dollar version is 9,000 / 0.60 = $15,000, which matches 300 units at $50. Halving the ratio doubles the revenue needed, which is the single most useful fact about this number:

Fixed costsAt a 60.0% ratioAt a 40.0% ratio
$9,000$15,000$22,500
$12,000$20,000$30,000

Margin of safety comes from the same two numbers. Sales of $25,000 against a break-even of $15,000 leave $10,000 of cushion, which is 40.0 percent of sales. A business with a 40 percent margin of safety can lose two fifths of its revenue before it starts losing money, and a business at 5 percent cannot.

The ratio also sets how fast profit grows past break-even. Every dollar of revenue above $15,000 adds 60 cents of operating profit, so the next $5,000 of sales turns into $3,000. A grocery style business at a 25 percent ratio would turn the same $5,000 into $1,250, which is the arithmetic reason low margin businesses chase volume.

Pricing to a target contribution margin

The formula runs backwards without much trouble. Price equals variable cost divided by one minus the target ratio. A service with $18 of variable cost per job that wants a 45 percent contribution margin needs 18 / 0.55 = $32.73. Check the answer: 32.73 - 18 = 14.73, and 14.73 / 32.73 = 45.0 percent.

What the arithmetic does not say is where the extra dollar should come from. A $1 price increase adds a full dollar of contribution margin on every unit sold. A $1 cut in variable cost adds the same dollar per unit, but it is usually harder to undo and can cost quality or speed. Between the two, price is the lever that moves fastest and reverses cleanly, which is why a business that is short of contribution margin should look at price and at the cost of the sale before it looks at volume.

Volume is the weakest of the three levers for a low margin product. Selling 10 percent more units at a 20 percent ratio adds 2 percent of revenue as contribution, while a 5 percent price increase on the same volume adds 5 percent of revenue, because none of the increase carries variable cost.

Which costs belong in the variable column

The ratio is only as good as the cost split behind it, and the split is a judgement rather than a fact of nature. Costs that rise with each sale belong on the variable side: materials, packaging, inbound freight, outbound shipping, marketplace commissions, payment processing fees that are a percentage of the sale, hourly production labor, and sales commissions. Costs that hold still for a month belong on the fixed side: rent, salaried staff, insurance, software subscriptions, loan interest, and depreciation.

Some costs sit in between. The SBA's break-even guidance names telephone service, repairs, indirect materials, indirect labor, fuel and power as semi-variable, and recommends splitting each one into the part that moves with volume and the part that does not. A delivery van is the usual example: the payment is fixed, the fuel is variable.

Two mistakes account for most of the bad ratios. Allocating rent across units turns a fixed cost into a fake variable one, which drags the ratio down and makes every unit look less profitable than it is. Leaving payment fees, returns and marketplace commission out of variable costs does the opposite, and the ratio comes out higher than the business can spend. Both errors survive a calculator, because the arithmetic is right and the inputs are wrong.

Benchmarks: gross margins by retail sector

The Census Bureau publishes gross margin as a percentage of sales for US retail, most recently for 2022 in the Annual Retail Trade Survey tables. The figures below come from that release and are gross margins, not contribution margins, so treat them as a scale for judging your own numbers rather than as a target to hit.

Kind of businessGross margin, 2022
Retail trade, total31.6%
Furniture and home furnishings stores51.0%
Clothing and clothing accessories stores49.8%
Building material and garden equipment dealers35.4%
Health and personal care stores33.1%
Food and beverage stores28.8%
General merchandise stores26.8%
Motor vehicle and parts dealers24.9%

The spread from 24.9 percent to 51.0 percent is not a measure of skill. Furniture stores carry high margins because they sell infrequently and hold inventory, while car dealers turn metal at a thin markup and earn much of their money elsewhere. A contribution margin for the same business would sit higher than its gross margin, since fixed overhead comes out of the gross figure and never out of the contribution figure.

One note on the source: the Annual Retail Trade Survey has been folded into the Annual Integrated Economic Survey, which started with reference year 2023, so 2022 is the last year published under the old program name.

Four ways the ratio misleads

A discount is not a small change. Ten percent off the $50 unit gives $45 of revenue against the same $20 of variable cost, so contribution margin falls to $25 and the ratio drops to 25 / 45 = 55.6 percent. The discount cost 10 percent of revenue and 16.7 percent of the contribution margin, because the variable cost did not shrink with the price.

A blended ratio hides the products. A shop that sells one item at 60 percent and another at 25 percent has a blended ratio that depends on the mix, so the single number can improve while the better product is losing ground. Run the calculation per product before deciding to push one of them.

Fixed costs sneak into the unit cost. A fully loaded unit cost that includes rent and salaried labor produces a ratio that behaves like a gross margin and cannot be used for a volume decision, because the cost per unit falls as volume rises.

The ratio gets read as profit. A 60 percent contribution margin with fixed costs at 55 percent of sales leaves 5 percent of operating profit, and a 60 percent ratio with fixed costs at 62 percent leaves a loss. The ratio describes the top of the income statement, not the bottom.

Frequently asked questions

What is the contribution margin formula?

Contribution margin is revenue minus variable costs, and the ratio divides that by revenue: (revenue - variable costs) / revenue. A $50 unit with $20 of variable cost has a $30 contribution margin and a 60.0 percent ratio.

What is the difference between contribution margin and gross margin?

Gross margin subtracts cost of goods sold, which includes fixed production overhead, from revenue. Contribution margin subtracts only variable costs. In the example on this page, gross margin is 35.0 percent and contribution margin is 40.0 percent, a gap of 5 points.

Is contribution margin the same as profit?

No. It is what is left after variable costs and before fixed costs. With $15,000 of contribution margin and $9,000 of fixed costs, operating profit is $6,000, or 24.0 percent of the $25,000 revenue.

How do I calculate break-even revenue from the ratio?

Divide fixed costs by the contribution margin ratio. Fixed costs of $9,000 at a 60.0 percent ratio need $15,000 of revenue, which is 300 units at $50 each.

What is a good contribution margin ratio?

It depends on the sector. Software and services often run above 70 percent, while grocery style retail runs near 25 percent. Compare against your own fixed cost load: a 20 percent ratio needs five times the fixed cost in revenue to break even.

How do I price for a 40 percent contribution margin?

Divide variable cost by one minus the target ratio. With $18 of variable cost, the price is 18 / 0.60 = $30.00, which gives a $12 contribution and 12 / 30 = 40.0 percent.

Does a discount change the contribution margin ratio?

Yes, and by more than the discount. Ten percent off a $50 unit cuts revenue to $45 while the $20 variable cost stays, so the ratio falls from 60.0 percent to 55.6 percent.

Which costs count as variable?

Costs that rise with each sale: materials, packaging, shipping, marketplace commission, percentage based payment fees, hourly production labor and sales commission. Rent, salaries, insurance and software subscriptions are fixed.

How do I handle a cost that is partly fixed?

Split it. The SBA lists utilities, repairs, fuel and telephone service as semi-variable and recommends separating the part that moves with volume from the part that does not, then placing each half in the right column.

Can contribution margin be negative?

Yes. If variable cost per unit is above the price, every sale loses money and the ratio goes negative. A unit that sells for $18 with $22 of variable cost has a contribution of -$4 and no break-even point at any volume.

What is margin of safety?

Sales minus break-even sales. Revenue of $25,000 against a $15,000 break-even leaves $10,000, or 40.0 percent of sales, as the amount revenue can fall before the business runs a loss.

Why is my contribution margin higher than my gross margin?

Because gross margin carries fixed production overhead inside cost of goods sold and contribution margin does not. The gap equals that overhead as a share of revenue, which is 5.0 percent in the $120,000 example on this page.

How do I use contribution margin for a product line decision?

Compare each product's contribution per unit or per hour of capacity, not its revenue. A $30 contribution on a unit that takes an hour beats a $40 contribution on a unit that takes three hours.

What gross margin does a typical retailer earn?

The Census Bureau put total retail gross margin at 31.6 percent of sales for 2022, with furniture stores at 51.0 percent and motor vehicle dealers at 24.9 percent. Those are gross margins, not contribution margins.

Spotted a wrong number or a broken result?

More Finance tools

See all Finance tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.