What Is Gross Margin and Why Does It Matter?

Written by Jim Norris · NorrisAI AlphaLens · Updated August 2026

Quick answer: Gross margin is the percentage of revenue remaining after subtracting the direct costs of producing goods or delivering services (cost of goods sold, or COGS). A company with 70% gross margin keeps $70 of every $100 in revenue to cover operating expenses and generate profit. Gross margin is one of the most revealing indicators of competitive strength — high, stable, or expanding gross margins typically signal pricing power or structural cost advantages.

How gross margin is calculated

Gross Profit = Revenue − Cost of Goods Sold (COGS)

Gross Margin % = (Gross Profit ÷ Revenue) × 100

Example: a company with $1 billion in revenue and $300 million in COGS has gross profit of $700 million and a gross margin of 70%.

COGS includes direct production costs — raw materials, manufacturing labor, shipping for physical products; hosting, payment processing, and customer support for software businesses. It does not include sales, marketing, research, or administrative expenses, which appear further down the income statement.

What gross margin reveals about a business

Pricing power. A company that can charge significantly more than its production costs — and sustain that premium — has something competitors can't easily replicate. Software companies often achieve 70–80%+ gross margins because the marginal cost of delivering another unit is near zero. Commodity manufacturers often earn 10–20% because they can't differentiate.

Competitive moat. Gross margins tend to compress in competitive markets as rivals enter and force price concessions. Sustained high gross margins over many years indicate durable competitive advantage.

Business model quality. Higher gross margins give a company more cushion to invest in growth, absorb cost increases, and weather economic downturns. A 15% gross margin business has little room for error; a 70% gross margin business can absorb significant headwinds while remaining profitable.

Gross margin by sector

Gross margins vary enormously by industry — comparison only makes sense within the same sector:

Gross margin trends matter more than levels

The direction of gross margin over time is often more informative than the absolute level. Expanding gross margins suggest: improving pricing power, increasing scale leverage on fixed production costs, or favorable shift in product mix toward higher-value offerings. Compressing gross margins suggest: competitive pressure forcing price concessions, rising input costs the company can't pass on, or product mix shift toward lower-margin offerings.

Warren Buffett has described a company's ability to raise prices without losing customers as the single most important test of a durable business. Gross margin is the financial expression of that pricing power — and its trend over time is the scorecard of whether that power is strengthening or eroding.

Professor Aswath Damodaran of NYU Stern Business School uses gross margin as one of his key inputs in sector analysis — it reflects the structural economics of the business model before operating leverage and capital structure decisions obscure the picture. A company with superior gross margins has a structural advantage that compounds into superior profitability over time. — Investment Valuation, Wiley

Gross margin vs operating margin vs net margin

Each margin level tells a different story:

Gross margin: how efficiently the company produces its product — reflects business model quality and competitive position.

Operating margin: gross margin minus operating expenses (sales, marketing, R&D, admin) — reflects how efficiently the company runs its operations overall.

Net margin: operating margin minus interest and taxes — reflects the bottom-line profitability after all costs including financing.

A company can have a strong gross margin but poor operating margin if it's investing heavily in sales and R&D. A company with a strong operating margin can have poor net margin if it carries significant debt. Looking at all three together gives the most complete picture.

AlphaLens does this analysis in seconds

15 structured research frameworks. Any US stock. Live SEC filings, real-time news, powered by Advanced AI.

Try AlphaLens Free → Use code REDDIT-FREE-TRIAL · No card required · Then $39/mo or $299/yr

How AlphaLens analyzes gross margins

The Full Company Breakdown establishes the business model context that makes gross margin meaningful. The Bull vs Bear + Moat Analysis specifically evaluates pricing power — the primary driver of gross margin sustainability. The Earnings Quality Analyzer tracks gross margin trends over multiple quarters to identify whether compression or expansion is structural or temporary. The Sector Comparison benchmarks gross margins against the right peer group.

Where to go deeper

For a detailed walkthrough of each research framework, see the complete guide to all 15 AlphaLens frameworks.

For definitions of investing terms, see the AlphaLens investing glossary.

Want the next guide when it's published?

No spam — just new guides, occasionally.

Start here next: pick a research framework · check the math with a free calculator · start a free 7-day trial.