LIFO is an inventory valuation method calculating COGS according to the inventory cost at the end of a specific period. The essence of this method is that no matter whether the item came last, retailers sell it first.