SaaS gross margin benchmarks are useful only when the revenue and delivery-cost definitions are comparable. A subscription product with extensive onboarding, customer support or AI compute costs should not be compared blindly with a self-service software product.
This guide explains the calculation, how to assess a benchmark and what to investigate before acting on a percentage. The comparison figures below are explicitly hypothetical, not a claim about observed UK SaaS industry averages.
How to calculate SaaS gross margin
Gross profit = revenue − cost of sales.
Gross margin % = gross profit ÷ revenue × 100. Use matching periods and a documented accounting basis.
UK company accounting formats distinguish turnover, cost of sales and gross profit. See Schedule 1 of the Small Companies and Groups Accounts Regulations. Those accounting formats do not establish a performance target for a SaaS business.
Illustrative calculation: £1.2 million revenue less £300,000 cost of sales gives £900,000 gross profit and a 75% gross margin. This does not show net profit, cash generation or what the business is worth.
Compare benchmarks before comparing percentages
| Check | Why it matters |
|---|---|
| Revenue basis | Annual revenue, ARR and invoiced sales are not interchangeable |
| Product and service mix | Onboarding, implementation and managed services can change delivery economics |
| Cost classification | Hosting, support and customer-success allocations may differ |
| Stage and customer mix | A new product and an established enterprise platform have different operating patterns |
| Period and sample | A dated, clearly defined sample is more useful than an unexplained headline target |
| Accounting policy | Compare gross-versus-net revenue presentation and cost allocations consistently |
A percentage quoted as a universal investor requirement needs evidence. Ask who collected the data, what the sample includes, how costs were classified and when the observations were made. If those details are unavailable, treat the number as an unverified reference rather than a decision rule.
Build a consistent cost-of-sales policy
Map costs to the activities they support. In a SaaS business, practical review areas include production hosting, third-party service usage, customer-facing technical operations, support and implementation. The appropriate classification depends on the business and applicable accounting policy; this is not a rule that every employee or invoice belongs in a particular line.
- Separate production infrastructure from development and internal systems.
- Document how shared support or technical staff time is allocated.
- Track variable compute and third-party licence usage by product or customer where feasible.
- Distinguish implementation services from recurring software delivery.
- Reconcile management classifications to the statutory reporting basis.
Consistent treatment matters more than making one month’s percentage look better. If you change a policy or allocation, explain the impact and prepare a like-for-like comparison.
Worked comparison: three hypothetical delivery models
Each scenario below assumes £1.2 million annual revenue. These are arithmetic examples, not industry benchmarks or recommended targets.
| Illustrative model | Cost of sales | Gross profit | Gross margin |
|---|---|---|---|
| Lower delivery-cost scenario | £240,000 | £960,000 | 80% |
| More support-intensive scenario | £420,000 | £780,000 | 65% |
| Higher compute-cost scenario | £660,000 | £540,000 | 45% |
The scenarios do not establish that one business is investable and another is not. Review pricing, retention, growth, product differentiation and the operating costs below gross profit before drawing a conclusion.
Explain changes with a gross-margin bridge
Start from last period’s revenue and direct delivery costs, then separate changes in price, customer mix, usage, supplier rates and allocation. A margin decline caused by a temporary migration project needs a different response from a persistent mismatch between usage-based costs and fixed subscription prices.
| Finding | Practical next step |
|---|---|
| Compute costs rise faster than revenue | Analyse usage and customer-level unit costs before reviewing pricing |
| A small group of customers needs extensive support | Review contract scope, service effort and the cost to serve |
| Discounts reduce revenue without reducing delivery cost | Assess the economics of discounting and renewal decisions |
| Margin jumps after a reclassification | Reconcile the accounting change and underlying operational performance |
Connect margin to cash and valuation
Gross margin leaves out important costs and cash movements. A business can have a high gross margin and still consume cash through sales spending, product investment or slow collections. Review a cash flow forecast alongside the margin analysis.
For valuation, use gross margin as one part of the evidence on revenue quality and operating economics. It does not imply an automatic premium. Our SaaS valuation guide explains the broader process; our gross-margin improvement checklist focuses on operational actions.
Frequently asked questions
What is a good SaaS gross margin?
There is no single percentage that demonstrates a healthy SaaS business in every case. Compare companies with similar delivery models and consistent cost definitions, and inspect how the margin converts into operating profit and cash.
How do I calculate SaaS gross margin?
Gross margin percentage is revenue less cost of sales, divided by revenue, multiplied by 100. Use the same period and reporting basis for both figures. If revenue is zero, that percentage calculation is undefined.
Should I use ARR instead of revenue in gross margin?
No. A period gross-margin calculation should use revenue and the associated cost of sales for that period. ARR is a run-rate metric at a point in time and is not automatically the same as recognised revenue.
Are hosting and AI inference costs part of SaaS cost of sales?
Review their function and your accounting policy. Costs directly connected with delivering the service need to be identified and treated consistently. Document allocation methods and distinguish production use from development or internal activity.
Can I improve margin by moving costs into overheads?
Reclassification does not create an economic saving. If a policy or allocation changes, explain it and make comparisons on a consistent basis. Keep management metrics reconcilable to the accounts.
Why can gross margin rise while cash falls?
Gross margin excludes several operating and financing cash flows. Hiring, tax, debt payments, billing timing and customer collections can all affect cash independently. Review a cash forecast alongside the margin analysis.
Get practical finance support
We can help reconcile delivery costs, build a margin bridge and connect the analysis to your forecast and board reporting.
About the author: Kishen Patel ACA, founder of Consult EFC, is an ICAEW Chartered Accountant with Big Four and investment banking experience. View his ICAEW profile.
Not sure where your business stands right now?
Book a free 30-minute call with Kish. Bring your numbers, your questions, or just your situation. You will leave with a clearer picture than you arrived with.
Book a Free Strategy Call