StockData

Gross, operating and net margin: what they measure and how to use them

Gross, operating and net margin measure the percentage of revenue a company retains as profit at three stages of the income statement. Gross margin equals gross profit divided by revenue, operating margin equals operating income divided by revenue, and net margin equals net income divided by revenue. Together, they show how much profit remains after direct production costs, operating expenses, and all remaining items such as interest and taxes.

Updated Oct 28, 2026

What gross, operating and net margin measure

Gross margin = Gross profit / Revenue; Operating margin = Operating income / Revenue; Net margin = Net income / Revenue

Profit margins express a company's earnings at different stages of the income statement as a percentage of total revenue. Converting dollar figures into percentages lets investors compare profitability across time periods and between businesses of different sizes. Each of the three primary margins isolates a specific group of costs, moving from the top of the income statement to the bottom line. Tracking all three reveals whether cost pressures come from production, corporate overhead, or financing and taxes.

Gross margin is the top profitability layer and equals gross profit divided by revenue. Gross profit is revenue minus cost of goods sold (COGS), which includes the direct materials, labor, and manufacturing or hosting costs required to deliver a product or service. The remaining gross profit is the pool of money available to pay for research, marketing, overhead, debt service, and shareholder returns.

Operating margin sits in the middle of the income statement and equals operating income (often called EBIT, or earnings before interest and taxes) divided by revenue. Operating income starts with gross profit and subtracts operating expenses such as selling, general and administrative (SG&A) costs, research and development (R&D), and depreciation and amortization. Because it excludes interest and income taxes, operating margin measures the profitability of core business operations regardless of how the company is financed.

Net margin is the bottom-line measure and equals net income divided by revenue. Net income adjusts operating income for non-operating items, including interest expense on debt, interest income on cash, one-time gains or losses, and corporate income taxes. It represents the exact share of every revenue dollar that remains for shareholders after all expenses have been paid.

Worked example of the three margins

Consider a hypothetical industrial equipment manufacturer, Apex Fabrication Corp., that reports $500 million in annual revenue. During the fiscal year, Apex spends $300 million on raw steel, factory wages, and freight to build its machines, which represents its cost of goods sold. Subtracting $300 million from $500 million leaves $200 million in gross profit. Dividing $200 million in gross profit by $500 million in revenue produces a gross margin of 40%.

Below the gross profit line, Apex incurs $80 million in selling, general and administrative expenses, $30 million in research and development, and $15 million in equipment depreciation. These operating expenses total $125 million for the year. Subtracting $125 million in operating expenses from the $200 million gross profit leaves $75 million in operating income. Dividing $75 million by $500 million in revenue gives Apex an operating margin of 15%.

To reach the bottom line, Apex pays $10 million in interest expense on its debt and $15 million in corporate income taxes, totaling $25 million in non-operating costs. Subtracting $25 million from $75 million in operating income results in $50 million of net income. Dividing $50 million by $500 million in revenue yields a net margin of 10%. For every dollar of sales, 60 cents covers direct production, 25 cents covers operating overhead, 5 cents covers interest and taxes, and 10 cents remains as net profit.

How to interpret margins across industries

There is no universal benchmark for a healthy gross, operating or net margin because cost structures depend heavily on the industry. Capital intensity, inventory turnover, and pricing power create wide structural differences between sectors. Therefore, a company's margins should always be evaluated against direct industry peers and its own historical track record.

Subscription software companies often generate gross margins between 70% and 85% because delivering additional software copies over the internet requires very little incremental hosting cost. However, high spending on engineering and sales teams brings typical software operating margins down to a range of 15% to 30%. By contrast, grocery retailers operate on high volume and rapid inventory turnover, where gross margins of 20% to 25% and net margins of 1% to 3% are normal. Traditional manufacturers generally fall between those poles, often posting gross margins of 35% to 50% and operating margins of 10% to 20%.

Tracking the spread between the three margins over time within a single business is equally informative. If gross margin stays steady at 50% while operating margin expands from 12% to 18% over several years, the company is achieving operating leverage by growing revenue faster than overhead costs. Conversely, a falling gross margin paired with a flat operating margin may indicate that management is cutting research or marketing budgets to offset rising production costs.

Limitations and common mistakes

A common mistake is treating a single-period spike in net margin as a permanent improvement in business quality. Net income includes non-operating items such as asset sale gains, litigation settlements, insurance proceeds, or one-time tax benefits. Because these events do not repeat regularly, they can temporarily distort net margin even when core operations are unchanged. Comparing operating margin alongside net margin helps isolate recurring operational performance from one-off accounting items.

Another limitation arises from how different companies classify expenses between cost of goods sold and operating expenses. Accounting rules allow some discretion in recording fulfillment centers, customer support, depreciation, and stock-based compensation. While differing classifications can skew gross margin comparisons between two competitors, operating margin captures both cost buckets and restores comparability.

High profit margins also do not guarantee strong returns on capital or healthy cash flow. A business with a 3% net margin that turns over its inventory twenty times a year can earn a higher return on invested capital than a business with a 20% net margin tied up in heavy machinery. Because income statement margins rely on accrual accounting, investors should pair margin analysis with free cash flow and balance sheet efficiency metrics.

How StockData calculates it

On StockData, margins are computed from the income statement using standardized SEC filing data: gross profit divided by revenue for gross margin, operating income divided by revenue for operating margin, and net income divided by revenue for net margin. These metrics are calculated over fiscal years, quarters, and trailing twelve months (TTM). Viewing all three timeframes makes it straightforward to compare multi-year profitability trends with the latest quarterly performance.

Because margins differ a lot between industries, such as software versus grocery retail, raw margin percentages are not directly comparable across the whole market. To reflect these structural differences, margins are compared within an industry in the StockData Score. This peer-group comparison shows whether a company retains more or less profit per dollar of revenue than competitors with similar business models.

Common questions

Which profit margin is most important for evaluating a stock?

No single margin tells the complete story on its own, as each measures a different cost layer. Gross margin is best for assessing product pricing power and unit economics, while operating margin is generally the most reliable indicator of core operational efficiency before financing and tax effects. Net margin shows the final profit attributable to shareholders, making all three useful when viewed together.

Can operating margin or net margin be higher than gross margin?

Under normal operating conditions, each margin is lower than the one above it because additional expenses are subtracted at each step. However, net margin can occasionally exceed operating margin or even gross margin during a period when a company records a large non-operating gain, such as selling a subsidiary or receiving a major tax refund. When this happens, investors should look at operating margin to judge the ongoing business.

What does a negative operating margin mean?

A negative operating margin means a company's operating expenses exceed its gross profit, resulting in an operating loss before interest and taxes. This often occurs in early-stage growth companies spending heavily on research and marketing to gain scale, or in mature businesses experiencing a severe drop in demand. If operating margin remains negative over many years, the business must rely on external debt or equity financing to fund its operations.

See it in the data