Overview
Gross margin and net margin both get expressed as percentages of revenue, and both describe profitability, which is exactly why people mix them up. They're answering different questions, though. Gross margin asks how efficiently the core product or service gets produced and delivered, before anything else enters the picture. Net margin asks what's left once every expense gets paid: overhead, marketing, interest, taxes, all of it. A business can look great on one and rough on the other, and that gap often tells you more than either number alone.
Confusing the two leads to bad decisions. A founder celebrating an 80% gross margin while ignoring a 3% net margin is celebrating the wrong number. The business might still be burning cash every month despite looking efficient on paper. This comparison breaks down what each margin measures, how to calculate them, and how to use them together to find where a profitability problem actually starts.
Side-by-Side Comparison
| Dimension | Gross Margin | Net Margin |
|---|---|---|
| Formula | (Revenue - COGS) / Revenue x 100 | Net Income / Revenue x 100 |
| What it measures | Production and service-delivery efficiency | Overall profitability after all expenses |
| Includes | Only direct costs of goods/services sold | COGS + operating expenses + interest + taxes |
| Typical range - software | 70-90% | 15-30% |
| Typical range - retail | 20-50% | 2-5% |
| Typical range - manufacturing | 25-35% | 5-10% |
| What it reveals | Pricing power and production cost control | Business health including overhead and debt |
| Improved by | Better supplier pricing, production efficiency, pricing strategy | All gross margin levers plus overhead control, tax efficiency, debt management |
| Use case | Comparing operational efficiency across periods or competitors | Comparing overall profitability and investment attractiveness |
Gross Margin - Deep Dive
Gross Margin equals (Revenue minus Cost of Goods Sold) divided by Revenue, times 100. Cost of Goods Sold covers only what's directly tied to producing the good or delivering the service: raw materials, direct labor, and manufacturing overhead for a physical product, or hosting, delivery infrastructure, and support tied directly to service delivery for a software product. It leaves out marketing, sales salaries, office rent, administrative overhead, R&D, interest payments, and taxes. All of that sits below the gross margin line.
That narrow scope is exactly what makes gross margin useful as an efficiency metric. It isolates the economics of the core product from everything else the business spends on. A software company can post an 80%+ gross margin because its COGS, mostly servers and infrastructure, stays tiny relative to subscription revenue. A grocery retailer might run a 25% gross margin instead, because the products themselves are the dominant expense, leaving little room between shelf price and wholesale cost.
Tracking gross margin over time reveals two separate things. One is whether a company has real pricing power, the ability to raise prices faster than its input costs climb, which shows up as gross margin expansion. The other is whether production or delivery efficiency is actually improving, whether that's a manufacturer automating part of the line or a SaaS company trimming infrastructure spend per customer. Both show up as gross margin gains even with flat pricing. Because gross margin strips out the noise of overhead and growth-stage spending choices, it's also the cleanest way to compare operational efficiency between competitors in the same industry. It reflects production economics, not each company's individual bets on sales and marketing.
Net Margin - Deep Dive
Net Margin equals Net Income divided by Revenue, times 100, where net income is revenue minus everything: cost of goods sold, operating expenses (marketing, sales, R&D, general admin), interest paid on debt, and taxes. It's the true bottom line, the percentage of every rupee of revenue the business actually keeps once every obligation is settled.
Because net margin captures every cost, the gap between it and gross margin becomes diagnostic on its own. A company can post an excellent 80% gross margin alongside a rough 5% net margin if it spends aggressively on marketing and sales relative to revenue, a pattern that shows up constantly among high-growth SaaS companies deliberately chasing market share over near-term profit, often funded by investor capital rather than operating cash flow. The low net margin there isn't necessarily a problem. It's a strategic choice, provided the underlying unit economics stay healthy and the spending is actually buying durable growth rather than leaking into inefficiency.
Net margin is the number investors, lenders, and acquirers lean on most, since it reflects the actual cash-generating power of the business after every cost, including debt, which gross margin never touches. Two companies with identical 60% gross margins can land at very different net margins if one carries heavy debt and the other doesn't, since interest expense sits entirely below the gross margin line. That's also why net margin is the right yardstick for comparing investment attractiveness across companies or checking whether a business can comfortably service its debt.
When to Choose Gross Margin
Use gross margin when comparing production or delivery efficiency across time periods within the same business, or when benchmarking against direct competitors whose overhead structures might differ for unrelated reasons. It's also the right number for evaluating whether a pricing change or supplier renegotiation actually improved unit economics, for understanding a product line's raw economics before company-wide overhead gets layered in, and for diagnosing whether a profitability problem starts in production costs or further down the income statement.
When to Choose Net Margin
Reach for net margin when assessing overall company health and true bottom-line profitability, or when comparing investment attractiveness across companies with different capital structures or debt loads. It's also what you want when checking whether a business can service existing debt and fund growth from operating cash flow, when you need one number that captures production costs, overhead, financing, and tax efficiency together, or when reporting to lenders and investors who need the complete profitability picture rather than just the production-level view.
Our Verdict
Track both, every period, side by side. Neither number tells the whole story alone. Gross margin tells you whether your core product or service economics actually work, whether you can produce or deliver what you sell for meaningfully less than you charge. Net margin tells you whether the whole business works once every other cost of running it gets counted.
A business with a strong gross margin but a weak net margin has an operating expense problem, too much going to overhead, marketing, or interest relative to revenue, and that's fixable through cost discipline, more efficient customer acquisition, or debt restructuring, without touching the core product at all. A business with a weak gross margin faces something more fundamental: a pricing or production cost problem that's harder to fix without changing the business model, renegotiating supplier terms, or repricing the product outright.
The Margin Calculator computes gross margin quickly from revenue and cost figures, and the Profit & Loss Calculator builds the full picture so you can see exactly where the gap between gross and net margin comes from in your own numbers.