Over 2 million + professionals use CFI to learn accounting, financial analysis, modeling and more. Unlock the essentials of corporate finance with our free resources and get an exclusive sneak peek at the first module of each course.
Start Free
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 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 expenses. 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 inventory and cost of goods sold.Very briefly, there are four main valuation methods for inventory and cost of goods sold.
First-in-first-out (FIFO)
Last-in-first-out (LIFO)
Weighted average
Specific identification
Under FIFO, COGS consists of finished inventory units that were produced first and thus consist of costs incurred first, whereas under LIFO, COGS consists of finished inventory units that were produced last and therefore consists of later or most recent 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 costs $10 to produce. In the subsequent period, the company sold 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.
Video Explanation of Cost of Goods Sold
Learn more about COGS in the video below:
Download the Free Template
Enter your name and email in the form below and download the free template now!
More Resources
Thank you for reading this guide to accounting for the Cost of Goods Sold. To prepare for the FMVA curriculum, these additional CFI resources will be helpful:
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.