I wrote the book on developer marketing. Literally. Picks and Shovels hit #1 on Amazon.

Get your copy
Finance and metrics

Operating margin

OP-er-ay-ting MAR-jin

Revenue minus all operating expenses, expressed as a percentage. Shows how much profit your core business generates before interest and taxes.

Operating margin is the percentage of revenue left after paying all operating expenses: COGS, sales and marketing, R&D, and general and administrative costs. It measures how efficiently you turn revenue into profit from your core business.

Most SaaS companies have negative operating margins while they are in growth mode. They are intentionally spending more than they earn to grow faster. Salesforce had negative operating margins for its first decade as a public company. That is normal. What matters is the trajectory: are operating margins improving as you scale? Tracking gross margin alongside operating margin helps isolate where the inefficiency lives.

The target for a mature SaaS company is 20-30% operating margin. Best-in-class companies like Veeva Systems exceed 35%. But these are companies at scale. A $10M ARR company should not optimize for operating margin. They should optimize for growth rate. EBITDA offers a related but slightly different profitability lens by adding back depreciation and amortization.

Examples

A SaaS company reports operating margin.

Annual revenue: $50M. COGS: $10M. Sales and marketing: $20M. R&D: $15M. G&A: $5M. Total operating expenses: $50M. Operating income: $0. Operating margin: 0%. The company is at breakeven, which for a growing SaaS company at this scale is acceptable.

Operating margin improves with scale.

At $20M ARR, operating margin is -30% (spending $26M). At $50M ARR, operating margin is -5%. At $100M ARR, operating margin is +15%. Sales and R&D costs grow slower than revenue because the company gets more efficient at selling and building. This is the SaaS operating leverage story investors want to see.

Balancing growth and margin.

A company growing 40% per year with -20% operating margin could slow growth to 25% and flip to +10% operating margin. The CEO and board debate: is it better to grow faster and lose money, or slower and make money? The Rule of 40 says the answer is whichever combination adds up to 40 or more.

In practice

Read more on the blog

Frequently asked questions

What is a good operating margin for a SaaS company?

It depends on growth rate. A company growing 100% per year can justify -30% operating margin. A company growing 20% should be at +10% or better. Use the Rule of 40: growth rate plus operating margin should exceed 40. At maturity, target 20-30% operating margin.

How is operating margin different from net margin?

Operating margin excludes interest, taxes, and non-operating items. Net margin includes everything. Operating margin is a better measure of core business health because it strips out financing decisions and tax strategy. Net margin tells you what actually hits the bottom line.

Related terms

Picks and Shovels: Marketing to Developers During the AI Gold Rush

Want the complete playbook?

Picks and Shovels is the definitive guide to developer marketing. Amazon #1 bestseller with practical strategies from 30 years of marketing to developers.