Gross Margin in SaaS — why 80% is the standard and what goes into COGS

2026-05-19 · by Rodion Latipov

Gross Margin in SaaS — why 80% is the standard and what goes into COGS

Gross Margin is the foundation of SaaS financial health. It shows how much of every dollar of revenue is left after the direct costs of delivering the product. It's what determines how efficiently a company grows.

> Gross Margin = (Revenue − COGS) / Revenue × 100%

COGS (Cost of Goods Sold) is the direct cost of providing the service. The lower the COGS, the more money is left for growth and profit.

Why SaaS margins are 75-85%

Unlike physical goods, delivering one more copy of software costs almost nothing. That's why SaaS is one of the highest-margin businesses in the world:

Business typeTypical Gross Margin
SaaS (mature)75-85%
SaaS (top-tier)85-90%
Marketplace50-70%
E-commerce20-40%
Hardware20-35%
Services / agencies30-50%
The norm for SaaS is 80%. Below 70% — investors get wary: either hosting costs are high, or services/implementation with low margin are hidden in the revenue.

What goes into COGS for SaaS

The main mistake is confusing COGS with operating expenses. COGS includes only what's directly needed to run the service:

Goes into COGS ✓Does NOT (it's OpEx) ✗
Hosting / cloud (AWS, GCP)Sales & Marketing
Third-party APIs in the productR&D / feature development
Customer support (part)G&A (office, legal, finance)
Customer Success (part)Developer salaries
Payment processing feesAdvertising
Content delivery (CDN)Management
The gray area — Customer Success and Support. The part that ensures the customer's basic operation is COGS; the part doing upsell is Sales. Split it consistently and don't change the methodology between periods.

Worked example

A SaaS company:

Gross Margin = (5,000,000 − 800,000) / 5,000,000 = 4,200,000 / 5,000,000 = 84% → excellent

How Gross Margin affects everything else

Margin is a multiplier on the efficiency of the entire economy:

Rule of 40

Gross/EBITDA margin is half of the R40 formula. +5pp of margin = +5 points of R40 directly.

CAC Payback

CAC Payback = CAC / (MRR × Gross Margin). Raising margin from 75% to 85% cuts payback by ~12% with no change in CAC.

Runway

Higher margin → less cash burned per dollar of revenue → a longer runway.

Valuation

Public SaaS at 80%+ margin trade at a premium on multiples vs companies at 60%. Margin feeds directly into valuation.

4 levers to grow Gross Margin

1. Hosting optimization

The most common source of bloated COGS at scale:

2. Support deflection

3. Pricing review

A price increase goes straight to margin (COGS doesn't rise proportionally). +10% price at the same costs = a noticeable gain in Gross Margin.

4. Remove low-margin services from the core

Custom implementation and consulting at 30% margin dilute the overall figure. Break them into a separate line or hand them to partners so the core SaaS shows an honest 80%+.

When Gross Margin is MISLEADING

1. Inconsistent COGS — if you include Support one quarter and not the next, the trend is meaningless
2. Services in revenue — high-touch implementation understates the "software" margin; separate the revenue streams
3. Early stage — at low revenue, fixed hosting gives a distortedly low margin that corrects with scale
4. Gross vs Net — don't confuse gross margin with operating/net margin

Relationship to other metrics

MetricRelationship to Gross Margin
Rule of 40Margin is half of the formula
CAC PaybackMargin is a multiplier in the denominator
LTVNet LTV is calculated after deducting COGS
Burn MultipleHigher margin → lower burn per unit of growth

Bottom line

Gross Margin is the foundation of SaaS unit economics. Aim for 75-85%, calculate COGS consistently (hosting + basic support + fees, excluding S&M and R&D), and remember: margin amplifies or weakens every other metric. Raising margin by 5-10pp is one of the cheapest ways to improve R40, CAC Payback and runway all at once.

Calculate your Gross Margin below — the built-in calculator shows the result and a benchmark.

---

Further resources

🧮 Calculate it right here:

Open the full version: https://metricstree.vercel.app/grossMargin

Share: 𝕏 / Twitter LinkedIn Telegram