Markets and business models
SaaS cost structure
COGS, S&M, R&D, and G&A as percentages of revenue, and why early S&M above 100% can still be rational.
SaaS P&Ls are usually read as percentages of revenue. Early on those percentages look insane. Later they should compress. The mistake is cargo-culting a public company's cost structure when you have $2M ARR — or treating early S&M above 100% of revenue as proof the model is broken.
The question is payback and whether cohorts retain, not whether this quarter's S&M "looks efficient."
Concept
COGS is the cost of delivering the product (hosting, support tied to delivery, payment fees). S&M, R&D, and G&A are operating expenses. Gross profit is revenue minus COGS. See gross margin and the P&L.
The big idea
A bakery that is still finding its recipe should not have a national advertising budget that looks like a grocery chain's. A bakery that has a line out the door should spend to open the next shop.
The analogy breaks on software: R&D does not scale linearly with each new customer the way extra ovens do. That is operating leverage — once the product is built, R&D and G&A can grow slower than revenue. AI inference can take some of that leverage back by pushing COGS up.
Walking through it
| Bucket | What it includes | Early (pre-scale) | Scale-up | Mature efficient |
|---|---|---|---|---|
| COGS | Hosting, third-party APIs, success/support tied to delivery, app-store fees | Volatile | ~15–30% | Often ~15–25% |
| S&M | Ads, SDRs, AEs, marketing, tools | Can exceed 100% of revenue | Often 40–80% | Can fall toward 20–40% |
| R&D | Engineering, product, design | High % on small revenue | ~20–40% | ~15–25% |
| G&A | Finance, legal, HR, facilities | Noisy | ~10–20% | ~5–15% |
Classic software COGS often leaves 70–85% gross margin at scale. AI features can push COGS up (inference).
Trade-off
Grow vs efficient growth. At seed and Series A you often over-invest in S&M to find a repeatable motion. By later stages, investors watch burn multiple and magic number. Same company, different objective function.
Implementation, training, and custom engineering can raise TCV and help land elephants. They also lower blended gross margin. A common operator rule: keep services as a bridge to software revenue, not as the business. If services are more than about 20–30% of revenue forever, you may be a consultancy with a login screen. Track services margin separately from subscription margin.
Common mistakes
- Copying a public SaaS opex mix at $2M ARR. Early S&M heaviness is normal if cohorts pay back.
- Ignoring support in COGS. Human success teams scaled linearly with logos until margins collapsed.
- Letting services become the company. High TCV, low software margin.
- Treating R&D % as a moral number. On small revenue, R&D should look large.
Check yourself
S&M is 120% of revenue at $2M ARR, and new cohorts pay back in 9 months with 90% GRR. Is the model broken?
Not by the S&M percentage alone. Payback and retention say the spend is buying a base.
When do services stop being a bridge?
When they stay above roughly 20–30% of revenue and the login screen is a delivery vehicle.
Key takeaways
- Read SaaS costs as % of revenue, and expect the mix to shift by stage.
- Early S&M above 100% of revenue can be rational if payback and retention work.
- Operating leverage is R&D and G&A growing slower than revenue — unless AI COGS eat it.
- Keep services as a path to software revenue. Track that margin separately.
Further learning
SaaS Metrics 2.0 (David Skok)“If you cannot measure it, you cannot improve it” – Lord Kelvin This article is a comprehensive and detailed look at the key metrics that are needed to understand and optimize a SaaS business. It is a completely updat…For Entrepreneurs
Next: the cash problem this cost structure creates — the SaaS cash trough.
Related
SaaS economics
Spend to acquire a customer, deliver at high margin, earn them back over many months, and expand the account.
Gross margin and COGS, including AI
What belongs in COGS vs opex, why classic SaaS runs ~75–80% gross margin, why AI products often sit at 50–60%, and the levers that move the number.
The P&L for startups
Reading and building an income statement — revenue recognition, COGS, S&M / R&D / G&A, EBITDA and net income — with a worked $5M ARR SaaS example.