Spillmark

What is contribution margin? The formula, the ratio, and what it means for ads

By Harry Burman · Updated October 15, 2026

Contribution margin is what a sale leaves after the costs that come with it, like product cost, Amazon's fees and shipping. A $30 product with $18 of those costs has a contribution margin of $12, or 40%. That's the money left to pay for ads, fixed costs and profit.

Contribution margin is a sale's price minus its variable costs: the costs that rise with every unit you sell, such as product cost, marketplace fees, fulfillment and payment fees. A $30 product with $18 of variable costs has a unit contribution margin of $12. Divided by the price, that's a contribution margin ratio of 40%: each extra dollar of sales adds $0.40 toward fixed costs and profit. Gross margin only takes off product cost, so it looks higher. Net profit also takes off fixed costs like software and salaries. Contribution margin sets your break-even point (fixed costs divided by contribution per unit) and your break-even ROAS (1 divided by the ratio). Whether ads pay off depends on the extra sales they cause times this margin, compared with what they cost.

The contribution margin formula

Contribution margin is what's left of a sale after its variable costs. It's called a contribution because that money goes first toward your fixed costs, and whatever remains is profit. You can work it out per unit, as a percent, or for a whole month:

unit contribution margin    = price − variable costs per unit
contribution margin ratio   = unit contribution margin ÷ price
total contribution margin   = unit contribution margin × units sold

A made-up product sold through FBA:

  • Price $30. Product cost $7.50, a 15% referral fee of $4.50, an FBA fee of $5, and $1 for returns and storage spread across units.
  • Variable costs: $18. Unit contribution margin: $30 − $18 = $12.
  • Contribution margin ratio: $12 ÷ $30 = 40%. Each dollar of sales leaves $0.40.
  • Selling 1,000 units a month, the total contribution margin is $12,000.

Your referral rate depends on the category; the Amazon referral fees guide lists each one, and the FBA fee calculator works out both fees for a product.

Variable and fixed costs for an Amazon seller

The whole idea rests on sorting costs into two piles. Variable costs rise with each unit you sell:

  • Product cost, including freight to Amazon's warehouses.
  • The referral fee, a percent of each sale.
  • The FBA fulfillment fee, charged per unit shipped.
  • Returns, refunds and storage, which grow roughly with how much you sell.

Fixed costs stay the same whether you sell 100 units or 1,000:

  • Amazon's Professional selling plan, $39.99 a month.
  • Software, design work, salaries and rent.

Ads sit in between. You set a budget, which looks fixed, but you spend it to win sales, and more spend usually means more sales. So it helps to work out contribution margin twice: before ads, and after ads, which is the number that shows whether each order pays its way.

Contribution margin vs. gross margin vs. net profit

All three start from the same price. They differ in which costs come off:

The made-up product, selling 1,000 units in a month with $5,000 of ads and $4,000 of fixed costs
MeasureWhat comes off the pricePer unit% of price
Gross marginProduct cost$22.5075%
Contribution margin before adsAll variable costs$1240%
Contribution margin after adsVariable costs and ad spend$723.3%
Net profit before taxEverything, including fixed costs$310%

Gross margin says this product keeps 75% of its price. That's misleading here, because Amazon's fees cost more than the product itself. Contribution margin shows the 40% you actually have to work with.

Some e-commerce teams number the levels: CM1 after product cost, CM2 after fulfillment and fees, CM3 after marketing. That's a convention, not an accounting standard, so check what someone means before comparing numbers.

Contribution margin and your break-even point

Because every unit adds its contribution margin toward fixed costs, the break-even point is how many units it takes to cover them. Treat this month's ad budget as a fixed cost too:

break-even units = (fixed costs + ad budget) ÷ unit contribution margin
                 = ($4,000 + $5,000) ÷ $12 = 750 units

Below 750 units the month loses money; above it, each unit adds $12 of profit. At 1,000 units, that's $3,000.

The ratio also gives you two ad targets:

The break-even ROAS calculator works both out from your price and costs, and the Amazon profit calculator shows the month, including break-even units.

Do the ads pay for themselves?

The month above makes $3,000. That doesn't mean the $5,000 of ads paid off. Some of the 1,000 sales would have happened without them: repeat buyers, people who searched for the brand, shoppers who found it in search results.

The ads pay for themselves only if the sales they cause bring in more contribution than they cost:

profit from ads = sales the ads caused × contribution margin ratio − ad spend
pays off when caused sales > $5,000 ÷ 40% = $12,500

That's about 417 of the 1,000 units. If the ads caused fewer, cutting them would raise profit, even though the month looks healthy. If they caused more, they're worth more than any report credits them with.

Ad reports can't settle this, because they count credited sales, not caused ones. A test with a holdout group can. Read how lift is calculated, then turn a result into money with the incremental ROAS calculator.

Common mistakes

  • Using gross margin as contribution margin. Referral and FBA fees can cost more than the product, as they do in the example above. Leaving them out makes every ad target too loose.
  • Forgetting returns and storage. They aren't in the per-unit fee preview but still rise with sales. Spread them across units.
  • Mixing up fixed and variable. A cost that grows with sales belongs in contribution margin, even if it's billed monthly.
  • Comparing percents only. A higher ratio on a cheaper product can still leave fewer dollars per order. Look at both.
  • Crediting the ads with every sale. Contribution margin after ads assumes the ads earned each order. A holdout test shows how many they did.

Frequently asked questions

How do you calculate contribution margin?

Subtract variable costs from the price. A $30 product with $18 of product cost, Amazon fees and other per-unit costs has a contribution margin of $12. Multiply by units sold for the total.

What is the contribution margin ratio?

Contribution margin divided by price. A $12 contribution margin on a $30 product is a 40% ratio: each extra dollar of sales adds $0.40 toward fixed costs and profit.

What's the difference between contribution margin and gross margin?

Gross margin takes off only product cost. Contribution margin takes off every variable cost, including Amazon's referral and FBA fees, so it's lower and closer to what each sale really earns.

Is contribution margin the same as profit?

No. Contribution margin is what's left before fixed costs like software, salaries and Amazon's monthly plan fee. Profit is what remains after those too.

What is a good contribution margin?

One that covers your ad spend and fixed costs with room left for profit at the volume you actually sell. There's no universal number; it depends on your price, fees and fixed costs.

Sources

Measure it on your own brand

Spillmark runs geo holdout tests for Meta ads and measures what they cause on Amazon, with the math shown. See how lift is calculated.

Get started

Try the numbers

Read next

All guides