What Good Margins Look Like in Each Sector
Profit margins are the single most misinterpreted metric in stock analysis. A 5% net margin might signal a struggling company in software or a highly profitable company in grocery retail. A 25% operating margin might indicate mediocrity in payments processing or excellence in industrial manufacturing. Without sector context, margins are meaningless numbers. With sector context, they reveal which companies have pricing power, operational efficiency, and sustainable competitive advantages.
Margins vary across sectors because business models, cost structures, competitive intensity, and capital requirements differ fundamentally. A software company that sells digital products with zero marginal cost will always have higher gross margins than a retailer that buys and resells physical goods. This is not a reflection of management quality or competitive strength. It is a reflection of the business model. The analytical value of margins comes from comparing companies to their sector peers, not to the market at large.
Gross Margin: The Business Model Fingerprint
Gross margin, defined as (revenue minus cost of goods sold) divided by revenue, reveals the fundamental economics of the business model. It is the starting point for all margin analysis because it shows how much of each revenue dollar remains after the direct costs of producing the product or service.
Technology leads all sectors with median gross margins of 60-70%. Software companies occupy the top end: Microsoft (70%), Adobe (88%), Salesforce (75%). Their products are digital, and the marginal cost of delivering an additional unit is near zero. Semiconductor companies have gross margins of 50-65%, reflecting the capital-intensive manufacturing process even for fabless designers (who pay foundry manufacturing fees). Hardware companies have lower gross margins (35-50%) because of component and assembly costs.
Healthcare gross margins range from 50-75% for pharmaceutical companies. AbbVie's gross margin exceeds 70% because drug manufacturing costs are tiny relative to selling prices. Biotech companies have similar or higher gross margins once they have an approved drug on the market. Medical device companies run at 55-70%. Managed care companies have gross margins of 15-20% because the "cost of goods sold" is medical claims, which consume 80-85% of premium revenue.
Communication services gross margins vary by subsector. Meta operates at 81% gross margin. Alphabet at 56% (lower because of hardware and cloud). Telecom carriers run at 55-65%. Streaming companies vary: Netflix at approximately 45% as content costs consume a large share of revenue.
Consumer staples gross margins typically range from 35-55%. Branded consumer products companies sit at the higher end: Coca-Cola (60%), Procter & Gamble (51%), Colgate-Palmolive (59%). Grocery retailers and distributors sit at the lower end: Costco (13%), Kroger (22%). The difference reflects pricing power. Coca-Cola's brand allows it to charge far more than the cost of syrup and water. Costco competes on price and operates on thin margins by design.
Financials do not report gross margins in the traditional sense because they do not have "cost of goods sold." The closest equivalent for banks is net interest income divided by total interest income, and for insurers it is the loss ratio (claims divided by premiums). These sector-specific metrics are addressed in dedicated financial sector analysis.
Energy gross margins swing with commodity prices but typically range from 30-50% for integrated companies during normal conditions. Refiners operate at 10-25% gross margins. Upstream producers can have gross margins above 60% when oil prices are high and production costs are controlled.
Industrials gross margins range from 30-45%. Aerospace companies (RTX, Honeywell) tend toward the higher end. Construction equipment companies (Caterpillar) tend toward the middle. Transportation companies (railroads, trucking) report gross margins of 35-45%.
Materials gross margins vary widely. Specialty chemical companies (Linde, Ecolab) operate at 40-50%. Commodity chemical companies (Dow, LyondellBasell) operate at 15-25%, depending on the spread between input costs and selling prices. Mining companies range from 30-55% depending on commodity prices.
Utilities operate at gross margins of 45-65%, though this figure is less informative than for other sectors because the "cost of goods" (fuel, purchased power) is passed through to ratepayers and the real profitability driver is the regulated return on rate base.
Real estate gross margins (NOI margin for REITs) typically range from 60-75%. REITs have high gross margins because the "cost" of providing space (property taxes, insurance, maintenance) is relatively low compared to rental income. Data center REITs and cell tower REITs have particularly high margins.
Consumer discretionary gross margins are the most dispersed of any sector: from 13% (Costco) to 65% (luxury goods). Restaurants run at 30-35% (fast food) to 55-65% (fast casual and casual dining, where food costs are 28-35% of revenue). Auto manufacturers run at 15-25%. Home improvement retailers (Home Depot, Lowe's) run at 33-34%.
Operating Margin: Where Management Quality Shows
Operating margin (operating income divided by revenue) captures not just the business model (gross margin) but also management's ability to control selling, general, and administrative (SG&A) expenses, research and development costs, and other operating costs. It is the most useful single margin metric for comparing companies within a sector because it reflects both the economics of the business and the efficiency of operations.
What constitutes a "good" operating margin varies dramatically by sector:
Technology: Median operating margin of 20-25% for the sector, but the best companies far exceed this. Microsoft (43%), Apple (31%), Nvidia (55%), and Visa (67%) demonstrate what is possible at scale with strong competitive positions. An operating margin below 15% in technology suggests either heavy growth investment or a competitively disadvantaged business.
Healthcare: Median operating margin of 15-20%. Eli Lilly (35%), AbbVie (30%), and Intuitive Surgical (29%) are at the high end. Hospitals (HCA Healthcare, 16%) and distributors (McKesson, 2%) operate at much lower margins. The sector's wide range reflects the diversity of business models.
Communication services: Median of 15-20%, skewed by the high margins of Alphabet (28%) and Meta (35%). Telecom carriers earn 15-20% operating margins. Traditional media companies earn 10-15%.
Consumer staples: Median operating margin of 15-18%. Philip Morris International (38%) is an outlier due to the addictive nature of tobacco. Procter & Gamble (23%), Coca-Cola (30%), and Colgate-Palmolive (21%) represent top-tier performance. Grocery retailers earn 3-5% operating margins, which is considered excellent for the subsector.
Financials: Banks earn 30-40% operating margins when credit quality is good (JPMorgan, 37%). Insurance companies earn 8-15%. Asset managers earn 25-35%. Payment networks (Visa, 67%; Mastercard, 57%) have the highest operating margins in the entire sector.
Industrials: Median operating margin of 13-17%. Danaher (27%), Illinois Tool Works (26%), and Honeywell (21%) demonstrate best-in-class operational efficiency. Airlines earn 8-15% operating margins during good years and lose money during bad years.
Energy: Operating margins range from 10-30% depending on commodity prices. At $80 oil, ExxonMobil earns roughly 15-18% operating margins. Midstream companies earn 25-40% operating margins on their fee-based businesses.
Materials: Median of 12-18%. Linde (25%), Air Products (24%), and Sherwin-Williams (16%) lead. Commodity chemical and mining companies have more volatile margins.
Real estate: REIT operating margins (measured as NOI/revenue) typically range from 55-75%. The relevance of operating margin for REITs is limited because depreciation, the largest operating expense, does not represent a real cash cost for well-maintained properties.
Utilities: Operating margins of 20-30%. The regulated return framework ensures a baseline level of profitability but also caps the upside.
Consumer discretionary: Median of 8-12%. Luxury brands (LVMH, 27%) and fast food (McDonald's, 45%, due to its franchise model) are at the high end. Auto manufacturers (5-8%) and department stores (5-8%) are at the low end.
Net Margin: The Bottom Line With Caveats
Net profit margin (net income divided by revenue) reflects the impact of interest expense, taxes, and non-operating items on profitability. It is the most commonly cited margin metric but also the most distorted by capital structure decisions, tax strategies, and one-time items.
Companies with high debt loads will have lower net margins than similarly operated companies with no debt, even if their businesses are identical. This makes net margin less useful for comparing companies with different capital structures. A software company with 30% net margins and no debt is not necessarily more profitable than one with 20% net margins and significant debt, because the second company's shareholders may be earning a higher return on their equity.
Technology companies lead with median net margins of 20-25%. Consumer staples earn 10-15%. Healthcare earns 12-18%. Utilities earn 12-16%. Industrials earn 9-13%. Energy swings from negative during downturns to 15-25% during commodity booms. Financials are difficult to compare on net margin because their revenue recognition differs fundamentally from other sectors.
Margin Trends Matter More Than Levels
A company with a 12% operating margin that has been expanding by 50-100 basis points per year is often a better investment than one with a 20% margin that has been flat or declining. Margin expansion signals improving competitive position, pricing power, operational efficiency, or positive operating leverage from revenue growth. Margin compression signals the opposite.
Danaher expanded its operating margin from 16% in 2015 to 27% by 2024, primarily through the application of its business system and portfolio optimization (divesting lower-margin businesses, acquiring higher-margin ones). This 1,100 basis points of margin expansion, combined with revenue growth, produced a stock price increase of approximately 400%.
Margin trend analysis should cover at least 5 years to smooth out cyclical effects and identify the underlying direction. A single year of margin expansion or compression may reflect one-time items, commodity price movements, or unusual revenue mix rather than a sustainable trend.
Margin Expansion Stories and What Drives Them
The most rewarding investments in the stock market often come from companies undergoing sustainable margin expansion. When margins expand while revenue grows, the effect on earnings is multiplicative: a 10% revenue increase combined with a 200 basis point margin expansion can produce a 25-30% earnings increase. This operating leverage is the mechanism behind many multi-bagger stock returns.
Several forces drive margin expansion. Pricing power allows companies to raise prices faster than costs increase. Revenue mix shift toward higher-margin products or services improves the blended margin. Operational efficiency programs (lean manufacturing, automation, facility rationalization) reduce costs. Scale economies spread fixed costs across a larger revenue base. Each of these drivers has a different durability profile, and the analyst's job is to determine whether the margin expansion is sustainable or temporary.
Meta Platforms' margin trajectory from 2022 to 2024 illustrates the power of margin expansion. Operating margins compressed from 36% in 2021 to 25% in 2022 as the company invested heavily in metaverse initiatives while advertising revenue slowed. CEO Mark Zuckerberg then declared 2023 the "Year of Efficiency," cutting 20,000 employees and refocusing on core advertising products. Operating margins expanded from 25% to 35% in 2023 and exceeded 40% in 2024. Revenue grew simultaneously, driven by AI-enhanced ad targeting and Reels monetization. The combination of revenue growth and margin expansion produced earnings per share growth of over 100% from 2022 to 2024, and the stock price rose roughly 4x.
Danaher's 20-year margin expansion, driven by the Danaher Business System applied to each acquisition, represents a slower but equally effective model. Each acquired company's margins improve by 300-500 basis points within the first 2-3 years of ownership as DBS tools are implemented. Across the entire portfolio, this sustained margin improvement has produced 10%+ annual earnings growth without requiring above-average revenue growth.
The opposite story, margin compression, is equally informative. When margins decline without a corresponding increase in revenue growth (which might justify the investment), it signals competitive pressure, cost inflation, or managerial weakness. Intel's gross margin compressed from 62% in 2019 to below 45% by 2024 as the company fell behind TSMC in manufacturing technology and lost market share in data center processors. The margin compression, combined with revenue stagnation, produced a severe stock price decline.
The Margin of Safety in Margins
A company with consistently high margins relative to its sector peers has a built-in margin of safety. If the competitive environment temporarily deteriorates, if a recession reduces volumes, or if costs spike unexpectedly, the high-margin company can absorb the impact and still remain profitable. A low-margin company facing the same pressures may fall into losses.
Consider two retailers: Costco with a 3.5% operating margin and a hypothetical competitor with a 1.5% operating margin. A 2 percentage point increase in costs (from supply chain disruption, wage inflation, or theft) reduces Costco's margin to 1.5%, still profitable. The same cost increase pushes the competitor into a loss. This margin buffer is a form of financial resilience that shows up in lower stock price volatility, better access to credit, and greater strategic flexibility.
The most productive use of margin analysis is sector-relative. A company with the highest operating margin in its sector, maintained over multiple years, almost certainly has a competitive advantage worth understanding. A company with the lowest margin in its sector, even if that margin would be attractive in another sector, is either poorly managed or competitively disadvantaged. The sector provides the benchmark. The margin tells the story.
Put these principles into practice. Track fundamentals, build portfolios, and analyze stocks with AI-powered insights.
Start Free on GridOasis →