Financials Series

SaaS Gross Margin Explained: What It Is and What Good Looks Like

Gross margin is the single number investors look at before everything else. It determines how much of every revenue dollar survives after delivering the product — and it sets the ceiling for every other margin in the business. For SaaS companies, gross margin is structurally different from traditional industries, and the benchmarks investors use reflect that.

Advertisement

TL;DR

  • Formula: (Revenue − COGS) ÷ Revenue × 100
  • Floor for SaaS: 70% — below this, investors ask hard questions
  • Target: 75–80% for pure-play SaaS without heavy services
  • Elite tier: 80%+ is achievable with disciplined COGS management
  • Gross margin gates Rule of 40 and FCF margin — you cannot build the others without it

What Gross Margin Measures in SaaS

Gross margin measures what percentage of revenue remains after subtracting the direct cost of delivering the product — formally called Cost of Goods Sold (COGS). The formula is straightforward:

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

Example: A SaaS company with $100M revenue and $22M COGS has a gross margin of 78%. For every dollar of revenue, 78 cents remain to cover operating expenses, R&D, sales and marketing, and ultimately generate profit.

In SaaS, COGS typically includes cloud hosting costs (AWS, GCP, Azure), support headcount directly serving customers, third-party software costs embedded in the product, and professional services delivery. It does not include R&D, sales & marketing, or G&A — those are operating expenses that sit below the gross margin line.

Understanding what goes into COGS is critical for interpreting gross margin correctly. A company that bundles expensive implementation services into the subscription price will report a lower gross margin than a company with identical underlying software economics. Neither number is wrong — they reflect different business models — but they cannot be compared directly without adjustment.

Why SaaS Gross Margins Are Structurally Higher Than Other Industries

Software has essentially zero marginal cost to replicate. Once a feature is built, it can be delivered to the ten-thousandth customer for the same infrastructure cost as the hundredth. This is the foundational economic advantage of software over physical goods, where COGS scales linearly with units sold.

A manufacturer selling $100M of product might have $60–70M in COGS, leaving 30–40% gross margin. A SaaS company at the same revenue scale typically has $20–30M in COGS, leaving 70–80% gross margin. The difference flows directly to the ability to fund R&D, go-to-market expansion, and ultimately free cash flow generation. This is why investors assign much higher valuation multiples to SaaS than to manufacturing or retail.

The key SaaS COGS line items — cloud infrastructure, customer support, and data processing — do grow with revenue, but they grow sublinearly. As a company scales, infrastructure costs become a smaller percentage of revenue through negotiated discounts, architectural optimization, and the simple math that fixed-cost infrastructure serves more customers over time. This operating leverage is why gross margins for mature SaaS companies tend to expand over time, not contract.

The 70%, 75%, and 80% Thresholds

Investors use three thresholds as mental anchors when evaluating SaaS gross margins:

70%

The Floor

Below 70% gross margin, investors ask whether the business model is structurally sound. A sub-70% margin typically signals heavy professional services revenue, infrastructure inefficiency, or a downmarket product mix that requires significant support to serve.

75%

The Target

75% is the expectation for a well-run, pure-play SaaS business. At this level, infrastructure costs are managed, support is scaled through self-service and automation, and the business has enough margin to fund both R&D and sales motion without external capital.

80%+

Excellence

80%+ gross margin signals a product that essentially sells and delivers itself — minimal services, highly automated support, and optimized infrastructure. Companies like Veeva Systems have sustained 70–75%+ non-GAAP gross margins consistently, demonstrating what's possible with disciplined COGS management.

These thresholds are benchmarks, not absolute rules. Context matters: a company growing at 60% YoY with 68% gross margins is likely in an investment phase, deliberately absorbing professional services costs to land large enterprise contracts. Investors will accept below-floor gross margins temporarily if there is a credible path to margin expansion as the mix shifts toward pure subscription revenue.

How Gross Margin Interacts with Rule of 40 and FCF Margin

Gross margin is the foundation that every downstream profitability metric is built on. You cannot have great FCF margins or a strong Rule of 40 score without first having strong gross margins. The math is unforgiving: if COGS consumes 35 cents of every revenue dollar, only 65 cents remain to cover S&M, R&D, G&A, and generate cash flow. A company with 65% gross margins cannot hit a 20% FCF margin without eliminating all operating expenses — an impossibility in practice.

In the Rule of 40 framework, gross margin compression directly constrains how high the FCF margin component can grow. Two companies with identical revenue growth rates but different gross margins will have very different Rule of 40 ceilings. The 80% gross margin company can theoretically reach a 40% FCF margin with sufficient scale and cost discipline; the 65% gross margin company cannot. This is why investors apply a "gross margin quality adjustment" when comparing Rule of 40 scores across companies with different business models.

The interaction also matters for valuation. Investors computing EV/Revenue multiples will often gross-margin-adjust their comps — a company with 80% gross margins deserves a higher revenue multiple than a 65% gross margin company growing at the same rate, because 80 cents of each incremental revenue dollar is available to generate profit versus only 65 cents. This adjustment is frequently overlooked when founders benchmark their valuation against peers without normalizing for gross margin.

Common Ways Companies Compress Gross Margin

warning

Heavy professional services revenue

Implementation, onboarding, and consulting services are labor-intensive and low-margin — often 20–40% gross margin compared to 75–80%+ for subscription software. When services revenue grows faster than subscription revenue (a common pattern in enterprise-led land-and-expand), the blended gross margin deteriorates even if both segments individually improve.

warning

Infrastructure scaling pain

Companies that built on expensive, custom infrastructure rather than commodity cloud services often see COGS grow faster than revenue during high-growth periods. Until architectural refactoring catches up, gross margins can compress by 3–5 percentage points. This is typically a temporary problem but it can persist for years if not prioritized.

warning

Not charging for support

Customer success and support headcount is one of the largest COGS line items for SaaS companies. Companies that offer unlimited support at all pricing tiers are effectively subsidizing high-support customers out of gross margin. Tiering support by price (standard vs. premium support) is one of the highest-ROI gross margin improvements available to a growing SaaS business.

warning

Downmarket customer mix

SMB customers require proportionally more support relative to contract value than enterprise customers. A company that shifts downmarket to accelerate growth may see gross margin compression as support costs rise without a corresponding increase in revenue per customer.

Advertisement

Live Gross Margin Rankings

See where every public SaaS company ranks on gross margin — from the 80%+ elite tier down to the companies with structural challenges. Data is sourced from SEC EDGAR filings and updated after each earnings report.

See gross margin benchmarksarrow_forward

Compare Your Gross Margin

The SaaSDB benchmark tool lets you enter your own gross margin, NRR, and Rule of 40 score and see exactly where you rank against 500+ public SaaS companies. Use it to prepare for investor conversations with percentile data.

See where you rank →

Related Guides

format_quoteCite This Data

Plain text
SaaSDB (2026). SaaS Gross Margin Explained: What It Is and What Good Looks Like (2026). Retrieved 2026-05-13 from https://saasdb.app/learn/financials/gross-margin/
HTML
<a href="https://saasdb.app/learn/financials/gross-margin/">SaaS Gross Margin Explained: What It Is and What Good Looks Like (2026) — SaaSDB</a>
Markdown
[SaaS Gross Margin Explained: What It Is and What Good Looks Like (2026)](https://saasdb.app/learn/financials/gross-margin/)