FREE BEGINNER’S GUIDE

New to Stock Investing?
Start Here.

Before buying individual stocks, learn the basics: what stocks are, how the market works, and why a fundamentals-first mindset matters.

Download the Beginner’s Guide to Stock Investing and start building your foundation with clear, practical education.

Gross Margin

Gross margin is a profitability metric that shows the percentage of revenue left after subtracting the direct costs of producing goods or delivering services.

In fundamental investing, gross margin helps investors understand how efficiently a company turns revenue into gross profit before operating expenses, interest, taxes, and other costs. It is one of the first clues investors use to evaluate pricing power, cost structure, business quality, and long-term profitability.

Why Gross Margin Matters

Gross margin matters because it shows how much money a company keeps from each dollar of sales after paying its direct production costs.

A company with a high gross margin keeps more revenue after cost of goods sold. A company with a low gross margin keeps less revenue and may have less room to cover operating expenses, research and development, marketing, interest, taxes, and reinvestment.

Fundamental investors use gross margin to answer:

“How much profit does this company generate before overhead and other operating costs?”

For example, a company with a 60% gross margin keeps $0.60 of gross profit for every $1.00 of revenue after direct costs.

Gross Margin Formula

The gross margin formula is:

Gross Margin = Gross Profit ÷ Revenue

Gross margin is usually expressed as a percentage:

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

Gross profit is calculated as:

Gross Profit = Revenue - Cost of Goods Sold

Where:

Revenue = Total sales generated by the company

Cost of Goods Sold = Direct costs required to produce goods or deliver services

Gross Profit = Revenue remaining after direct costs

Cost of goods sold may also be called cost of revenue, especially for service, software, or platform businesses.

Example of Gross Margin

Suppose a company generates $1 billion in revenue.

Its cost of goods sold is $400 million.

First calculate gross profit:

Gross Profit = Revenue - Cost of Goods Sold
Gross Profit = $1 billion - $400 million
Gross Profit = $600 million

Then calculate gross margin:

Gross Margin = $600 million ÷ $1 billion
Gross Margin = 60%

This means the company keeps 60 cents of gross profit for every $1 of revenue after direct costs.

Gross Margin in Fundamental Investing

In fundamental investing, gross margin helps investors evaluate the economics of a business model.

Investors may use gross margin to analyze:

  • Pricing power
  • Cost structure
  • Product profitability
  • Competitive advantage
  • Revenue quality
  • Operating leverage
  • Margin expansion
  • Industry position
  • Inflation sensitivity
  • Supply chain pressure
  • Business model durability
  • Long-term earnings power

Gross margin is especially useful when comparing companies in the same industry or with similar business models.

Gross Margin vs. Gross Profit

Gross profit is the dollar amount of profit left after cost of goods sold.

Gross margin is gross profit expressed as a percentage of revenue.

Gross Profit = Revenue - Cost of Goods Sold

Gross Margin = Gross Profit ÷ Revenue

Example:

Revenue: $100 million
Cost of Goods Sold: $40 million
Gross Profit: $60 million
Gross Margin: 60%

Gross profit shows the dollar amount. Gross margin shows efficiency.

Gross Margin vs. Operating Margin

Gross margin measures profitability after direct production or service delivery costs.

Operating margin measures profitability after operating expenses such as sales, marketing, research and development, and general administrative expenses.

Gross Margin = Gross Profit ÷ Revenue

Operating Margin = Operating Income ÷ Revenue
MetricWhat It ShowsCosts Included
Gross MarginProfitability after direct costsCost of goods sold or cost of revenue
Operating MarginProfitability after operating expensesDirect costs plus operating expenses

A company can have a high gross margin but low operating margin if it spends heavily on sales, marketing, research, or administration.

Gross Margin vs. Net Profit Margin

Gross margin shows profitability after direct costs.

Net profit margin shows profitability after all expenses, including operating expenses, interest, taxes, and other items.

Gross Margin = Gross Profit ÷ Revenue

Net Profit Margin = Net Income ÷ Revenue

Gross margin is near the top of the income statement. Net profit margin is near the bottom.

Gross margin shows the profitability of the company’s products or services. Net profit margin shows how much revenue becomes profit for shareholders after all costs.

Gross Margin vs. Contribution Margin

Gross margin measures profitability after cost of goods sold.

Contribution margin measures how much revenue remains after variable costs.

Gross Margin = Revenue - Cost of Goods Sold

Contribution Margin = Revenue - Variable Costs

Contribution margin is often used in unit economics, pricing analysis, and internal decision-making.

Gross margin is more commonly reported in financial statements and used by public-market investors.

High Gross Margin vs. Low Gross Margin

A high gross margin usually means the company keeps a large percentage of revenue after direct costs. This may reflect pricing power, brand strength, software-like economics, low production costs, or differentiated products.

A low gross margin usually means the company keeps a smaller percentage of revenue after direct costs. This may reflect commodity products, intense competition, high input costs, resale models, or low pricing power.

Gross Margin LevelPossible Interpretation
High Gross MarginPricing power, differentiated products, strong business model, or low direct costs.
Low Gross MarginCommodity-like products, high input costs, weak pricing power, or competitive pressure.
Rising Gross MarginImproving pricing, lower costs, better product mix, or operating improvement.
Falling Gross MarginCost pressure, discounting, weak pricing, competition, or unfavorable product mix.

A high gross margin is usually attractive, but it does not guarantee strong net income or free cash flow.

What Is a Good Gross Margin?

There is no universal good gross margin.

A good gross margin depends on the industry, business model, product mix, scale, pricing power, and cost structure.

Software companies often have higher gross margins because the cost of delivering an additional digital product or subscription can be low. Retailers and distributors often have lower gross margins because they resell physical goods and operate in competitive markets.

The better question is:

“Is the company’s gross margin strong relative to its industry, competitors, and long-term business model?”

Gross Margin and Pricing Power

Gross margin can reveal pricing power.

A company with strong pricing power may be able to raise prices without losing many customers. This can protect gross margin when costs rise.

Pricing power may come from:

  • Brand strength
  • Product differentiation
  • Switching costs
  • Network effects
  • Patents
  • Scarcity
  • Customer loyalty
  • Mission-critical products
  • Strong distribution
  • Lack of substitutes

A company with weak pricing power may see gross margin decline when input costs rise or competitors discount aggressively.

Gross Margin and Cost of Goods Sold

Cost of goods sold includes the direct costs tied to producing goods or delivering services.

Depending on the company, cost of goods sold may include:

  • Raw materials
  • Direct labor
  • Manufacturing costs
  • Freight and shipping costs
  • Hosting costs
  • Payment processing costs
  • Product support costs
  • Inventory costs
  • Packaging
  • Supplier costs

Investors should understand what a company includes in cost of goods sold because accounting classification can vary by industry.

Gross Margin and Revenue Quality

Gross margin helps investors evaluate revenue quality.

High-margin revenue may be more valuable than low-margin revenue because more of each sales dollar remains after direct costs.

For example, two companies may each generate $1 billion in revenue, but one may have much stronger gross profit.

CompanyRevenueGross MarginGross Profit
Company A$1 billion70%$700 million
Company B$1 billion20%$200 million

Company A’s revenue may be more valuable because it produces more gross profit from the same revenue base.

Gross Margin and Operating Leverage

Gross margin can affect operating leverage.

A company with high gross margin may generate significant incremental profit as revenue grows, especially if operating expenses grow more slowly than revenue.

For example:

High Gross Margin + Controlled Operating Expenses = Potential Operating Leverage

This is why investors often pay close attention to gross margin trends in software, platform, and subscription businesses.

However, high gross margin does not automatically lead to operating leverage if the company must spend heavily on sales, marketing, or research to grow.

Gross Margin and Inflation

Gross margin can show how inflation affects a business.

If input costs rise and the company cannot raise prices, gross margin may decline.

If the company can pass higher costs to customers, gross margin may remain stable or improve.

Investors may review gross margin during inflationary periods to understand:

  • Supplier cost pressure
  • Pricing power
  • Customer sensitivity
  • Contract structure
  • Inventory accounting
  • Product mix
  • Management execution

Strong businesses often defend gross margin better during cost inflation.

Gross Margin and Competitive Advantage

Gross margin can provide clues about competitive advantage.

A company with consistently high gross margins may have a differentiated product, strong brand, proprietary technology, scale advantage, or customer loyalty.

A company with declining gross margins may be facing competition, commoditization, discounting, or rising costs.

However, gross margin alone does not prove a competitive advantage. Investors should also examine return on invested capital (ROIC), free cash flow, market share, customer retention, and long-term margin stability.

Gross Margin and Business Models

Gross margin varies widely by business model.

Examples:

Business ModelTypical Gross Margin Pattern
SoftwareOften high gross margins because delivery costs can be low.
RetailOften lower gross margins because products are bought and resold.
ManufacturingDepends on scale, input costs, labor, and product differentiation.
MarketplaceCan have high gross margins if the company does not own inventory.
RestaurantsOften pressured by food, labor, rent, and occupancy costs.
SemiconductorsCan vary based on product mix, scale, and manufacturing model.
AirlinesOften lower margins because of fuel, labor, and capital intensity.

Investors should compare gross margins within the same industry, not across unrelated business models.

Gross Margin and Intrinsic Value

Gross margin can affect intrinsic value because it influences future profitability and free cash flow.

A company with durable high gross margins may have more room to cover operating expenses, reinvest in growth, and generate free cash flow.

A company with low or declining gross margins may need higher revenue growth just to produce the same amount of profit.

Gross margin is not intrinsic value by itself. Investors should use it alongside:

  • Operating Margin
  • Net Profit Margin
  • Free Cash Flow
  • Revenue Growth
  • Return on Invested Capital (ROIC)
  • Competitive Advantage
  • Economic Moat
  • Pricing Power
  • Discounted Cash Flow (DCF)
  • Margin of Safety

Limitations of Gross Margin

Gross margin is useful, but it has limitations.

Common limitations include:

  • It does not include operating expenses.
  • It does not include interest or taxes.
  • It does not show free cash flow.
  • It can vary widely by industry.
  • It can be affected by accounting classifications.
  • It may not capture customer acquisition costs.
  • It may not show capital intensity.
  • It can be temporarily affected by inflation or supply chain issues.
  • It does not directly estimate intrinsic value.
  • It can look strong even when the company is unprofitable.

Gross margin should be used as part of a broader profitability and business quality analysis.

Common Gross Margin Mistakes

Common mistakes include:

  • Assuming a high gross margin always means a great business
  • Assuming a low gross margin always means a bad business
  • Comparing companies from unrelated industries
  • Ignoring operating expenses
  • Ignoring free cash flow
  • Ignoring customer acquisition costs
  • Ignoring changes in product mix
  • Ignoring cost inflation
  • Ignoring accounting differences
  • Treating gross margin as net profit margin
  • Ignoring capital intensity

Gross margin is a starting point for business model analysis, not a full valuation method.

Gross Margin in Business Quality Analysis

Gross margin becomes more useful when combined with business quality analysis.

A company may have attractive gross margins if it has:

  • Strong pricing power
  • Differentiated products
  • High customer loyalty
  • Low direct costs
  • Recurring revenue
  • Strong brand value
  • Scalable delivery model
  • Durable competitive advantage
  • Stable or improving product mix
  • Strong return on invested capital (ROIC)

A company may have weaker gross margin quality if it has:

  • Commodity products
  • Heavy discounting
  • High supplier dependence
  • Weak pricing power
  • Rising input costs
  • Poor inventory control
  • Unfavorable product mix
  • Intense competition
  • Limited differentiation

A strong gross margin trend can support higher earnings power and intrinsic value, especially when the company also converts gross profit into operating income and free cash flow.

Related Terms

FAQ

Ready to Go Beyond Definitions?

Learning investing terminology is the first step.

See how these concepts work together in our free Fundamental Investing Foundations course preview.

Continue Your Learning

Want to build a stronger foundation? Start with our guide to fundamental investing, then explore our courses on Understanding Financial Statements and Stock Valuation.

Get new articles, investing insights, and educational resources delivered to your inbox.

Scroll to Top