SaaS Gross Margin: What It Is, Why It Matters, and How to Improve It

June 20, 2026
8 min read

Revenue growth gets the headlines. Gross margin keeps the lights on.

You can grow MRR at 10% month-over-month and still be building a fundamentally broken business if your gross margin is too low. Gross margin is the invisible force that determines whether your revenue actually converts into a sustainable, scalable company.

Yet many SaaS founders - especially in the early stages - treat it as a secondary concern behind top-line growth. This guide explains why that's a dangerous mistake.


What Is SaaS Gross Margin?

Gross Margin is the percentage of revenue that remains after subtracting the direct costs of delivering your product (Cost of Goods Sold, or COGS).

Formula:

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

For example:

  • Monthly Revenue: $100,000
  • COGS: $25,000
  • Gross Margin = ($100,000 − $25,000) ÷ $100,000 = 75%

What Counts as COGS in SaaS?

This is where many founders get confused. SaaS COGS are not the same as manufacturing COGS. They include:

Direct COGS (always include):

  • Cloud hosting and infrastructure (AWS, GCP, Azure)
  • Payment processing fees (Stripe, Paddle - typically 2.9% + $0.30)
  • Third-party API costs directly tied to product delivery (e.g., OpenAI API, Twilio SMS, Sendgrid)
  • Customer support and customer success labor directly tied to service delivery

Often debated:

  • Salaries of engineers who maintain (not build) the product
  • Data storage and bandwidth
  • Sub-processors (analytics tools used in product, not just internally)

Not COGS (operating expenses):

  • Sales and marketing
  • Product development (new features)
  • G&A (finance, HR, legal)
  • R&D

Getting this classification right matters because investors, acquirers, and benchmarks all assume a specific definition of SaaS COGS.


Gross Margin Benchmarks for SaaS

Company Type Typical Gross Margin
Pure software (no infrastructure) 80–90%
API-heavy or AI-powered SaaS 60–75%
Infrastructure SaaS 55–70%
SaaS with services component 50–65%
Marketplace SaaS 40–60%

The gold standard for pure SaaS is 75–85%. This is what Salesforce, HubSpot, and other public SaaS companies consistently report. Investors expect this range when evaluating subscription software businesses.

If your gross margin is below 60%, you need to understand why - and have a credible path to improving it.


Why Gross Margin Determines Your Business Model

1. It Sets the Ceiling for Your Operating Leverage

Operating leverage is the ability to grow profit faster than revenue. A business with 80% gross margin has $0.80 of every dollar available to cover operating expenses and generate profit. A business with 40% gross margin has $0.40.

At scale, this difference is enormous:

  • At $10M ARR, an 80% GM company has $8M to fund sales, marketing, and R&D
  • At $10M ARR, a 40% GM company has only $4M - and is likely still unprofitable

2. It Directly Affects Valuation

SaaS companies are valued as a multiple of ARR. But investors discount that multiple aggressively for low gross margin businesses, because low margin = low terminal profitability.

As a rough guide:

  • 75%+ GM: Full SaaS multiples apply (5–15× ARR at growth stage)
  • 60–75% GM: Modest discount (3–10× ARR)
  • Below 60% GM: Significant discount; acquirers may value it as a services business

3. It Affects Your CAC Payback Period

Your CAC Payback Period is calculated using gross margin: CAC ÷ (MRR × Gross Margin%). A lower gross margin directly extends your payback period, requiring more capital to sustain growth.


5 Ways to Improve SaaS Gross Margin

1. Optimize Cloud Infrastructure Costs

Cloud costs are the most common culprit for compressed SaaS margins. Common fixes:

  • Right-size idle instances
  • Use reserved instances or committed use discounts (typically 30–40% savings vs on-demand)
  • Implement autoscaling to eliminate over-provisioning
  • Audit egress costs - data transfer out is often a hidden cost

Many early-stage SaaS companies reduce cloud spend by 30–50% with a focused infrastructure audit.

2. Reduce Third-Party API Costs at Scale

APIs (OpenAI, Twilio, mapping APIs) are often priced per usage. As you scale, negotiate volume pricing or explore self-hosting alternatives. Building your own infrastructure for high-usage APIs can be worth the engineering investment at significant volume.

3. Push Customers to Annual Plans

Annual plan customers pay upfront, eliminating monthly payment processing fees. They also reduce the frequency of Stripe API calls. On a $100/month plan, 12 monthly transactions at 2.9% = $34.80/year in fees. One annual transaction at 2.9% = $34.80 once - roughly the same in this example, but the cash flow impact and failed payment overhead is dramatically lower.

4. Implement Tiered Support

Providing high-touch support to all customers at the same cost is a margin killer. Tier your support:

  • Self-serve customers: documentation, community, chatbot
  • Standard customers: ticket-based support with SLA
  • Enterprise customers: dedicated CSM (priced into contract)

The goal is to align your support cost with the revenue each tier generates.

5. Automate Customer Onboarding

Every minute a human spends manually onboarding a customer is COGS. Build self-serve onboarding flows, in-product tooltips, and automated email sequences that guide customers to activation without requiring CS involvement.


Tracking Gross Margin Over Time

Gross margin can erode silently. Common causes:

  • API costs growing faster than revenue (AI-heavy products)
  • Increased support load from a product bug or scaling issue
  • Payment processor switching without cost comparison

Review your gross margin monthly. In Chartsy, you can model gross margin by connecting your Stripe revenue data and manually inputting your COGS to track the trend over time.


FAQ

Is gross margin the same as gross profit?

No. Gross Profit is the absolute dollar amount (Revenue − COGS). Gross Margin is the percentage. Both are useful; margin % is easier to benchmark against industry standards.

Should I include customer success salaries in COGS?

If your CS team is primarily focused on onboarding and support delivery (service), yes. If they're primarily focused on upsell and expansion (revenue), no - that belongs in sales expense. In practice, many teams split it based on estimated time allocation.

What gross margin do I need to raise a Series A?

Most Series A investors expect 65–75%+ gross margin for a software-first business. Below that, expect tough questions and lower valuation multiples.


Conclusion: Protect Your Margin Like Revenue

Gross margin is not a line item on your P&L to review once a quarter. It's a strategic constraint that shapes everything from your pricing to your hiring plan to your fundraising trajectory.

Build habits to review it monthly. Know where your COGS live. And make sure every new feature or integration you add is priced to preserve the margin that makes your SaaS business model work.

Monitor your SaaS financial metrics with Chartsy → chartsy.app


Chartsy Team

Written by

Chartsy Team

The Chartsy Team writes guides, product updates, and resources to help SaaS and eCommerce founders make sense of their metrics, without SQL or spreadsheets.

Chartsy