How to calculate cost of goods sold

What is the Cost of Goods Sold?

The cost of goods sold is the total expense associated with the goods sold in a reporting period. The cost of goods sold is subtracted from the reported revenues of a business to arrive at its gross margin; the gross margin reveals the amount of profit generated prior to selling, general and administrative expenses.

Formula for the Cost of Goods Sold

The cost of goods sold is calculated by aggregating the period-specific expense listed in each of the general ledger accounts that are designated as being associated with the cost of goods sold.  This list usually includes the following accounts:

Related AccountingTools Courses

Accounting for Inventory

Cost Accounting Fundamentals

The list may also include commission expense, since this cost usually varies with sales. The cost of goods sold does not include any administrative or selling expenses. In addition, the cost of goods sold calculation must factor in the ending inventory balance. If there is a physical inventory count that does not match the book balance of the ending inventory, then the difference must be charged to the cost of goods sold.

Cost of Goods Sold Calculation with the Periodic Inventory System

An alternative way to calculate the cost of goods sold is to use the periodic inventory system, which uses the following formula:

Beginning inventory + Purchases - Ending inventory = Cost of goods sold

Thus, if a company has beginning inventory of $1,000,000, purchases during the period of $1,800,000, and ending inventory of $500,000, its cost of goods sold for the period is $2,300,000.

To use the periodic inventory system, purchases related to manufactured goods must be accumulated in a "purchases" account.

Additional Cost of Goods Sold Issues

The calculation of the cost of goods sold is not quite so simple as the general methods just noted. All of the following factors must also be taken into account:

  • Charging to expense any inventory items that have been designated as obsolete. This should be done as soon as an inventory item has been tagged as obsolete; the expense recognition is not spread over several reporting periods.

  • Altering the cost of materials when a different FIFO or LIFO cost layer is used. Alternatively, an average costing method may be used to derive the cost of materials.

  • Charging to expense any scrap that is considered abnormal, rather than charging it to overhead.

  • Charging to expense the difference between standard costs and actual costs for materials, labor, and overhead.

There can also be differences in the cost of goods sold under the cash basis and accrual basis of accounting, since the cash method does not recognize expenses until the related supplier invoices are paid.

Given the issues noted here, it should be clear that the calculation of the cost of goods sold is one of the more difficult accounting tasks.

Presentation of the Cost of Goods Sold

The cost of goods sold is usually separately reported in the income statement, so that the gross margin can also be reported. Analysts like to track the gross margin percentage on a trend line, to see how well a company's price points and production costs are holding up in comparison to historical results.

Terms Similar to the Cost of Goods Sold

The cost of goods sold is also known by the acronym COGS.

Related Articles

Cost of Goods Manufactured Schedule

Cost of Goods Sold Journal Entry

Is the Cost of Goods Sold an Expense?