Gross Margin

The foundation of SaaS profitability and scalability

Gross margin calculation diagram

Gross margin is one of those metrics that seems abstract until you realize it's the difference between a business that scales and one that gets stuck. I've seen identical-revenue companies have completely different fates based purely on gross margin. One becomes profitable; the other never can.

Gross margin measures what percentage of revenue remains after directly variable costs—the costs required to deliver your product or service. For SaaS, this typically includes hosting costs, payment processing fees, third-party API costs, and customer support costs directly tied to serving customers. It does NOT include sales, marketing, R&D, or general overhead.

The formula: Gross Margin = (Revenue - Cost of Goods Sold) / Revenue. Express as a percentage. A company with $1M revenue and $200K COGS has 80% gross margin. That $800K must cover all operating expenses—and that's where profitability is made or broken.

SaaS Gross Margin Benchmarks

Excellent: 80%+ | Good: 70-80% | Acceptable: 60-70% | Concerning: Below 60%. Software businesses should target 70-80%+ gross margin.

Why Gross Margin Matters

High gross margin is what makes SaaS businesses valuable. Here's the math: at 80% gross margin, every $1 of revenue gives you 80 cents to work with. At 50% gross margin, you only have 50 cents. That 30-cent difference compounds dramatically as you scale.

Consider two $10M ARR companies. Company A has 80% gross margin, leaving $8M for operating expenses. Company B has 50% gross margin, leaving $5M. If both spend $4M on R&D and $3M on sales & marketing, Company A makes $1M in profit while Company B loses $2M. Same revenue, completely different outcomes.

High gross margin also means more capital-efficient growth. Each dollar of revenue goes further. It means you need less capital to reach profitability. It means investors get more value per dollar invested. This is why public SaaS companies trade at premium multiples—they have the margin structure to generate substantial profits at scale.

Low gross margin businesses are essentially service businesses in disguise. If your margin is below 60%, you're not really selling software—you're selling a service that happens to use software. That's not inherently bad, but it changes your valuation and growth dynamics.

Improving Gross Margin

Most SaaS companies can improve gross margin without raising prices. Focus on three areas:

Infrastructure efficiency: Cloud hosting costs often have significant optimization potential. Right-size instances, use reserved capacity, implement caching, optimize database queries. A $10K/month AWS bill might be reducible to $6K without any feature changes.

Customer support efficiency: Implement self-service resources, improve onboarding to reduce tickets, use chatbots for common questions, identify and address systematic issues causing support volume. Support costs directly tied to customers are COGS.

Third-party costs: Audit your API usage, negotiate vendor contracts, eliminate unused tools. Every dollar of third-party cost directly hits gross margin.

The key insight: unlike operating expenses, improving gross margin doesn't require tradeoffs. You're not sacrificing growth or capabilities—you're eliminating waste. Every margin point flows directly to bottom-line profitability.

Key Takeaways

  • Target 70-80%+ gross margin for SaaS
  • High margin = capital efficiency = higher valuations
  • Audit hosting, support, and third-party costs
  • Improvements flow directly to profit
  • Below 60% means you're effectively a service business

Improve Margins

We can help you analyze your gross margin and identify specific improvement opportunities.

Get Margin Help