Cost of Goods Sold: How Inventory Becomes an Expense

Cost of Goods Sold: How Inventory Becomes an Expense
Buying stock is not an expense. It is a swap: cash becomes inventory. The expense arrives later, one unit at a time, as each item is sold. Cost of goods sold is the sum of those units for a period, and it is the number that decides whether the business is profitable or just busy.
Key takeaways
- COGS = opening inventory + purchases − closing inventory. Freight-in belongs to purchases.
- Purchases are not an expense; they become one when the unit sells.
- Shrinkage and write-offs belong in COGS, not in a forgotten corner of expenses.
- If the closing count is wrong, the profit is wrong. Overstating closing stock understates COGS and inflates profit.
The three numbers
Everything about inventory accounting comes from three figures: what you had at the start, what you bought, and what you have at the end.
| Line | Example |
|---|---|
| Opening inventory, at cost | $20,000 |
| Purchases in the period | $120,000 |
| Freight-in on those purchases | $3,000 |
| Goods available for sale | $143,000 |
| Closing inventory, at cost | $25,000 |
| Cost of goods sold | $118,000 |
Sales of $180,000 against that COGS leaves a gross margin of $62,000, or 34 per cent. Every decision about price, discount and product mix is read through that number, which is why it has to be built from counted stock and not from a guess.
Why purchases are not the expense
If you expense a purchase when you pay for it, a month with a big buy looks catastrophic and the next month looks brilliant, even though nothing changed in the business. The stock did not disappear; it moved from cash to shelf.
The unit becomes an expense when it sells, and that is the only moment the business has genuinely spent it. Until then it is an asset, and that is exactly how the balance sheet treats it.
Freight-in, and the costs that belong to the unit
Freight to bring goods in is part of what the unit cost you. Add it to purchases, or allocate it to the items, but do not leave it in a separate expense line: it distorts the margin and makes every product look more profitable than it is.
Freight out — delivering to the customer — is a selling expense, not part of COGS, unless the sale terms put delivery inside the price of the goods. Pick one treatment and keep it, because changing it mid-year makes the gross margin incomparable with itself.
Where shrink and write-offs go
Stock that disappears, expires or is written off never sold, so its cost cannot sit in closing inventory. In practice it lands in COGS, either as part of the difference between counted closing stock and recorded stock, or as an explicit line for shrinkage.
That is the honest treatment: the cost of what you bought and did not sell is a cost of the goods you did sell. Hiding it in "other expenses" makes the gross margin look better and the business look worse prepared.
The error that flatters profit
If the closing count is overstated — units that left and were never recorded, or a count done with the expected number in view — closing inventory rises, COGS falls and profit rises. The business pays tax on a profit it did not make and finds out months later, when the next count corrects it.
That is why a blind count and a movement record are not administrative luxuries. They are the inputs to the number the owner uses to decide prices.
Unit cost: the method behind the number
When prices change during the year, the cost of a unit sold depends on which unit you assume was sold. First in, first out takes the oldest cost; weighted average blends everything; last in, first out takes the newest. All three are legitimate in different jurisdictions, and all three produce a different profit from the same physical reality.
What matters is consistency: choose the method your accountant uses, apply it every month, and write it down. A method that changes with the result is not an accounting policy, it is a preference for a better number.
How often to compute it
Monthly, from a counted closing stock. Waiting for the year end means eleven months of decisions made on a number nobody knows, and one unpleasant surprise in the twelfth.
A monthly close does not need a full count. Count the high-value lines, value the rest from the movement record, and accept a small estimated portion — as long as the same method is used each month and the estimate is disclosed when the year-end count corrects it.
Where Kardex Tauro fits
Kardex Tauro holds cost per item and the movement history, so closing inventory at cost and the cost of the units sold are reports rather than reconstructions. Issues carry the cost of the movement, adjustments carry a reason, and the monthly value by category is the figure that goes to the accounting system. It runs on Windows 10 and 11 with the database on your PC or on a computer in your local network, and imports the catalogue from Excel.
The free edition covers one PC; the professional edition is $120 a year per computer, ten dollars a month, with no charge per user.
Frequently asked questions
Is cost of goods sold the same as purchases?
No. Purchases add to inventory; COGS is the cost of the units that sold during the period: opening inventory plus purchases minus closing inventory.
Does freight belong in COGS?
Freight in, to receive goods, belongs in the cost of those goods. Freight out, to deliver to customers, is a selling expense unless the sale terms include delivery in the price.
How do I compute COGS without a full count?
Count the high-value lines, value the rest from the movement record, and use the same method every month. The year-end count corrects the estimate, and the correction is disclosed rather than hidden.

Read: inventory software vs ERP
Buying stock is a swap, not an expense. The expense arrives with the sale, one unit at a time.