Profit margin is the single most important number in business — yet most entrepreneurs don't fully understand the difference between gross margin, net margin, and operating margin. Each tells you something different about your business health. This guide explains all three, with formulas, real examples, and industry benchmarks so you know where your business stands.

Profit Margin Formula
Net profit margin formula: gross margin vs operating margin vs net margin explained.

What Is Profit Margin and Why Does It Matter?

Profit margin is a percentage that shows how much of every dollar of revenue a company keeps as profit. It's expressed as a percentage of revenue. The higher the margin, the more efficient the business is at converting revenue into actual profit.

Key Metric: Net Profit Margin

Formula: Net Profit Margin = (Net Profit รท Revenue) ร— 100

Benchmark: 10โ€“20% is solid; above 20% is excellent for ecommerce

What Are the Three Types of Profit Margin?

1. Gross Profit Margin

Gross margin shows profit after deducting the direct costs of producing goods (Cost of Goods Sold, or COGS). It tells you how efficiently you produce your product before overhead costs.

Key Metric: Gross Profit Margin

Formula: Gross Margin = ((Revenue โˆ’ COGS) รท Revenue) ร— 100

Benchmark: 30โ€“70% typical for ecommerce; 60%+ is strong

Example: You sell a course for $497. Your hosting and content delivery costs $47. Gross profit = $450. Gross margin = $450 รท $497 ร— 100 = 90.5%

2. Operating Profit Margin

Operating margin goes further, subtracting operating expenses (marketing, salaries, rent, software) from gross profit. It shows profitability from core business operations.

Key Metric: Operating Profit Margin

Formula: Operating Margin = (Operating Profit รท Revenue) ร— 100

Benchmark: 10โ€“30% is typical for profitable ecommerce brands

Using the same example: $497 revenue โˆ’ $47 COGS โˆ’ $200 marketing โˆ’ $80 software โˆ’ $50 admin = $120 operating profit. Operating margin = 24.1%

3. Net Profit Margin

Net margin is the bottom line — profit after ALL costs including taxes, interest, and one-time expenses. This is what stays in your pocket (or doesn't).

Key Metric: Net Profit Margin

Formula: Net Margin = (Net Profit รท Revenue) ร— 100

Benchmark: After all costs; 10โ€“20% is the ecommerce sweet spot

Continuing the example: $120 operating profit โˆ’ $20 taxes โˆ’ $10 interest = $90 net profit. Net margin = 18.1%

What Is a Good Profit Margin by Industry in 2026?

2026 Net Profit Margin Benchmarks by Industry
Industry Gross Margin Net Margin
SaaS (Software)70โ€“85%10โ€“25%
Ecommerce (General)30โ€“50%5โ€“15%
Amazon FBA35โ€“55%10โ€“30%
Dropshipping15โ€“30%3โ€“10%
Food & Restaurant60โ€“70%3โ€“9%
Retail (Brick & Mortar)25โ€“45%1โ€“5%
Digital Marketing Agency55โ€“70%15โ€“30%
Print-on-Demand35โ€“55%15โ€“30%
Coaching / Consulting70โ€“90%30โ€“60%

What Is the Difference Between Gross and Net Margin?

Gross margin tells you if your product or service is fundamentally profitable. Net margin tells you if your business is sustainable after everything. A high gross margin with a low net margin means your overhead is too high. A low gross margin with a high net margin is rare and usually indicates you're underpricing something.

How Can You Improve Your Profit Margin?

  1. Increase your prices: Even a 5% price increase with the same costs can improve net margin by 25โ€“50%. Test price increases on your best-selling products.
  2. Reduce COGS: Negotiate with suppliers, buy in bulk, or find lower-cost alternatives without sacrificing quality.
  3. Reduce operating expenses: Audit your software stack (you likely have unused subscriptions), negotiate rent, and automate tasks to reduce labor costs.
  4. Improve conversion rate: If your traffic stays the same but more visitors buy, your fixed costs spread across more revenue — automatically improving margins.
  5. Focus on high-margin products: If you sell multiple products, shift marketing spend toward your highest-margin items.
  6. Reduce returns and refunds: Every return has a direct cost (processing) and an indirect cost (the sale you lost). Reduce return rates through better product descriptions and quality.

Frequently Asked Questions

What is a good profit margin for a small business?
A net margin of 10โ€“20% is considered healthy for most small businesses. Below 5% is tight and vulnerable to unexpected costs. Above 20% is excellent. SaaS and consulting businesses can achieve 30%+ net margins; ecommerce typically operates at 5โ€“15%.
What's more important: gross margin or net margin?
Both matter, but for different reasons. Gross margin tells you if your core product/service is viable. If it's below 30%, it's very difficult to build a sustainable business. Net margin tells you if your entire business model works. Aim for both to be healthy: high gross margin (50%+) gives you room to cover overhead and still be profitable.
How is margin different from markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost price. For example: $50 cost, $100 price. Margin = ($50 profit รท $100 price) ร— 100 = 50%. Markup = ($50 profit รท $50 cost) ร— 100 = 100%. A product with a 50% margin has a 100% markup.
How often should I calculate profit margins?
At minimum, calculate monthly. Track both gross and net margin over time. Set benchmarks — if your net margin drops below your target (e.g., 15%), investigate immediately. Compare to industry averages to gauge competitiveness.

Calculate Your Profit Margins Instantly

Enter your revenue and costs to get gross margin, net margin, and markup.

Open Profit Margin Calculator โ†’