With LIFO, you use the last three units to calculate cost of goods sold expense. The ending inventory cost of the one unit not sold is $100, which is the oldest cost. The $412 total cost of the four units acquired less the $312 cost of goods sold expense leaves $100 in the inventory asset account.