What is Cost of Revenue (SaaS)?

Cost of revenue in SaaS includes all direct costs of delivering the product to customers, including hosting, support, customer success, and professional services, and directly determines gross margin.

Cost of revenue is everything a SaaS company spends to deliver its product after the sale closes. It's the denominator in the gross margin calculation and one of the most scrutinized line items during fundraising and M&A diligence. CROs need to understand it because their compensation and team sizing often depend on gross margin targets.

What's Included in Cost of Revenue

Typical SaaS cost of revenue includes: cloud hosting and infrastructure (AWS, GCP, Azure), customer support team salaries, customer success team salaries (sometimes split between COGS and S&M), professional services and implementation costs, third-party software embedded in the product (APIs, data providers), and payment processing fees. What is excluded: sales team costs, marketing spend, R&D/engineering, and G&A. These fall below the gross margin line.

SaaS Gross Margin Benchmarks

Best-in-class SaaS companies run 75-85% gross margins. This means cost of revenue is 15-25% of total revenue. Companies below 70% gross margin face harder fundraising conversations because investors view sub-70% as either a services-heavy business or an infrastructure-intensive product. AI/ML companies often have lower gross margins (60-70%) because compute costs are higher. CROs at AI companies should expect boards to scrutinize gross margin more closely and may face tighter headcount budgets as a result.

Why CROs Need to Understand This

Gross margin determines how much of each revenue dollar is available to fund sales, marketing, R&D, and profit. A CRO at a 80% gross margin company has more budget per revenue dollar than a CRO at a 65% gross margin company. When CROs negotiate for more headcount or higher marketing spend, the CFO is thinking in gross profit dollars, not revenue dollars. Understanding this math makes budget conversations more productive. It also matters for CAC payback calculations, which should always use gross margin-adjusted revenue.

Common Mistakes

Burying customer success costs in sales and marketing to inflate gross margin. This works until an investor or acquirer does diligence and reclassifies the costs. If your CS team is delivering onboarding, training, and ongoing support, that labor is cost of revenue. Misclassifying it distorts unit economics and erodes trust with the board. Another mistake: ignoring rising infrastructure costs as you scale. AI-heavy products can see hosting costs grow faster than revenue if usage-based compute isn't priced correctly.

In Practice

Review your company's gross margin monthly and understand which line items are growing fastest. If hosting costs are rising as a percentage of revenue, the product team needs to optimize infrastructure or pricing needs to adjust. If professional services are dragging margin down, consider whether implementation can be streamlined or productized. A CRO who can have an informed conversation with the CFO about gross margin drivers will get more credibility and more budget than one who only talks about top-line revenue.

Get Weekly Sales Intelligence

Join 500+ sales executives getting compensation data, market trends, and career intelligence.

Subscribe Free