Glossary · Accounting

What is COGS?

See the worked example Cost of goods sold (COGS) calculator

Definition

Cost of goods sold (COGS) is the direct cost of the goods a business sold in a period: opening stock plus purchases and production cost, minus closing stock.

Subject
Accounting
Applies
In any country
Also called
cost of goods sold, cost of sales, COGS

Term 29 of 150, A to ZUpdated

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.

Official sources

Updated

  1. IAS 2 Inventories, IFRS Foundationifrs.org · Summary read on 3 Dec 2026: what the cost of inventories includes, and that the cost of inventories sold is an expense of the period in which the related revenue is recognised.

Any business, anywhere

Put these terms to work in your books.

Accounting, tax, stock, payroll and loans in one system, customised to the way you work.

See every appWorks worldwide

Free, no obligation

Request a quote

  • For the apps and modules you pick
  • At our best price, in writing
  • Your questions, answered by our team