Skip to content
RoasTabAd & unit economics calculators for online stores

Break-even calculator

Contribution Margin & Break-Even Units Calculator

This contribution margin calculator shows how much each unit sold adds toward fixed costs and profit, as a dollar amount and as a ratio, then turns it into break-even units and break-even revenue. Add a target profit to see the volume you need for it. Every figure is exact and computed in your browser.

Per unit

Net price you receive for one unit.

Product, packaging, shipping, fees, commission: every cost that scales with units.

Fixed costs & goal

Rent, salaries, software and other costs that do not change with volume.

Operating profit you want on top of break-even.

Every unit adds $16.00 toward fixed costs; sell 350 units ($14,000.00 in revenue) to break even.

Contribution margin per unit

$16.00

$40.00 − $24.00

Contribution margin ratio

40.00%

Exact 2/5

Break-even units

350 units

Exact

One unit, and how many you need

Selling price
$40.00
Variable cost
$24.00
Contribution margin
$16.00
Fixed costs to cover
$5,600.00
Units to break even
350 units
Full breakdown
Break-even revenue$14,000.00Fixed costs ÷ contribution margin ratio
Variable cost ratio60.00%Variable cost ÷ price
Units for target profit350 unitsExact
Revenue for target profit$14,000.00(Fixed costs + $0.00) ÷ CM ratio

Contribution margin and break-even formulas

  1. Contribution margin per unit = Price − Variable cost per unit
  2. Contribution margin ratio = Contribution margin ÷ Price
  3. Break-even units = Fixed costs ÷ Contribution margin per unit, rounded up to the next whole unit when fractional
  4. Break-even revenue (theoretical) = Exact break-even units × Price = Fixed costs ÷ Contribution margin ratio (actual revenue at rounded-up whole units is Whole units × Price)
  5. Units for a target profit = (Fixed costs + Target profit) ÷ Contribution margin per unit

With the defaults, a $40 price and $24 of variable cost leave $16.00 per unit (40.00%), so $5,600 of fixed costs is covered at exactly 350 units, or $14,000.00 in revenue.

Variable cost means every cost that grows with each unit: product, packaging, pick-and-pack, outbound shipping, payment fees, marketplace or affiliate commission and an allowance for returns. Fixed costs are the ones that stay the same whether you sell 10 units or 1,000: rent, salaries, software subscriptions, insurance.

How price changes break-even units

Contribution margin is very sensitive to price. Holding variable cost at $24.00 and fixed costs at $5,600, every discount cuts the margin per unit by the full amount of the discount:

Break-even units at different prices ($24.00 variable cost, $5,600 fixed costs)
PriceContribution marginCM ratioBreak-even unitsBreak-even revenue
$44.00$20.0045.45%280 units$12,320.00
$40.00$16.0040.00%350 units$14,000.00
$36.00$12.0033.33%467 units$16,800.00
$32.00$8.0025.00%700 units$22,400.00

A 10% discount from $40 to $36 looks small, but it takes a quarter off the contribution margin and pushes break-even from 350 to 467 whole units ($16,800.00 theoretical threshold at 466.6667 units; $16,812.00 across 467 whole units). Model promotions here before you run them.

Using contribution margin for ad budgets and wholesale

The contribution margin ratio is also the key input for paid advertising: one divided by it gives the ROAS at which ads stop losing money. Run your ratio through the break even ROAS calculator to set campaign targets that include card fees and refunds.

If you also sell to retailers, your wholesale price sets a different, usually lower, contribution margin per unit. Use the wholesale margin calculator to price that channel, then compare both margins side by side.

Contribution margin FAQ

How do you calculate contribution margin?

Subtract variable cost per unit from the selling price per unit. A $40 product with $24 of variable cost has a $16.00 contribution margin. Divide that by the price to get the contribution margin ratio: $16 ÷ $40 = 40.00%.

What is the difference between contribution margin and gross margin?

Gross margin subtracts cost of goods sold only. Contribution margin subtracts every cost that rises with each sale, which for an online store also includes shipping, packaging, payment fees, marketplace commissions and returns. That makes contribution margin the better number for pricing, ad budgets and break-even planning.

How do I find break-even units?

Divide fixed costs by contribution margin per unit. With $5,600 of fixed costs and a $16 contribution margin you need 350 units to break even. If the division leaves a fraction, round up: you cannot sell part of a unit, and rounding down would leave you just short.

Is break-even revenue the same as break-even units times price?

Yes. Break-even revenue equals break-even units multiplied by price, which is the same as fixed costs divided by the contribution margin ratio: $5,600 ÷ 40% = $14,000.00. The calculator shows the exact figure; if units were rounded up, actual revenue at that whole number of units is slightly higher.

Should ad spend count as a variable cost?

It depends on the question. To find how many units cover fixed costs before marketing, leave ads out. If you buy traffic per sale, add your average ad cost per unit to variable cost: the contribution margin left after ads is what has to cover overhead and profit.