Educational content only — not investment adviceAdvertiser disclosure
investing basicsfoundation

Gross Margin

Gross margin measures the percentage of net revenue left after cost of sales. It is commonly calculated as gross profit divided by net revenue. The ratio can reveal pricing and unit economics, but industry structure, product mix and accounting classification can make direct comparisons misleading.

By ROIStreet EditorialReviewed by ROIStreet PublisherLast reviewed: 2026-09-01Editorial process13 min read✓ Fact-checked

> Definition > > Gross margin is a profitability ratio that shows the percentage of net revenue remaining after cost of sales. A common formula is gross profit ÷ net revenue, where gross profit equals net revenue minus cost of sales. A 40% gross margin means about forty cents of gross profit remained from each revenue dollar before operating expenses, interest and income taxes were deducted.[1]

Expanded explanation

Gross margin is one of the first profitability checks on an income statement because it isolates the economics closest to what a company sells.

The SEC explains that net revenue is reduced by cost of sales to arrive at gross profit, sometimes labeled gross margin on the income statement.[1]

For ratio analysis:

Gross margin = gross profit ÷ net revenue

Since:

Gross profit = net revenue − cost of sales

the same ratio can be written as:

Gross margin = (net revenue − cost of sales) ÷ net revenue

The calculation is simple.

Interpreting a change in the percentage requires understanding what moved inside revenue and cost of sales.

Basic example

Assume:

  • net revenue: $2.5 billion
  • cost of sales: $1.5 billion

Gross profit:

$2.5B − $1.5B = $1.0 billion

Gross margin:

$1.0B ÷ $2.5B = 40%

The company retained forty cents of gross profit from each dollar of revenue before subtracting operating expenses such as administrative, marketing or research costs that may sit below gross profit.

Gross profit is not gross margin

The terms are closely related but not identical.

Gross profit is a dollar amount.

Gross margin is a percentage of revenue.

Example:

Year 1: - revenue: $1 billion - gross profit: $400 million - gross margin: 40%

Year 2: - revenue: $1.5 billion - gross profit: $525 million - gross margin: 35%

Gross profit dollars increased:

$400M → $525M

Gross margin declined:

40% → 35%

Both statements are true.

The business produced more gross profit in absolute dollars but kept less gross profit from each revenue dollar.

Why that distinction matters

A company can grow rapidly by:

  • lowering prices
  • entering lower-margin categories
  • acquiring lower-margin revenue
  • accepting expensive input costs
  • using promotions to gain share

Revenue and gross profit dollars can rise while the percentage deteriorates.

A headline such as:

"Gross profit grew 31%"

does not answer whether unit economics improved.

The percentage provides that additional context.

Where gross margin sits on the income statement

A simplified progression is:

Net revenue − cost of sales = gross profit − operating expenses = operating income ± non-operating items − interest − income taxes = net income

Gross margin appears earlier than the other common profit margins.

That means fewer expenses have been deducted.

This is why gross margin is normally higher than operating margin and net profit margin when all three are positive.

Gross margin vs. operating margin

ROIStreet’s GLS-048 — Operating Margin measures:

operating income ÷ net revenue

Operating income subtracts operating expenses beyond cost of sales.

Assume:

  • revenue: $2.5 billion
  • gross profit: $1 billion
  • operating expenses: $650 million
  • operating income: $350 million

Gross margin:

40%

Operating margin:

$350M ÷ $2.5B = 14%

The 26-percentage-point gap represents operating costs below gross profit in this simplified example.

Gross margin says more about the economics of the goods or services sold.

Operating margin captures more of the cost of running the organization.

Gross margin vs. net profit margin

ROIStreet’s GLS-047 — Net Profit Margin goes farther down the income statement.

Suppose the same company reports:

  • operating income: $350 million
  • net income: $225 million

Net profit margin:

$225M ÷ $2.5B = 9%

Now the three stages are:

  • gross margin: 40%
  • operating margin: 14%
  • net margin: 9%

Each percentage answers a different question.

Gross margin does not show:

  • corporate overhead below gross profit
  • interest expense
  • income taxes
  • many non-operating gains or losses

That is a feature of the metric, not a defect.

Pricing can expand gross margin

Assume a company sells a product for:

$100

with direct cost of sales of:

$60

Gross profit per unit:

$40

Gross margin:

40%

The company raises price to:

$110

while direct cost remains $60.

New gross profit:

$50

New gross margin:

$50 ÷ $110 ≈ 45.5%

A 10% price increase expanded the gross margin by about 5.5 percentage points.

The actual result still depends on volume.

If customers respond by buying fewer units, higher margin per dollar of sales does not guarantee higher total gross profit.

Cost inflation can compress the ratio

Use the same $100 selling price.

If cost of sales rises from:

$60

to:

$70

gross profit falls from:

$40

to:

$30

Gross margin falls from:

40%

to:

30%

The company can respond through:

  • price increases
  • supplier negotiations
  • redesign
  • automation
  • sourcing changes
  • product mix
  • lower promotions

Gross margin often reveals how successfully a business passes cost changes through to customers.

Tariffs provide a current example

A 2026 SEC-filed earnings release reported gross margin of 46.5%, down from 47.2% in the prior year, and attributed the decline primarily to higher U.S. tariffs, partly offset by price increases and other mitigation measures.[4]

That is a clean example of margin analysis in practice.

The percentage moved because cost pressure and pricing response pulled in opposite directions.

A one-number explanation such as "margin fell" would miss the economics.

Product mix can move gross margin without any price change

Assume a company sells two categories.

Product A: - revenue: $100 - gross margin: 20%

Product B: - revenue: $100 - gross margin: 70%

If sales shift toward Product B, consolidated gross margin rises even if:

  • Product A price is unchanged
  • Product A costs are unchanged
  • Product B price is unchanged
  • Product B costs are unchanged

The mix changed.

This is common when companies sell combinations of:

  • hardware and software
  • products and services
  • premium and entry-level products
  • owned brands and third-party merchandise
  • mature and newly launched offerings

Consolidated margin is a weighted result.

A higher-margin mix can be economically powerful

Suppose a company gradually moves from:

40% high-margin service revenue

to:

60% high-margin service revenue

The consolidated gross margin can rise even without broad price increases.

That can improve operating economics because higher gross profit dollars are available to cover:

  • research
  • sales
  • corporate overhead
  • interest
  • taxes

But gross-margin expansion caused by mix should not be described as pure cost efficiency.

The source matters.

Discounting can damage gross margin quickly

Suppose a product normally sells for:

$100

with cost of sales:

$60

Gross margin:

40%

A 20% discount lowers the selling price to:

$80

If cost remains $60:

Gross profit:

$20

Gross margin:

25%

The selling price fell 20%.

Gross profit per unit fell 50%.

That asymmetry is why aggressive discounting can hurt profitability faster than the sales-price reduction suggests.

Volume can help gross profit dollars without changing the percentage

If:

  • price per unit stays unchanged
  • cost per unit stays unchanged
  • mix stays unchanged

then selling more units can increase:

  • revenue dollars
  • gross profit dollars

while gross margin percentage remains roughly stable.

That is not a problem.

A stable 40% margin on a larger revenue base can produce far more gross profit to fund operating expenses and investment.

Margin percentage and profit scale should be read together.

Fixed production costs can create gross-margin leverage

Cost of sales is not always purely variable.

Manufacturing can include fixed or semi-fixed production costs.

When volume rises, some fixed factory costs may be spread over more units.

Gross margin can improve.

When volume falls, fewer units absorb those costs.

Gross margin can deteriorate.

This is one reason manufacturing margins can swing sharply with capacity utilization even when list prices are unchanged.

Inventory accounting can affect reported gross economics

Cost of sales depends on how inventory costs flow through the financial statements under applicable accounting rules.

Changes in:

  • material costs
  • freight
  • labor
  • overhead absorption
  • inventory reserves
  • obsolescence
  • write-downs

can affect reported gross profit.

A business with aging inventory can suffer margin pressure through markdowns or write-offs even if supplier prices are stable.

The ratio should be connected to inventory disclosures when inventory is economically important.

Cost classification can complicate peer comparison

Not every company classifies economically similar costs in exactly the same place.

A cost might appear in:

  • cost of sales
  • research and development
  • selling expense
  • general and administrative expense
  • another operating line

depending on the facts and accounting presentation.

That matters because a cost moved into cost of sales lowers gross margin.

The same cost recorded below gross profit leaves gross margin unchanged but reduces operating margin.

Two companies can therefore have different gross-margin profiles partly because of presentation.

Service businesses can have very different gross-margin structures

For a manufacturer, cost of sales may include obvious production inputs.

For a service or software company, cost of revenue can include items such as:

  • hosting
  • customer support
  • implementation
  • third-party data
  • payment processing
  • service personnel
  • amortization tied to delivered services

The economic meaning of "cost of sales" depends on what the business sells.

A 70% software gross margin and a 25% distribution gross margin should not be ranked without business-model context.

There is no universal good gross margin

A grocery retailer can operate successfully with a relatively low gross margin because:

  • inventory turns quickly
  • demand is recurring
  • scale is large
  • operating processes are efficient

A software company can require a much higher gross margin because:

  • sales and marketing costs are substantial
  • research spending is large
  • expectations for scalability are higher

The relevant benchmark is normally:

  • the company’s own history
  • close peers
  • the same industry
  • comparable product mix

A universal threshold is not useful.

Gross margin can rise while operating margin falls

This is one of the most informative combinations.

Assume:

Year 1: - gross margin: 40% - operating margin: 15%

Year 2: - gross margin: 44% - operating margin: 12%

The core product economics improved.

But operating expenses rose even faster.

Possible explanations include:

  • heavier marketing
  • research investment
  • corporate hiring
  • restructuring
  • expansion costs

The gross-margin improvement did not reach operating profit.

The gap tells the analyst where to look next.

Gross margin can fall while operating margin rises

The reverse can also happen.

Assume:

Year 1: - gross margin: 45% - operating margin: 10%

Year 2: - gross margin: 42% - operating margin: 13%

Product-level economics weakened.

But operating expenses fell enough to more than offset the decline.

Possible causes include:

  • lower overhead
  • headcount reductions
  • reduced marketing
  • facility consolidation

That can be sustainable or temporary.

Again, the two margins answer different questions.

Adjusted gross margin

Companies sometimes publish a non-GAAP gross margin that excludes selected costs.

A 2026 SEC-filed earnings release reported:

  • fiscal-year GAAP gross margin: 10.8%
  • non-GAAP gross margin: 10.9%[3]

The adjustment included specified stock-based compensation expense.

Another 2026 filing reported adjusted gross profit margin after excluding restructuring and acquisition-related costs.[5]

These examples show why "gross margin" should not be assumed to mean the same numerator across every presentation.

Adjusted gross margin requires reconciliation

The SEC’s non-GAAP guidance requires companies using covered non-GAAP measures to provide appropriate reconciliation and avoid misleading presentation.[2]

Useful questions include:

  • What cost was excluded?
  • Was it recorded in cost of sales?
  • Did it consume cash?
  • Does it recur?
  • Is the exclusion consistent across periods?
  • Do peers make a similar adjustment?

A recurring production cost does not become economically irrelevant because management excludes it from an adjusted metric.

Gross margin is not cash flow

Gross profit uses accrual accounting.

It does not show:

  • customer collection timing
  • supplier payment timing
  • inventory cash investment
  • capital expenditures
  • debt service

A company can report a strong gross margin while free cash flow is weak.

ROIStreet’s GLS-039 — Free Cash Flow addresses the cash perspective.

The income statement and cash flow statement answer different questions.

Gross margin does not measure asset efficiency

A company can have a high gross margin and require enormous assets to produce revenue.

Another can have a lower margin and turn assets rapidly.

ROIStreet’s GLS-046 — Asset Turnover measures revenue relative to the asset base.

ROIStreet’s GLS-045 — Return on Assets connects bottom-line profitability with those assets.

Gross margin is valuable, but it does not complete the capital-efficiency analysis.

A high gross margin can still coexist with losses

Suppose:

  • revenue: $1 billion
  • gross margin: 70%
  • gross profit: $700 million
  • research, sales and administrative expenses: $900 million

Operating loss:

-$200 million

The product economics can be attractive at the gross level while the company remains unprofitable overall.

Whether that is acceptable depends on:

  • growth
  • scale
  • future operating leverage
  • competitive durability
  • financing needs

Gross margin is an early-stage profitability measure, not the bottom line.

Common misconceptions

"Gross profit and gross margin are the same."

No. Gross profit is normally expressed in dollars; gross margin expresses gross profit as a percentage of revenue.

"Gross margin and operating margin are interchangeable."

No. Operating margin subtracts operating expenses beyond cost of sales.

"Higher gross margin always means a better company."

No. Scale, growth, operating expenses, asset intensity, cash flow and valuation still matter.

"Gross margin includes every operating expense."

No. It generally stops after cost of sales.[1]

"Revenue growth automatically raises gross margin."

No. Revenue can grow while product mix or unit costs compress the percentage.

"A declining margin proves pricing weakened."

No. Input inflation, tariffs, mix or inventory costs can also be responsible.[4]

"Adjusted gross margin is automatically better."

No. The excluded costs need economic justification and reconciliation.[2][3][5]

"Gross margins can be compared across any industry."

Usually not usefully. Cost structures and classification practices differ too much.

Professional note

A useful gross-margin review asks six questions:

  1. Revenue: What is included in net revenue, and did price, volume or mix change?
  2. Cost: Which expenses are classified inside cost of sales?
  3. Drivers: Did input costs, tariffs, discounts or capacity utilization move?
  4. Mix: Did higher- or lower-margin products change their share of revenue?
  5. Adjustment: Is the reported percentage GAAP or adjusted?
  6. Conversion: Did the gross-margin change reach operating income and cash flow?

Gross margin is strongest when it explains the economics closest to the company’s products or services without being mistaken for total company profitability.

Related terms

  • Operating Margin — GLS-048: subtracts additional operating expenses beyond cost of sales.
  • Net Profit Margin — GLS-047: extends the analysis to the bottom line after interest, taxes and other items.
  • Asset Turnover — GLS-046: measures sales generated from the asset base rather than profit retained from revenue.
  • Return on Assets — GLS-045: connects bottom-line profit with the company’s asset base.
  • Free Cash Flow — GLS-039: provides a cash-based measure that can differ materially from gross profit.

Sources & References

1. U.S. Securities and Exchange Commission, Beginners’ Guide to Financial Statements https://www.sec.gov/about/reports-publications/beginners-guide-financial-statements

2. U.S. Securities and Exchange Commission, Non-GAAP Financial Measures — Compliance and Disclosure Interpretations https://www.sec.gov/rules-regulations/staff-guidance/corporation-finance-interpretations/non-gaap-financial-measures

3. U.S. Securities and Exchange Commission — EDGAR, Fiscal Year 2026 Results — Gross and Non-GAAP Gross Margin https://www.sec.gov/Archives/edgar/data/1375365/000137536526000021/exhibit991_20260630.htm

4. U.S. Securities and Exchange Commission — EDGAR, Second Quarter 2026 Results — Gross Margin Drivers https://www.sec.gov/Archives/edgar/data/110471/000162828026056455/earningsrelease2026-q2.htm

5. U.S. Securities and Exchange Commission — EDGAR, Second Quarter 2026 Results — Adjusted Gross Profit Margin https://www.sec.gov/Archives/edgar/data/1756770/000175677026000078/q226-exx994xearningsrelease.htm

Educational Disclaimer

ROIStreet publishes educational content intended to help readers understand company profitability and fundamental analysis. Nothing in this glossary entry is personalized investment, legal, tax, accounting or financial advice. Gross margin can vary materially with product mix, pricing, input costs, tariffs, cost classification and non-GAAP adjustments and should not be used as a stand-alone reason to buy, sell or hold a security.

The ROIStreet Reader Promise

We strive to explain before we evaluate, present evidence before opinions, discuss risks alongside potential benefits, distinguish facts from analysis, and correct material errors transparently.

Our purpose is to help readers better understand investing—not to tell them what to do.

Definitions used in this guide

Price-to-Sales Ratio
The price-to-sales ratio, or P/S, compares a company’s common-equity market value with its revenue. It can be calculated as market capitalization divided by revenue or share price divided by sales per share. P/S can be useful when earnings are negative, but it ignores debt, profitability and cash generation.
Free Cash Flow
Free cash flow is a non-GAAP measure commonly calculated as cash provided by operating activities minus capital expenditures. It can help show how much cash remains after reinvestment in long-lived assets, but companies do not all calculate it the same way and the result is not automatically cash available for unrestricted spending.
Return on Assets
Return on assets, or ROA, measures profit relative to a company’s asset base. A common formula divides net income by average total assets. ROA can help show how efficiently assets support earnings, but capital intensity, asset accounting and industry structure make cross-company comparisons highly context dependent.
Asset Turnover
Asset turnover measures how much revenue a company generates relative to its asset base. A common formula divides revenue by average total assets. The ratio can reveal how intensively assets are being used, but it does not show whether those sales are profitable.
Net Profit Margin
Net profit margin measures how much net income remains from each dollar of revenue after the expenses included in the bottom line. A common formula divides net income by revenue. The ratio is easy to calculate but requires context because taxes, interest, one-time items, leverage and business mix can materially change the result.
Operating Margin
Operating margin measures operating income relative to net revenue. It shows how much operating profit remains from each sales dollar before interest and income taxes, making it useful for comparing core profitability when companies use similar accounting and business models.
Revenue
Revenue is the amount a company recognizes from selling goods or services during a reporting period. It is usually the top line of the income statement, but it is not the same as cash collected. Recognition timing, returns, discounts, deferred revenue and gross-versus-net presentation can materially affect the number.
EBITDA
EBITDA stands for earnings before interest, taxes, depreciation and amortization. It is commonly used to compare operating performance before financing, tax and specified noncash charges, but it is a non-GAAP measure and does not show capital expenditures, working-capital needs, debt principal payments or actual cash generation.

We may earn a commission if you open an account through links on this page. Our editorial analysis is independent and is never influenced by commercial partnerships. Full disclosure.