Contribution Margin Calculator
Unit contribution margin, CM ratio, break-even, operating leverage and product mix
Contribution margin = selling price − variable cost. An $18.00 bag of coffee with $7.20 of variable cost contributes $10.80, a 60% contribution margin ratio. With $16,200 of monthly fixed costs, the roaster breaks even at 16,200 ÷ 10.80 = 1,500 bags, or $27,000 of sales.
Last updated October 2026
Method: Unit contribution margin = price − variable cost per unit; CM ratio = contribution margin ÷ sales. Break-even units = fixed costs ÷ unit margin (rounded up) and break-even sales = fixed costs ÷ CM ratio, the formulas in the SBA's break-even guidance. Target-profit units = (fixed costs + target) ÷ unit margin. Operating leverage = contribution margin ÷ operating income. Several products use the weighted average margin at the current sales mix.
Included: Per-unit and income-statement inputs, total contribution margin, variable cost ratio, operating income, break-even units and sales, margin of safety in units, dollars and percent, sales for a target profit, degree of operating leverage, and up to eight products with break-even units per product.
Not included: Income taxes (targets are pre-tax), step-fixed costs, volume discounts, price elasticity and inventory changes. Split mixed costs into fixed and variable parts before entering them.
๐ How do you want to enter your numbers?
Materials, packaging, shipping, payment fees, commissions.
Rent, salaries, insurance, software.
๐ Contribution margin per unit
๐ Profit at different sales volumes
| Units | Revenue | Contribution | Operating income |
|---|---|---|---|
| 1,000 | $18,000 | $10,800 | -$5,400 |
| 1,500break-even | $27,000 | $16,200 | $0 |
| 2,000current | $36,000 | $21,600 | $5,400 |
| 2,500 | $45,000 | $27,000 | $10,800 |
| 3,000 | $54,000 | $32,400 | $16,200 |
Fixed costs stay at $16,200 in every row; each extra unit adds its $10.80 contribution margin to operating income. Break-even units are rounded up to a whole unit.
Contribution margin calculator: formula, ratio and break-even
A contribution margin calculator shows how much of each sale is left to pay fixed costs and profit once the costs that rise with volume are covered. An $18.00 product with $7.20 of variable cost contributes $10.80, a 60% ratio. From that one number follow the break-even point, the volume needed for a profit target, and how hard profit swings when sales move.
The Break-Even Calculator focuses on the sales floor alone, and the Profit Margin Calculator measures gross and net margins after all costs. Use this page to understand how profit behaves as volume and prices change.
The contribution margin formulas
Unit contribution margin = price − variable cost per unit Total contribution margin = sales − total variable costs CM ratio = contribution margin ÷ sales Operating income = total contribution margin − fixed costs The unit margin answers "what does one more sale add?", the ratio answers "how many cents of each sales dollar are left?", and the total answers "how much is available for fixed costs this period?". The variable cost ratio is simply 1 minus the CM ratio. All three versions describe the same economics, so pick the one that matches the data you have: unit prices and costs, or totals from an income statement.
Worked example 1: a coffee roaster, per unit
A small roaster sells 12-ounce bags for $18.00. Each bag uses $4.60 of green beans, $0.95 of bag and label, $0.65 of payment and fulfillment fees and $1.00 of roasting energy and other supplies: $7.20 of variable cost. Monthly fixed costs (rent, the roaster lease, two salaries, insurance) are $16,200, and the shop sells 2,000 bags a month.
- Unit contribution margin: $18.00 − $7.20 = $10.80; CM ratio 60%.
- Total contribution margin: 2,000 × $10.80 = $21,600; operating income $21,600 − $16,200 = $5,400.
- Break-even: $16,200 ÷ $10.80 = 1,500 bags, or $16,200 ÷ 0.60 = $27,000 of sales.
- Margin of safety: 500 bags, $9,000 of sales, or 25% of current sales.
- Target profit of $8,100: ($16,200 + $8,100) ÷ $10.80 = 2,250 bags.
- Operating leverage: $21,600 ÷ $5,400 = 4.0.
Selling 200 more bags (10% more) adds 200 × $10.80 = $2,160, lifting operating income from $5,400 to $7,560: a 40% gain, exactly what the leverage of 4.0 predicts.
Worked example 2: a landscaping company from its income statement
Service firms rarely think in units, so the totals mode works from the income statement. A landscaping company had $640,000 of revenue. Crew wages paid per job, fuel, plants, mulch and dump fees came to $416,000; the owner's salary, the office, equipment leases and insurance were $179,200 of fixed costs.
- Contribution margin: $640,000 − $416,000 = $224,000, a 35% ratio.
- Operating income: $224,000 − $179,200 = $44,800.
- Break-even sales: $179,200 ÷ 0.35 = $512,000.
- Margin of safety: $128,000, or 20% of revenue. Operating leverage: 5.0.
- Sales for a $70,000 profit: ($179,200 + $70,000) ÷ 0.35 = $712,000.
Each new $10,000 job contributes $3,500, so winning $72,000 more work lifts profit from $44,800 to $70,000.
Contribution margin vs. gross margin, and which costs are variable
Gross margin subtracts cost of goods sold, which can include fixed production costs such as factory rent and salaried supervisors, and leaves out variable selling costs such as commissions, card fees and outbound shipping. Contribution margin sorts costs by behavior instead: everything that rises with each sale is variable, everything that stays put for the period is fixed. That is why it can predict profit at a new volume and gross margin cannot.
Typical variable costs are materials, packaging, piece-rate or per-job labor, sales commissions, payment processing, marketplace fees and shipping. Typical fixed costs, in the SBA's own list, are lease payments, salaries, property taxes, insurance, interest and depreciation; software subscriptions belong there too. Mixed costs, such as a phone plan with a base fee plus usage, should be split into their fixed and variable parts, as the SBA's break-even guidance advises. One terminology trap: the SBA uses "contribution margin" for the ratio form, (price − variable cost) ÷ price.
Break-even units at common prices and cost levels
The table holds fixed costs at $25,000 per period and shows the units needed to break even for each price and variable cost level. A variable cost of 40% of price means a 60% CM ratio. Units are rounded up.
| Price | VC 25% | VC 40% | VC 55% | VC 70% | VC 85% |
|---|---|---|---|---|---|
| $15 | 2,223 | 2,778 | 3,704 | 5,556 | 11,112 |
| $30 | 1,112 | 1,389 | 1,852 | 2,778 | 5,556 |
| $50 | 667 | 834 | 1,112 | 1,667 | 3,334 |
| $80 | 417 | 521 | 695 | 1,042 | 2,084 |
| $120 | 278 | 348 | 463 | 695 | 1,389 |
| $200 | 167 | 209 | 278 | 417 | 834 |
Going from a 70% to an 85% variable cost halves the unit margin, so the break-even volume doubles at every price (give or take one unit of rounding). Thin-margin products need very large volumes before they cover anything.
Operating leverage: why profit moves faster than sales
The degree of operating leverage (DOL) is total contribution margin divided by operating income. Close to break-even, a small change in sales is a large change in a small profit, so leverage is extreme; far above break-even it fades. The roaster's numbers at different volumes:
| Bags sold | Contribution | Operating income | DOL | Margin of safety |
|---|---|---|---|---|
| 1,500 | $16,200 | $0 | undefined | 0.00% |
| 1,600 | $17,280 | $1,080 | 16.00 | 6.25% |
| 1,800 | $19,440 | $3,240 | 6.00 | 16.67% |
| 2,000 | $21,600 | $5,400 | 4.00 | 25.00% |
| 2,500 | $27,000 | $10,800 | 2.50 | 40.00% |
| 3,000 | $32,400 | $16,200 | 2.00 | 50.00% |
| 4,000 | $43,200 | $27,000 | 1.60 | 62.50% |
In every profitable row, DOL × margin of safety = 1: leverage is the inverse of the safety cushion. At 1,600 bags a 10% sales dip turns the $1,080 profit into a $648 loss, while at 4,000 bags the same dip costs 16% of it. At exactly 1,500 bags there is no profit to divide by, so the degree of operating leverage is undefined and the calculator shows n/a.
Worked example 3: a food truck with three products
A food truck sells 2,500 tacos at $4.00 (variable cost $1.40), 1,500 burritos at $11.00 ($4.40) and 1,000 drinks at $3.00 ($0.60) a month, with $11,280 of fixed costs. The unit margins are $2.60, $6.60 and $2.40, and the mix is 50%, 30% and 20% of items sold.
Weighted unit CM = 0.50 × $2.60 + 0.30 × $6.60 + 0.20 × $2.40 = $3.76 Break-even = $11,280 ÷ $3.76 = 3,000 items At that mix the truck breaks even at 1,500 tacos, 900 burritos and 600 drinks, or $17,700 of sales; its weighted CM ratio is 63.73% and operating income on current sales is $7,520. Now suppose customers swap 750 burritos for 750 drinks. The truck still sells 5,000 items, but the weighted margin falls to $3.13, operating income drops to $4,370, and break-even climbs to 3,604 items. Multi-product break-even is only valid for the mix you assume.
Pricing decisions with contribution margin
Because fixed costs do not change with price, every dollar of price lands directly in the unit margin. The roaster's break-even and target volume at other prices, with variable cost held at $7.20 and fixed costs at $16,200:
| Price | Unit CM | CM ratio | Break-even bags | Bags for $8,100 profit |
|---|---|---|---|---|
| $15.00 | $7.80 | 52.0% | 2,077 | 3,116 |
| $16.00 | $8.80 | 55.0% | 1,841 | 2,762 |
| $17.00 | $9.80 | 57.6% | 1,654 | 2,480 |
| $18.00 | $10.80 | 60.0% | 1,500 | 2,250 |
| $19.00 | $11.80 | 62.1% | 1,373 | 2,060 |
| $20.00 | $12.80 | 64.0% | 1,266 | 1,899 |
| $22.00 | $14.80 | 67.3% | 1,095 | 1,642 |
A $1 increase cuts break-even by 127 bags; a $3 cut raises it by 577. Whether a price change pays depends on how many customers it wins or loses, which the table cannot know, but it tells you exactly how many sales the change must win or can afford to lose.
How to use this calculator
- Per unit: enter price, variable cost per unit, units sold and fixed costs for the same period, plus an optional profit target. The table below the result shows profit at lower and higher volumes.
- From totals: enter revenue, total variable costs and fixed costs from an income statement. This suits service businesses and anyone without unit data.
- Product mix: enter each product's price, variable cost and units sold. The calculator weights the margins by your actual mix and splits the break-even volume across products.
It is built for owners setting prices, finance students working through cost-volume-profit problems, restaurant and retail managers judging menus and assortments, and freelancers checking whether a rate covers overhead.
Key terms
- Variable cost: a cost that rises with each unit sold, such as materials or card fees.
- Fixed cost: a cost that stays the same for the period regardless of volume, such as rent.
- Variable cost ratio: variable costs ÷ sales; equal to 1 minus the CM ratio.
- Break-even point: the sales volume at which contribution margin exactly covers fixed costs.
- Margin of safety: how far sales can fall before a loss, in units, dollars or percent.
- Degree of operating leverage: contribution margin ÷ operating income.
- Sales mix: each product's share of total units sold.
What changes the result
- Price: the strongest lever, because the whole change flows to the unit margin.
- Supplier and fee costs: a 30-cent rise in variable cost per bag lifts the roaster's break-even from 1,500 to 1,543 bags.
- Fixed costs: a new hire or a larger lease raises break-even by its cost divided by the unit margin.
- Mix: selling more of the low-margin items lowers the weighted margin even when total units stay flat.
- Discounts and returns: both cut the realized price; run the numbers on net price, not list price.
Limitations
Contribution margin analysis assumes costs are linear: the same variable cost for every unit and fixed costs that do not move within the range you study. Real businesses get volume discounts, pay overtime, and add a second shift or a bigger lease in steps. Prices are treated as independent of volume, although in practice a lower price usually sells more. Results here are pre-tax, the period must be the same for every input, and mixed costs must be split before you enter them. Inventory changes, which affect absorption-cost profit statements, are ignored.
Related calculators
- Turn a cost into a selling price with the Markup Calculator, and check margins after all costs with the Margin Calculator.
- Compare operating profit before financing and non-cash charges with the EBITDA Calculator.
- See how many visitors it takes to generate the sales volume you need with the Conversion Rate Calculator.
- Find out how long an equipment purchase takes to earn back its cost with the Payback Period Calculator.
Sources
- U.S. Small Business Administration: Break-even point (break-even units = fixed costs ÷ (price − variable cost); break-even sales = fixed costs ÷ contribution margin ratio; examples of fixed costs; splitting semi-variable costs).
- The contribution margin, CM ratio, margin of safety and operating leverage formulas are standard cost-volume-profit definitions; every figure on this page was computed from the inputs shown.
โ ๏ธ Common mistakes & edge cases
Forgetting fees and shipping
Leaving the roaster's $0.65 of payment and fulfillment fees out of variable cost raises the unit margin to $11.45 and understates break-even by 85 bags. Every cost that comes with a sale belongs in variable cost.
Using gross margin as contribution margin
Cost of goods sold may contain fixed overhead and miss commissions and card fees. A break-even built on gross margin can be off in either direction.
Treating all labor alike
Crews paid per job are variable; salaried staff are fixed. Hourly staff scheduled regardless of demand behave like a fixed cost for the period.
Rounding break-even units down
If fixed costs divided by the unit margin is 1,234.6, you need 1,235 units. At 1,234 you are still slightly below break-even.
Mixing periods
Monthly fixed costs need monthly units and monthly revenue. Pairing a monthly rent with annual sales makes any product look profitable.
Assuming the mix never changes
The food truck's break-even of 3,000 items holds only at a 50/30/20 mix. Swapping 750 burritos for drinks raises it to 3,604 items and cuts profit from $7,520 to $4,370.
❓ Frequently asked questions
What is the contribution margin formula?
Contribution margin = sales revenue minus variable costs. Per unit, it is the selling price minus the variable cost of one unit. An $18.00 bag of coffee with $7.20 of variable cost has a unit contribution margin of $10.80; selling 2,000 bags produces a total contribution margin of $21,600 to cover fixed costs and profit.
How do you calculate the contribution margin ratio?
Divide the contribution margin by revenue, per unit or in total. $10.80 รท $18.00 = 60%, and $224,000 รท $640,000 = 35%. The ratio tells you how many cents of each sales dollar are left after variable costs; the rest, the variable cost ratio, is 40% and 65% in those two cases.
What is unit contribution margin?
It is the amount one more unit sold adds to covering fixed costs and profit: price minus variable cost per unit. Once fixed costs are covered, every additional unit adds its full unit contribution margin to operating income, which is why it drives break-even and target-profit calculations.
What is a good contribution margin ratio?
There is no single good number. A ratio is good enough when it covers your fixed costs at a sales volume you can realistically reach, with room to spare. A business with heavy fixed costs needs a high ratio; a lean one can live with a low ratio. Compare your ratio with your own past results and with your break-even volume.
What is the difference between contribution margin and gross margin?
Gross margin subtracts cost of goods sold, which can include fixed production costs such as factory rent, and leaves out variable selling costs such as commissions, card fees and shipping. Contribution margin subtracts every variable cost and no fixed cost, so it answers how profit changes with volume, which gross margin cannot.
How do you find the break-even point with contribution margin?
Divide fixed costs by the unit contribution margin for break-even units, or by the contribution margin ratio for break-even sales. With $16,200 of fixed costs and a $10.80 unit margin, break-even is 1,500 units; at a 60% ratio it is $27,000 of sales. Round units up, because a fraction of a unit cannot be sold.
How do you calculate contribution margin for several products?
Use a weighted average. Multiply each product's unit margin by its share of units sold and add the results. Tacos at $2.60, burritos at $6.60 and drinks at $2.40, sold in a 50/30/20 mix, give 1.30 + 1.98 + 0.48 = $3.76 per item. Fixed costs of $11,280 divided by $3.76 give a break-even of 3,000 items at that mix.
Can contribution margin be negative?
Yes, when the variable cost of a unit is higher than its price. Every sale then deepens the loss, and no sales volume can reach break-even. A product sold at $10 that costs $12 in variable costs loses $2 per unit before any fixed costs. The fix is a higher price or a lower variable cost, not more volume.
What is the degree of operating leverage?
It is total contribution margin divided by operating income, and it shows how sharply profit reacts to a change in sales. At $21,600 of contribution and $5,400 of operating income the degree is 4.0, so a 10% rise in sales raises operating income by 40%. It works in reverse too: a 10% sales drop cuts operating income by 40%.
Is contribution margin the same as markup?
No. Markup is measured against cost, contribution margin ratio against price. The coffee bag with $10.80 of margin on $7.20 of variable cost has a 150% markup on variable cost but a 60% contribution margin ratio. Mixing the two leads to prices that are far too low or too high.
๐ก Good to know
Leverage is the inverse of your cushion
Operating leverage always equals 1 divided by the margin of safety. The roaster's 25% cushion means a leverage of 4.0; the landscaper's 20% cushion means 5.0.
A 10% discount is not a 10% problem
Cutting the $18.00 bag to $16.20 shrinks the unit margin from $10.80 to $9.00, so break-even rises 20%, from 1,500 to 1,800 bags. Keeping the same $5,400 profit then takes 2,400 bags.
Watch the word "margin"
The SBA's guide calls the ratio "contribution margin", many textbooks use the dollar amount, and markup is measured on cost. State the formula whenever you quote a margin.
Related Calculators
Break-Even Calculator
Find the units you must sell to break even
Profit Margin Calculator
Calculate gross and net profit margin
Markup Calculator
Calculate markup percentage and selling price
Margin Calculator
Calculate profit margin, revenue and cost
EBITDA Calculator
Calculate earnings before interest, tax, D&A
Payback Period Calculator
Simple and discounted payback period of an investment