What Are Profit Margins? Gross, Operating and Net Margin Explained
In short
A profit margin is the share of revenue a company keeps as profit, shown as a percentage. Gross margin is gross profit divided by revenue, operating margin is operating income divided by revenue, and net margin is net income divided by revenue. Together they show where along the income statement a company's money goes.
Screen stocks by profit marginOn this page
What is a profit margin?
A profit margin tells you how many cents of profit a company keeps from each dollar of sales. It is a percentage: a 25% margin means 25 cents of profit on every dollar of revenue.
There isn't just one margin. The income statement subtracts costs from revenue in steps, and each step has its own margin:
| Margin | Profit line | Costs subtracted from revenue |
|---|---|---|
| Gross profit margin | Gross profit | Cost of revenue (materials, manufacturing, delivering the service) |
| Operating profit margin | Operating income | Also research and development, sales, marketing and administration |
| Net profit margin | Net income | Also interest, other income and expenses, and taxes |
Two related margins also appear on bestshares.com:
- EBITDA margin: earnings before interest, taxes, depreciation and amortization, divided by revenue. It sits above operating margin because it adds back the non-cash cost of wearing out equipment and intangible assets.
- FCF margin: free cash flow divided by revenue. A cash-based check on the profit margins; see What is free cash flow?
Why profit margins matter
Revenue alone doesn't tell you whether a business is good. A company can double its sales and still lose money. Margins tell you how efficiently sales turn into profit, and they make companies of very different sizes comparable.
- Gross margin shows pricing power. A high gross margin means customers pay well above what the product costs to make, which usually points to a strong brand, patents or a product that is hard to copy.
- Operating margin shows how well the business is run. It reflects whether the company keeps overhead, research and marketing under control as it grows.
- Net margin shows what is left for shareholders after lenders and the tax authorities are paid.
- The gaps tell a story. A wide gap between gross and operating margin means heavy spending on research or marketing. A wide gap between operating and net margin often means large interest payments on debt.
Trends matter as much as levels. Rising margins can signal growing scale or pricing power; shrinking margins can signal competition, rising costs or a price war.
How to calculate profit margins
Each margin divides one line of the income statement by revenue:
Gross Profit Margin = Gross Profit ÷ Revenue × 100% (Gross Profit = Revenue − Cost of Revenue)
Operating Profit Margin = Operating Income ÷ Revenue × 100% (Operating Income = Gross Profit − Operating Expenses)
Net Profit Margin = Net Income ÷ Revenue × 100%
EBITDA Margin = EBITDA ÷ Revenue × 100%
How bestshares.com calculates them
- All margins use the same period for both numbers. On the statistics page and in the stock screener, that period is the trailing twelve months (TTM): the last four quarters added together.
- Operating margin uses reported operating income. Some data providers use EBIT (earnings before interest and taxes) instead, which can include non-operating items. The stock screener offers EBIT Margin as a separate filter.
- Net margin uses net income as reported on the income statement, after taxes and interest.
- On the Ratios tab, the same margins are shown per fiscal year, per quarter or TTM, along with Pretax Profit Margin and FCF Margin, so you can follow the trend.
Margins are not affected by the share price, so they only change when a company reports new results.
Worked example: Apple vs Costco
Apple's fiscal year 2026 ended on September 26, 2026. Costco's fiscal year 2026 ended on August 30, 2026. For both, the fiscal year is also the latest trailing twelve months.
Apple, step by step
| Apple, FY 2026 | Amount | Margin |
|---|---|---|
| Revenue | $478.83B | 100% |
| − Cost of revenue | $245.23B | |
| Gross profit | $233.60B | 48.79% |
| − Operating expenses | $75.54B | |
| Operating income | $158.06B | 33.01% |
| Income before tax | $159.24B | 33.26% |
| − Income tax | $27.06B | |
| Net income | $132.18B | 27.60% |
- Gross margin: $233.60B ÷ $478.83B = 48.79%. After paying for the iPhones, Macs and services it sold, Apple kept almost 49 cents of each sales dollar.
- Operating margin: $158.06B ÷ $478.83B = 33.01%. Research, marketing and administration took about 16 more cents.
- Net margin: $132.18B ÷ $478.83B = 27.60%. Income before tax was slightly above operating income because Apple earned more in other income, such as interest on its cash, than it paid. Taxes then took about 5.7 cents.
Apple's EBITDA Margin was 36.06% ($172.66B ÷ $478.83B) and its FCF Margin 28.41%, slightly above its net margin.
Costco: same arithmetic, very different business
| Costco, FY 2026 | Amount | Margin |
|---|---|---|
| Revenue | $303.15B | 100% |
| Gross profit | $38.88B | 12.82% |
| Operating income | $11.69B | 3.85% |
| Net income | $9.23B | 3.04% |
Costco keeps about 3 cents of profit per dollar of sales, roughly one ninth of Apple's net margin. That doesn't make it a weaker business. Costco deliberately sells at low markups and makes up for it with very high sales volume and membership fees. Margins only make sense next to the business model.
What is a good profit margin?
Margins vary widely by industry. As a rough guide for established, profitable companies:
| Business type | Gross margin | Net margin |
|---|---|---|
| Software, internet platforms | 60 to 80%+ | 20 to 40% |
| Consumer brands, pharmaceuticals | 50 to 70% | 15 to 25% |
| Hardware, industrial manufacturing | 25 to 50% | 5 to 15% |
| Retail, grocery, warehouse clubs | 10 to 30% | 1 to 5% |
These ranges are broad and there are many exceptions. Better questions than "is this margin high?" are:
- Is it higher or lower than close competitors? A retailer with a 5% net margin is strong; a software company with 5% is weak.
- Is it stable or rising over five or ten years? Steady margins through a recession suggest pricing power.
- Do the gaps between the margins make sense? A falling operating margin with a steady gross margin points to rising overhead, not weaker pricing.
Limitations and common mistakes
- Comparing across industries. Apple's 27.6% and Costco's 3.0% net margins are both normal for their businesses.
- One-time items distort net margin. Gains from selling a business, write-downs or tax changes can push net margin up or down for a single year. Operating margin is usually steadier.
- Accounting choices differ. Companies don't all classify costs the same way, so one company's cost of revenue may include expenses another reports as operating expenses. Compare gross margins of different companies with care.
- Margins say nothing about size. A small company with a 40% margin earns far less than a giant with 10%.
- High margins can attract competition. Exceptionally high margins can shrink when rivals enter the market.
- Margins are not cash. A company can report solid margins while spending heavily on equipment. Check the FCF Margin as well.
- Negative margins in growth companies. Young companies often lose money on purpose while they grow. A negative margin needs context, not an automatic verdict.
Where to find profit margins on bestshares.com
- Statistics page: the statistics page lists Gross Profit Margin, Operating Profit Margin, EBITDA Margin, Net Profit Margin, FCF Margin and Adj. FCF Margin under Margins & Profitability, all on a TTM basis. See the statistics guide.
- Ratios tab: the ratios show every margin by year, quarter or TTM, with charts to follow the trend. See How to read financial ratios.
- Income statement: the income statement shows the revenue, gross profit, operating income and net income lines the margins are built from.
- Stock screener: filter or sort by gross, operating, net or EBITDA margin in the stock screener.
- Glossary: short definitions of Gross Profit Margin, Operating Profit Margin and Net Profit Margin.
Frequently asked questions
What is a good profit margin?
It depends on the industry. Software and branded consumer companies often keep more than 20% of revenue as net income, while grocers and warehouse retailers may keep 1 to 5%. Compare a company with its own history and with close competitors rather than with a fixed number.
What is the difference between gross margin and net margin?
Gross margin only subtracts the direct cost of what was sold, such as materials and manufacturing. Net margin subtracts every cost, including research, marketing, administration, interest and taxes, so it is always the more complete measure of profitability.
Which profit margin is most important?
Operating margin is often the most useful for comparing companies in the same industry, because it covers all the costs of running the business but leaves out differences in debt and tax. Gross margin is best for judging pricing power, and net margin for what is left for shareholders.
Can a profit margin be negative?
Yes. A negative operating or net margin means the company lost money over the period. Gross margin is rarely negative, because that would mean the company sells its products for less than they cost to make.
Why can net margin be higher than operating margin?
Net income includes items outside the core business, such as interest income, gains on investments, the sale of a division or a one-time tax benefit. When those are large, net margin can exceed operating margin for a period, which is a reason to check what drove the result.
This guide is for educational purposes only and is not investment advice. See our data disclaimer.