What Is Gross Margin %?
Gross Margin % is a profitability ratio that measures how much of a company’s revenue remains after paying the direct costs of producing or purchasing the goods it sells. In simple terms, it shows how much gross profit a business keeps from each dollar of sales before accounting for operating expenses such as marketing, research and development, administrative costs, interest and taxes.
Because it focuses on the relationship between revenue and cost of goods sold, Gross Margin % is one of the clearest ways to evaluate a company’s basic unit economics. It helps investors understand pricing power, product mix, cost discipline and the overall economics of a business model. A company with a higher gross margin generally has more room to cover overhead and still generate operating profit, while a company with a thin gross margin has less cushion if costs rise or pricing weakens.
| Ticker | Company | Price | GF Score™ | gross-margin |
|---|---|---|---|---|
| - | ||||
| - | ||||
| - | ||||
| - | ||||
| - |
At its core, Gross Margin % answers a straightforward question: after covering the direct cost of what was sold, how much revenue is left over? That remaining amount is what the company can use to pay for everything else required to run the business.
The formula is simple:
Since gross profit is revenue minus cost of goods sold, the formula can also be written as:
- Gross Margin % measures the percentage of revenue left after subtracting cost of goods sold.
- It is calculated as gross profit divided by revenue.
- A higher gross margin often suggests stronger pricing power, better product economics or a more favorable business mix.
- The metric is most useful when compared over time and against companies in the same industry.
- Gross Margin % does not account for operating expenses, capital intensity or financing costs, so it should not be used alone to judge overall profitability.
- On GuruFocus, Gross Margin % is based on Gross Profit divided by Revenue for the selected fiscal period.
How Is Gross Margin % Calculated?
Gross Margin % is calculated by dividing gross profit by revenue.
Gross profit itself is defined as revenue minus cost of goods sold:
Substituting that into the first formula gives:
The main inputs are:
- Revenue: the total sales generated during the period.
- Cost of Goods Sold (COGS): the direct costs associated with producing or purchasing the goods sold.
- Gross Profit: revenue minus COGS.
On GuruFocus, Gross Margin % uses the standard definition:
GuruFocus may display the result as a percentage, but the underlying calculation is gross profit divided by revenue for the relevant annual or quarterly period.
One important nuance is that what counts as COGS can vary somewhat by industry and by company reporting practices. For manufacturers and retailers, COGS is usually a central line item. For software, internet or service businesses, the equivalent direct costs may be labeled differently, such as cost of revenue. That means investors should review the company’s filings before making strict cross-company comparisons.12
Gross Margin % Trend Over Time
Gross Margin % is often more informative as a trend than as a single-period number. A stable or rising gross margin can indicate improving pricing power, favorable product mix, supply chain efficiency or disciplined cost control. A declining gross margin may suggest rising input costs, discounting pressure, weaker demand, competitive intensity or an unfavorable shift in what the company sells.
For many businesses, gross margin changes show up before larger shifts in operating margin or net income. That makes the metric useful as an early signal. If a company begins losing pricing power or facing cost inflation it cannot pass through to customers, gross margin often weakens first.
What Does Gross Margin % Tell You?
Gross Margin % helps investors evaluate the economic quality of a company’s sales.
A high gross margin usually means the company retains a larger share of each sales dollar after covering direct costs. That can indicate one or more of the following:
- strong pricing power,
- differentiated products or brands,
- efficient sourcing or production,
- favorable product mix,
- lower direct input costs relative to selling price.
A low gross margin does not automatically mean a business is weak. Some industries, such as grocery retailing, wholesale distribution and commodity businesses, naturally operate on thin gross margins but can still be successful through scale, high turnover or cost efficiency. This is why gross margin should almost always be interpreted in industry context.
Investors often use Gross Margin % to assess:
- pricing power: Can the company charge more than its direct costs by a healthy amount?
- competitive position: Are margins being protected or eroded by competition?
- business model quality: Does the company sell high-value products or mostly undifferentiated goods?
- earnings resilience: Is there enough gross profit left to absorb overhead and still produce operating income?
Some value investors also view consistently high gross margins as a sign of a durable competitive advantage, since businesses with strong brands, proprietary products or customer lock-in often have more freedom to price above cost. But consistency matters as much as the absolute level. A temporarily high margin is less meaningful than a margin that remains strong across cycles.
Limitations of Gross Margin %
Like any single ratio, Gross Margin % has important limitations.
First, it only captures profitability before operating expenses. A company can report an excellent gross margin and still be unprofitable if it spends too much on sales, administration, research or other overhead. Gross margin is therefore only the first layer of profitability analysis.
Second, comparisons across industries can be misleading. A luxury software company, a semiconductor designer and a discount retailer can all have very different normal gross margins because their economics are fundamentally different. Comparing gross margins across unrelated sectors often says more about industry structure than management quality.
Third, accounting classifications matter. Some companies include certain costs in COGS while others classify similar costs in operating expenses. This can make gross margin comparisons less precise, especially across business models or reporting regimes.3
Fourth, gross margin says little about capital efficiency. A company may have a high gross margin but require heavy capital spending, large working capital investments or substantial ongoing reinvestment. In those cases, investors should pair gross margin with metrics such as operating margin, return on invested capital and free cash flow.
Finally, temporary factors can distort the ratio. Inventory write-downs, freight cost spikes, commodity swings, promotional activity and one-time product mix changes can all affect reported gross margin in a given quarter.
For these reasons, Gross Margin % is best used alongside trend analysis, peer comparisons and other profitability measures.
Real-World Example
A useful way to understand Gross Margin % is to compare two businesses with very different economics: Apple and Walmart.
Apple (AAPL) sells premium hardware, software and services. Its products benefit from brand strength, ecosystem lock-in and a favorable mix of higher-margin offerings. Those characteristics have historically supported gross margins well above those of most retailers and hardware resellers. Apple’s gross margin reflects not just manufacturing economics, but also the value customers place on its brand, design and integrated ecosystem.3
Walmart (WMT), by contrast, operates a scale-driven retail model built around low prices and high volume. Its gross margin is much lower than Apple’s, but that does not make Walmart a worse business. It simply reflects a different model: Walmart competes on efficiency, logistics, purchasing scale and inventory turnover rather than premium pricing.4
That contrast is exactly why Gross Margin % should be interpreted in context. Apple’s higher gross margin suggests stronger pricing power and more differentiated products. Walmart’s lower gross margin reflects the economics of discount retailing. Both figures can be perfectly normal for their industries.
FAQs
What is a good Gross Margin %?
- There is no universal benchmark. A good gross margin depends heavily on the industry, business model and product mix. Software and branded consumer products often have high gross margins, while grocery and discount retail typically operate with much lower ones. The most useful comparison is against the company’s own history and direct peers.
What is the difference between Gross Margin % and related metrics?
- Gross Margin % measures gross profit as a percentage of revenue.
- Operating Margin % goes further by subtracting operating expenses such as selling, general and administrative costs and research and development.
- Net Margin % goes further still by including interest, taxes and other non-operating items.
- Gross Profit is the dollar amount, while Gross Margin % expresses that amount relative to revenue.
Can Gross Margin % be negative?
- Yes. Gross Margin % can be negative if cost of goods sold exceeds revenue, meaning the company loses money on its sales before even considering operating expenses. That is usually a sign of severe pricing pressure, cost problems, inventory write-downs or a distressed business situation.
How should investors use Gross Margin %?
- Investors should use Gross Margin % to evaluate pricing power, product economics and cost structure. It is most useful when analyzed over time, compared with industry peers and paired with other metrics such as operating margin, return on invested capital and free cash flow.
- Operating Margin % - Operating income divided by revenue, measuring how efficiently a company converts sales into profit after operating expenses.
- Net Margin % - Net income divided by revenue, the bottom-line profitability ratio showing how much of each dollar of sales a company keeps as profit.
- EBITDA Margin % - EBITDA divided by revenue, reflecting a company's core operating profitability before non-cash charges and financing costs.
- FCF Margin % - Free cash flow divided by revenue, showing how much of each sales dollar is converted into cash available for shareholders or reinvestment.
- Pretax Margin % - Pretax income divided by revenue, measuring profitability after all operating and interest expenses but before the effect of taxes.
- OCF Margin % - Operating cash flow divided by revenue, indicating how effectively a company turns its sales into actual cash from operations.
Summary
Gross Margin % is one of the most useful starting points for understanding a company’s profitability. It shows how much revenue remains after direct production or purchasing costs, which makes it a valuable lens on pricing power, product quality and business economics.
But it is only a starting point. A strong gross margin does not guarantee strong operating profits or attractive returns for shareholders, and a low gross margin is not necessarily a red flag if the business model is built around scale and efficiency. For that reason, Gross Margin % is most powerful when used with industry context, historical trends and other profitability measures.
Sources
- Investopedia, “Gross Margin: Definition, Example, Formula, and How to Calculate” https://www.investopedia.com/terms/g/grossmargin.asp
- Corporate Finance Institute, “Gross Margin Ratio” https://corporatefinanceinstitute.com/resources/accounting/gross-margin-ratio/
- Apple Inc., Form 10-Q https://www.sec.gov/Archives/edgar/data/320193/000032019325000073/aapl-20250329.htm
- Walmart Inc., Annual Report https://corporate.walmart.com/content/dam/corporate/documents/newsroom/2025/annual-report/2025-annual-report.pdf
- U.S. Securities and Exchange Commission, “Beginner’s Guide to Financial Statements” https://www.sec.gov/reportspubs/investor-publications/investorpubsbegfinstmtguidehtm.html