Glossary term

Cost of Revenue

Cost of revenue is the direct cost of producing and delivering the goods or services that generated revenue.

Updated

May 24, 2026

Read time

3 min read

What Is Cost of Revenue?

Cost of revenue is the direct cost of producing and delivering the goods or services that generated revenue. It is similar to cost of goods sold, but it is often broader because it can include service delivery, hosting, fulfillment, support, royalties, and other direct revenue-related costs.

The line item matters because it sits between revenue and gross profit. If cost of revenue rises faster than sales, gross margin can weaken even when headline revenue is growing.

Key Takeaways

  • Cost of revenue captures direct costs tied to earning revenue.
  • It may include product costs, service delivery, hosting, fulfillment, royalties, and support.
  • It is often broader than cost of goods sold for service or software businesses.
  • Revenue minus cost of revenue equals gross profit.
  • Investors watch the line item to understand gross margin quality and scalability.

How Cost of Revenue Works

A retailer's cost of revenue may mainly be inventory sold, freight, and fulfillment. A software company may include cloud hosting, customer support tied to service delivery, payment processing, and third-party data costs. A media company may include royalties, production costs, and distribution expenses.

The exact classification depends on accounting policy and the company's business model. That is why cost of revenue is most useful when compared with the company's disclosures and peers that use similar definitions.

Formula

Gross Profit=RevenueCost of Revenue\text{Gross Profit} = \text{Revenue} - \text{Cost of Revenue}

Gross margin then expresses gross profit as a percentage of revenue:

Gross Margin=Gross ProfitRevenue×100\text{Gross Margin} = \frac{\text{Gross Profit}}{\text{Revenue}} \times 100

The formula is simple, but the interpretation depends on which costs management includes in cost of revenue.

Cost of Revenue Versus Operating Expenses

Cost of revenue is tied directly to delivering what was sold. Operating expenses, such as sales, marketing, research and development, and general administration, support the business more broadly. The line between them can matter for gross margin comparisons.

If a company classifies more costs below gross profit, its gross margin may look higher than a peer's even if total profitability is similar. Analysts often read footnotes and segment disclosures to understand the classification.

Investor Context

Cost of revenue is especially important for companies that describe themselves as scalable. If cloud hosting, fulfillment, support, or content costs rise nearly one-for-one with revenue, the business may have less operating leverage than the growth story implies. Gross margin trends can expose that tension early.

Cost of revenue helps show whether a business scales. If revenue grows while cost of revenue grows more slowly, gross margin expands and more revenue can flow toward operating profit. If cost of revenue rises at the same pace or faster than revenue, scale benefits may be limited.

The line item can also reveal inflation pressure, supplier dependence, cloud-cost intensity, fulfillment problems, or discounting. A revenue growth story is stronger when cost discipline supports it.

Service and Software Examples

For a software company, cost of revenue might include hosting, customer support, implementation labor, payment processing, and third-party software embedded in the service. For a logistics company, it may include transportation, warehouse labor, fuel, and carrier costs. For a marketplace, it may include payment processing and customer service tied to completed transactions.

Those examples show why cost of revenue is business-model specific. The same label can describe very different economics.

Investors should also watch whether management changes classification over time. A reclassification between cost of revenue and operating expenses can shift gross margin without changing the underlying cash economics.

For subscription companies, the line can separate profitable recurring revenue from revenue that requires heavy onboarding or support each period.

The Bottom Line

Cost of revenue is the direct cost of earning revenue. It is central to gross profit and gross margin analysis, but it must be read with the company's accounting policy and business model in mind.

Related Terms