Calculating gross, operating, and net profit margins: formulas and benchmarks.
Business ROI

Calculating gross, operating, and net profit margins: formulas and benchmarks

All guides6 min readJune 14, 2026

Gross, operating, and net profit margins measure profitability at three distinct levels of the income statement. Each removes a different layer of cost from revenue, and each reveals something the others do not. Calculating all three — and benchmarking them against industry standards — produces a diagnostic picture of where a business gains and loses economic value.

Informational calculation reference only.

All equations, tools, and outputs on this page are intended strictly for educational modeling and mathematical illustration. They do not constitute certified financial, legal, or tax advice. For specific scenarios, consult a certified public accountant (CPA) or a fiduciary financial advisor.

Why this metric dictates profitability

Margin analysis isolates which cost categories are compressing profitability. A business with a healthy gross margin but a thin net margin is losing value in operating expenses or financing costs — not in production. A business with a declining gross margin is losing pricing power or experiencing input cost inflation at the product level. No single margin figure answers both questions; all three are required for a complete analysis.

Equation and data inputs

Gross profit margin:

\text{Gross Margin} = \frac{\text{Revenue} - \text{COGS}}{\text{Revenue}} \times 100

Operating profit margin (EBIT margin):

\text{Operating Margin} = \frac{\text{Revenue} - \text{COGS} - \text{Operating Expenses}}{\text{Revenue}} \times 100

Net profit margin:

\text{Net Margin} = \frac{\text{Net Income}}{\text{Revenue}} \times 100

Where Net Income = Revenue − COGS − Operating Expenses − Interest − Taxes.

Benchmark ranges

Industry margin ranges vary significantly. The following represents typical ranges for established businesses in each sector:

IndustryGross marginOperating marginNet margin
Software / SaaS65%–85%15%–35%10%–25%
Retail (general merchandise)25%–45%3%–8%2%–5%
Restaurants60%–75% (food cost inverted)3%–9%2%–6%
Manufacturing20%–40%8%–15%5%–10%
Professional services50%–70%15%–25%10%–20%
Construction15%–25%3%–8%2%–5%
Gross margin below the industry average typically signals pricing pressure, high input costs, or an unfavorable product mix. Operating margin compression despite strong gross margin points to overhead inefficiency. Net margin shortfall despite adequate operating margin indicates high interest expense or tax complexity.

Common variable mistakes

Including depreciation inconsistently. Depreciation is an operating expense that reduces operating margin but not gross margin. Adding it back to operating income (EBITDA basis) versus leaving it in produces different operating margin figures. Specifying which basis is being used is essential for comparisons.

Comparing margins across companies with different revenue recognition policies. Service businesses that recognize revenue over time versus at project completion report the same cash flows in different periods — creating period-specific margin figures that are not comparable without normalization.

Using gross margin as the profitability indicator for high-overhead businesses. A business with 70% gross margins but 68% operating expenses has a 2% operating margin. Reporting the gross margin in isolation creates a misleading picture of financial health.

Use the profit margin calculator to compute all three margins from your revenue, COGS, and expense figures.

Disclaimer: While we strive for absolute mathematical precision, actual real-world financial outcomes may vary based on institutional fees, localized tax brackets, changes in federal legislation, or fluctuating market indexes.
profit margingross marginnet marginoperating marginbusiness profitability

Run the numbers yourself

Use the free calculator to apply these formulas to your specific scenario.

Open the calculator →

Related guides