Contribution margin: formula, ratio and calculator

Contribution margin is the revenue left after you subtract variable costs, the money that pays for fixed costs and profit. The formula is contribution margin = sales − variable costs. A product that sells for $80 with $44 in variable costs brings a $36 contribution margin per unit, a ratio of 45%. Fixed costs and ad spend come out of that $36, and whatever remains is profit.

Product box, a stack of invoices and a calculator next to three glass blocks shaped like a cost breakdown, the last one glowing green

Contribution margin calculator

Enter price, variable cost, units and fixed costs. The calculator returns contribution margin per unit, the ratio, the total, operating income, your break-even volume and the ROAS your ads need to hit. The starting values belong to an online store selling one product at $80.

Contribution margin calculator

Work out your contribution margin down to operating income

Contribution margin per unit$36what each sale leaves you
Contribution margin ratio45.0%share of every sales dollar
  1. Total contribution margin$36,000
  2. Operating income after fixed costs$16,000
  3. Break-even units556
  4. Break-even ROAS on kept revenue2.22

Your contribution margin covers fixed costs. You keep $16,000 in operating income and turn a profit from unit 556 on.

Contribution margin formula with a worked example

You can calculate contribution margin per unit, for total sales, or as a ratio. All three use the same inputs.

Contribution margin per unit = selling price − variable cost per unitTotal contribution margin = contribution margin per unit × units sold
Contribution margin ratio = contribution margin ÷ salesUse prices before sales tax. You collect the tax for the state, it covers none of your costs.

The calculator example: a store sells 1,000 units a month at $80 each. Each unit carries $44 in variable costs.

Line itemPer unit1,000 units
Sales$80$80,000
Product cost (landed)−$28−$28,000
Shipping and packaging−$7−$7,000
Payment processing fees−$2−$2,000
Returns (allocated)−$7−$7,000
Contribution margin$36$36,000
Contribution margin ratio45%45%

Subtract $20,000 in fixed costs from the $36,000 and you get $16,000 in operating income.

Unit, total and ratio: three ways to read it

Unit contribution margin tells you what one more sale is worth. Use it for pricing, discount and bundle decisions. Total contribution margin tells you whether the period covers its fixed costs. The ratio lets you compare products with different prices and feeds straight into your ad targets.

Price moves contribution margin faster than it moves revenue. In the example, a 10% price change shifts the unit margin by 22%, because the variable costs stay the same:

PriceContribution margin per unitRatioBreak-even units
$72$2838.9%715
$80$3645.0%556
$88$4450.0%455

A 10% discount costs you 22% of your margin per unit and forces 159 more sales to break even. Run any promotion through the calculator before it goes live.

Contribution margin income statement

A contribution margin income statement, also called the contribution format, groups costs by behavior: variable first, fixed second. The traditional income statement required under GAAP groups them by function: cost of goods sold first, operating expenses second. Both reach the same operating income. For a brand that buys finished goods, it looks like this:

Contribution format

LineAmount% of sales
Sales$80,000100%
Variable costs (product, shipping, fees, returns)−$44,00055%
Contribution margin$36,00045%
Fixed costs (salaries, rent, software, ads)−$20,00025%
Operating income$16,00020%

Traditional format

LineAmount% of sales
Sales$80,000100%
Cost of goods sold−$28,00035%
Gross profit$52,00065%
Operating expenses (fulfillment, fees, returns, fixed costs)−$36,00045%
Operating income$16,00020%

The traditional statement buries $16,000 of variable costs inside operating expenses, next to rent and salaries. You can't tell from it what happens when you sell 200 more units. The contribution format answers that in one line: 200 × $36 = $7,200 more operating income.

Contribution margin vs gross margin

Gross margin only subtracts cost of goods sold. Contribution margin also subtracts every other cost that grows with each order: shipping, packaging, payment fees and returns. In the example, gross margin is 65% and contribution margin is 45%.

The gap matters most when you set ad targets. Pick the wrong margin and campaigns that lose money look profitable:

BasisMarginBreak-even ROASCampaign at ROAS 1.9, per $100 spend
Gross margin65%1.54+$23.50
Contribution margin45%2.22−$14.50

The campaign brings $190 in sales per $100 of spend. On gross margin that leaves $123.50, a profit. After shipping, fees and returns only $85.50 remains, so every $100 you spend loses $14.50.

Break-even point, margin of safety and operating leverage

The break-even point is the volume at which total contribution margin equals fixed costs. Below it you lose money, above it every unit adds its full contribution margin to profit.

Break-even units = fixed costs ÷ contribution margin per unitBreak-even sales in dollars = fixed costs ÷ contribution margin ratio

In the example: $20,000 ÷ $36 = 555.6, so you need 556 units a month. In dollars that is $20,000 ÷ 45% = $44,444 in sales.

MetricCalculationResult
Margin of safety(1,000 − 556) ÷ 1,00044.4%
Degree of operating leverage$36,000 ÷ $16,0002.25
Operating income at +10% volume1,100 × $36 − $20,000$19,600

Sales can drop 44% before you lose money. And because of operating leverage, 10% more volume lifts operating income by 22.5%, from $16,000 to $19,600.

From contribution margin to break-even ROAS

For advertising, the contribution margin ratio sets the floor. It tells you the ROAS a campaign needs so it doesn't lose money:

Break-even ROAS = 1 ÷ contribution margin ratioAt 45%: 1 ÷ 0.45 = 2.22 on revenue you keep

Your ad account counts an order at checkout, before refunds. If 25% of that revenue comes back as returns, the platform ROAS has to clear a higher bar. The ROAS formula page walks through the full path from ad account revenue to profit.

Contribution margin ratioBreak-even on kept revenueBreak-even in the ad account (25% returns)
30%3.334.44
35%2.863.81
45%2.222.96
50%2.002.67
60%1.672.22

Google's Target ROAS bidding optimizes toward the value you enter. Enter 2.22 while the account reports revenue before returns, and Google bids you into a loss. If your conversion value includes sales tax, strip it out first.

When a first order falls short of break-even, repeat purchases decide. For that you need two numbers: what a new customer costs you (CAC cost) and how much contribution margin they bring across all orders (LTV calculation).

Harucon steers campaigns by contribution margin instead of revenue. Budget moves to where each ad dollar leaves the most behind. What that looks like over 90 days is in the conditions of our guarantee.

Five common contribution margin mistakes

  1. Using gross margin. Product cost alone leaves out shipping, fees and returns. In the example that overstates the margin by 20 points.
  2. Forgetting returns. Return shipping, inspection and write-offs add up. Allocate them per order as a variable cost.
  3. Ignoring payment fees. $2 per order sounds small. Against a $36 margin it is one eighteenth.
  4. Including sales tax in the price. Tax passes through to the state. Calculate with the price before tax.
  5. Spreading fixed costs per unit. Allocate rent to each product and you may drop items that carry positive contribution margin and help pay the rent.

Contribution margin FAQ

What is contribution margin in simple terms?

Contribution margin is the money left from sales after you pay the costs that grow with every unit sold. It pays for fixed costs like rent and salaries. What remains after that is profit.

How do you calculate contribution margin?

Subtract variable cost per unit from the selling price to get contribution margin per unit. Multiply by units sold for the total. A product at $80 with $44 in variable costs has a $36 contribution margin per unit.

What is the contribution margin ratio?

It is contribution margin divided by sales. A $36 margin on an $80 price gives a ratio of 45%, so 45 cents of every sales dollar go toward fixed costs and profit.

What is the difference between contribution margin and gross margin?

Gross margin subtracts only cost of goods sold. Contribution margin subtracts all variable costs, including shipping, payment fees and returns. For online stores, contribution margin is the lower and more useful number.

What is a contribution margin income statement?

An income statement that separates variable from fixed costs. It shows sales, variable costs, contribution margin, fixed costs and operating income, so you can see how profit reacts to changes in volume.

What does a negative contribution margin mean?

Variable costs are higher than the price. Every sale then increases the loss, no matter how much you sell. Raise the price, cut variable costs or stop selling the product.

How much contribution margin do your ads bring?

On the intro call, Tobias works out your contribution margin per channel with the numbers from your shop. 5 quick questions, then book straight with Tobias.

Book your free intro call→