A company can report billions of dollars in sales and still have a surprisingly weak business model. Revenue alone does not tell investors how much of that money the company actually keeps after delivering its product or service. To understand that, investors need to look one line further down the income statement.
That is where cost of revenue becomes important. The figure captures the direct costs associated with generating sales and can reveal much more than simply how expensive it is to run a business. It can show whether a company benefits from scale, how dependent it is on suppliers and raw materials, whether it has pricing power and how vulnerable its margins are to inflation or changing customer behaviour.
Perhaps most importantly, cost of revenue looks very different depending on whether the company sells software, groceries or industrial machinery. Understanding those differences can help investors compare businesses on their own economic terms rather than simply looking for the highest revenue growth.
What Does Cost of Revenue Mean?
At its simplest, cost of revenue represents the expenses directly associated with producing the revenue reported by a company. Subtracting those costs from sales gives investors gross profit.
The basic relationship is straightforward:
Revenue – Cost of Revenue = Gross Profit
Gross margin then expresses that gross profit as a percentage of revenue:
Gross Profit ÷ Revenue × 100 = Gross Margin
The terminology used in financial statements can vary. Some companies report “cost of revenue”, while others use “cost of sales” or “cost of goods sold”. The precise accounting treatment also depends on the type of business.
For a retailer, the largest component will normally be the merchandise it purchases and eventually sells. For an industrial manufacturer, the calculation can include materials, production labour and factory-related expenses. For a software company, it may include data centres, cloud infrastructure, customer support and third-party technology costs.
This is why investors should not compare the absolute cost of revenue of two companies without first understanding how those companies make money.
Read also: B-2 Bomber Cost Breakdown: Price, Program Cost and Military Asset Valuation
A Mini Income Statement Shows Why It Matters
Imagine a fictional business with annual revenue of $1 billion. Its simplified income statement might look like this:
| Mini income statement | Amount |
|---|---|
| Revenue | $1.0 billion |
| Cost of revenue | $400 million |
| Gross profit | $600 million |
| Operating expenses | $350 million |
| Operating income | $250 million |
With $600 million of gross profit on $1 billion of revenue, the company has a gross margin of 60%.
That 60% tells investors something important. Before paying for marketing, corporate administration, research and development or other operating expenses, the company keeps 60 cents from each dollar of sales.
Now imagine cost of revenue rises from $400 million to $450 million while revenue remains at $1 billion. Gross profit falls to $550 million and the gross margin drops from 60% to 55%.
Nothing has changed in the headline revenue number, yet the economics of the business have deteriorated considerably.
That is why movements in gross margin often deserve as much attention as movements in sales.
Software: Why Cost of Revenue Can Be Relatively Low
Software provides perhaps the clearest example of how a business model can shape cost of revenue.
Once traditional software has been developed, selling access to one additional customer can be relatively inexpensive. A SaaS company still needs servers, cloud infrastructure, technical support and other resources to deliver its service, but the incremental cost of adding another subscriber may be much lower than the additional revenue that customer generates.
That scalability helps explain why successful software businesses can achieve exceptionally high gross margins.
Microsoft provides a useful real-world example. In its fiscal 2025 results, the company reported total revenue of $281.7 billion and cost of revenue of $87.8 billion, leaving gross profit of approximately $193.9 billion, according to Microsoft’s FY2025 income statement. That translates into a gross margin of roughly 69%.
But even within technology, investors need to look beneath the headline number. Cloud computing and artificial intelligence infrastructure require expensive servers, chips, electricity and data-centre capacity. A company whose revenue increasingly depends on computationally intensive services may therefore see cost of revenue rise even as sales continue growing rapidly.
A falling gross margin in a software company is not automatically a warning sign. It could reflect deliberate investment in a fast-growing cloud or AI business. But investors should ask whether the higher costs are temporary investments that can eventually deliver scale or whether the company’s business is becoming structurally more expensive to operate.
Retail: The Product Itself Is a Major Cost
The economics of retail are almost the opposite.
When a supermarket or department store sells another $100 worth of goods, it first needs to acquire those products. Merchandise therefore represents a significant portion of revenue, which is why retailers usually operate with much lower gross margins than software companies.
Walmart illustrates the difference. For its fiscal year ended January 31, 2026, the retailer reported net sales of about $706.4 billion and cost of sales of approximately $535.4 billion. Its gross profit represented roughly 24.2% of net sales, according to Walmart’s 2026 annual filing.
That margin is dramatically lower than Microsoft’s, but this does not mean Walmart has an inherently inferior business. The two companies simply operate according to very different economic models.
Retail is often about volume, inventory turnover, logistics and purchasing power rather than enormous margins on each individual sale. A retailer may make relatively little on each product but sell vast quantities of goods through an efficient distribution network.
Small changes in gross margin can therefore be particularly significant. Walmart said its gross profit rate rose in fiscal 2026 partly because of disciplined inventory management and growth in higher-margin businesses. At the same time, the company highlighted factors such as product mix and fulfilment costs that can work in the opposite direction.
For an investor, this is exactly the type of information that cost of revenue can uncover. A seemingly modest change of a few tenths of a percentage point can represent billions of dollars when applied to hundreds of billions in annual sales.
Manufacturing: Materials, Labour and Factories Enter the Equation
Manufacturing adds another layer of complexity.
An industrial company does not simply buy finished products and resell them. It transforms components and raw materials into machinery, vehicles, electronics or other goods. Its cost structure may therefore be exposed to steel, aluminium, energy, wages, transportation, factory utilisation and global supply chains.
Caterpillar, one of the world’s largest manufacturers of construction and mining equipment, provides a good illustration of this model. The company describes itself as a manufacturer of construction and mining equipment, engines, turbines and locomotives, while its financial statements separately report cost of goods sold alongside research and development and administrative expenses. Caterpillar’s annual-report materials show how different the economics of heavy industry are from those of an asset-light software company.
For manufacturers, cost of revenue can fluctuate for reasons that have little to do with end demand. Raw-material inflation may increase production costs. Labour shortages can raise wages. Supply-chain disruptions can make components more expensive or force factories to operate below their optimal capacity.
The opposite can happen as well. Falling commodity prices, more efficient factories or higher production volumes can spread fixed manufacturing costs across more units and improve gross margins.
This makes gross margin an important indicator of operational efficiency as well as pricing power.
Read also: Have You Been Lured by Easy Money? Pyramid Schemes Have Cost Thousands Their Savings
Gross Margin Can Reveal Pricing Power
One of the most useful ways to analyse cost of revenue is to watch what happens to gross margin over time.
Suppose a company faces a 10% increase in input costs. If it can raise prices sufficiently without damaging demand, its gross margin may remain broadly stable. That suggests the company has at least some pricing power.
If the company cannot raise prices because customers would switch to competitors, the higher input costs may have to be absorbed internally. Cost of revenue then rises faster than sales and gross margin contracts.
For investors, this distinction matters.
A business capable of passing higher costs on to customers usually occupies a stronger competitive position than one forced to absorb every increase in wages, materials or logistics expenses.
Strong brands, differentiated products, high switching costs or limited competition can all support pricing power. Businesses selling highly commoditised products tend to have much less flexibility.
Why Rising Revenue Is Not Always Enough
Revenue growth can look impressive in isolation. A company whose sales rise from $1 billion to $1.2 billion has delivered 20% growth. But investors also need to ask how much it cost to generate that additional $200 million.
Imagine the company’s cost of revenue rises from $600 million to $800 million during the same period. Gross profit was initially $400 million and remains exactly $400 million despite the substantial increase in sales.
The company’s revenue grew by 20%, but gross profit did not grow at all.
Its gross margin also fell from 40% to roughly 33%.
This could signal rising input costs, aggressive discounting, a shift towards lower-margin products or weakening pricing power. None of those trends would be obvious from the revenue figure alone.
The reverse can be equally important. If revenue rises only modestly while gross margin expands, profitability can improve much faster than sales. This can happen when a company raises prices, improves its product mix, negotiates better supplier terms or benefits from economies of scale.
Cost of Revenue Should Be Analysed in Context
There is no universally “good” cost of revenue ratio.
A software company with a gross margin of 30% could raise serious questions about the scalability of its model. A grocery retailer generating the same margin might be exceptionally profitable relative to its competitors.
Industry context is therefore essential.
Investors should compare gross margins primarily with a company’s own historical performance and with similar businesses. They should also examine management commentary explaining why margins moved.
A temporary increase in cost of revenue caused by launching a new product is very different from a multiyear decline caused by intensifying competition.
The direction matters. The explanation matters even more.
What Cost of Revenue Ultimately Tells Investors
The income statement is often read from the top down, starting with revenue and eventually arriving at net income. But the line immediately below revenue can contain some of the most useful information about how a company actually works.
Cost of revenue reveals how much economic effort is required to generate sales. In software, low incremental costs can create exceptional scalability. In retail, inventory and logistics dominate the equation. In manufacturing, materials, labour, factory efficiency and supply chains play a much larger role.
The resulting gross margin acts almost like a fingerprint of the business model.
When margins expand, it can signal stronger pricing, improving efficiency, a better product mix or economies of scale. When they contract, investors should investigate whether the culprit is inflation, competition, discounting, higher infrastructure spending or a fundamental change in the economics of the business.
Revenue tells investors how much customers are spending. Cost of revenue helps explain how much value the company is able to keep.
And over the long term, that difference can be far more important than sales growth alone.










