Huge GTM SummitReserve
Financial health

Gross Margin

Definition

Revenue minus COGS, expressed as a percentage. SaaS companies typically target gross margins of 70-85%, which reflects the scalability advantage of software delivery.

In depth
6 sections

What Is Gross Margin?

Gross margin is revenue minus cost of goods sold (COGS), expressed as a percentage of revenue. It shows how much of each revenue dollar is left after paying the direct cost of delivering your product. In SaaS it is high because serving one more customer adds only a little hosting, support and payment cost.

SaaS Gross Margin Formula and Example

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

SaaS companies usually report three versions: subscription gross margin, services gross margin and the blended figure for the whole company. Take a company with $2,000,000 of subscription revenue and $400,000 of implementation and training revenue:
Worked example: subscription, services and blended SaaS gross margin
Revenue streamRevenueCOGSGross margin
Subscription$2,000,000$360,00082%
Services$400,000$280,00030%
Blended (total)$2,400,000$640,00073.3%

The software itself earns 82%, but services pull the blended margin down to 73.3%. Report the subscription figure separately so buyers and lenders can see the economics of the product itself.

What Goes Into SaaS COGS

COGS covers the cost of delivering the product to paying customers: production hosting, third-party APIs and AI inference inside the product, customer support, payment processing and the DevOps time that keeps production running. Sales, marketing, R&D and general admin stay out. The full line-by-line list, with the edge cases such as customer success and capitalized software, is on the SaaS COGS page. Whatever you include, apply the same rules every month: a margin that jumps because a cost moved between lines raises questions in diligence.

SaaS Gross Margin Benchmarks

Benchmarkit's 2026 SaaS and AI metrics benchmarks put the median software gross margin at 80%, stable across the four years from 2022 to 2025. According to Aleph's summary of the report, the survey covered 342 B2B SaaS and AI-native software companies. The previous edition splits the figure by revenue stream:
Median SaaS gross margin by revenue stream, Benchmarkit 2025 report (2024 data)
Revenue streamMedian gross margin
Subscription revenue81%
Total revenue (blended)77%
Professional services revenue30%

Source: Benchmarkit 2025 benchmarks report. A subscription margin well below 80% usually points to heavy infrastructure, data or AI inference costs, or to support work that scales with every customer. Compare yourself with companies that have a similar cost structure.

Why Lenders and Acquirers Care About Gross Margin

Gross margin decides how much of each revenue dollar is available to cover operating costs, growth and debt payments. Buyers apply higher valuation multiples to higher-margin revenue. Lenders offering revenue-based financing look at it to judge how much repayment the business can carry. It also feeds unit economics: LTV and CAC payback are calculated on gross profit, so a lower margin means a longer payback on every customer.

How to Improve SaaS Gross Margin

Right-size infrastructure. Remove idle capacity, use reserved or committed pricing and separate production from development costs.
Renegotiate embedded vendors. Third-party APIs and AI model costs often have volume tiers you qualify for as usage grows.
Move support into the product. Documentation, in-app guidance and better onboarding cut support cost per customer.
Price the heavy usage. If a few customers drive most of the infrastructure or AI cost, a usage component or a higher tier aligns price with cost.
Raise prices. A price increase lifts margin directly because COGS does not change. Model the effect with the SaaS price increase calculator.
Price services to cover their cost. Underpriced implementation work lowers blended margin without growing recurring revenue.
Eligibility

See your terms in
under five minutes.

No pitch deck, no scarcity, no countdowns. Connect your data and we'll show you exactly what you qualify for — every figure disclosed up front.

$500K+Last-year revenue
RecurringSubscription or repeat revenue
HealthyRetention & gross margins
Questions
Gross Margin

Software has a near-zero cost for each additional user. Once it is built, the same codebase serves thousands of customers with only extra hosting and support cost. Physical products and services businesses need materials, labor or time for every unit they sell.

Gross margin is one of the first metrics lenders and investors check. Higher margins support higher valuation multiples, and for revenue-based financing they show that revenue growth turns into cash that can repay the loan.

Your metrics are the application. See what they qualify you for.

Check your terms