What is Operating Margin?
Operating margin is the percentage of revenue that remains after paying all operating costs, both direct (COGS) and indirect (operating expenses like sales, marketing, R&D, and G&A). It shows how efficiently you convert revenue into operating profit.
Operating margin differs from gross margin by including operating expenses. A company can have great gross margins but poor operating margins if overhead is too high.
Why Operating Margin Matters
Operating margin reveals the true efficiency of your business model. It includes all the costs of running the business, not just delivering the product. A profitable operating margin means your business works at current scale.
Investors use operating margin to assess business quality. Consistently positive operating margins indicate a sustainable model. Negative margins require either growth to reach scale or fundamental changes.
How to Calculate Operating Margin Step by Step
Step 1: Start with your revenue.
- Revenue: $1,800,000 (quarterly)
Step 2: Subtract COGS to get gross profit.
- COGS (hosting, support, payment processing): $324,000
- Gross Profit: $1,476,000 (82% gross margin)
Step 3: Subtract all operating expenses. These include everything to run the business except interest and taxes:
- R&D / Engineering: $480,000
- Sales & Marketing: $420,000
- General & Administrative: $180,000
- Total OpEx: $1,080,000
Step 4: Calculate operating income.
- Operating Income = $1,476,000 - $1,080,000 = $396,000
Step 5: Calculate the margin.
- Operating Margin = $396K ÷ $1.8M = 22%
You keep 22 cents of every revenue dollar after all operating costs. That's strong for a growth-stage SaaS company.
Step 6: Compare margin layers to find the story.
- Gross Margin: 82% → Product economics are healthy
- Operating Margin: 22% → OpEx consumes 60 points of gross margin
- Where's it going? S&M (23%), R&D (27%), G&A (10%)
If you want to improve operating margin, S&M and R&D are the biggest levers.
Common mistakes founders make:
- Including interest expense in operating costs (that belongs below the operating line)
- Not separating stock-based compensation (SBC) — GAAP operating margin includes it, but many SaaS companies report "non-GAAP" excluding SBC
- Comparing operating margins across stages (a $2M ARR startup and a $200M ARR company have different margin profiles)
Operating Margin Benchmarks
Best-in-class SaaS companies achieve 20-30% operating margins at scale. Early-stage companies often run negative margins while investing in growth. The Rule of 40 allows trading margin for growth.
Operating Margin = Operating Income ÷ Revenue × 100
Operating Income = Revenue - COGS - Operating Expenses
Or: Operating Income = Gross Profit - Operating Expenses
Quarterly results:
- Revenue: $2,000,000
- COGS: $400,000
- Gross profit: $1,600,000
- Operating expenses: $1,200,000
- Operating income: $400,000
Operating Margin = $400K ÷ $2M = 20%
You keep $0.20 of every revenue dollar after all operating costs.