Profit Margins Explained: Gross, Operating, and Net

12 min read

KEY POINTS

  • The three margins form a ladder: gross margin (after production costs), operating margin (after running the business), and net margin (after everything, including interest and taxes).
  • Each is revenue minus a widening set of costs, divided by revenue. The gaps between them tell you where the money goes — and where a business is strong or weak.
  • Margins only mean something within a sector. Software runs 25–40% net margins; grocers run 1–3%. Compare a company to its peers and to its own history, never across unrelated industries.

Profit margins measure what percentage of a company's revenue actually ends up as profit. They are among the most revealing metrics in fundamental analysis because they show not just whether a company makes money, but how efficiently it turns sales into profit at each stage of its operations. A business can grow revenue for years and still be a poor investment if its margins are thin or shrinking.

There are three margins every investor should understand: gross, operating, and net. They form a ladder, each one accounting for a wider set of costs than the last. This guide explains what each measures, how to calculate them, why they vary so dramatically by sector, and how the gaps between them expose the real story of a business. For the broader context, see our guide to reading stock fundamentals.

The Margin Ladder: Revenue to Profit

Every profit margin starts from the same place — revenue, the total money coming in from sales — and subtracts a progressively larger set of costs. Gross margin subtracts only the direct cost of producing the product. Operating margin additionally subtracts the cost of running the business. Net margin subtracts everything that remains, including interest and taxes.

Think of it as money flowing down a series of steps, with costs taken out at each one. What survives all the way to the bottom is net profit. By examining how much falls away at each step, you learn exactly where a company's money goes — and where its strengths and weaknesses lie.

Gross Margin

Gross margin measures what percentage of revenue remains after subtracting the direct costs of producing the goods or services sold — known as cost of goods sold (COGS). This includes raw materials, direct labor, and manufacturing costs, but not the broader costs of running the company.

Gross Margin

(Revenue − Cost of Goods Sold) ÷ Revenue × 100%

Gross margin reveals the fundamental economics of a product. A high gross margin means each unit sold contributes a lot toward covering the company's other costs and generating profit. Software has famously high gross margins — often 70 to 90 percent — because copying code costs almost nothing once it is built. A grocery retailer might have a gross margin of 25 percent because the goods it sells cost real money to acquire.

WHY GROSS MARGIN MATTERS

Gross margin sets the ceiling on profitability. A company with a 20% gross margin can never have a net margin above 20%, no matter how lean its operations. High gross margins give a business room to invest, weather downturns, and still turn a profit.

Operating Margin

Operating margin measures what percentage of revenue remains after subtracting all operating expenses — cost of goods sold plus the costs of actually running the business, such as research and development, sales and marketing, and general administration. It stops before interest and taxes.

Operating Margin

Operating Income (EBIT) ÷ Revenue × 100%

This is often considered the most informative single margin because it captures the profitability of the core business while ignoring how the company is financed and what tax rate it happens to pay. Two companies in the same industry with similar revenue but different operating margins are being run at very different levels of efficiency — the one with the higher margin has better cost control, stronger pricing power, or both.

Expanding operating margins over time are one of the strongest signals of a healthy, improving business. They often precede earnings growth, because more of each new dollar of revenue is dropping through to profit. Shrinking operating margins are an early warning — they can reveal rising costs or competitive pressure even while revenue still looks healthy.

Net Margin

Net margin, also called net profit margin, measures what percentage of revenue becomes bottom-line profit after every single cost has been deducted: operating expenses, interest on debt, taxes, and any one-time charges. It is the most comprehensive profitability ratio.

Net Margin

Net Income ÷ Revenue × 100%

Net margin is what ultimately flows to shareholders. A company with 500 million in revenue and 75 million in net income has a net margin of 15 percent — fifteen cents of every revenue dollar becomes profit available to owners. It feeds directly into earnings per share, the P/E ratio, and return on equity, making it one of the most consequential numbers in all of stock analysis.

What the Gaps Between Margins Reveal

The real analytical power comes not from any single margin but from the gaps between them. Each gap tells you where money is being consumed, and a change in any gap points to a specific cause.

The gap between gross and operating margin shows how much the company spends running the business — R&D, marketing, administration. A wide gap can mean heavy investment in growth (a young software company spending aggressively on sales) or simply a bloated cost structure. Watching this gap over time tells you whether operating leverage is improving as the company scales.

The gap between operating and net margin shows the impact of interest and taxes. When a company has a strong operating margin but a much weaker net margin, the usual culprit is heavy debt eating into profit through interest payments. A company with 18 percent operating margin but only 6 percent net margin is sending a signal worth investigating — it may be carrying a dangerous amount of leverage.

READING THE GAPS

Strong gross margin but weak operating margin → high overhead or heavy growth investment. Strong operating margin but weak net margin → too much debt or unusual tax/one-time items. Analyzing all three margins together tells you far more than any one alone.

A Worked Example

Consider a company with 1,000 million in revenue, 400 million in cost of goods sold, 250 million in operating expenses, 50 million in interest, and a 21 percent tax rate.

CALCULATION

Gross profit = 1,000 − 400 = 600 → Gross margin 60%. Operating income = 600 − 250 = 350 → Operating margin 35%. Pre-tax income = 350 − 50 = 300. Net income = 300 × (1 − 0.21) = 237 → Net margin 23.7%.

This company keeps 60 cents of each revenue dollar after production, 35 cents after running the business, and roughly 24 cents as final profit. The 25-point drop from gross to operating reflects substantial operating costs — possibly growth investment. The relatively small drop from operating to net shows manageable debt. This is the profile of a healthy, well-run business.

Why Margins Vary So Much by Sector

Margins are meaningless without sector context. Different industries have fundamentally different economics, and comparing margins across unrelated sectors leads to false conclusions.

Software and other asset-light businesses routinely post net margins of 25 to 40 percent because their products cost almost nothing to replicate once built. At the other extreme, grocery and discount retail operate on net margins of 1 to 3 percent — competition drives prices so close to cost that they survive on enormous volume rather than fat margins. Neither is inherently better; they are simply different business models.

This is why the only valid margin comparisons are within the same sector and against a company's own history. A 10 percent net margin is excellent for a grocer and alarming for a software company. A retailer improving its net margin from 2 percent to 3 percent has achieved a 50 percent improvement in profitability — a major accomplishment that the small absolute number hides.

How to Use Margins in Your Analysis

Start by tracking all three margins over several years rather than looking at a single period. The trend matters more than the level. Margins that are stable or expanding signal a business with durable advantages and good cost control. Margins that are steadily compressing signal trouble, even if the company is still profitable.

Then compare against direct competitors in the same sector. A company with consistently higher margins than its peers usually has some structural advantage — a stronger brand, proprietary technology, scale, or superior management. That advantage is exactly what makes a business worth owning over the long term.

Finally, combine margin analysis with the cash reality. High margins should translate into free cash flow; if they do not, something is consuming the profit before it reaches investors. And remember that strong margins describe a quality business, not a cheap stock — pair the analysis with a fair value estimate before deciding whether to buy.

Margins in the FPI Rating

Fair Price Index uses gross, operating, and net margin together — alongside free cash flow margin — as the profitability factor in the FPI Rating, the proprietary 0–10 quality score on every stock. Consistent or expanding margins lift the profitability score, contributing to a higher overall rating.

Because the rating measures quality rather than price, a high-margin company can still be overvalued. To judge whether such a stock is worth owning, combine its rating with the fair value estimate and a margin of safety. Explore fair values and FPI Ratings for over 37,000 stocks at fairpriceindex.com.

Frequently Asked Questions

What are the three types of profit margin?

Gross margin (revenue minus cost of goods sold, divided by revenue), operating margin (operating income divided by revenue), and net margin (net income divided by revenue). They form a ladder, each subtracting a wider set of costs than the last.

What is the difference between gross, operating, and net margin?

Gross margin subtracts only direct production costs. Operating margin additionally subtracts the costs of running the business (R&D, marketing, administration). Net margin subtracts everything, including interest and taxes. The gaps between them reveal where a company's money goes.

What is a good profit margin?

It depends entirely on the sector. Software companies routinely achieve 25-40% net margins, while grocery retailers operate on 1-3%. There is no universal good margin — compare within the same industry and against the company's own history, never across unrelated sectors.

Why is operating margin important?

Operating margin captures the profitability of the core business while ignoring financing and tax effects. It reveals how efficiently a company is run. Expanding operating margins often precede earnings growth, while shrinking ones are an early warning of rising costs or competitive pressure.

What does it mean when operating margin is strong but net margin is weak?

The gap between operating and net margin comes from interest and taxes. A strong operating margin paired with a weak net margin usually signals heavy debt, with interest payments eating into profit. It is a sign to investigate the company's leverage.

Why do profit margins vary so much by industry?

Different industries have fundamentally different economics. Asset-light businesses like software cost almost nothing to scale, supporting high margins. Competitive, high-volume businesses like grocery retail survive on thin margins. This is why margins must always be compared within the same sector.

This article is for educational purposes only and does not constitute investment advice.

GET ALERTS

Get notified when fair prices change

Download Fair Price Index and receive push notifications when valuations shift for stocks you follow.

Download on the App StoreGet it on Google Play

Free tier available · PRO from $1.67/month

RELATED ARTICLES