FinanceMarch 29, 2026

Gross Margin Calculator Guide: Benchmarks by Industry (2026)

By The hakaru Team·Last updated March 2026

Quick Answer

  • *Gross Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100; a 60% gross margin means you keep $0.60 of every dollar of revenue after direct costs
  • *Gross margin benchmarks vary dramatically by industry: software/SaaS averages 70–80%, professional services 30–50%, retail 20–40%, grocery 20–25%, auto manufacturing 10–15%
  • *Gross margin is the foundation — you cannot have positive net income if gross margin doesn’t cover operating expenses, R&D, and overhead
  • *Improving gross margin levers: raise prices, negotiate lower COGS, shift to higher-margin products/customers, reduce direct labor through automation

What Is Gross Margin?

Gross margin is the percentage of revenue remaining after subtracting the direct costs of producing your goods or services — collectively called the Cost of Goods Sold (COGS). It is the first profitability metric on an income statement and the foundation of all financial analysis.

According to NYU Stern professor Aswath Damodaran’s 2025 industry data set, the average gross margin across all U.S. public companies is approximately 33%— but that number masks enormous variation by business model and sector.

The Gross Margin Formula

Gross Margin (%) = (Revenue − COGS) ÷ Revenue × 100

Or in dollar terms:

Gross Profit ($) = Revenue − Cost of Goods Sold

Example: A SaaS company earns $2,000,000 in annual revenue and spends $400,000 on hosting, support, and infrastructure (COGS). Gross profit = $1,600,000. Gross margin = $1,600,000 ÷ $2,000,000 = 80%.

What goes into COGS? Direct costs only — raw materials, direct labor, manufacturing overhead, cloud infrastructure for software companies, cost of merchandise for retailers. General overhead, sales & marketing, R&D, and administrative expenses do not belong in COGS.

Use our Gross Margin Calculator to run the numbers instantly for your business.

Gross Margin Benchmarks by Industry

Damodaran’s January 2025 industry database, S&P 500 earnings data, and McKinsey’s profitability research all point to the same conclusion: gross margin is almost entirely determined by business model, not management skill. Comparing your SaaS gross margin to a grocery store’s is meaningless.

IndustryTypical Gross MarginKey COGS Drivers
Software / SaaS70–80%Hosting, support, payment processing
Financial Services60–75%Transaction costs, compliance
Pharmaceuticals55–75%Manufacturing, raw materials, QA
Professional Services30–55%Direct labor (billable hours)
Healthcare Services40–55%Clinical labor, supplies
Consumer Electronics30–45%Components, assembly, logistics
Apparel & Retail20–40%Merchandise cost, inventory shrink
Food & Beverage Manufacturing25–40%Ingredients, packaging, labor
Restaurants25–35%Food cost, kitchen labor
Home Improvement Retail25–33%Product cost, distribution
General Retail20–30%Wholesale cost, logistics
Grocery20–25%Perishable spoilage, wholesale
Wholesale Distribution15–25%Product cost, warehousing
Auto Manufacturing10–15%Steel, parts, assembly labor
Oil & Gas (Integrated)10–20%Extraction, refining, transport

The S&P 500 median gross margin has held in the 48–52% rangeover the past decade, though it is skewed upward by the heavy weighting of technology, healthcare, and financial companies in the index. Remove tech from the S&P 500 and the average drops to roughly 35%.

Gross Margin vs Net Margin vs Operating Margin: Key Differences

These three margin metrics measure profitability at different points on the income statement. Each tells a different story.

MetricWhat It MeasuresFormulaWhat’s Excluded
Gross MarginProduction efficiency(Revenue − COGS) ÷ RevenueOpEx, R&D, S&M, G&A, interest, taxes
Operating MarginCore business profitabilityEBIT ÷ RevenueInterest expense, income taxes
Net MarginTotal bottom-line profitabilityNet Income ÷ RevenueNothing — fully loaded

A company can have a high gross margin and still lose money. Amazon Web Services has a ~30% operating margin, but Amazon’s retail business historically operated near breakeven — the gross margin from retail is consumed by fulfillment, shipping, and infrastructure costs. A VC-backed SaaS startup might show 75% gross margin while losing money because it spends 120% of revenue on sales & marketing.

Gross margin is the ceiling. Net margin is what you actually keep. Everything in between is a cost management decision.

How SaaS and Software Achieve 70–80% Gross Margins

The economics of software are structurally different from physical goods. Once code is written, the marginal cost of delivering it to a new customer approaches zero. This is why software businesses can achieve gross margins that are literally impossible in manufacturing.

A typical SaaS COGS breakdown (as a % of revenue) looks like this:

  • Cloud infrastructure (AWS, GCP, Azure): 8–15%
  • Customer support labor: 5–10%
  • Third-party software licenses: 2–5%
  • Payment processing fees: 1–3%
  • Professional services / onboarding: 0–5%

That totals 16–38% COGS, leaving 62–84% gross margin. Companies at the high end (like pure-play analytics or security software) have minimal support costs and infrastructure that scales efficiently. Companies at the lower end typically have complex implementations requiring significant human services work.

According to Bessemer Venture Partners’ 2025 State of the Cloud report, the median public SaaS company maintains a 74% gross margin. Top-quartile performers reach 80%+. Below 65% is considered a warning sign for pure software businesses.

5 Ways to Improve Gross Margin

McKinsey’s research across 2,000 companies found that a 1% improvement in pricing yields an average 11% improvement in operating profit — more than a 1% reduction in variable costs (7.3%) or a 1% increase in volume (3.3%). Gross margin improvement is high leverage.

1. Raise Prices

The most direct lever. Most businesses underprice because they fear volume loss. But demand is often more inelastic than assumed — especially for B2B software, professional services, and products with high switching costs. A 5% price increase with 0% volume loss is a 5-point gross margin improvement.

2. Negotiate Lower COGS

Renegotiate supplier and vendor contracts annually. Consolidate purchasing to fewer vendors for better volume pricing. Explore alternative suppliers. In manufacturing, even a 2–3% reduction in raw material cost can meaningfully move gross margin given thin initial margins.

3. Shift Product Mix Toward Higher-Margin Offerings

Not all products or customers are created equal. Identify your highest-margin SKUs, tiers, or customer segments and allocate more sales & marketing resources toward them. Discontinue or deprioritize offerings that drag down the average. Segment analysis often reveals that the bottom 20% of customers or products generate negative gross margin.

4. Reduce Direct Labor Through Automation

Direct labor is often the largest variable component of COGS in services businesses. Process automation, AI-assisted workflows, and self-service customer portals all reduce the labor required per unit of revenue. For SaaS companies, reducing the support-to-customer ratio by 20% can add 2–3 percentage points to gross margin.

5. Reduce Waste, Defects, and Returns

In manufacturing and retail, product defects, returns, and spoilage flow directly into COGS. A 2% return rate on $10M in revenue is $200,000 in additional COGS. Quality improvements, better demand forecasting, and tighter inventory control all reduce these hidden COGS items.

Why Gross Margin Is the Foundation of Profitability Analysis

Gross margin matters because it is a structural constraint. You cannot cut your way to profitability from a negative gross margin — every unit sold loses money before you even pay rent or salaries. Gross margin sets the theoretical ceiling for what percentage of revenue can ever reach the bottom line.

Consider two companies each doing $5M in revenue:

  • Company A: 70% gross margin = $3.5M gross profit. Even with $2M in operating expenses, $1.5M remains.
  • Company B: 20% gross margin = $1M gross profit. $2M in operating expenses means a $1M operating loss.

Company B would need to cut operating expenses by more than half — or triple revenue — to reach breakeven. Company A has structural room to invest in growth, hire talent, or return cash to owners.

This is why investors and acquirers focus heavily on gross margin when evaluating businesses. A high gross margin signals pricing power, efficient delivery, and scalability. It is a prerequisite for a sustainably profitable business at scale.

Calculate your gross margin in seconds

Calculate Gross Margin Free →

Also useful: Operating Margin Calculator  ·  EBITDA Calculator

Disclaimer:This guide is for educational and informational purposes only and does not constitute financial or investment advice. Industry benchmark data is sourced from publicly available research (Damodaran, McKinsey, Bessemer, S&P) and may not reflect your specific situation. Consult a qualified financial professional before making business decisions.

Frequently Asked Questions

What is gross margin?

Gross margin is the percentage of revenue remaining after subtracting the cost of goods sold (COGS). Formula: Gross Margin = (Revenue − COGS) ÷ Revenue × 100. A 60% gross margin means you keep $0.60 of every dollar of revenue after direct production costs. It measures how efficiently a company produces its goods or services.

What is a good gross margin?

A good gross margin depends on your industry. Software and SaaS companies average 70–80%. Professional services firms run 30–50%. Retailers average 20–40%. Grocery stores operate at 20–25%. Auto manufacturers typically see 10–15%. Compare your gross margin to your specific industry average using Damodaran’s database or public company benchmarks rather than a single universal number.

What is the difference between gross margin and net margin?

Gross margin only subtracts direct production costs (COGS) from revenue. Net margin subtracts everything — COGS, operating expenses, R&D, sales and marketing, general and administrative costs, interest, and taxes. A company can have a strong 70% gross margin but a thin 5% net margin if it spends heavily on growth. Gross margin measures production efficiency; net margin measures total business profitability.

How does pricing affect gross margin?

Pricing is the most direct lever for gross margin. A 1% price increase on $1M revenue with fixed COGS adds $10,000 directly to gross profit — with no additional cost. Because COGS stays constant, every dollar of price increase flows straight to gross margin. McKinsey research shows a 1% improvement in pricing creates an 11% improvement in operating profit for the average S&P 500 company — larger than cost reduction or volume improvements.

Why do SaaS companies have high gross margins?

SaaS companies achieve 70–80% gross margins because the marginal cost of serving an additional customer is near zero once the software is built. COGS for SaaS consists primarily of hosting infrastructure (cloud servers), customer support, and payment processing — typically 20–30% of revenue. Unlike physical goods, there is no raw material, manufacturing, or shipping cost per unit sold. Each new customer adds almost pure revenue with minimal incremental cost.

How do you improve gross margin?

Five proven levers to improve gross margin: (1) Raise prices — even a 3–5% increase can significantly boost margin if demand is inelastic. (2) Negotiate lower COGS — renegotiate supplier contracts, consolidate vendors, or buy in larger volumes for discounts. (3) Reduce direct labor through automation — replacing manual steps with software or machinery lowers variable cost per unit. (4) Shift product mix toward higher-margin offerings — discontinue or deprioritize low-margin products. (5) Reduce waste and defects — quality improvements lower the cost of rework, returns, and scrap.