Average SaaS Gross Margin: What the Benchmarks Show
The average SaaS gross margin depends on what you count. In the 2026 Aleph and Benchmarkit benchmarks, the median software gross margin was 80 percent for full-year 2025, and the median margin on total revenue, including services, was 76 percent.
- Median software margin is 80%. That is the 2025 median across 342 companies in the cited benchmark.
- Total margin is lower at 76%. Services and other revenue dilute the blended figure.
- Scale helps. Median software margin was 72% under $5M ARR and 86% at $50M to $100M ARR.
- Usage pricing runs lower. Usage-only models posted a 62% median, reflecting higher delivery costs.
- Compare like with like. Match revenue type, size, and pricing model before judging your margin.
What is the average SaaS gross margin?
There is no single average, so use the median for your revenue type. Aleph and Benchmarkit report a median software gross margin of 80 percent for full-year 2025.
Measured across total revenue, including services and other income, the median was 76 percent. The four-point gap shows how much lower-margin services work dilutes the blend.
Top-quartile companies cleared 86 percent on software revenue, while the bottom quartile sat near 50 percent. That spread is why one headline number misleads without context.
Check your own figure with a gross margin calculator, then compare it with the band that matches your size and pricing model.
- Software revenue median: 80%
- Total revenue median: 76%
- Top quartile: 86% or higher
- Bottom quartile: near 50%
Use medians, not simple averages, when you benchmark. A few very large or unusual companies can pull an average away from what a typical company actually earns.
Remember that benchmarks are self-reported survey data. Aleph and Benchmarkit describe 342 participating companies, so treat the figures as strong guidance, not audited market totals.
In short, quote the average SaaS gross margin with its basis attached: 80 percent median for software revenue, 76 percent for total revenue, in the cited 2025 benchmark data.
With the basis, size band, and pricing model stated, the number becomes a useful comparison instead of a slogan.
How do you calculate SaaS gross margin?
Gross margin equals revenue minus cost of goods sold, divided by revenue, times one hundred. The formula is the same for software-only and total-revenue views.
For SaaS, cost of goods sold includes hosting, cloud infrastructure, third-party services used in delivery, and support costs tied to running the product for customers.
Example: revenue of $100,000 with $20,000 delivery costs gives an 80 percent margin. The math is ($100,000 minus $20,000) divided by $100,000, times 100.
Keep sales, marketing, and general costs out of this calculation. Those are operating expenses, and mixing them in makes margin impossible to compare with benchmarks.
- Margin = (Revenue - COGS) / Revenue x 100
- Include hosting and delivery costs in COGS
- Include product support delivery costs
- Exclude sales and marketing spend
Recalculate your margin the benchmark way before comparing. If your COGS policy differs, adjust your presentation first, or the comparison will punish or flatter you unfairly.
Look at margin trend, not only level. A company improving from 68 to 74 percent has a better story than one drifting from 84 to 78 percent.
Why do software and total gross margins differ?
Software revenue is efficient to deliver once the product exists. Serving one more subscription customer usually costs far less than the fee that customer pays.
Services revenue is different. Onboarding, implementation, and training consume staff time for each customer, so their margins are lower and pull the blended figure down.
Aleph notes the same pattern: the 80 percent software median versus the 76 percent total median reflects services and non-software revenue in the mix.
Report both margins every period. A widening gap tells you services are growing faster than software, which changes hiring, pricing, and delivery decisions.
- Software scales with low added cost
- Services scale with staff time
- Blended margin falls as services share grows
- Report both margins separately
| Cut | Median software gross margin | Basis |
|---|---|---|
| All companies | 80% | 342 companies, full-year 2025 |
| Total revenue basis | 76% | Includes services revenue |
| Under $5M ARR | 72% | Smallest benchmark band |
| $50M to $100M ARR | 86% | Larger benchmark band |
| Usage-only pricing | 62% | Usage-based models only |
Separate one-off delivery costs from recurring ones. A migration project in one quarter can make a healthy margin look weak if it is buried in normal COGS.
Pair margin with growth when you judge health. Investors read the two together, because efficient growth and profitable growth are related but different claims.
How does gross margin change with company size?
In the same benchmark, median software margin was 72 percent for companies under $5M ARR. Fixed infrastructure and support costs spread across less revenue at that size.
At $50M to $100M ARR, the median reached 86 percent. Scale brings purchasing power, automation, and better utilization of the platform team and infrastructure.
That is a fourteen-point gap between the smallest and larger bands. It comes mostly from fixed delivery costs being shared across far more revenue.
Judge a small company against the small-company band. Expecting 86 percent at $2M ARR ignores the cost structure that the benchmark data actually shows.
- Under $5M ARR: 72% median software margin
- $50M to $100M ARR: 86% median
- Gap driven by fixed cost spread
- Benchmark within your size band
Compare margin with retention before acting. A lower margin that buys durable, expanding customers can be a better business than a high margin on customers who leave.
Why is usage-based pricing margin lower?
Usage-only pricing models posted a median gross margin of 62 percent in the benchmark. Their delivery costs rise directly with customer consumption, such as compute and data processing.
Subscription models with fixed fees can grow revenue without the same cost increase. When customers use more within a flat plan, margin often improves instead of falling.
Lower margin is not automatically bad. Usage pricing can win and expand customers in ways that offset thinner delivery economics, but you must price that trade-off knowingly.
Track margin by pricing model in your SaaS metrics reporting. One blended number hides which model earns money and which one merely grows revenue.
- Usage-only median: 62%
- Costs rise with consumption
- Flat plans can expand margin with use
- Track margin per pricing model
Always state your basis. Saying margin is 76 percent means one thing for total revenue and something quite different for software revenue alone.
Set margin targets by segment, not only for the company. A services line and a software line need different targets, owners, and improvement plans.
What costs belong in SaaS COGS?
Hosting and cloud infrastructure belong in COGS, along with third-party APIs and services your product depends on to serve customers in production.
Customer support that keeps the service running also belongs there in most presentations. Separate it from success or account management work that is really retention spending.
Aleph advises separating software from services COGS, and tracking AI inference and model costs distinctly. That split shows where margin pressure actually comes from.
Write your COGS policy down and apply it consistently. Moving costs between COGS and operating expenses changes margin without changing the business at all.
- Hosting and cloud infrastructure
- Third-party delivery services and APIs
- Production support costs
- AI inference and model costs, tracked separately
Watch margin monthly during pricing or infrastructure changes. Waiting for the quarter end delays corrections while the new cost pattern runs for three full months.
How can you improve a low SaaS gross margin?
Start by finding the drag: one product, one pricing model, or one large customer often explains most of a low margin. Fix the segment, not the whole company at once.
Renegotiate or re-architect the largest delivery costs, usually cloud and third-party services. Reserved capacity, caching, and usage limits can cut cost without touching the customer experience.
Price services properly or productize them. Work that is given away free inside subscriptions quietly converts software margin into unpaid services margin.
Review the app and vendor costs behind delivery in your spend management process, and recheck margin after each change with the same definitions.
- Find the low-margin segment first
- Cut the largest delivery costs
- Price or productize services work
- Recheck with consistent definitions
Share the margin definition with sales and product teams. Pricing and packaging decisions made without delivery costs in view are where future margin problems begin.
Sources
Frequently asked questions
What is a good SaaS gross margin?
In the 2026 Aleph and Benchmarkit benchmarks, the median software gross margin was 80 percent and top-quartile companies reached 86 percent or more. Judge your figure against your size and pricing model.
How do you calculate SaaS gross margin?
Subtract cost of goods sold from revenue, divide by revenue, and multiply by 100. Example: $100,000 revenue minus $20,000 delivery costs, divided by $100,000, equals an 80 percent margin.
Why is total gross margin lower than software gross margin?
Total revenue includes services such as onboarding and implementation, which need staff time per customer. Their lower margins pull the blended figure down, to a 76 percent median in the benchmark.
What gross margin do small SaaS companies have?
Companies under $5M ARR had a median software gross margin of 72 percent in the benchmark. Fixed hosting and support costs weigh more heavily when spread over less revenue.
Why do usage-based SaaS companies have lower margins?
Their delivery costs, such as compute, rise with customer usage. Usage-only models posted a 62 percent median margin in the benchmark, well below subscription models.