FIFO stands for “First In, First Out.” It is an accounting method that assumes the inventory you purchased most recently was sold first. Using this method, the cost of your most recent inventory purchases are added to your COGS before your earlier purchases, which are added to your ending inventory.