Gross Margin vs Gross Profit: The Difference, With Examples

Gross profit and gross margin come from the same two numbers, so people use the terms as if they mean the same thing. They don’t. One is money and the other is a percentage, and each one can mislead you when you look at it alone.

Gross profit is revenue minus the cost of goods sold, in dollars. Gross margin is gross profit divided by revenue, as a percentage.

The formulas

Gross profit = Revenue − Cost of goods sold

Gross margin % = Gross profit ÷ Revenue × 100

A small online shop made $80,000 in sales last year and spent $52,000 on the goods it sold.

  • Gross profit: $80,000 − $52,000 = $28,000
  • Gross margin: 28,000 ÷ 80,000 = 35%

Gross profit tells you how many dollars are left to pay for everything else: rent, software, ads, wages, and your own income. Gross margin tells you how much of each sales dollar is left, which makes it easy to compare with last year, with another product, or with another business.

What counts as cost of goods sold

Cost of goods sold (COGS) is what it cost to make or buy the things you sold during the period. Usually it includes:

  • Wholesale cost of products, or raw materials
  • Labor that directly makes the product or delivers the work
  • Inbound freight and packaging

Rent, general admin salaries, software subscriptions, and advertising are normally operating expenses, not COGS. They come off later, between gross profit and net profit. Payment processing and marketplace fees could go either way, so pick one approach and stay consistent. The profit margin calculator has a table of where common expenses usually go.

Why you need both

Margin can go up while profit goes down. Suppose the same shop drops its cheapest, lowest-margin products and sales fall to $60,000, with COGS of $36,000.

Year 1 Year 2
Revenue $80,000 $60,000
COGS $52,000 $36,000
Gross profit $28,000 $24,000
Gross margin 35% 40%

The margin improved by five points, but the shop has $4,000 less to cover its costs. Whether that was a good move depends on whether the fixed costs also shrank. If rent and software stayed the same, the shop is worse off.

The reverse also happens. A business can grow gross profit by selling a lot more at a thin margin, but if the extra sales need extra staff or ad spend, it may not pay.

So a useful rule: use margin to judge pricing and product mix, and use gross profit to judge whether you have enough to cover your costs.

Gross margin vs markup

Gross margin divides by the selling price. Markup divides by cost. A 35% gross margin is a 53.85% markup. See markup vs margin for the conversion table and the pricing mistake it causes.

Gross margin vs contribution margin

Gross margin subtracts the cost of goods sold, which for a manufacturer can include fixed costs such as factory rent. Contribution margin subtracts only the costs that change with each sale, including variable selling costs such as shipping and payment fees. For a business that just resells products the two are often close. The contribution margin calculator shows the per-unit version and how it connects to break-even.

Common questions

Can gross margin be negative? Yes. If cost of goods sold is higher than revenue, you are losing money on each sale before any other expense.

Is a higher gross margin always better? Not on its own. A high margin on products that rarely sell may earn less gross profit than a modest margin on a best-seller. Look at both.

Do service businesses have gross margin? Yes. Count the wages or contractor costs of the people who deliver the work as cost of goods sold. Services often show high gross margins because overhead sits further down, so compare net margins when you compare against a retailer.

Check your own numbers

Enter revenue and cost of goods sold into the profit margin calculator to see gross profit and gross margin. Add operating expenses, interest, and taxes to see operating and net margin too. To work out the price for a margin you want, use the margin calculator.