How to calculate the 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:
Direct materials. These are the raw materials directly used in manufacturing a product, such as wood for furniture or fabric for clothing. The cost includes purchase price, shipping fees, and any taxes paid to acquire these materials.
Direct labor. This includes wages and benefits for employees who are directly involved in manufacturing products, such as assembly line workers or machinists. It covers salaries, overtime pay, and payroll taxes directly tied to production.
Manufacturing supplies. Consumable items used during production, such as lubricants for machines, safety gloves, or cleaning materials, fall into this category. These supplies are essential for maintaining the production process but are not part of the final product.
Factory overhead. Indirect costs incurred in manufacturing that cannot be directly traced to a specific product, such as utility expenses, equipment depreciation, and factory rent, are included here. Factory overhead ensures that all production-related costs are captured in COGS.
Freight-in costs. The shipping costs incurred to bring raw materials to the manufacturing facility are part of COGS. These costs are included to reflect the true expense of acquiring the materials needed for production.
Purchase returns and allowances. Any reductions in the cost of raw materials due to returns to suppliers or negotiated discounts are subtracted when calculating COGS. This adjustment ensures that only net material costs are included.
Cost of outsourced manufacturing. If a company contracts out parts of its production process, the expenses paid to third-party manufacturers are included in COGS. This reflects the total cost of producing the goods, whether made in-house or outsourced.
Packaging costs. The cost of packaging materials directly tied to the product, such as boxes and labels, is part of COGS. This ensures that the expense of getting products ready for sale is accounted for accurately.
Related AccountingTools Courses
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. The following exhibit shows where the cost of goods sold appears in the income statement.
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