What it means
COGS = opening stock + purchases and production cost − closing stock
Revenue minus COGS is gross profit, and gross profit over revenue is the gross margin. COGS holds only the cost of getting the goods ready for sale: the purchase price, the cost of making them, and the freight and duty paid to bring them in (the landed cost). Selling, office and finance costs sit lower down the profit and loss statement.
Under IAS 2, the cost of stock becomes an expense in the period in which the sale is recognised, not when the stock was bought. Which units count as sold depends on the stock valuation method: FIFO or weighted average cost. Service businesses use the wider name, cost of sales.
Example
Harbour Lane Supplies Ltd, Manchester, year to 31 Dec 2026:
| Figure | Value |
|---|---|
| Opening stock, 1 Jan | £42,000 |
| Purchases in the year | £310,000 |
| Freight and duty inward | £8,000 |
| Closing stock, 31 Dec | £50,000 |
| COGS: 42,000 + 310,000 + 8,000 − 50,000 | £310,000 |
| Revenue | £465,000 |
| Gross profit: 465,000 − 310,000 | £155,000 |
| Gross margin | 33.3% |
Common mistakes
- Putting delivery to customers, sales salaries or office rent into COGS.
- Leaving freight inward and import duty out, which makes the margin look better than it is.
- Using purchases for the year as COGS without adjusting for opening and closing stock.
- Changing the valuation method in the middle of a year.
In MyRecords
Stock is valued on every movement at each item’s method, so the cost of what was sold builds up through the year, not only at the year-end count. The Cost of goods sold report breaks the figure down by item group, and Profit and loss opens Gross profit by item. Landed costs are included once they are booked.















