And to calculate the ending inventory, the new purchases are added to it, minus the exact cost of goods sold. Under the LIFO cost flow assumption, the latest (or most recent) costs are the first ones to leave inventory and become the cost of goods sold on the income statement. The first/oldest costs will remain…