Back to glossary

Cost of Revenue

What Is a Cost of Revenue? (Short Answer)

Cost of revenue is the total direct cost required to generate a company’s sales during a period. It includes expenses that scale directly with revenue-such as materials, manufacturing, hosting costs, payment processing fees, and customer support tied to delivery. Subtracting cost of revenue from revenue gives gross profit.


Once you understand cost of revenue, income statements start telling you a very different story. This line item explains why two companies with the same revenue can have wildly different profitability-and why growth isn’t always as valuable as it looks on the surface.


Key Takeaways

  • In one sentence: Cost of revenue captures the direct, unavoidable costs of delivering a company’s product or service to customers.
  • Why it matters: It determines gross margin, which is often the single best early indicator of pricing power, scalability, and long-term profitability.
  • When you’ll encounter it: Every earnings report, SEC filing (10-K/10-Q), valuation model, and stock screener.
  • Common misconception: Lower cost of revenue is always better-sometimes higher costs reflect deliberate investments in quality, reliability, or growth.
  • Related metric to watch: Gross margin trends over time tell you far more than one-quarter snapshots.

Cost of Revenue Explained

Think of cost of revenue as the economic “toll” a company must pay every time it makes a sale. No sale, no cost. More sales, more cost. That tight linkage is what makes this line item so revealing.

Historically, traditional manufacturers called this Cost of Goods Sold (COGS). As software, platforms, and subscription businesses took over the market, accounting evolved. SaaS companies don’t ship boxes-but they still incur real costs to deliver value. Hosting infrastructure, third‑party data, payment processing, and customer support all live in cost of revenue.

This line exists to answer one blunt question: How expensive is it to deliver what you sell? Revenue alone can flatter a weak business. Cost of revenue strips away that illusion and exposes the underlying unit economics.

Different players look at it differently. Retail investors often focus on gross margin as a quick quality check. Institutional investors go deeper-tracking cost of revenue as a percentage of sales across cycles. Company management obsesses over it because even a 100 basis point improvement can drop straight to operating profit at scale.

Here’s where it gets interesting: in great businesses, cost of revenue grows slower than revenue over time. That’s operating leverage in action. When costs rise in lockstep-or faster-that’s a warning sign the model may not scale.


What Drives Cost of Revenue?

Cost of revenue isn’t random. It’s shaped by business decisions, industry structure, and external forces. When it moves, there’s always a reason.

  • Input Costs: Raw materials, components, energy, or bandwidth prices feed directly into cost of revenue. Semiconductor shortages in 2021–2022 are a textbook example.
  • Labor Intensity: Businesses that rely heavily on skilled labor-think consulting or customer support-see cost of revenue rise with wage inflation.
  • Infrastructure and Hosting: For cloud and SaaS firms, AWS, Azure, or Google Cloud bills are often the largest driver.
  • Pricing Strategy: Discounting and promotions don’t change costs, but they worsen cost of revenue as a percentage of sales.
  • Scale Effects: As volumes rise, fixed delivery costs spread out-lowering cost of revenue per dollar sold.
  • Product Mix: Shifting toward lower-margin products can quietly inflate cost of revenue even if total sales grow.

How Cost of Revenue Works

Mechanically, cost of revenue sits directly under the revenue line on the income statement. Subtract it from revenue, and you get gross profit. Divide gross profit by revenue, and you have gross margin.

Formula: Gross Profit = Revenue − Cost of Revenue

Gross Margin: Gross Profit Ă· Revenue

In practice, analysts track both the absolute number and the percentage of revenue. The percentage tells you about efficiency; the absolute number tells you about scale.

Worked Example

Imagine a subscription software company generating $100 million in annual revenue.

It spends $25 million on cloud hosting, $10 million on customer support, and $5 million on payment processing and data licensing.

Total cost of revenue: $40 million.

Gross profit is $60 million, implying a 60% gross margin. That’s healthy-but not elite for SaaS.

If management can scale revenue to $150 million while cost of revenue only rises to $50 million, gross margin jumps to 67%. That margin expansion is where valuation multiples come from.

Another Perspective

Now compare a grocery retailer with $100 million in revenue and $80 million in cost of revenue. A 20% gross margin sounds weak-until you realize that’s normal for food retail. Context matters more than the raw number.


Cost of Revenue Examples

Amazon (2022): Amazon’s cost of revenue surged as fulfillment and transportation expenses rose faster than sales. Gross margins compressed, forcing management to rethink logistics spending.

Netflix (2019–2021): Content amortization within cost of revenue grew rapidly, pressuring margins despite strong subscriber growth.

Apple (2020): Despite supply chain disruptions, Apple maintained stable cost of revenue ratios-evidence of pricing power and supplier leverage.


Cost of Revenue vs Cost of Goods Sold

Aspect Cost of Revenue Cost of Goods Sold (COGS)
Used by Modern, service & SaaS firms Traditional manufacturing & retail
Includes services? Yes Usually no
Hosting & support Included Excluded
Purpose Reflects delivery economics Reflects production economics

The distinction matters because comparing margins across companies using different definitions can lead you badly astray.


Cost of Revenue in Practice

Professional investors rarely look at cost of revenue in isolation. They track trend lines, peer comparisons, and inflection points.

In SaaS, gross margins below 60% raise eyebrows. In semiconductors, swings of 5–10 points signal cycle turns. In retail, even 100 basis points can be meaningful.


What to Actually Do

  • Track gross margin over time: One quarter means nothing. Three years tells you everything.
  • Compare within industries only: Cross-sector margin comparisons are a trap.
  • Watch for scale benefits: Falling cost of revenue as sales grow is a green flag.
  • Be skeptical of sudden improvements: They’re often accounting-driven, not economic.
  • When NOT to act: Don’t overreact to short-term spikes during supply shocks or expansion phases.

Common Mistakes and Misconceptions

  • “Higher margins always mean a better business.” Not if growth stalls or reinvestment is underfunded.
  • “Cost of revenue is fixed.” It’s often the most flexible cost line over time.
  • “All SaaS margins should look the same.” Product complexity and customer mix matter.

Benefits and Limitations

Benefits:

  • Reveals unit economics clearly
  • Links operations directly to profitability
  • Highlights scalability
  • Improves peer comparisons

Limitations:

  • Accounting classifications vary
  • Can be temporarily distorted
  • Not comparable across sectors
  • Ignores operating leverage above gross profit

Frequently Asked Questions

Is rising cost of revenue bad?

Not always. It depends whether revenue is growing faster and whether the spending supports long-term scale.

How often should I analyze it?

Quarterly for trends, annually for strategy shifts.

Is cost of revenue the same as operating expenses?

No. Operating expenses come after gross profit.

Can companies manipulate cost of revenue?

They can reclassify expenses, which is why disclosures matter.


The Bottom Line

Cost of revenue tells you what it really costs to make money. Watch how it behaves as sales grow, and you’ll see the business before the headlines do. Margins don’t lie-eventually.


Related Terms

Maximize Your Investment Insights with Finzer

Explore powerful screening tools and discover smarter ways to analyze stocks.