Skip to content
Unitly

Business Metrics

Gross Margin vs Net Margin: What is the Difference (and Which Matters More)?

Gross margin measures your product economics. Net margin measures the whole business. Here is how to calculate both and when to use each.

Gross margin and net margin sound interchangeable, but they answer two completely different questions. Confuse them and you might celebrate a "healthy" 60% margin while your business quietly loses money. Here is exactly what each one measures, and when to use which.

Gross Margin: Your Product Economics

Gross margin answers: after paying for the product itself, how much of each dollar is left? It only subtracts cost of goods sold (COGS) — product costs, shipping, packaging, payment processing — not rent, salaries, or ads.

Gross Margin = (Revenue − COGS) ÷ Revenue

Net Margin: The Whole Business

Net margin answers: after paying for absolutely everything, how much profit is left? It subtracts COGS plus operating expenses (salaries, rent, tools), marketing, interest, and taxes.

Net Margin = (Revenue − COGS − Operating Expenses − Taxes − Interest) ÷ Revenue

Worked Example

A store does $100,000/month. COGS is $40,000. Operating expenses (ads, tools, salaries) are $45,000.

  • Gross profit: $100,000 − $40,000 = $60,000 → 60% gross margin
  • Net profit: $60,000 − $45,000 = $15,000 → 15% net margin

Both numbers are true. The 60% tells you the product economics are strong. The 15% tells you the overall business keeps a modest slice. If you only reported the 60%, you would be lying to yourself by omission.

Which One Matters More?

It depends on the decision:

  • Pricing, suppliers, product mix: use gross margin. A weak gross margin can never be fixed by cutting overhead.
  • Hiring, ad budgets, overall health: use net margin. It shows whether the whole machine produces profit.

Rough benchmarks: SaaS gross margins typically sit at 70–80%, e-commerce at 30–50%. Net margin varies far more — 5–20% is common for healthy e-commerce, while profitable SaaS can exceed 20%.

See both margins instantly.

Enter revenue and costs once — get gross margin, net margin, and profit in one place.

Open Profit Margin Calculator →

If you sell physical products, pair this with the E-commerce Profit Calculator or the Shopify Profit Calculator to factor in platform fees before you celebrate your margins.

Want to test these numbers with your own data?

Explore All Calculators