Gross Margin
Gross Margin measures the percentage of revenue that remains after subtracting the direct cost of producing or delivering a company's products and services. It is the cleanest indicator of pricing power and underlying unit economics.
What is Gross Margin?
Gross Margin isolates the most basic economic question a business has to answer: does it make money on what it sells before any overhead is considered. Revenue minus cost of goods sold (COGS) equals gross profit. Divide by revenue and the result is the gross margin. For every dollar of sales, gross margin reveals how many cents are left over to cover operating expenses, interest, taxes, and eventually net profit. A software company with 80 percent gross margin keeps 80 cents out of every revenue dollar before paying for anything other than direct delivery costs. A steel producer with 15 percent gross margin keeps just 15.
Because gross margin strips out operating overhead and financing costs, it is far less volatile than net margin. Two years in which the business scales its marketing spend up or down will barely affect gross margin unless pricing or input costs change. This is the metric's greatest strength. It responds primarily to product economics and competitive position, not to financial engineering or administrative bloat. That makes it the most durable measure of whether a company has real pricing power.
Gross margin also tells investors something fundamental about operating leverage. A company with 80 percent gross margin can absorb significant overhead and still produce substantial operating income at scale. A company with 15 percent gross margin has almost no cushion, meaning its profitability depends heavily on revenue growth outpacing fixed costs. This structural insight is why professional investors often study gross margin before any other profitability figure.
Formula
SledgeKey calculates gross margin using trailing twelve-month (TTM) revenue and TTM cost of goods sold, both drawn from point-in-time filings. TTM smooths seasonal swings that can be dramatic in retail, travel, agriculture, and homebuilding. Point-in-time sourcing ensures backtests reflect the gross margin investors actually would have observed at each historical date, not later-adjusted figures.
COGS definition varies by industry and sometimes by company. Manufacturers typically include raw materials, direct labor, factory overhead, and inbound freight. Software companies include data-center costs and third-party cloud infrastructure, along with customer-support personnel tied directly to delivering the product. Subscription businesses may also classify payment processing fees within COGS. When comparing gross margin across companies, checking footnotes for definitional differences is worth the trouble. A five-percentage-point gap between two otherwise similar companies sometimes reflects accounting policy rather than operating reality.
Services-heavy businesses without clearly defined product COGS may report gross margin using "cost of revenue" or "cost of services." The principle is the same. Only direct costs of producing or delivering the revenue are subtracted. Marketing, research and development, administration, and interest all sit below the gross profit line.
How to Interpret Gross Margin
Gross margin varies so widely across industries that universal thresholds are meaningless. Software and information services routinely post 70 to 90 percent gross margins. Branded consumer goods and luxury names fall in the 50 to 70 percent range. Industrial manufacturers typically operate at 20 to 35 percent. Grocers and commodity traders live at 10 to 20 percent, sometimes less. A 35 percent gross margin is mediocre for a software company and outstanding for a steel producer. Context is everything.
| Range | Typical Interpretation | Context |
|---|---|---|
| Below 20% | Low-margin business | Common in grocery, airlines, distribution, and commodity processing |
| 20% to 40% | Moderate margin | Typical for industrials, restaurants, and specialty retail |
| 40% to 60% | Solid margin | Common for branded consumer goods, medical devices, and specialty chemicals |
| Above 60% | High-margin business | Typical of software, pharmaceuticals, luxury goods, and subscription platforms |
The direction of gross margin change is often more informative than the level. A gross margin holding steady at 45 percent during a period of rising input costs signals strong pricing power. The same 45 percent margin collapsing to 38 percent over two years suggests that a company is losing pricing power or failing to pass cost inflation through to customers. In 2022 and 2023, many consumer-goods companies posted flat or expanding dollar margins while weaker competitors watched theirs compress. The difference identified who had brand strength and who did not.
A sharp gross-margin gap between competitors often signals structural advantage. When LVMH, the diversified luxury conglomerate, consistently posts gross margin 15 to 20 percentage points above mass-market apparel, the difference reflects brand power rather than superior operations. Investors who recognize these durable gaps and pay reasonable prices for them have historically outperformed those who chase low-margin businesses hoping for turnarounds.
One interpretive caution: gross margin can be inflated by classifying costs elsewhere on the income statement. A company that shifts customer support from COGS to operating expenses will report a higher gross margin without changing actual economics. This is why checking both gross and operating margin together is good discipline. If gross margin rises but operating margin stays flat, nothing real has changed.
Why Gross Margin Matters for Investors
Gross margin is the earliest and most reliable signal of whether a company has a defensible economic moat. Businesses with durable pricing power show it in gross margin first. Only later does it show up in operating margin or return on equity, both of which are affected by discretionary spending and capital structure. Analysts who want to understand quality usually start with gross margin and work down the income statement from there.
For investors, tracking gross margin over multiple years is often the best early-warning system for competitive erosion. Before a company misses earnings or cuts its outlook, gross margin tends to compress. Catching that trend when revenue is still growing and headlines are still positive creates an edge. It is also why activist and private-equity investors frequently rebuild their valuation models around gross-margin trajectories rather than reported earnings.
Using Gross Margin in Stock Screening
Gross-margin filters are a cornerstone of quality screens. A minimum of 40 percent excludes most capital-intensive businesses and surfaces branded consumer and software names. Pushing the floor to 60 percent narrows the list further to capital-light businesses with strong pricing power. Some strategies combine a gross-margin floor with a revenue-growth floor, seeking companies that are both high-margin and growing, a combination that historically produces strong equity returns.
In SledgeKey, pairing gross margin above 50 percent with positive free cash flow growth and modest debt creates a screen that consistently surfaces high-quality compounders. Adding a valuation filter, such as EV/EBITDA below the sector median, prevents the screen from becoming a pure quality trap. When Buffett-style "wonderful business at a fair price" strategies are translated into modern screens, gross margin is typically the first quality gate.
Sector-relative screens are often more useful than absolute thresholds. Ranking all companies by gross margin within each sector and selecting the top quintile produces a diversified portfolio of sector leaders rather than a basket concentrated in software. This approach captures quality across the market rather than in a single corner.
Backtesting with Gross Margin
Novy-Marx's 2013 paper "The Other Side of Value" showed that gross profitability, defined as gross profit divided by total assets, predicted future stock returns about as strongly as classic value signals did, and the combination of value and gross profitability produced one of the most durable documented alphas. His finding reshaped how quantitative investors thought about profitability measures. Earlier profitability research had focused on net income and return on equity, both of which are noisier and more subject to accounting manipulation.
Backtests of high-gross-margin strategies in US equities typically show the top quintile outperforming the bottom quintile by 2 to 5 percent annually over long horizons, with particular strength in recessions when thin-margin competitors collapse. The effect is most reliable in large-cap and mid-cap universes. In small caps, gross-margin screens occasionally pick up companies with questionable or non-standard cost classifications, which adds noise.
Point-in-time data matters especially for gross margin because input-cost accounting and revenue recognition standards have changed over the past two decades. The adoption of ASC 606 in 2018 reshaped how many software and subscription companies reported revenue and COGS, creating discontinuities in historical gross margin series. Using the data as it was reported at each historical date, rather than fully restated modern figures, produces more accurate backtests and avoids false signals from accounting regime changes.
Screen stocks using Gross Margin
Set Gross Margin filters and combine with other metrics across 5,000+ NYSE and NASDAQ companies, then backtest your strategy against years of point-in-time historical data, free.
Start Screening