What to Do
COGS describes the direct costs involved in producing products or services. At its simplest, the calculation takes the value of inventory at the beginning of a specified period, plus the value of purchases, and subtracts the value of inventory at the end of the period. Expressed as a formula, it looks like this:
Example 1:
Suppose the opening inventory is $30,000 and purchases during the period are $50,000. At the end of the period, inventory is $15,000—so:
The value of inventory may be calculated using a First In First Out (FIFO) policy—which takes its original cost—or a Last In First Out (LIFO) policy, which takes its present (usually higher) cost. It’s important to know which method is being used, especially if inflation rates are running high, as it could make a significant difference to the result.
In manufacturing companies, direct costs may include such things as: labor costs and workforce benefits; raw materials and raw materials inventory; energy costs related to production; shipping and warehousing; factory overheads; and depreciation of equipment and machinery.
Example 2:
Suppose the opening inventory is $25,000 and purchases during the period are $45,000. The cost of direct labor is $15,000, and raw materials plus energy costs are $10,000. Total product expenses are therefore 25,000 + 45,000 + 15,000 + 10,000 = $95,000. At the end of the period, inventory is $10,000, so:
It’s usually less complicated in the retail sector, where COGS is simply the amount spent on buying or acquiring products that are sold on to the customer.
The tax rules allow retailers to estimate COGS because taking inventory is such a labor-intensive activity and can be prone to error. Most retailers take last year’s net sales and gross profit margin (which they use work out a cost ratio) in order to estimate COGS.
Example 3:
Suppose net sales are 100%, and the gross profit margin is 35%. The cost ratio is 100 – 35 = 65%. So COGS is calculated as follows:
Opening inventory = $15,000
Purchases = $30,000
Net sales = $35,000
Cost ratio = 65%
What You Need to Know
- It’s essential that a company stays on top of its inventory and recognizes its value, if COGS is to be meaningful.
- Goods returned must be taken into account when calculating COGS, because they affect the value of inventory.
- Different methods of accounting for inventory will give the same answer but costs may be allocated differently.
- Because indirect costs like administration or promotions are not involved in production, they should not be included in COGS calculations.
Where to Learn More
Web Site:
AccountingCoach.com: www.accountingcoach.com/online-accounting-course/12Xpg01.html






