Gross Margin
Gross margin measures profitability after direct costs of production. The first and cleanest signal of business model quality.
Gross Margin Explained
Gross margin measures what percentage of revenue remains after subtracting the direct costs of producing goods or services. It's the first profitability metric on the income statement and arguably the most important one because it reveals the fundamental economics of the business model. High gross margins enable everything else: R&D investment, brand building, operating leverage, and ultimately strong returns on capital.
What it measures
The formula:
Gross Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100
Or equivalently:
Gross Margin = Gross Profit ÷ Revenue × 100
Cost of goods sold (COGS) includes direct production costs: raw materials, manufacturing labor, and direct overhead. It excludes operating expenses like marketing, R&D, and corporate overhead, which come out of gross profit later.
If $MSFT reports revenue of $245B and COGS of $74B, gross profit is $171B and gross margin is 70%. Microsoft keeps 70 cents of every revenue dollar before paying for sales, R&D, taxes, or anything else. That's a software business model, and it's why software trades at premium multiples.
By contrast, $WMT reports revenue around $650B with gross margin near 25%. Walmart keeps 25 cents per revenue dollar before operating expenses. That's grocery retail economics, and it's why the business needs massive volume to generate meaningful profit.
Gross margin is structural. It reflects the fundamental economics of what the business does, not how well it's currently being run. A retailer can't suddenly achieve 70% gross margins, no matter how well it's managed. A software company can't fall to 25% gross margins without something being deeply wrong.
How to use it in practice
Gross margin is the cleanest indicator of business model quality. The benchmarks vary enormously by sector:
- Software, payments, premium brands: 70-85%
- Pharma, semiconductors: 50-70%
- Consumer staples, healthcare: 35-50%
- Industrials, manufacturing: 25-40%
- Retail, distribution: 15-30%
- Commodities, raw materials: 5-20%
$NVDA gross margins expanded from around 60% to above 75% as data center revenue (high-margin) became a larger share of mix. This margin expansion was a leading indicator of the earnings explosion that followed.
$V operates at gross margins above 80%, reflecting the asset-light, high-pricing-power nature of payment networks. This structural quality is why Visa has compounded earnings reliably for decades.
Cross-sector comparisons of gross margin in isolation are largely meaningless. The metric only matters relative to industry peers and to the company's own history.
Common mistakes
Comparing gross margins across business models. $WMT at 25% gross margin isn't worse than $MSFT at 70%. They're different business models with different economics.
Ignoring the distinction between product and service revenue. Companies with multiple revenue streams may report blended gross margins that obscure the underlying mix. Read the segment disclosures.
Treating temporary margin expansion as structural. Pandemic-era pricing power, supply shortages, or one-time mix shifts can inflate gross margins temporarily. Look at multi-year trends before assuming new margin levels are sustainable.
ACCE perspective
Gross margin is a 20% weight component of our Quality Score. It's the highest-weighted single metric in the quality calculation because it reflects business model quality more cleanly than any other ratio.
We track gross margin trajectory in our financial models for every curated stock. Sustained margin expansion is one of the strongest leading indicators of multiple expansion and earnings outperformance in our coverage universe. The combination of expanding gross margins, accelerating revenue growth, and reasonable valuation is one of the highest-conviction setups we screen for.