A few years ago, a friend sent me a software stock he thought had almost perfect margins. On the income statement, cost of goods sold looked tiny. The business seemed to scale without much friction.
Then we looked closer.
The company still had to host its product, process payments, onboard customers, and support them after the sale. Those costs did not sit neatly in a traditional inventory-based framework, but they were real, recurring, and directly tied to revenue. That is why cost of revenue matters. It captures what a business spends to produce and deliver each sale, especially in software, platforms, and service models where COGS alone can understate the economic burden of growth.
This matters even more in an economy where digital businesses account for a meaningful share of output, as the U.S. Bureau of Economic Analysis reported in its digital economy data.
For investors, this line item often separates a strong business model from one that only looks efficient on the surface. A company can post rising revenue and still have weak economics if every new customer brings heavy delivery, servicing, or support costs. Reading cost of revenue alongside the income statement and balance sheet basics for investors gives a clearer view of whether growth is producing durable profits or just bigger operating demands.
It also connects directly to unit economics. If you want to judge whether a company earns more on each customer as it scales, Jumpstart Partners' guide to profitability is a useful companion.
In This Guide
- 1 Understanding the True Cost of a Sale
- 2 Calculating Cost of Revenue A Simple Formula
- 3 Cost of Revenue vs Cost of Goods Sold Key Differences
- 4 Industry Examples of Cost of Revenue in Action
- 5 How to Find and Analyze Cost of Revenue
- 6 What Cost of Revenue Reveals About a Company
- 7 Frequently Asked Questions About Cost of Revenue
- 7.1 Is cost of revenue the same as SG&A
- 7.2 Is marketing ever included in cost of revenue
- 7.3 Is R&D part of cost of revenue
- 7.4 Can a company report both COGS and cost of revenue
- 7.5 How does this apply to a freelancer or small business
- 7.6 Does a high cost of revenue always mean a bad investment
- 7.7 Is cost of sales the same thing
- 7.8 What's a good cost of revenue percentage
- 7.9 Can cost of revenue be negative
- 7.10 Do GAAP and IFRS treat cost of revenue exactly the same way
Understanding the True Cost of a Sale

A few years ago, a founder I know showed me a software company with fast revenue growth and what looked like strong margins. On the surface, the numbers worked. Then we looked past COGS. The company was spending heavily to host the product, onboard customers, process payments, and answer support tickets. Revenue was climbing, but each new customer brought a meaningful delivery burden with it.
That is the gap cost of revenue fills.
COGS works well for product businesses built around inventory. It misses part of the economic reality in SaaS, marketplaces, payments, logistics, and service companies. Those businesses still incur direct costs to fulfill a sale, even if nothing physical sits on a shelf. If you want to judge the health of the business model, cost of revenue usually gives the cleaner read.
Why this matters more in modern businesses
In practice, cost of revenue shows whether growth is getting more efficient.
A SaaS company may report very little traditional COGS, but the customer still has to be served. Cloud infrastructure, third party software tied to usage, implementation labor, customer success tied to delivery, and payment processing can all sit close to revenue generation. Ignore those costs and margins can look better than the business really is.
I use a simple test. If the company would struggle to deliver the product or service without that expense, it deserves close review as part of cost of revenue.
That is also why smart investors connect this line item to customer economics, not just headline margins. Jumpstart Partners' guide to profitability is a useful companion if you want to judge how direct costs shape profit at the customer or transaction level.
What a strong investor notices
Strong analysis starts with a harder question than "Is revenue growing?"
Ask what the company had to spend, directly, to earn that revenue, and whether those costs should fall, hold steady, or rise as the business scales. That answer says a lot about underlying model quality. A company with sticky customers and low incremental service costs can translate growth into disproportionately higher operating profits. A company that needs more support staff, more implementation work, or more infrastructure every time sales rise may be building a much less attractive engine.
Balance sheet context helps too. Deferred revenue, capitalized costs, and working capital can change how clean the income statement looks from one period to the next. Investors who can connect those pieces usually make better judgments about margin quality, which is why it helps to review the balance sheet fundamentals investors use alongside cost of revenue.
Calculating Cost of Revenue A Simple Formula
At its simplest, cost of revenue = COGS + additional direct costs. HubiFi describes it as a direct-cost metric that includes the expenses incurred to produce and deliver goods or services, including items like shipping, sales commissions, distribution, and service-delivery labor (HubiFi's cost of revenue overview).

The core formula in plain English
Think of the formula in two layers:
COGS
The traditional direct production cost, usually strongest in inventory-heavy businesses.Other direct costs
The extra costs required to fulfill and deliver the sale.
That second bucket is where many investors miss the story.
What usually belongs in cost of revenue
The exact mix depends on the business model, but these items often belong in the line if they are directly tied to producing or delivering revenue:
Shipping and fulfillment
Costs to get the product into the customer's hands.Sales commissions
Compensation directly triggered by completed sales.Distribution expenses
Costs tied to moving the offering through the delivery channel.Service-delivery labor
Staff time required to onboard, implement, or support what the customer bought.Hosting and infrastructure
Especially relevant for software and internet businesses.Customer support tied to delivery
Support that's integral to the product or service experience.Payment processing in some models
Common in platform and transaction businesses where processing is part of fulfillment.
Don't treat cost of revenue as a junk drawer. If an expense supports the company generally, it belongs lower on the income statement. If it supports delivering the sale itself, it may belong here.
What usually does not belong
Clean analysis is essential. Plenty of costs help a company grow, but that doesn't make them direct revenue costs.
| Expense type | Usually in cost of revenue | Usually outside cost of revenue |
|---|---|---|
| Product fulfillment | Yes | No |
| Hosting for active service delivery | Yes | No |
| Customer support tied to delivery | Yes | No |
| General brand marketing | No | Yes |
| Research and development | No | Yes |
| Executive salaries | No | Yes |
| Office admin and finance overhead | No | Yes |
A practical way to test borderline items is to ask one question: Would this cost still exist if the company stopped making new sales or serving existing customers? If the answer is clearly no, it may be direct. If the answer is yes, it's more likely operating overhead.
For operators trying to clean up expense classification, I also like practical checklists that separate direct and indirect spend. These tips for managing business costs are useful because they keep the focus on classification discipline rather than accounting jargon.
Investors can use the same discipline when reviewing gross profit and return metrics. Once you understand which costs belong above the gross profit line, it becomes easier to interpret returns correctly. This primer on how to calculate return on investment is a good companion for that next step.
Cost of Revenue vs Cost of Goods Sold Key Differences
I learned this difference fastest by watching two companies report similar gross margins for completely different reasons. One sold physical products and controlled inventory well. The other sold software subscriptions, but its hosting and support costs were climbing faster than revenue. On the surface, both looked healthy. Underneath, only one had a business model getting stronger with scale.
That is the gap between COGS and cost of revenue.
COGS tracks the direct cost of producing goods, usually inventory-related inputs such as materials and production labor. Cost of revenue goes wider. It captures the direct cost to earn and deliver the sale, which matters far more in service, SaaS, media, and platform businesses where inventory tells only part of the story.
A pizza shop still makes the contrast easy to see. COGS covers the dough, cheese, sauce, and toppings. Cost of revenue can also include the box, delivery labor tied to the order, and other direct fulfillment costs. For a software company, that same logic applies to hosting, implementation, and customer support tied to active service delivery.
Side by side comparison
| Attribute | Cost of Revenue (CoR) | Cost of Goods Sold (COGS) |
|---|---|---|
| Scope | Broader direct-cost measure | Narrower production-cost measure |
| Core purpose | Captures the direct cost to produce and deliver a sale | Captures the direct cost of producing goods, mainly inventory-based |
| Common components | COGS plus direct fulfillment, distribution, commissions, and service-delivery costs | Inventory-related production costs |
| Best fit | Service, SaaS, media, marketplace, and mixed-model companies | Product and manufacturing businesses |
| Investor use | Better for judging gross margin quality in modern business models | Useful, but incomplete when delivery costs sit outside inventory |
| Risk if misused | Can still be misclassified if companies blur direct and operating costs | Can make service companies look artificially high-margin |
Investors confuse these metrics because finance training often starts with inventory businesses. That framework still works for manufacturers and retailers. It breaks down quickly once a company delivers value through software, support, cloud infrastructure, logistics, or creator payouts instead of physical goods.
A cloud company may report little or no inventory. That does not mean the revenue is cheap to serve. If the analysis stops at COGS, you can miss the direct costs that determine whether the model scales or just looks efficient on paper.
That is why cost of revenue often says more about business-model health.
When cost of revenue stays controlled as revenue rises, the company may be developing substantial operational scalability. When it expands too fast, management may be buying growth with expensive fulfillment, onboarding, support, or infrastructure. That distinction belongs in any serious fundamental analysis of a company's economics.
Use COGS to study inventory flow, purchasing discipline, and factory efficiency. Use cost of revenue to answer the investor question that matters more in modern businesses: what does this company spend directly to earn and deliver each dollar of sales?
If you want a refresher on the older inventory-based framework, this guide to calculating your Cost of Goods Sold is a useful reference.
Industry Examples of Cost of Revenue in Action
I learned this lesson years ago comparing two companies that looked equally attractive at the top line. One sold software subscriptions. The other sold physical equipment. The equipment business carried obvious production costs, so the margin story was easy to frame. The software business looked cleaner until I worked through hosting, implementation, support, and service delivery costs. Its reported growth was real, but the path to durable gross profit was weaker than the headline revenue suggested.
That is why industry context matters. Cost of revenue shows how a company earns each sale, and in modern service businesses it often says more than traditional COGS.
SaaS and platform businesses
For SaaS, the direct cost of a sale usually sits in the delivery stack rather than in inventory. Common items include cloud hosting, third-party software used to serve customers, customer support, onboarding labor, payment processing, and data center costs.
Those expenses matter because they reveal whether the product gets cheaper to serve as the customer base grows. A SaaS company can post strong revenue growth while still carrying heavy service costs that keep gross margins under pressure. I pay close attention when management calls a business "high margin" but support headcount, implementation work, or infrastructure bills keep rising in step with revenue.
Platform businesses add another wrinkle. If the company relies on partner payouts, creator fees, or transaction-related processing costs to deliver the service, those costs belong close to revenue. Analysts who want a sharper framework for reading those classifications can use this guide on how to analyze financial statements.
Manufacturing businesses
Manufacturing is more familiar, but the analysis still requires judgment.
Direct materials, factory labor, and production overhead usually make up the core of cost of revenue. In many manufacturers, that line will track closely with COGS because making the product remains the main economic activity.
The useful question is not whether the line looks traditional. It is whether management includes other direct costs, such as freight, fulfillment, installation, or warranty-related service, above gross profit. Two manufacturers can post similar sales growth and very different gross margins because one business has tighter control over delivery and order-level execution.
Media and streaming businesses
Media and streaming companies often give the clearest example of why cost of revenue is broader than COGS.
Netflix states in its accounting discussion that cost of revenues includes amortization of streaming content assets, along with other service delivery costs, as described in the company's accounting references summarized at https://en.wikipedia.org/wiki/Cost_of_revenue. That treatment matters because content is not just a long-term investment. It is part of the direct cost of delivering the product customers pay for each month.
For investors, that changes the analysis. A streaming platform can add subscribers and still weaken economically if content amortization and delivery costs rise too fast relative to revenue. In media, gross margin is tied to whether content spending produces repeatable audience demand, pricing power, and retention.
| Business model | Typical direct costs inside cost of revenue | What investors should watch |
|---|---|---|
| SaaS | Hosting, infrastructure, support, implementation | Whether gross profit improves as the customer base expands |
| Manufacturing | Materials, direct labor, production-related costs | Cost control, pricing discipline, and fulfillment efficiency |
| Media and streaming | Content amortization, hosting, platform delivery support | Whether content spending produces durable gross profit |
Strong analysis starts with a simple question. Does this company's cost of revenue fit the way it creates value, and does that cost structure improve as the business scales? That is where the underlying health of the model shows up.
How to Find and Analyze Cost of Revenue

Most companies place cost of revenue, cost of sales, or a similar line directly below revenue on the income statement. If it isn't obvious, the notes to the financial statements usually clarify what management includes in that line.
A practical review process
Use this sequence when you review a company:
Open the income statement
Start with the latest annual report or quarterly filing.Find revenue
That gives you the top line baseline.Locate cost of revenue or cost of sales
The label varies, but it usually sits close to revenue.Calculate gross profit
Revenue minus cost of revenue.Calculate gross margin
Gross profit divided by revenue.
What to look for after the math
The raw number matters less than the pattern.
A stable or improving gross margin can suggest the company is pricing well, controlling direct costs, or benefiting from scale. A weakening margin can point to delivery friction, rising infrastructure costs, increased discounting, or a business model that doesn't scale as cleanly as the headline story suggests.
You should also read management's description of the line items. Some companies classify support, implementation, or fulfillment costs differently than peers. That doesn't always mean anything is wrong, but it does mean you need consistency before comparing one business to another.
Read the footnotes before you trust the margin. Classification choices can make two similar companies look very different.
If you want a structured way to review this alongside operating expenses, cash flow, and debt, this guide on how to analyze financial statements is a useful next read.
What Cost of Revenue Reveals About a Company
Cost of revenue is one of the clearest windows into business model health.
A company with disciplined direct costs can turn growth into durable gross profit. A company with weak direct economics may keep posting revenue gains while the underlying engine stays fragile. That difference matters more than a flashy top line.
Signals worth paying attention to
Improving efficiency
If direct costs become easier to absorb as the company grows, the model may be scaling well.Pressure on pricing
If cost of revenue rises faster than investors expected, margins can compress even when sales are expanding.Operational friction
Customer support load, content expense, fulfillment complexity, or infrastructure intensity can all show up here.
A single quarter rarely settles the question. Trends matter more than snapshots. Strong businesses usually show a coherent relationship between revenue growth, direct cost discipline, and gross margin resilience.
That's why cost of revenue belongs near the top of your checklist with margins, cash flow, and capital allocation. If you already track profitability measures, this review of essential financial ratios every stock picker must know helps put the metric into a broader investing framework.
Frequently Asked Questions About Cost of Revenue
Is cost of revenue the same as SG&A
No. Cost of revenue includes direct costs to produce and deliver sales. SG&A usually includes broader selling, administrative, and corporate overhead.
Is marketing ever included in cost of revenue
Usually, broad brand or demand-generation marketing sits outside it. Only highly direct, transaction-linked arrangements may raise classification questions.
Is R&D part of cost of revenue
No. R&D is generally treated as a separate operating expense, not a direct delivery cost.
Can a company report both COGS and cost of revenue
Yes. In some businesses, COGS is one component inside the broader cost of revenue view.
How does this apply to a freelancer or small business
The same logic works. Ask which costs are directly required to deliver the client work. Software used for delivery, subcontractor labor, and transaction fees may qualify. General admin usually doesn't.
Does a high cost of revenue always mean a bad investment
No. Some excellent businesses have heavy direct delivery costs. What matters is whether the economics are consistent, understandable, and improving over time.
Is cost of sales the same thing
Often, yes. Many companies use the terms interchangeably, though you should always check the notes.
What's a good cost of revenue percentage
There isn't a universal benchmark. A good level depends on the industry, pricing model, and accounting policy.
Can cost of revenue be negative
That would be unusual and would usually call for a closer look at accounting treatment, reclassifications, or one-off adjustments.
Do GAAP and IFRS treat cost of revenue exactly the same way
Presentation can differ, and company policy choices matter. The safest approach is to read the financial statement notes and compare like with like.
Top Wealth Guide publishes practical investing education for readers who want clearer frameworks, better analysis habits, and more confidence when evaluating stocks, real estate, and other wealth-building opportunities. If you want more grounded explainers like this one, visit Top Wealth Guide.
This article is for educational purposes only and is not financial or investment advice. Consult a professional before making financial decisions
