Gross Margin vs Net Margin

Gross margin is the percentage of revenue remaining after subtracting the direct costs of producing your product or service (Cost of Goods Sold). Net margin is the percentage of revenue remaining after subtracting every single expense — COGS, operating costs, interest, and taxes. Gross margin shows product economics; net margin shows overall business health.

Quick Comparison

Aspect Gross Margin Net Margin
Formula (Revenue − COGS) ÷ Revenue × 100 (Revenue − All Expenses) ÷ Revenue × 100
Also Called Gross profit margin Net profit margin, bottom-line margin
What It Excludes Operating expenses, interest, taxes Nothing — includes all expenses
What It Measures Product/service profitability Overall business profitability
Typical SaaS Range 70–85% 10–30%
Typical Retail Range 20–50% 2–10%
Best Used For Pricing strategy, product viability Investment analysis, business sustainability

Key Differences Explained

1. The Formulas and What Gets Subtracted

Gross Margin formula:

Gross Margin (%) = (Revenue − Cost of Goods Sold) ÷ Revenue × 100

COGS includes only direct production costs: raw materials, direct labor, manufacturing overhead, and the cost of hosting or delivering the product. For a software company, COGS includes server hosting costs and third-party API fees. For a manufacturer, COGS includes materials and factory labor. It does NOT include sales salaries, marketing spend, office rent, or any overhead not directly tied to production.

Net Margin formula:

Net Margin (%) = Net Income ÷ Revenue × 100

Net income is revenue after ALL expenses have been deducted: COGS, operating expenses (sales, marketing, R&D, G&A), depreciation and amortization, interest expense on debt, and income taxes. Net margin is the final, unambiguous answer to: "For every dollar of revenue, how many cents did the business actually keep?"

Worked Example: $10M Revenue Business

  • Revenue: $10,000,000
  • COGS (servers, materials): $2,000,000
  • Gross Profit: $8,000,000 → Gross Margin: 80%
  • Operating Expenses (sales, marketing, R&D, G&A): $5,500,000
  • EBIT (Operating Profit): $2,500,000
  • Interest expense: $200,000
  • Taxes (25%): $575,000
  • Net Income: $1,725,000 → Net Margin: 17.25%

This business has an excellent 80% gross margin (strong product economics) but a more modest 17.25% net margin (because it's spending heavily on growth-related operating expenses).

2. What Each Margin Tells You About a Business

Gross margin reveals the fundamental economics of your product. A high gross margin means you have pricing power and low direct production costs — leaving room to invest in sales, marketing, and R&D. A low gross margin means every dollar of revenue is expensive to produce, compressing your ability to fund growth.

  • Software (SaaS): 70-85% gross margins because code costs nearly nothing to replicate. Selling the 1,000th license costs almost as much as selling the first.
  • Grocery retail: 20-30% gross margins because the cost of the actual food is a large portion of the selling price.
  • Airlines: 30-40% gross margins, compressed by fuel and crew costs directly tied to each flight.

Net margin reveals whether the business is actually working as a going concern. A company with 80% gross margins can still have a negative net margin if it's spending too aggressively on sales and marketing to grow. Net margin is what matters to investors analyzing a mature business's ability to generate real profit and return cash to shareholders.

  • A negative net margin means the company is losing money on every dollar of revenue — sustainable only with outside funding.
  • A thin net margin (1-5%) is normal in competitive, low-margin industries like retail and food service.
  • A high net margin (20%+) indicates strong pricing power, operational efficiency, or a monopoly-like market position.

3. Industry Benchmarks by Sector

Gross and net margins vary dramatically by industry. Comparing margins across different sectors is meaningless — what matters is how a company compares to its direct peers:

  • SaaS/Software: Gross 70-85%, Net 10-30% (mature) or negative (growth phase)
  • Financial Services/Banking: Gross N/A, Net 15-30%
  • Pharmaceuticals: Gross 60-80%, Net 15-25%
  • Consumer Electronics: Gross 25-40%, Net 5-15%
  • Restaurants: Gross 60-70% (food cost only), Net 3-9%
  • Grocery Retail: Gross 20-30%, Net 1-3%
  • Construction: Gross 15-25%, Net 2-8%
  • Consulting/Professional Services: Gross 50-70%, Net 15-25%

4. Why a Company Can Have High Gross Margin but Low Net Margin

This is extremely common in high-growth tech companies. The gap between gross margin and net margin is filled by operating expenses. A startup might have 80% gross margins but spend 120% of revenue on sales and marketing to acquire customers as fast as possible — resulting in a -40% net margin. This is a deliberate, funded growth strategy, not a failure.

The key question investors ask: "If we cut sales and marketing spend significantly, would this business be profitable?" If yes (and the gross margin is high), the company is fundamentally healthy but investing in growth. Companies like Uber and Lyft ran massive net losses for years despite improving gross margins as they scaled toward profitability.

The reverse — low gross margin but somehow high net margin — is nearly impossible. If your product is expensive to produce (low gross margin), you have almost no room left to cover overhead and still profit. This is why investors treat gross margin as a ceiling on what net margin can ever realistically be.

5. Which Margin to Use When Analyzing a Business

Use gross margin when:

  • Evaluating a startup's unit economics and product viability
  • Setting or reviewing pricing strategy
  • Comparing the core product economics of two competitors
  • Assessing whether a business can ever be profitable with scale
  • Analyzing manufacturing or supply chain efficiency

Use net margin when:

  • Evaluating a mature business's overall health
  • Comparing profitability across companies in the same industry
  • Determining how much earnings per share a company generates
  • Deciding whether a business can self-fund its growth
  • Making investment decisions focused on returns (value investing)

Real-World Company Examples

Apple Inc. (FY2023)

  • Revenue: $383 billion
  • Gross Profit: $169 billion → Gross Margin: 44%
  • Net Income: $97 billion → Net Margin: 25%

Apple's 44% gross margin is remarkable for a hardware company (most consumer electronics companies are at 25-30%). The gap down to 25% net margin reflects R&D, sales, and G&A expenses. A 25% net margin is exceptional — Apple keeps 25 cents of profit from every dollar of revenue.

Walmart (FY2023)

  • Revenue: $611 billion
  • Gross Profit: $148 billion → Gross Margin: 24%
  • Net Income: $11.7 billion → Net Margin: 1.9%

Walmart's business is the opposite of Apple. Thin 24% gross margins (cost of goods sold is enormous in retail) compress to a 1.9% net margin after operating a massive logistics and retail network. Walmart makes up for thin margins with staggering volume — $611B in revenue means even 2% is $11+ billion in profit.

Microsoft (FY2023)

  • Revenue: $211 billion
  • Gross Profit: $146 billion → Gross Margin: 69%
  • Net Income: $72 billion → Net Margin: 34%

Microsoft's shift to cloud and software-as-a-service has produced extraordinary margins. 69% gross margin reflects the low cost of delivering software. 34% net margin — keeping 34 cents from every dollar of revenue as profit — reflects exceptional operational leverage and pricing power.