Case Study: Using Gross Profit Margin to Uncover Investment Opportunities
Gross profit margin is revenue minus cost of goods sold, divided by revenue. That single ratio, sitting at the very top of the income statement, often tells you more about a business's competitive position than any other number. When gross profit margin is high and stable, the company charges more than it costs to deliver its product, and customers keep paying. When gross profit margin is compressing year over year, something is wrong, whether pricing power is eroding, input costs are rising, or the product mix is shifting toward lower-value offerings.
This case study shows how to read gross profit margin as an investment signal, using four well-known stocks where the gross margin story led directly to an investment insight.
Key Takeaways
- Gross profit margin measures the spread between what a company charges and what it costs to make the product. It is the clearest available signal of pricing power.
- Apple's gross margin expanded from 38% in 2019 to approximately 46% in 2025, driven entirely by a mix shift toward high-margin services revenue. This expansion preceded the stock's multiple re-rating.
- Microsoft's gross margin of nearly 70% is structurally protected by software economics: once the code is written, distributing another copy costs almost nothing.
- Coca-Cola's gross margin above 58% reflects a brand premium that competitors cannot replicate. Customers pay more for the same calories because of brand trust built over 130 years.
- A gross margin trend over five years is more predictive than a single-year figure. Expansion suggests improving pricing power. Compression demands explanation before any investment decision.
- The gross margin floor for a value investor's quality screen should sit above 40% for consumer and technology businesses. Below that threshold, the business needs extraordinary capital efficiency to generate acceptable returns on equity.
Case Study 1: Apple's Gross Margin Expansion
Apple's P/E of 28.3 and ROIC of 45.1% look rich at face value. The gross margin trend explains why the premium has been justified.
In 2019, Apple's gross margin sat at 37.8%. Hardware dominated the revenue mix: iPhones, Macs, iPads. The product economics were commodity-adjacent. Hardware margins are inherently capped because physical components compete on price.
By fiscal year 2025, Apple's gross margin had expanded to approximately 46%. The driver was the services segment: App Store, Apple Music, iCloud, Apple TV+, and Apple Pay. Services carry gross margins above 70%, compared to hardware margins near 36%. Every dollar of services revenue that grows faster than hardware revenue lifts the blended gross margin.
This is what gross margin trend analysis finds: a business that looks expensive on trailing numbers but is structurally improving because of mix shift. Investors who read the gross margin expansion beginning in 2020 and 2021 understood the story before it was widely priced in.
| Year | Apple Revenue | Services Mix | Gross Margin |
|---|---|---|---|
| 2019 | $260B | 18% | 37.8% |
| 2021 | $366B | 19% | 41.8% |
| 2023 | $383B | 22% | 44.1% |
| 2025 | $391B | 26% | 46.0% |
The pattern is consistent. Services revenue as a share of total revenue expands each year, and gross margin rises in step with it.
Case Study 2: Microsoft's Structural Gross Margin Advantage
Microsoft's gross profit margin near 70% is not a recent development. It has been in the 60-70% range for over a decade because software economics are fundamentally different from hardware or physical product economics.
When Microsoft sells an enterprise Microsoft 365 license, the variable cost of delivering that license is approximately zero. The servers are already running. The code is already written. The marginal cost of one more user is negligible. This is what 70% gross margin means in practice: 70 cents of every revenue dollar falls directly to the gross profit line.
Microsoft's ROIC of 35.2% and P/E of 32.1 reflect the market's recognition of this structural advantage. The gross margin does not just produce high current profits; it finances continuous reinvestment in new products from operating cash flow without needing external capital.
The investment signal from gross margin here is stability and defensibility. When a business has held gross margins above 65% for a decade despite massive competitive pressure from Google, Amazon, and open-source alternatives, it demonstrates that the switching costs and product quality are durable moats, not temporary advantages.
Case Study 3: Coca-Cola's Brand Premium in Gross Margin
Coca-Cola's gross margin of approximately 58.7% is remarkable for a packaged goods company. The peer median for food and beverage companies sits around 35-40%. KO runs 18-23 points above that median, and it has done so for decades.
The gross margin premium reflects the price premium that Coca-Cola commands at retail. A can of Coke costs more than an equivalent private-label cola. Not by a small amount. By enough that, multiplied across billions of transactions annually, it adds 18 points of gross margin versus a commoditized competitor.
Coca-Cola's P/E of 23.7 and dividend yield of 3.0% with 62 consecutive years of dividend growth all trace back to this gross margin advantage. The business cannot sustain those capital returns unless it keeps charging more than it costs to make the product. Gross margin is the financial proof that the brand premium is real and that customers actually pay it year after year.
The investor insight: when a consumer company's gross margin is materially above its sector median for 10+ consecutive years, the brand is the moat. The gross margin is not a prediction; it is the measurement of the moat working.
Case Study 4: Johnson & Johnson's Gross Margin Mix Shift
Johnson & Johnson's gross margin near 68% comes from a business that combines pharmaceuticals (gross margins above 75%), medical devices (margins near 55%), and consumer health (margins near 50%). The overall blended figure reflects the pharmaceutical-heavy mix.
The investment signal to watch: in any period when J&J's pharmaceutical revenue grows faster than its device and consumer segments, gross margin expands. In periods when devices and consumer grow faster, gross margin compresses slightly. This predictable relationship means a gross margin trend analysis can substitute for parsing segment disclosure in real time.
JNJ's P/E of 15.4 and dividend yield of 3.1% make it one of the more value-oriented names in healthcare. The gross margin analysis shows why the quality is real: 68% gross margins are not achievable without pharmaceutical products with genuine clinical differentiation. Generic competitors cannot simply undercut a drug that doctors prescribe by name.
How to Build a Gross Profit Margin Screen
The ValueMarkers screener covers 120+ indicators across 73 global exchanges. A gross margin screen that filters for quality before valuation typically looks like this:
Step 1: Set gross margin above 40%. This eliminates most low-margin commodity businesses and focuses the screen on businesses with structural pricing power.
Step 2: Filter for gross margin trend: three-year average gross margin greater than current year. This flags businesses where margin is expanding, not stable. Expansion is the signal. Flat is neutral. Compression is a warning.
Step 3: Add operating margin above 15%. A business with 60% gross margin but 5% operating margin is spending all its pricing power on overhead, which is a management problem, not a competitive advantage.
Step 4: Cross-check with ROIC above 15%. High gross margin with low ROIC signals that the business is capital-intensive enough to consume its margin advantage before returns reach shareholders.
The four-filter combination typically produces a short list of 30-50 businesses across global markets worth deeper fundamental analysis.
Gross Profit Margin Benchmarks by Sector
Context is the entire point of a benchmark. These are approximate sector medians based on aggregate income statement data.
| Sector | Gross Margin Range | What Drives the Range |
|---|---|---|
| Enterprise Software | 65-75% | Near-zero marginal distribution cost |
| Pharmaceuticals | 60-75% | Patent-protected pricing, high R&D capitalized separately |
| Consumer Brands | 50-65% | Brand premium over private-label cost |
| Medical Devices | 50-60% | Proprietary manufacturing + regulatory barriers |
| Financial Services | 40-55% | Revenue after credit costs, but capital intensive |
| Industrials | 28-40% | Physical manufacturing, materials-dependent |
| Retail | 25-40% | High COGS from sourcing and logistics |
| Oil and Gas | 20-35% | Commodity pricing, extraction costs variable |
When screening internationally across our 73 exchanges, apply the sector median for each market separately. Gross margins in emerging market consumer companies often run below Western peers due to lower average selling prices, even when the competitive position is equally strong.
What Gross Profit Margin Does Not Tell You
Gross margin isolates one layer of profitability. Three things can make a strong gross margin misleading.
Overhead bloat. A company with 65% gross margin that spends 55% of revenue on R&D and sales ends up with a 10% operating margin. That is still a functional business, but the gross margin creates an illusion of wealth that the operating structure does not deliver. Always look at operating margin alongside gross margin.
Customer concentration. A business with a single customer representing 40% of revenue may have strong gross margins today. If that customer renegotiates pricing, gross margin collapses. Revenue concentration risk is not visible in the gross margin figure itself.
Warranty and returns. Some industries book COGS on sales but adjust later for returns and warranty claims. Reported gross margin can overstate true economics by several points in consumer electronics, automotive, and construction. Free cash flow margin corrects for this.
Further reading: SEC EDGAR · FRED Economic Data
Why gross margin analysis Matters
This section anchors the discussion on gross margin analysis. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply gross margin analysis in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.
Key inputs for gross margin analysis
See the main discussion of gross margin analysis in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using gross margin analysis alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.
Sector benchmarks for gross margin analysis
See the main discussion of gross margin analysis in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using gross margin analysis alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.
Related ValueMarkers Resources
- Roe — Glossary entry for Roe
- Operating Margin — Operating Margin is the metric used to how efficiently a company converts capital into earnings
- Net Margin — Glossary entry for Net Margin
- Profit Margin Formula — related ValueMarkers analysis
- Profit Margin — related ValueMarkers analysis
- Mega Backdoor Roth — related ValueMarkers analysis
Frequently Asked Questions
what is gross profit
Gross profit is revenue minus cost of goods sold. It is the first profit figure to appear on an income statement, sitting above operating expenses, interest, and taxes. Apple's gross profit runs near $180 billion annually. Gross profit divided by revenue produces the gross profit margin percentage, which measures how much of each revenue dollar the company retains after direct production costs.
what is profit margin
Profit margin is the percentage of revenue remaining after subtracting a defined set of costs. Gross margin subtracts only direct costs. Operating margin subtracts direct and operating costs. Net margin subtracts everything including interest and taxes. Each version answers a different question about where a business makes or loses money. Most investors start with gross margin and work down the income statement from there.
what is net margin
Net margin is net income divided by revenue. It is the fully loaded profitability figure that captures every cost a business pays, including the financing cost of its debt and its income tax obligations. Coca-Cola's net margin near 22.4% means the company keeps 22 cents from every dollar of revenue as shareholder profit after all costs are settled.
what is ebitda margin
EBITDA margin is EBITDA divided by revenue. EBITDA adds depreciation and amortization back to operating income, making it useful for comparing capital-intensive businesses where large non-cash charges make reported earnings artificially low. For software and pharmaceutical companies with minimal physical assets, EBITDA margin and operating margin are very close. For industrials, railroads, and utilities, the gap can be 10 or more percentage points.
how to calculate net profit margin
Net profit margin equals net income divided by total revenue, multiplied by 100. Both figures come from the annual income statement. If Johnson & Johnson reports $22 billion of net income on $88 billion of revenue, the net profit margin is 25%. Always calculate it for the past five fiscal years before drawing conclusions, since single-year results can be distorted by one-time items.
what is net profit margin
Net profit margin is the ratio of net income to revenue, expressed as a percentage. It represents what the company actually keeps for shareholders after paying every cost: suppliers, employees, lenders, and tax authorities. Businesses with net margins consistently above 20% for a decade have demonstrated durable competitive advantages, because most industries cannot sustain that level of profitability without structural barriers to competition.
Screen for businesses with gross margins above 40%, expanding margin trends, and ROIC above 15% using our screener. The combination of gross margin quality and capital returns narrows a universe of thousands of global stocks down to the names worth spending time on.
Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.
Ready to find your next value investment?
ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.
Related tools: DCF Calculator · Methodology · Compare ValueMarkers
Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.