Cost of Goods Sold: Where the Line Is Drawn
Cost of goods sold is the direct cost of producing the goods or services a company sold in a period, subtracted from revenue to give gross profit. Which costs count as direct is partly a policy decision, and moving the line changes the gross margin without changing total costs.
How it works
Cost of goods sold is what it cost to produce the specific things that were sold in the period. Materials, the labour that made them, and the overhead attributable to production.
Revenue minus this is gross profit. That is the first subtraction on the income statement and the one that defines what kind of business you are looking at.
The costs of running the company — sales, marketing, administration, research — are operating expenses and sit below the line. The distinction is between making the thing and running the business that makes it.
The line is a choice, and that matters
Where a company draws that line is partly judgement. Is the salary of a support engineer a cost of delivering the service or a cost of running the company? Is a factory manager’s time direct or indirect? Different companies answer differently, in ways that are disclosed and rarely read.
Moving the line moves the gross margin without changing total costs at all. A cost reclassified from here to operating expenses raises gross profit and leaves operating income untouched — which is why gross margin comparisons between companies need the accounting policies read alongside them.
What the number says about the business
The ratio is the clearest single indicator of business model there is. A software company delivering another copy of the same product has almost no direct cost; a retailer buying goods to resell has almost nothing else. Neither is better — they are different businesses with different capital needs and different risks.
Part of it is fixed, which is why gross margin moves with volume. A factory costs much the same to keep running whether it produces at full capacity or half, so the same company reports a worse gross margin in a weak period without anything about its costs having changed.
In practice: inventory is where this number comes from
Opening inventory, plus what was bought, minus closing inventory. That is the arithmetic, and it means cost of goods sold is the record of inventory leaving the balance sheet and arriving on the income statement.
Which links the two statements directly, and explains why a company that builds inventory reports lower costs this period and carries the difference forward as an asset.
The inventory costing method changes the figure. First-in first-out and weighted average produce different costs from identical physical inventory, and in a period of rising prices the difference can be material. The method is disclosed in the notes and is one of the few accounting choices that moves a headline number directly.
And trading the shares on any of this costs 2% of a median bar’s range per round trip on this site’s shared price history — a separate arithmetic from the company’s own.
A worked figure makes the inventory link concrete. Opening inventory of 400, purchases of 640, closing inventory of 420: cost of goods sold is 620. Now suppose the company produced the same amount but sold less, so closing inventory finishes at 500. Cost of goods sold falls to 540, gross profit rises by 80, and nothing about the business improved — 80 of cost is simply sitting on the balance sheet as unsold stock instead.
That is why inventory and this line are read together rather than separately. Inventory growing faster than revenue is the specific pattern worth noticing: it flatters this period’s profit and creates the risk of a write-down later, and both halves of it are visible in the same set of accounts.
What cost of goods sold is not
It is not all costs. Operating expenses sit below it and are frequently larger.
It is not cash spent this period. It is the cost of what was sold, which may have been bought a year ago.
It is not comparable across industries. The ratio describes a business model, not efficiency.
And it is not fixed by the standards in every detail. Classification involves judgement, disclosed in the accounting policies.
When it fails
A falling cost can be efficiency or it can be deferred cost. Cheaper materials, less quality control and stretched maintenance all reduce it now and produce returns, warranty claims or downtime later. The income statement cannot tell you which.
The second failure is comparing gross margins across industries. An 80% margin in software and a 24% margin in grocery say nothing about which company is better run.
A third is missing the inventory link. A company producing more than it sells reports lower costs and a growing inventory balance; the profit looks better and the balance sheet shows where it went.
A fourth is ignoring reclassification. When a company changes what sits above the line, the gross margin jumps and nothing has improved. Prior periods are usually restated, and the change is disclosed rather than announced.
And a fifth is expecting it to move proportionally with revenue. The fixed portion means it does not, which is why margins expand in good years and compress in bad ones without any decision being made.
The original data
Of the 31,760 trading and investing videos in this site’s corpus, 0 have “cost of goods sold” in the
title, 0 have “gross profit”, and 0 have “operating income”. “Balance sheet” returns 3 videos and “cash
flow” returns 17. By contrast, the relative strength index (“RSI”)
returns 844 videos and “candlestick” returns 517. The counts are
in research/corpus-coverage.json, produced by site/measure_corpus.py.
Seventeen videos on cash flow against 844 on one oscillator is the shape of the available material. And the seventeen have a median of 67,134 views against 3,907 for the 844 — which says the audience for company fundamentals is not absent, it is underserved. The check worth making on any gross margin move is the boring one: read the accounting policy note and confirm the line has not moved, because a reclassification and a genuine improvement look identical in the headline figure and only one of them is worth anything.
Related
Gross profit is what remains after this subtraction. Revenue is what it is subtracted from. And income statement is the page both sit on.
The thing that made this number readable to me was realising it is not a fact about the factory, it is a fact about where the accountant drew a line. Two identical companies can report different gross margins on identical costs, and the difference is entirely in classification.
— Michael Whitman
This page is educational, not financial advice. Test every idea on your own charts before risking money.