Gross Margin vs Net Margin: What's the Difference?
Gross margin shows whether your products make money; net margin shows whether your business does. Learn both formulas, a worked example and how to improve each.
Two businesses can both report a 40% margin and be in completely different financial health. One might be keeping 40% of every sale as profit; the other might be making a loss once rent and salaries are paid. The difference is whether that 40% is a gross margin or a net margin.
The short answer
- Gross margin measures profit after the direct cost of what you sell. It tells you whether your products or services are priced well.
- Net margin measures profit after all costs – overheads, interest and tax included. It tells you whether the business as a whole is profitable.
Gross margin
Gross profit = Revenue − Cost of goods sold (COGS)
Gross margin = Gross profit ÷ Revenue × 100
COGS includes costs that rise directly with each sale: materials, products bought for resale, packaging, payment processing fees and, for service businesses, the cost of staff time spent delivering the work.
You can calculate gross margin for a single product with our Profit Margin Calculator.
Net margin
Net profit = Revenue − COGS − Operating expenses − Interest − Tax
Net margin = Net profit ÷ Revenue × 100
Operating expenses are the costs of running the business regardless of how much you sell in the short term: rent, salaries for non-delivery staff, software subscriptions, marketing, insurance and professional fees.
A worked example
Here is a simplified year for a small online business:
| Line | Amount | Margin |
|---|---|---|
| Revenue | $500,000 | 100% |
| Cost of goods sold | −$300,000 | |
| Gross profit | $200,000 | 40% |
| Operating expenses | −$120,000 | |
| Operating profit | $80,000 | 16% |
| Interest | −$5,000 | |
| Tax | −$15,000 | |
| Net profit | $60,000 | 12% |
The business keeps 40 cents of every dollar after paying for its products, but only 12 cents once everything else is paid. Both numbers are true; they answer different questions.
Operating margin: the one in between
Operating margin (operating profit ÷ revenue) sits between the two. It removes the effects of how the business is financed (interest) and taxed, so it is useful for comparing how efficiently different businesses are run. In the example above it is 16%.
Which margin should you watch?
All three, for different decisions:
- Setting prices and choosing products: gross margin. If a product has a thin gross margin, no amount of cost-cutting elsewhere will make it very profitable.
- Controlling overheads: operating margin. If gross margin is healthy but operating margin is falling, overheads are growing faster than sales.
- Overall health and owner income: net margin, alongside cash flow.
What is a good margin?
There is no universal answer. Margins depend heavily on the industry: software and professional services often have high gross margins, while grocery, retail and distribution typically operate on thin margins and rely on volume. Compare your margins with businesses in your own sector – industry associations, accountants and published financial reports of similar companies are good sources – and, most importantly, with your own results over time.
How to improve gross margin
- Review prices regularly. Use the Markup Calculator to see exactly how a price change affects margin, and read profit margin vs markup to avoid the most common pricing mistake.
- Negotiate with suppliers or buy in larger, sensible quantities.
- Reduce waste, returns and rework.
- Promote higher-margin products and services.
How to improve net margin
- Audit subscriptions and recurring costs every quarter.
- Automate repetitive admin so staff time goes to revenue-generating work.
- Check that marketing spend produces a return – our ROI Calculator helps.
- Know your break-even point before adding fixed costs; see our break-even analysis guide and Break-Even Calculator.
Common mistakes
- Confusing margin and markup. A 50% markup is a 33.3% margin, not 50%.
- Leaving costs out of COGS. Shipping, payment fees and delivery labor belong there; leaving them out flatters gross margin.
- Looking at profit but not cash. A profitable business can still run out of cash if customers pay late.
This article is general information, not financial or tax advice. Speak to an accountant about your own figures.
Our articles are researched, fact-checked and reviewed by a human editor before publication. Spotted an error? Let us know. Read our editorial policy.