Gross Margin vs. Operating Margin: Key Differences Explained
By Markets & Investing DeskUpdated Nov 10, 2026
Key takeaways
- Gross margin subtracts only COGS from revenue, while operating margin also subtracts all operating expenses.
- The percentage-point gap between the two margins equals operating expenses as a share of revenue.
- With $100,000 revenue, $65,000 COGS and $20,000 operating expenses, margins are 35% and 15%.
- Booking costs like depreciation or shipping in COGS versus operating expenses shifts gross margin only.
No. Gross margin is gross profit divided by revenue, not a comparison between gross profit and operating income. Both gross margin and operating margin use revenue as the denominator, so they sit on the same scale. The gap between them, in percentage points, equals operating expenses as a share of revenue. Gross margin shows what is left after the direct cost of making or delivering the product. Operating margin shows what is left after the costs of running the whole business.
What Is Gross Margin?
Gross margin, also called gross profit margin, is the percentage of revenue a company keeps after subtracting the costs directly tied to producing and delivering what it sells. Those costs are reported as cost of goods sold (COGS), or cost of revenue for service businesses. They typically include raw materials, direct labor and production overhead.
A higher gross margin means each dollar of sales contributes more toward paying everything else. If gross margin falls, the company has three levers: cut direct labor costs, buy materials more cheaply, or raise prices. On its own, gross margin does not show whether the business is profitable overall.
What Is Operating Margin?
Operating margin goes one step further down the income statement. It subtracts operating expenses from gross profit to reach operating income, then divides by revenue. Operating expenses include wages for staff outside production, marketing, facility costs, vehicle costs, and depreciation and amortization of equipment. These items are often grouped as selling, general and administrative expenses (SG&A).
Operating income comes before interest and taxes, so it is often treated as a stand-in for EBIT (earnings before interest and taxes). The two are not always identical. Some companies report non-operating gains or losses that are included in EBIT but excluded from operating income.
Leaving out interest and taxes makes operating margin useful for comparing companies. Two firms with similar operations can carry very different debt loads and face different tax rates. Operating margin strips those differences out and isolates how well the core business runs.
Gross Margin vs. Operating Margin: Key Differences
The main difference is which costs each margin subtracts:
- Costs included: Gross margin subtracts only COGS. Operating margin subtracts COGS plus all operating expenses.
- What it measures: Gross margin reflects pricing power and production efficiency. Operating margin reflects how efficiently management runs the entire operation.
- Relative size: Gross margin is normally higher, because operating margin subtracts more costs from the same revenue.
- Who leans on it: Analysts treat operating margin as the more telling profitability figure. Gross margin is better for diagnosing product-level economics.
Example of Gross Margin and Operating Margin
Take a hypothetical company with these annual figures:
- Revenue: $100,000
- COGS: $65,000
- Operating expenses: $20,000
Gross profit is $100,000 − $65,000 = $35,000, so gross margin is 35%.
Operating income is $35,000 − $20,000 = $15,000, so operating margin is 15%.
The 20-point gap equals operating expenses ($20,000) divided by revenue ($100,000).
The example also shows why the question above has to be answered “no.” If you measured the percentage difference between gross profit and operating income, you would get ($35,000 − $15,000) ÷ $35,000 ≈ 57%. That figure tells you operating expenses absorb about 57% of gross profit. It is a legitimate ratio, but it is neither gross margin nor operating margin, and it uses gross profit as its base instead of revenue.
Gross Margin vs. Operating Margin in Practice
Gross margin shows how well a company manages the resources that go directly into its goods and services. A software firm and a grocery chain will post very different gross margins simply because their cost of delivery differs. That is why the figure only means something next to industry peers or the company’s own history.
Operating margin captures overhead. Salaries, advertising and similar expenses usually offer more room to negotiate or streamline than direct production costs, so companies often look there first when they want to lift profitability. A company can improve operating margin in two broad ways:
- Increase sales by raising prices, winning more customers or making the sales process more efficient.
- Reduce operating costs by negotiating better supplier terms, automating tasks, cutting waste, managing inventory more tightly to lower storage costs, and raising employee productivity.
Because operating margin excludes financing costs, it also helps a company judge whether its core profits are strong enough to support new borrowing for expansion. Looking at operating margin across several years helps show whether recent earnings growth comes from durable improvements or one-off gains.
The Risks
Several factors can make the same margin mean different things at different companies:
- Classification choices. Depreciation, shipping or certain labor costs can be booked in COGS at one company and in operating expenses at another. That shifts gross margin while leaving operating margin unchanged, so a gross margin gap between two firms may reflect accounting presentation rather than economics.
- Adjusted versions. Many companies also publish “adjusted” gross or operating margin, a non-GAAP measure that excludes items such as stock-based compensation, restructuring charges or amortization of acquired intangibles. Each company defines its own adjustments, so these figures are not comparable between firms, are usually higher than GAAP figures, and should be read alongside the company’s reconciliation.
- Profit is not cash. Neither margin shows when cash actually arrives. A company can report healthy operating margins while struggling with working capital, which the cash flow statement reveals.
A higher margin is generally better, but it is worth asking how it was achieved. Cutting marketing or maintenance can lift operating margin for a year while weakening the business later.
FAQs
Why use operating margin instead of gross margin?
Operating margin shows whether the whole business, not just its product, is profitable before financing and taxes. A company with a strong gross margin can still lose money if its overhead is too heavy, and only operating margin reveals that.
How do these margins relate to net margin and other profitability ratios?
Net profit margin continues down the income statement, subtracting interest, taxes and other non-operating items to reach net income, then dividing by revenue. Other common profitability ratios, such as return on assets (ROA) and return on equity (ROE), measure profit against the company's asset base or shareholders' equity instead of sales.
The Bottom Line
Investors and managers comparing profitability should read gross margin for product economics and operating margin for how efficiently the whole business runs. Both use revenue as the base, so they sit on the same scale. Compare gross margin against industry peers or the company's own history, treat adjusted figures with caution, and check the cash flow statement, since neither margin shows when cash actually arrives.






