Skip to main content
Indicator Explained

What is Gross Margin FAQ: Your Top Questions Answered

Javier Sanz, Founder & Lead Analyst at ValueMarkers
By , Founder & Lead AnalystEditorially reviewed
Last updated: Reviewed by: Javier Sanz
7 min read
Share:

What is Gross Margin FAQ: Your Top Questions Answered

what is gross margin — chart and analysis

So what is gross margin, exactly? Gross margin is the percentage of revenue a company retains after paying for the direct costs of producing its goods or services. If a business earns $100 and spends $40 making its products, the gross margin is 60%. It is the first profitability checkpoint on the income statement and one of the most telling indicators of a company's pricing power and production efficiency.

Key Takeaways

  • Gross margin equals (Revenue - Cost of Goods Sold) / Revenue, expressed as a percentage
  • A "good" gross margin depends entirely on the industry: 75% is typical in software, 25% in grocery
  • Apple's gross margin of approximately 44% reflects its brand-driven pricing power
  • Gross margin differs from net margin by excluding operating expenses, interest, and taxes
  • Consistently high gross margins over multiple years signal a competitive moat
  • The metric works best when compared against direct competitors, not across industries

How Is Gross Margin Calculated?

The formula is straightforward:

Gross Margin = ((Revenue - Cost of Goods Sold) / Revenue) x 100

Cost of goods sold (COGS) includes direct production costs: raw materials, manufacturing labor, and factory overhead. It does not include sales staff salaries, rent for corporate offices, marketing spend, or interest on loans.

Here is a quick example with Coca-Cola (KO: P/E 23.7, ROIC 12.8%, dividend yield 3.0%):

ComponentAmount
Revenue~$46 billion
COGS~$18.4 billion
Gross Profit~$27.6 billion
Gross Margin~60%

Coca-Cola keeps roughly 60 cents of every revenue dollar after paying for ingredients, bottling, and packaging. That leaves $27.6 billion to cover everything else the business needs to operate.

What Is a Good Gross Margin?

No single number defines "good." Industry context determines whether a specific percentage represents strength or weakness.

IndustryTypical Gross MarginWhy
Software / SaaS70-85%Near-zero cost to distribute code
Pharmaceuticals60-80%Patented drugs command premium prices
Beverages50-65%Brand loyalty supports pricing
Consumer Electronics35-50%Hardware production costs are moderate
Grocery Retail25-35%Thin margins, high volume
Automotive15-25%Heavy materials and labor costs

Microsoft (MSFT: P/E 32.1, ROIC 35.2%, Piotroski 8) posts gross margins above 68%. A grocery chain with a 28% gross margin might look weak by comparison, but within the food retail sector, 28% would be above average.

The ValueMarkers screener lets you filter by gross margin within specific industries across 73 exchanges, so your comparisons stay meaningful.

How Does Gross Margin Differ From Net Margin?

Gross margin captures only production-level profitability. Net margin captures everything.

Think of the income statement as a series of deductions:

  1. Start with revenue
  2. Subtract COGS = Gross profit (gross margin uses this)
  3. Subtract operating expenses = Operating income
  4. Subtract interest and taxes = Net income (net margin uses this)

For Apple (AAPL: P/E 28.3, ROIC 45.1%, Altman Z 8.2):

  • Gross margin: ~44%
  • Net margin: ~25%

The 19-percentage-point gap reflects R&D spending, marketing costs, corporate salaries, interest payments, and taxes. A large gap between gross and net margin points to high operating costs. A narrow gap suggests a lean organization.

Johnson & Johnson (JNJ: P/E 15.4, ROIC 18.3%) shows an even wider spread: roughly 68% gross margin dropping to about 15% net margin. The 53-point gap reflects JNJ's massive R&D and regulatory compliance costs in pharmaceuticals and medical devices.

Why Does Gross Margin Matter for Investors?

Gross margin answers a fundamental question: can this company sell its products for meaningfully more than it costs to make them?

Pricing power indicator. A company maintaining a 55% gross margin for five years has demonstrated that customers will pay a premium. If competitors could easily undercut the price, margins would erode.

Moat signal. When a company's gross margin significantly exceeds the industry median, a structural advantage is usually at work. Patents, proprietary technology, brand strength, or exclusive supplier agreements create the gap.

Early warning system. Declining gross margins often appear before declining earnings. If gross margin drops from 45% to 38% over two years, something has changed. Perhaps input costs spiked, or a competitor forced price cuts. This trend signals trouble before it reaches the bottom line.

Quality filter. The Novy-Marx gross profitability study (2013) showed that companies with high gross profitability generated superior stock returns. Pairing gross margin analysis with the Piotroski F-Score (AAPL scores 7, V scores 8) creates a two-layered quality screen.

How Should You Compare Gross Margins?

Within the same industry. Always compare against direct competitors. Visa (V: P/E 29.5, ROIC 32.4%) at ~65% gross margin compared with Mastercard at ~58% is meaningful. Comparing Visa to a steel manufacturer is not.

Over multiple years. Plot 3-5 years of annual data to distinguish trends from noise. A single quarter can be distorted by inventory adjustments, currency fluctuations, or supplier renegotiations.

Across company segments. Large companies often blend high-margin and low-margin divisions. Apple's services segment (~72% gross margin) versus its hardware segment (~35%) illustrates how aggregate numbers can mask the real story. Segment data lives in the 10-K annual report.

Alongside capital efficiency. A company with 50% gross margin and 5% ROIC is less impressive than one with 40% gross margin and 25% ROIC. The ValueMarkers VMCI Score weighs both profitability and capital efficiency across its five pillars: Value (35%), Quality (30%), Integrity (15%), Growth (12%), and Risk (8%).

What Causes Gross Margin to Change?

Several factors push gross margins up or down:

Upward drivers:

  • Shifting toward higher-margin products or services
  • Negotiating better supplier terms through scale
  • Raising prices without losing volume (pricing power)
  • Automating production to reduce labor costs per unit

Downward drivers:

  • Rising raw material prices that cannot be passed to customers
  • Increased competition forcing price reductions
  • Product mix shifting toward lower-margin items
  • Currency depreciation increasing import costs for materials

Berkshire Hathaway (BRK.B: P/E 9.8, P/B 1.5, ROIC 10.2%) invests in companies with durable gross margin advantages. Coca-Cola's brand, Apple's ecosystem, and American Express's network all create structural barriers against margin erosion.

Can Gross Margin Be Misleading?

Yes, in several specific situations:

Different COGS classifications. Companies have some discretion in categorizing costs. One tech firm might include cloud hosting in COGS while another places it in operating expenses. This makes direct gross margin comparisons unreliable without reading the footnotes.

Business models with intentionally low margins. Costco targets a 12.5% gross margin on purpose. Amazon's retail gross margins are thin by design. Screening these companies out based on gross margin alone would be an error.

One-time distortions. Inventory write-downs, warranty reserve changes, or renegotiated supply contracts can cause single-quarter swings that do not reflect the underlying trend.

The ValueMarkers glossary and academy resources explain these nuances for each metric, helping you avoid common analytical traps.

Further reading: Investopedia · CFA Institute

Why gross margin explained Matters

This section anchors the discussion on gross margin explained. 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 explained 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 explained

See the main discussion of gross margin explained 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 explained alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Sector benchmarks for gross margin explained

See the main discussion of gross margin explained 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 explained alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Frequently Asked Questions

what happens if the stock market crashes

Stock market crashes cause broad portfolio declines, but they also create buying opportunities for prepared investors. During the 2020 crash, the S&P 500 dropped 34% in weeks before recovering within months. Companies with strong gross margins and healthy balance sheets, like Apple (Altman Z-Score 8.2) and Microsoft (Altman Z-Score 9.1), tend to recover faster because their core profitability remains intact.

what time does the stock market open

U.S. stock markets open at 9:30 AM Eastern Time on regular trading days, Monday through Friday. Pre-market trading begins at 4:00 AM Eastern on most platforms. The NYSE and NASDAQ follow this schedule, though extended hours sessions run before and after the regular session for traders who need early or late access.

what time does the stock market close

U.S. stock markets close at 4:00 PM Eastern Time on regular trading days. After-hours trading continues until 8:00 PM Eastern on most brokerage platforms. On certain holidays and the day before major holidays, markets close early at 1:00 PM Eastern. Weekends and federal holidays are full closures.

why is the stock market down today

Market declines on any given day can stem from economic data releases, earnings misses by major companies, Federal Reserve policy signals, geopolitical events, or shifts in investor sentiment. Rather than reacting to daily moves, value investors focus on company fundamentals like gross margin, ROIC, and Piotroski scores to identify businesses worth holding through short-term volatility.

what time does stock market open

The regular U.S. trading session starts at 9:30 AM Eastern Time for both the NYSE and NASDAQ. Pre-market hours begin at 4:00 AM Eastern, though liquidity is significantly lower. Most retail investors place orders during the regular session to get more reliable execution prices and tighter bid-ask spreads.

is coca cola a good stock to buy

Coca-Cola (KO) trades at a P/E of 23.7 with a 3.0% dividend yield and 12.8% ROIC. Its gross margin of approximately 60% has been remarkably stable over decades, reflecting strong brand pricing power. KO has increased its dividend for over 60 consecutive years. Whether it is a good buy at any given time depends on your valuation framework. The ValueMarkers DCF calculator can help you estimate intrinsic value based on your growth and discount rate assumptions.


Examine gross margin data for thousands of stocks. The ValueMarkers screener lets you filter companies by gross margin across 73 global exchanges alongside 120+ fundamental indicators. Find the margin profiles that fit your investment strategy.

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.

Key Metrics Mentioned

Related Articles

Indicator Explained

Gross Margin: The Definitive Guide for Smart Investors

Gross margin is the percentage of revenue remaining after subtracting cost of goods sold, and it is one of the most reliable early signals of a business's pricing power and.

14 min read

Stock Analysis

Profit Margin Formula Explained: A Clear Guide for Investors

The profit margin formula measures how much of each revenue dollar a company keeps as profit. Learn every variant, with real stock examples, in this clear investor guide.

6 min read

Indicator Explained

How to Use Intrinsic Value Calculator App for Better Investment Decisions [Tutorial]

A data-driven guide to intrinsic value calculator app for value investors, featuring real metrics from Apple, Microsoft, and more.

7 min read

Indicator Explained

CAGR in Investing: How to Use Compound Annual Growth Rate to Evaluate Stocks

CAGR is the single most useful rate for comparing investments across different time periods. Learn the formula, why CAGR beats simple average returns, how to use it in DCF models, and why revenue CAGR diverging from earnings CAGR is a red flag worth investigating.

9 min read

Indicator Explained

Free Cash Flow Investing: Why FCF Is the Most Important Metric for Value Investors

Free cash flow -- operating cash flow minus capital expenditures -- is the metric Warren Buffett built his fortune on. Learn why FCF matters more than EPS, how to calculate FCF yield, the FCF conversion rate quality test, and how to screen for FCF compounders in ValueMarkers.

11 min read

Indicator Explained

Graham Number: Benjamin Graham's Formula for Finding Undervalued Stocks

The Graham Number combines earnings per share and book value per share into a single intrinsic value estimate. Learn the formula, what the 22.5 multiplier means, how to calculate it step by step, real-world case studies on JPM, BAC, and INTC, and when not to use it.

11 min read

Explore More

Investing Tools

Compare Competitors

Browse Stocks

Weekly Stock Analysis - Free

5 undervalued stocks, fully modeled. Every Monday. No spam.

Cookie Preferences

We use cookies to analyze site usage and improve your experience. You can accept all, reject all, or customize your preferences.