Back

Contribution Margin: Formula, Ratio, Worked Example and How It Differs From Gross Margin

Guide · · Published December 2026 · 8 min read

By Ashwin Gopinath, CEO

TL;DR

Contribution margin is revenue minus variable costs: the money each sale leaves to cover fixed costs and then profit. The formula is contribution margin = revenue - variable costs, the ratio is contribution margin divided by revenue, and the per-unit version is price minus variable cost per unit. Fixed costs divided by contribution margin per unit gives the break-even volume. Gross margin is a different figure, because cost of goods sold includes some fixed costs and leaves out variable selling costs. This guide is published by Sentra, a management agent that does the work: it joins the ledger with email, chat and meetings, so when contribution margin moves it explains the movement with sources.

What is contribution margin?

Contribution margin is the amount of revenue left after subtracting the costs that rise and fall with sales volume. That amount contributes first to fixed costs and then to profit, which is where the name comes from.

Managers use it to answer questions the income statement does not answer directly: what one more unit is worth, which product or customer earns its place, how far sales can fall before the company loses money, and what a discount really costs.

  • Variable costs change with volume: materials, packaging, outbound shipping, payment processing fees, sales commissions and hourly production labor.
  • Fixed costs stay the same across a normal range of volume: rent, salaries, insurance, software subscriptions and depreciation.
  • Mixed costs have both parts, such as a utility bill with a standing charge and a usage charge. Split them before you calculate.

The contribution margin formula

The contribution margin formula is revenue minus total variable costs. There are three versions, and each answers a different question.

VersionFormulaUse it for
Total contribution marginRevenue - total variable costsHow much a product, customer or period contributes to fixed costs and profit
Contribution margin per unitPrice per unit - variable cost per unitWhat one more unit sold is worth
Contribution margin ratioContribution margin / revenueHow many cents of each sales dollar are left after variable costs
Break-even unitsFixed costs / contribution margin per unitThe volume at which profit is zero
Break-even revenueFixed costs / contribution margin ratioThe sales value at which profit is zero
Units for a target profit(Fixed costs + target profit) / contribution margin per unitThe volume a plan needs

Contribution margin ratio

The contribution margin ratio is contribution margin divided by revenue, written as a percentage. A ratio of 40% means 40 cents of every sales dollar is left after variable costs.

The ratio is the quick way to size a change in sales. Extra revenue multiplied by the ratio gives the extra profit, as long as fixed costs stay put. At a 40% ratio, $100,000 of extra sales adds $40,000 of operating profit. The same sum works in reverse for a sales shortfall.

Contribution margin per unit

Contribution margin per unit is the selling price of one unit minus the variable cost of that unit. It tells you what the next sale adds.

Use it for pricing floors and discount decisions. A discount comes straight out of the per-unit figure. If a unit sells for $50 with a $20 contribution, a 10% discount takes $5 off the price and leaves $15, so the contribution per unit falls by 25%. The company then needs a third more units to earn the same total contribution.

Worked example

The figures here are an example with round numbers. A company sells 10,000 units a month at $50 each. Variable costs per unit are $20 of materials, $6 of outbound shipping and $4 of sales commission, $30 in all. Fixed costs are $150,000 a month.

LineCalculationResult
Revenue10,000 x $50$500,000
Variable costs10,000 x $30$300,000
Contribution margin500,000 - 300,000$200,000
Contribution margin per unit50 - 30$20
Contribution margin ratio200,000 / 500,00040%
Fixed costsGiven$150,000
Operating profit200,000 - 150,000$50,000

How contribution margin links to break-even

Break-even is the point where total contribution margin equals fixed costs, so the break-even volume is fixed costs divided by contribution margin per unit. Every unit sold beyond that point adds its full contribution to profit.

Using the example above:

  • Break-even units = 150,000 / 20 = 7,500 units a month.
  • Break-even revenue = 150,000 / 40% = $375,000 a month.
  • Margin of safety = (10,000 - 7,500) / 10,000 = 25%. Sales can fall by a quarter before the company makes a loss.
  • Units for a $90,000 profit = (150,000 + 90,000) / 20 = 12,000 units.

The break-even point moves whenever price, variable cost or fixed cost moves. If the material cost rises by $2 a unit, the contribution falls to $18 and break-even rises to 150,000 / 18 = 8,334 units, rounded up.

Contribution margin vs gross margin

Contribution margin subtracts all variable costs from revenue, and gross margin subtracts cost of goods sold. The two differ because cost of goods sold follows accounting rules about what belongs to the product, while contribution margin follows cost behavior.

Contribution marginGross margin
Subtracts from revenueAll variable costs, wherever they are bookedCost of goods sold
Fixed production costsLeft outIncluded
Variable selling costs such as commissions and shippingIncludedUsually left out
Where it appearsInternal management reportsThe published income statement
Best forBreak-even, pricing, product and customer decisionsComparing periods and companies, reporting to investors

Take the same example company. Of its $150,000 of fixed costs, $60,000 is factory rent and salaried production staff, which accounting puts in cost of goods sold. Shipping and commissions are booked as selling expenses. Cost of goods sold is then $200,000 of materials plus $60,000 of fixed production cost, or $260,000. Gross profit is $240,000 and gross margin is 48%. Contribution margin on the same sales is $200,000, or 40%. Both are correct, and both lead to the same $50,000 of operating profit.

How to read contribution margin

Read contribution margin by segment and over time, because the company total hides the lines that are losing money.

  • By product and by customer. A line with a negative contribution loses money on every sale, and more volume makes it worse.
  • Against the scarce resource. When machine hours or staff time are limited, rank products by contribution per hour instead of per unit.
  • Against plan. Split a change into price, variable cost and mix, as in a variance analysis.
  • Month over month. A falling ratio on steady prices points at a variable cost. A flux analysis of the accounts behind it shows which one.

Common mistakes

  • Treating cost of goods sold as the variable cost. It usually holds fixed production overhead and misses commissions, shipping and payment fees.
  • Leaving mixed costs unsplit. A cost that is partly fixed will overstate or understate the per-unit figure.
  • Assuming fixed costs stay fixed at any volume. A second shift, a new warehouse or another support hire moves them up in steps.
  • Using one company-wide ratio for a product decision. Each product has its own ratio, and the blend moves with mix.
  • Forgetting discounts, returns and rebates. Start from net revenue, the amount the customer really pays.

Where the explanation for the number lives

The ledger shows that contribution margin moved, and the reason usually sits in email, chat and meetings. Say the per-unit figure on one product line falls from $20 to $17 in a month. The ERP shows the higher material cost, the extra freight and the lower net price. It does not show the supplier email announcing a surcharge, the chat thread where sales agreed free shipping for a large customer, or the meeting where operations approved expedited freight.

Sentra is a management agent that does the work. It reads the ERP, CRM and BI tools alongside email, chat, meetings and documents, and joins the two: the systems of record say what happened, and the conversations say why. For contribution margin, Sentra writes the explanation of the $3 movement, split by cause, with a link to each source, and puts it in the pre-read for the monthly business review. It sends each cause to the person who owns it and chases the follow-up.

A named person approves anything Sentra drafts before it reaches anyone else. Every line cites its source, and each reader sees only what they could already open in the source system. Our guides to management reporting and AI for CFOs cover the wider reporting work.

To see Sentra explain a margin movement in your own numbers, book a demo.

Related guides: gross margin formula and inventory turnover ratio.

FAQ

What is the contribution margin formula?

Contribution margin = revenue - variable costs. Per unit, it is price minus variable cost per unit. With a $50 price and $30 of variable cost, the contribution margin is $20 a unit.

How do you calculate the contribution margin ratio?

Divide contribution margin by revenue. With $200,000 of contribution margin on $500,000 of revenue, the ratio is 40%, so 40 cents of each sales dollar is left to cover fixed costs and profit.

What is the difference between contribution margin and gross margin?

Contribution margin subtracts all variable costs, including variable selling costs such as commissions and shipping. Gross margin subtracts cost of goods sold, which includes fixed production costs and usually leaves out selling costs. Contribution margin is an internal decision measure, and gross margin appears on the published income statement.

How does contribution margin give the break-even point?

Break-even units = fixed costs / contribution margin per unit. Break-even revenue = fixed costs / contribution margin ratio. With $150,000 of fixed costs and a $20 contribution per unit, break-even is 7,500 units.

What is a good contribution margin?

One that covers fixed costs and leaves the profit the plan needs. The level depends on the cost structure of the business, so compare each product with its own history and with the other products competing for the same capacity.

Can contribution margin be negative?

Yes. A negative contribution margin means the variable cost of a sale is higher than its price, so each extra unit increases the loss. The fix is a higher price, a lower variable cost or stopping the sale.

Is contribution margin the same as profit?

No. Contribution margin is measured before fixed costs. Operating profit is contribution margin minus fixed costs. In the example, $200,000 of contribution margin less $150,000 of fixed costs leaves $50,000 of operating profit.