---
url: "https://wizardsolutions.net/glossary/cost-of-goods-sold/"
title: "What is Cost of goods sold? | Wizard Cloud ERP"
description: "Cost of goods sold is the direct cost of the products you sold in a period. It is what you subtract from revenue to get gross profit, and it is the number mos"
---

# Cost of goods sold (COGS)

Cost of goods sold is the direct cost of the products you sold in a period. It is what you subtract from revenue to get gross profit, and it is the number most often wrong in businesses that track stock outside their accounts.

Also searched as: COGS, cost of sales

Updated August 2026

The calculation is simple in principle: opening stock plus purchases minus closing stock. The trouble is that it depends entirely on the closing stock figure being right, and in a business counting stock once a year, that figure is an estimate for eleven months out of twelve.

That means gross margin is also an estimate for eleven months. Companies frequently discover at year end that the profit they had been reporting monthly was materially wrong, in either direction.

In a system where each sale posts its own cost at the moment it happens, COGS is continuous rather than derived, and gross margin is available on any day you want it.

## Where this lives in Wizard

- [Accounting](https://wizardsolutions.net/accounting)

  Post entries automatically, reconcile the bank, and close the month without rebuilding it in Excel.
- [Inventory](https://wizardsolutions.net/inventory)

  One stock position across every warehouse and branch, updated as goods actually move.

## Related terms

- ### [Landed cost](https://wizardsolutions.net/glossary/landed-cost)

  Landed cost is what a product actually costs you by the time it is on your shelf, including the purchase price plus frei...
- ### [Perpetual inventory](https://wizardsolutions.net/glossary/perpetual-inventory)

  Perpetual inventory means stock levels update with every movement in and out, so the system always holds a current figur...
- ### [FIFO vs weighted average costing](https://wizardsolutions.net/glossary/fifo-vs-weighted-average)

  FIFO values the stock you sold at the cost of the oldest units you bought. Weighted average values it at the blended cos...

[Book a free demo](https://wizardsolutions.net/contact)
