Gross Margin vs Operating Margin
A company’s gross margin measures how much profit remains after subtracting the direct cost of goods sold; operating margin measures what’s left after subtracting all operating costs, including overhead and payroll. The gap between them reveals how much a company spends on non-production expenses. Two companies with identical gross margins can have vastly different operating margins if one carries far heavier overhead, which signals either operational inefficiency or an investment in growth infrastructure.
Defining the two margins
Gross margin is calculated as revenue minus cost of goods sold (COGS), divided by revenue. It answers: Of each dollar of revenue, how much remains to cover everything else after paying for the physical product or direct service delivery?
For a retailer buying widgets at $10 and selling them at $25, gross margin is 60%. For a manufacturer, it’s the revenue from finished goods minus the cost of raw materials, labor directly tied to production, and factory overhead allocated to units sold.
Operating margin is revenue minus both COGS and operating expenses (such as sales and marketing, general and administrative salaries, research and development, utilities, rent, and depreciation), divided by revenue. It answers: After paying for the product and running the business day-to-day, what percentage of revenue is actually profit from operations?
For the same $25 widget retailer, if operating expenses consume $8 of that remaining $15, operating margin is 28% (rather than 60%).
Why the gap matters
The difference between gross margin and operating margin is operating expenses as a percentage of revenue. This gap reveals the cost structure of the business.
A company with:
- Narrow gap: Low overhead relative to sales, suggesting either a lean operation or a mature, high-volume business
- Wide gap: Heavy overhead, suggesting either high fixed costs (e.g., real estate, salaries), capital intensity, or investment in growth (e.g., R&D, marketing)
Consider two software companies:
- Company A: Gross margin 80%, operating margin 30%. Operating expenses consume 50% of revenue.
- Company B: Gross margin 78%, operating margin 40%. Operating expenses consume 38% of revenue.
Despite similar gross margins, Company B is materially more profitable. The difference might reflect a smaller sales team (lower cost per customer), less R&D spending, or simply a more mature customer base requiring less sales effort.
What each ratio reveals about efficiency
Gross margin primarily signals pricing power and production efficiency. A company with a falling gross margin may be losing pricing power to competition, facing commodity cost inflation, or struggling with manufacturing inefficiency. It’s hard to fix by cutting overhead—it’s a core business problem.
A company with a rising gross margin is either raising prices, improving manufacturing yield, or sourcing input costs more effectively. This signals fundamental business strength.
Operating margin signals overall profitability after all operating costs. But it conflates two separate issues:
- How efficiently the company produces (reflected in gross margin)
- How well the company controls operating costs (the gap)
A company can have a steady gross margin but see operating margin fall if overhead creeps up—perhaps from hiring staff ahead of revenue growth, opening new offices, or increasing marketing spend. This is often discretionary and reversible.
Real-world comparison
| Business Type | Typical Gross Margin | Typical Operating Margin | Gap | Why |
|---|---|---|---|---|
| Discount retailer | 20–25% | 2–5% | Wide | Thin COGS, heavy logistics and labor |
| Software (SaaS) | 75–85% | 20–40% | Moderate | Low COGS, significant R&D and sales |
| Automotive | 15–20% | 5–8% | Moderate | Capital-intensive, scale-dependent |
| Luxury goods | 60–70% | 15–25% | Wide | High COGS, expensive brand and retail |
| Semiconductor | 40–50% | 15–25% | Moderate | High COGS (fab costs), R&D intensity |
A discount retailer’s gross margin looks weak compared to a software company, but the comparison is misleading—they operate under different economic models. Operating margin is more apt for cross-industry comparison, though even that requires context (capital intensity, lifecycle stage, geography).
When a wide gap signals opportunity—or trouble
A newly widening gap (where operating margin falls while gross margin holds) suggests a company is investing: hiring engineers, opening markets, or building brand. This can be intentional and positive if the investment yields future returns.
A persistently wide gap without improving operating margin may signal:
- Operational bloat or mismanagement
- Structural cost inefficiency
- An early-stage company before operating leverage kicks in
A shrinking gap where operating expenses decline as a percentage of revenue is typically a sign of operating leverage—the company is scaling efficiently, spreading fixed costs across more revenue. This is often a sign of a maturing, increasingly profitable business.
The limits of these two metrics
Neither gross nor operating margin tells the full story of profitability. Operating margin excludes:
- Interest expense (affected by how much the company is leveraged)
- Tax rates (affected by jurisdiction and structure)
- One-time or non-recurring items
A company with an excellent operating margin might be unprofitable at the net income line if it carries heavy debt or if tax liability is high.
Conversely, a company with a disappointing operating margin might have a much better net margin if it benefits from low borrowing costs or favorable tax treatment.
How to use both in analysis
Use gross margin to:
- Track pricing power and production efficiency over time for the same company
- Diagnose whether problems are at the production level
- Compare companies in the same industry (with similar business models)
Use operating margin to:
- Compare overall profitability across different business models
- Assess how well management controls overhead
- Spot improving (or deteriorating) operational efficiency and scale benefits
Use the gap to:
- Evaluate the overhead burden relative to revenue
- Identify whether a company is investing heavily or running lean
- Diagnose whether margin pressure is coming from COGS or SG&A
The two margins together tell a far richer story than either alone.
See also
Closely related
- Net profit margin by industry — How operating margin translates to final profitability
- Return on assets — A profitability ratio incorporating margin and asset use
- Cost of goods sold — The direct costs that determine gross margin
- Operating leverage — How fixed costs affect margin as sales grow
- EBITDA — Another profitability metric excluding interest, tax, depreciation
Wider context
- Income statement — Where gross and operating margins appear
- Expense ratio — Similar concept in the fund and ETF world
- Debt to equity ratio — How leverage affects net margin beyond operating performance
- Return on equity — How margins translate to shareholder returns