Operating Margin Calculator
Calculate operating margin, gross margin, and net margin from revenue and cost data.
Compare your margins to industry benchmarks to evaluate business performance.
Operating Margin Formula
Operating Margin measures what percentage of revenue survives after paying all operating costs — before interest and taxes. It is the purest measure of operational efficiency.
Operating Margin = Operating Income ÷ Net Revenue × 100
Where:
Operating Income = Revenue − COGS − Operating Expenses
The Three Core Margin Metrics
Gross Margin — measures production efficiency:
Gross Margin = (Revenue − COGS) ÷ Revenue × 100
Operating Margin — measures operational efficiency:
Operating Margin = (Gross Profit − Operating Expenses) ÷ Revenue × 100
Net Margin — measures bottom-line profitability:
Net Margin = Net Income ÷ Revenue × 100
Margin Hierarchy Rule
Operating Margin is always lower than Gross Margin (because operating expenses reduce it further). Net Margin is always lower than Operating Margin (because interest and taxes reduce it further).
If Operating Margin > Net Margin, that is normal. If Net Margin > Operating Margin, something unusual is happening (non-operating income, tax credits, etc.) — worth investigating.
Industry Margin Benchmarks
| Industry | Gross Margin | Operating Margin | Net Margin |
|---|---|---|---|
| Software / SaaS | 70–85% | 20–35% | 15–30% |
| Pharmaceuticals | 60–75% | 15–25% | 12–20% |
| Medical Devices | 55–70% | 18–28% | 12–22% |
| Financial Services | 40–70% | 20–40% | 15–30% |
| Consumer Electronics | 25–40% | 5–15% | 4–12% |
| General Retail | 25–40% | 3–8% | 2–6% |
| Apparel | 40–60% | 8–15% | 5–12% |
| Restaurants | 60–70%* | 3–8% | 2–6% |
| Automotive | 10–20% | 4–8% | 3–6% |
| Grocery / Supermarket | 20–28% | 1–4% | 0.5–3% |
| Construction | 15–25% | 3–8% | 2–6% |
*Restaurant “gross margin” uses food cost only; labor and overhead apply differently.
Worked Example
A healthcare company quarterly income statement:
- Revenue: $4,500,000
- COGS: $1,350,000
- Operating Expenses (SG&A + R&D): $1,800,000
- Net Income: $900,000
- Gross Profit = $4,500,000 − $1,350,000 = $3,150,000
- Gross Margin = $3,150,000 ÷ $4,500,000 = 70.0%
- Operating Income = $3,150,000 − $1,800,000 = $1,350,000
- Operating Margin = $1,350,000 ÷ $4,500,000 = 30.0%
- Net Margin = $900,000 ÷ $4,500,000 = 20.0%
Margin Trend Analysis
- Rising operating margin while gross margin stays flat → improved cost control over time
- Falling gross margin → pricing pressure or rising input costs
- Widening gap between operating margin and net margin → rising interest expense or tax burden
Pro Tips
- Operating margin is used in most company valuations (EV/EBIT, EV/EBITDA multiples).
- A 1 percentage point improvement in operating margin on $100M revenue = $1M more profit — the leverage is powerful.
- Startups often have negative operating margins intentionally — burn rate = investing in future growth.
- Compare margins to the same industry and same stage company. Comparing a software startup to a grocery chain is meaningless.