Contribution Margin

Contribution Margin vs Gross Margin: What Each One Tells You

November 18, 2026 • Ukiyo Productions • 5 min read
Chart comparing contribution margin and gross margin on one product sale in a small online shop

Gross margin is what is left after you pay for the thing you sold. Contribution margin is what is left after you pay for every cost that comes with that sale.

That is contribution margin vs gross margin in two lines. The rest is just one small example.

Both are useful. But if you ship orders or run ads, the second one tells the truth.

What each one means

Gross margin takes your sales and takes off the cost of goods sold. That is what the product cost you to make or buy.

What is left has to pay for all the rest. Rent, staff, ads, apps, and your profit.

A free textbook from OpenStax puts it well. The gross margin is the part of sales left to cover running costs and profit.

Contribution margin takes your sales and takes off your variable costs. A variable cost goes up each time you sell one more. Think shipping, card fees and the fee per order.

What is left goes first to pay your fixed costs. Fixed costs stay the same if you sell ten or ten thousand. Once they are paid, the rest is profit.

The two formulas

Here they are. Put them on a sticky note.

  • Gross margin = sales minus cost of goods sold
  • Gross margin % = gross margin divided by sales
  • Contribution margin = sales minus variable costs
  • Contribution margin ratio = contribution margin divided by sales

You can also do it for one item. Take the price of one unit. Subtract the variable costs of that one unit. That is the contribution margin per unit.

The free OpenStax page on contribution margin walks through each one with sums.

Contribution margin vs gross margin: a worked example

Say you sell mugs online. Each mug sells for $20. Here is what one sale might cost you.

What you pay for Cost Counted for gross margin Counted for contribution margin
The mug from your supplier $6 Yes Yes
Shipping you pay $4 No Yes
Card fee $1 No Yes
Ads, per sale $3 No Yes
Costs counted $14 $6 $14

In this example, only the mug counts as cost of goods sold. Some shops put shipping in there too. Pick one way and stick to it.

Gross margin is $20 minus $6. That is $14, or 70%.

Contribution margin is $20 minus $14. That is $6, or 30%.

Same mug. Same sale. One number says 70%. The other says 30%.

Now say your fixed costs are $600 a month. That is your store plan, your apps, and so on. At $6 a sale, you need 100 sales a month just to break even.

If you only looked at the 70%, you would think you need about 43. That gap is where a lot of quiet losses hide.

Which one is higher?

It depends on your costs.

Some guides say contribution margin is always higher. That can be true when your cost of goods has fixed costs in it. Think a plant, or a crew on a set wage. This margin pulls those out, so it comes out bigger.

A small online shop can be the other way round. If you buy stock, your cost of goods is mostly variable already. Then shipping, fees and ads pile on top. So contribution margin can come out lower, as it did with the mugs.

So don't ask which is higher. Ask which costs move with each sale.

Which one to use for pricing and ads

Use contribution margin for both. Here is why.

Pricing. A price has to pay for what each sale costs you. Then it has to help pay your fixed costs. Gross margin leaves out shipping and fees, so it can make a weak price look fine.

Ads. Work out your margin before ads. With the mugs, that is $20 minus $6, $4 and $1. That leaves $9.

So $9 is the most one sale can cost you in ads. Spend $9 to get a sale and you break even on it. Spend $12 and you lose $3 each time.

Gross margin still has a job. It shows when your supplier costs creep up. It sits on your income statement, so your bookkeeper will use it. Track it month to month.

How to work out yours

  1. Pick one product and one month.
  2. Write down the price and the cost of goods. Work out gross margin.
  3. List each cost that shows up only when you make a sale. Shipping, packing, card fees, ads.
  4. Take them all off the price. That is your contribution margin per unit.
  5. Add up your fixed costs for the month. Divide by the margin per unit. That is how many sales you need to break even.
  6. Do the same for your next best seller.

That last step is the same sum OpenStax uses for the break-even point. Fixed costs, divided by the margin on each unit.

Good margins, net margin and the ratio

Is 30% contribution margin good?

It depends on your fixed costs and how much you sell. A 30% margin on lots of sales can pay all the bills. The same 30% on a few sales may not. Run the break-even sum and you will know.

What is a good contribution margin?

One that pays your fixed costs at the sales you can really reach. And leaves some for profit. There is no one right number for every shop. Compare it to your own past months, not to a stranger's.

What is the difference between contribution margin and net margin?

Contribution margin stops after variable costs. Net margin goes all the way down. It takes what is left after every cost, plus interest and tax, and divides it by sales.

What is the difference between contribution margin and contribution margin ratio?

Contribution margin is an amount, like $6 a mug. The ratio is that amount as a share of the price, like 30%. You need the amount for break-even. The ratio helps you compare items with different prices.

One product at a time

These numbers can feel dry. They are not. They tell you which products pay the rent and which ones just keep you busy.

Start with one product this week.

To run these sums for each product and each channel, the Profit Margin Analyzer Claude Skill works out gross, contribution and operating margin in one pass. If your numbers still look odd, tell us what you see.