How to calculate cost of goods sold
Cost of Goods Sold (COGS) represents the direct costs attributable to the production or acquisition of the goods sold by a company during a specific period. It applies to inventory accounting under both periodic and perpetual systems to determine gross profit.
The fundamental equation is . This calculation assigns costs to the units sold and determines the remaining value of inventory on the balance sheet.
The setup
Identify the accounting period. Gather the beginning inventory balance () from the prior period's balance sheet. Sum all inventory purchases () made during the current period. Determine the ending inventory balance () via a physical count or continuous perpetual tracking.
The steps
- Record the beginning inventory value ().
- Calculate net purchases (). Add raw materials or merchandise purchased, add freight-in costs, and subtract purchase returns, allowances, and discounts.
- Add net purchases to beginning inventory to find the Cost of Goods Available for Sale: .
- Subtract the ending inventory value () from the COGAS.
- The result is the Cost of Goods Sold: .
Checking the result
Verify that . If this equality fails, recalculate. Ensure no indirect operating expenses, such as marketing or administrative overhead, have been capitalized into the purchase costs.
Common errors
Failing to adjust gross purchases for returns, allowances, and discounts. Including freight-out (a selling expense) instead of freight-in (a direct cost). Miscounting the physical ending inventory, which inversely distorts the COGS calculation.
Worked example
A retailer has a beginning inventory of \15,000$45,000$2,000$1,500$12,000$. Calculate the COGS.
First, calculate net purchases (): Next, calculate Cost of Goods Available for Sale (): Finally, subtract Ending Inventory () to find : The Cost of Goods Sold is \48,500$.
FAQ
Run your own problem
References: Kieso, Weygandt, Warfield, Intermediate Accounting · OpenStax Principles of Accounting, Volume 1: Financial Accounting
See also