SaaS Margin Calculator

Enter revenue and cost figures to get gross margin, operating margin, and net margin for your SaaS business instantly.

Revenue & Costs

All subscription and service revenue for the period.

Hosting, infrastructure, payment fees, direct support costs.

Sales & marketing, R&D, G&A — excludes COGS.

Net margin inputs (optional)

Enter your figures and click Calculate Margins

Summary

Enter revenue and cost figures to get gross margin, operating margin, and net margin for your SaaS business instantly.

How it works

  1. Enter your total revenue for the period.
  2. Enter your cost of revenue (hosting, support, infrastructure directly tied to delivery).
  3. Enter operating expenses (sales, marketing, R&D, G&A).
  4. Optionally enter interest and tax figures for a full net margin calculation.
  5. The calculator shows gross margin, operating margin, and net margin with industry benchmarks.

Use cases

  • Prepare profitability metrics for an investor pitch or board deck.
  • Benchmark gross margin against SaaS industry standards before a fundraise.
  • Track whether operating leverage is improving quarter over quarter.
  • Evaluate whether a pricing change improved unit economics.
  • Identify how much of each dollar of revenue is consumed by COGS vs. operating expenses.
  • Model net margin scenarios under different cost-reduction assumptions.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu