Enrollment for the FMVA™ Certification Program is now OPEN!

Cost of Goods Sold (COGS)

Direct costs in producing a good or providing a service

What is Cost of Goods Sold (COGS)?

Cost of Goods Sold (COGS) measures the “direct cost” incurred in the production of any goods or services. It includes material cost, direct labor cost, and direct factory overheads, and is directly proportional to revenue. As revenue increases, more resources are required to produce the goods or service. COGS is often the second line item appearing on the income statement, coming right after sales revenue. COGS is deducted from revenue to find gross profit.

 

Cost of Goods Sold (COGS) example on income statement

 

Cost of goods sold consists of all the costs associated with producing the goods or providing the services offered by the company. For goods, these costs may include the variable costs involved in manufacturing products, such as raw materials and labor. They may also include fixed costs, such as factory overhead, storage costs, and depending on the relevant accounting policies, sometimes depreciation expense.

COGS does not include general selling expenses, such as management salaries and advertising expense. These costs will fall below the gross profit line under the selling, general and administrative (SG&A) expense section.

 

Purpose of Cost of Goods Sold

The basic purpose of finding COGS is to calculate the “true cost” of merchandise sold in the period. It doesn’t reflect the cost of goods that are purchased in the period and not being sold or just kept in inventory. It helps management and investors monitor the performance of the business.

 

Accounting for Cost of Goods Sold

IFRS and US GAAP allow different policies for accounting for the cost of goods sold. Very briefly, there are four main types of cost of goods sold classifications.

  1. First-in-first-out (FIFO)
  2. Last-in-first-out (LIFO)
  3. Weighted average
  4. Specific identification

The first two are self-explanatory. Under FIFO, COGS consists of earlier costs, whereas under LIFO, COGS consists of later costs. For example, assume that a company purchased materials to produce four units of their goods. The first three units cost $5 to produce. However, due to rising material prices, the last unit cost $10 to produce. In the subsequent period, the company sells three units. Under FIFO, COGS would consist of the first three units produced, totaling $5 x 3 = $15. Under LIFO, COGS would consist of the last three units produced, totaling $10 x 1 + $5 x 2 = $20.

Under weighted average, the total cost of goods available for sale is divided by units available for sale to find the unit cost of goods available for sale. This is multiplied by the actual number of goods sold to find the cost of goods sold. In the above example, the weighted average per unit is $25 / 4 = $6.25. Thus, for the three units sold, COGS is equal to $18.75.

Specific identification is special in that this is only used by organizations with specifically identifiable inventory. Costs can be directly attributed and are specifically assigned to the specific unit sold. This type of COGS accounting may apply to car manufacturers, real estate developers, and others.

Depending on the COGS classification used, ending inventory costs will obviously differ.

 

Cost of Goods Sold Template Screenshot

 

Download the Free Template

Enter your name and email in the form below and download the free template now!

Cost of Goods Sold Template

Download the free Excel template now to advance your finance knowledge!

 

More resources

Thank you for reading this guide to accounting for the cost of goods sold. CFI is the official provider of the Financial Modeling & Valuation Analyst (FMVA)™ certification. To prepare for the FMVA curriculum, these additional resources will be helpful:

Free Accounting Courses

Learn accounting fundamentals and how to read financial statements with CFI's free online accounting classes. These courses will give the confidence you need to perform world-class financial analyst work. Start now!  

Building confidence in your accounting skills is easy with CFI courses! Enroll now for FREE to start advancing your career!