Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Talk to us

Cost of revenue, explained

The costs of delivering what you sold. For a SaaS company that's usually hosting, third-party software inside the product, payment processing and customer support.

Convention

Illustration only. No real figures.

What it means

Cost of revenue is what it costs to deliver the product or service customers pay for. Companies that sell physical goods call it cost of goods sold, or COGS. For a software company, it's the cost of keeping the service running for paying customers and supporting them while they use it.

For SaaS that usually means hosting for the live product, third-party software built into the product, payment processing fees and the customer support team. Engineers building new features usually sit in research and development, and sales and marketing stay in operating expenses.

GAAP doesn't hand you a list for SaaS. It's a policy you write down and apply the same way every month, so that a change in gross margin reflects a change in the business. On the P&L, revenue minus cost of revenue is gross profit, and operating expenses come below it.

Acme's reclass leaves the net loss exactly where it was. On $100,000 of monthly revenue, though, it takes 9 points off gross margin, and gross margin is the number investors ask about first.

Gross margin is computed straight from this line, which is why diligence teams test the split. Hosting parked in operating expenses is the item they move back most often.

Why it matters. Gross margin is revenue less cost of revenue, and investors value a business partly on it. Put hosting in operating expenses and your gross margin looks better than it is, until diligence moves it back.

The entry, worked

Acme's payroll tool booked $9,000 of March support-team salaries to general and administrative salaries. Acme's policy puts customer support in cost of revenue.

Moving support salaries into cost of revenueBalanced
AccountDebitCredit
Cost of revenue: support salaries$9,000.00
G&A salaries$9,000.00
Total$9,000.00$9,000.00

Total expenses don't change; gross profit falls by $9,000 and operating expenses fall by the same amount.

Common questions

Does GAAP say exactly what goes in cost of revenue for SaaS?

No. It's a classification you decide and apply consistently. Investors compare against common practice, so a written policy that follows it saves an argument later.

Do development and staging environments count as hosting in cost of revenue?

Usually not. Infrastructure that serves paying customers goes to cost of revenue; environments used to build the product generally sit in research and development.

Does amortization of capitalized software go in cost of revenue?

Often, yes. Amortization of capitalized software that delivers the hosted service is commonly shown in cost of revenue; amortization of internal tools usually isn't. Pick one policy and disclose it.

Where it comes up

The glossary entries, founder guides and lessons on this site that use the term and link here.

Read further

Your whole VC tech stack, with one partner.

Lopifi is a tech stack partner for venture funds. The website comes first, quoted for your fund.

Talk to usSee pricing

General information, not tax, legal or accounting advice. Check with a CPA before you act on it.