SaaS Gross Margin Calculator 2026 COGS Breakdown & Benchmarks

Calculate your SaaS gross margin with an itemised COGS builder specific to software businesses. Break down hosting, support, onboarding, and third-party costs to see exactly where your margin goes.

SaaS COGS (Cost of Goods Sold)

Gross Margin
83.5%
Best-in-Class
Gross Profit
$167.0K
Total COGS
$33.0K

COGS Breakdown

Hosting / Infrastructure$8.0K (4.0%)
Customer Support$15.0K (7.5%)
Onboarding / Implementation$5.0K (2.5%)
Third-Party Software$3.0K (1.5%)
Data / Bandwidth$2.0K (1.0%)

SaaS Gross Margin Benchmarks

80-90%+
Best-in-class SaaS
70-80%
Healthy SaaS average
60-70%
Below benchmark
< 60%
Investor concern

What Counts as SaaS COGS (and What Does Not)

COGS (Include)

  • Cloud hosting and infrastructure (AWS, Azure, GCP)
  • Customer support team salaries + tools
  • Onboarding and implementation team costs
  • Third-party APIs and embedded software
  • Data storage, CDN, and bandwidth
  • DevOps/SRE team (portion dedicated to uptime)

Not COGS (Exclude)

  • R&D and engineering salaries
  • Product management team
  • Sales and marketing costs (these are in CAC)
  • Customer success (post-onboarding)
  • General and administrative expenses
  • Office rent and facilities

Improving SaaS Gross Margin

Infrastructure Optimisation

Most SaaS companies overpay for cloud by 30-50%. Rightsize instances, use reserved or committed use pricing, implement auto-scaling, and review architecture for cost-inefficient patterns. A senior DevOps hire that saves $200K/year in cloud costs improves margin permanently.

Support Automation

Build self-service support: searchable knowledge bases, in-app tooltips, interactive guides, and AI chatbots for common questions. Every support ticket you deflect reduces COGS. Target: 80%+ of issues resolved without human contact.

Onboarding Productisation

Convert high-touch onboarding into in-product guided setup, video walkthroughs, and template libraries. Professional services for implementation should be an optional premium, not a required cost for every customer.

Third-Party Cost Management

Audit your API and data provider costs. As you scale, renegotiate pricing tiers. For critical APIs with high per-call costs, evaluate building in-house alternatives. Sometimes a $100K engineering investment replaces $300K/year in API fees.

Related Calculators

Frequently Asked Questions

What should SaaS gross margin be?
The benchmark range for SaaS gross margin is 70-85%. Public SaaS companies average 70-75%. Best-in-class companies achieve 80-90%+. Below 60% raises investor concerns because it signals significant infrastructure costs, professional services dependency, or hardware components that reduce the scalability advantages of the SaaS model. Gross margin is a key input to LTV calculations and directly affects how much you can afford to spend on acquisition.
What counts as COGS in SaaS?
SaaS COGS includes all costs directly associated with delivering the product to customers: hosting and infrastructure costs (AWS, Azure, GCP), customer support team salaries and tools, onboarding and implementation team costs, third-party software embedded in your product (APIs, data providers), and data storage and bandwidth costs. It does NOT include R&D salaries, sales and marketing costs, general administrative expenses, or rent.
How do you improve SaaS gross margin?
Four primary strategies: (1) Optimise infrastructure costs by rightsizing instances, using reserved pricing, and improving code efficiency. Many SaaS companies overpay for cloud by 30-50%. (2) Automate customer support with self-service knowledge bases, chatbots, and in-app guidance to reduce the support team size per customer. (3) Reduce professional services by building better onboarding into the product itself. (4) Renegotiate third-party costs or build in-house alternatives for expensive APIs.
Why do investors care about SaaS gross margin?
Gross margin determines the scalability of the business. A 75% gross margin means 75 cents of every dollar can fund growth, R&D, and profit. A 50% gross margin means only 50 cents. High margins signal a truly software-driven business. Low margins often indicate hidden services components, infrastructure inefficiency, or dependency on expensive third-party data. Investors use gross margin as a quality filter: below 60% and many will not invest because the unit economics do not support venture-scale returns.