Under the FIFO (First-In, First-Out) method of inventory valuation, the company would assume that the first units of product X purchased at the beginning of the year are the first units to be sold. Therefore, the cost of goods sold (COGS) for the year would be the cost of the first 100 units purchased, which is 1,000(100unitsx10 per unit).
The ending inventory would be the cost of the last 100 units purchased, which is 1,200(100unitsx12 per unit).
The FIFO cost of goods sold and ending inventory would be as follows:
Beginning Inventory: $0
Purchases: 1,000(100unitsx10 per unit)
Cost of Goods Sold: $1,000
Ending Inventory: 1,200(100unitsx12 per unit)
The FIFO method assumes that the oldest inventory is sold first, which means that the cost of goods sold is based on the cost of the oldest inventory. In this example, the company did not sell any product X during the year, but the FIFO method still assumes that the first units purchased were sold first, resulting in a cost of goods sold of $1,000.