Cost of goods sold analysis
Definition
Cost of goods sold analysis
Cost of goods sold analysis breaks down the direct cost of the goods a business actually sold in a period. It covers materials, direct labor and production overhead. It excludes anything you made or bought but still hold in stock at the close.
Cost of goods sold (COGS) is the line on the income statement. The analysis is what you do with it: trend it, split it by product line, and test why it moved.
It follows the product, not the org chart. Cost center analysis asks which department spent the money. COGS analysis asks what the money went into — and whether that thing sold at a sensible margin.
And it is a technique, not a standing system. Cost accounting is the machinery that codes every transaction; COGS analysis is one repeatable cut of the output, run once per reporting period.
Key takeaways
- It measures the direct cost of what you sold, not what you made and kept in stock.
- It is a repeatable technique run each period, not a standing system and not a change program.
- Cost center analysis asks who spent the money; this analysis asks what the money went into.
- Opening stock plus purchases minus closing stock is the arithmetic underneath every version of it.
How it works
The arithmetic is simple — the judgment is not. Opening inventory plus purchases and production costs, minus closing inventory, gives the cost of what left the building. Everything contentious sits in how you value that inventory.
| Line | What goes in | What stays out |
|---|---|---|
| Materials | Raw inputs consumed in the units sold | Materials still sitting in stock |
| Direct labor | Wages of the people making the product | Head office salaries |
| Production overhead | Factory power, plant depreciation | Marketing and distribution |
| Inbound freight | Getting inputs to the plant | Shipping the finished goods out |
Timing matters as much as valuation. Costs booked in one period against goods sold in the next will distort both figures, which is why period end cut off procedures get audited so closely.
Valuation rules are not optional. Under IAS 2 Inventories, stock is carried at the lower of cost and net realisable value, so a write down moves straight through the cost line.
IAS 2 also fixes how cost gets assigned: specific identification for items that are not interchangeable, and first in first out or weighted average for items that are.
Tax rules run in parallel with the accounting standard. The Internal Revenue Service keeps its small business tax guide current for the 2025 year, and United States filers work from that as well.
Then you cut the number. Splitting COGS by product line and setting it against revenue gives profit margin per line, which is where a loss making product usually reveals itself.
Watch the boundary with total cost. COGS stops at the factory gate — so sales commission, marketing and head office overhead sit outside it even though they are real money.
The count has to be right before the math is. An inventory analyst who reconciles physical stock against the ledger does more for the accuracy of this number than any spreadsheet.
Examples
Any business selling a physical product runs this analysis, and the pressure point differs by sector. Food producers watch input prices. Electronics firms watch obsolescence. Apparel brands watch markdowns.
A coffee roaster is the clean case. Green bean prices moved sharply through 2024 and 2025, so a roaster splits the cost line into beans, packaging and roasting energy to see which part drove the move.
An online retailer uses it to defend pricing. Compare COGS per order against break-even analysis on delivery and returns, and you learn which promotions actually pay for themselves.
Contract production changes the shape of the line. A brand that moves assembly to a partner through manufacturing outsourcing converts factory overhead and direct labor into a single purchased unit price.
A pharmaceutical maker faces the opposite problem from a grocer. Long shelf life and high margins mean the cost line moves slowly, so the analysis focuses on yield losses and failed batches rather than on price.
Services businesses run a version of it too. Where there is no inventory, the equivalent line is cost of revenue, and the same split between direct delivery cost and general overhead still applies.
That makes the analysis easier and the negotiation harder. You gain one clean number per unit — and lose sight of what sits inside it, which is why the contract should specify the cost build.
Related terms
- Average order value (AOV): revenue per order; pair it with COGS per order to see real contribution.
- Financial analyst: the role that usually builds and defends this analysis each period.
- Profit margin: what is left after COGS; this analysis exists mainly to protect it.
- Total cost: the full picture, including the overhead that COGS deliberately excludes.
- Break-even analysis: uses the COGS figure to find the volume where a line starts paying.
FAQ
What is included in cost of goods sold?
Materials, direct labor and the production overhead attached to the units you sold in the period. Selling, marketing and general administration costs stay out of it. Inbound freight counts; outbound shipping does not.
Is cost of goods sold analysis the same as cost accounting?
No. Cost accounting is the standing system that codes and stores the data, while this analysis is one repeatable cut of that data, run each period.
How does it differ from cost center analysis?
It follows the product rather than the org chart. Cost center analysis tells you which department spent the money; this tells you what the money went into. Most finance teams run both and reconcile them.
Which inventory method should you use?
Specific identification suits items that are not interchangeable. First in first out or weighted average suits high volume items that are ordinarily interchangeable. Pick one and stay with it, because switching breaks every comparison.
How often should a business run it?
Every reporting period, with a deeper product level cut at least once a year and after any change of supplier.
Browse vetted production and finance providers in the Outsource Accelerator directory.







Independent




