← Bookkeeping and accounting basics
Inventory: FIFO
First in, first out: the oldest costs are sold first.
When a store buys the same item at different prices, it needs a rule for which cost goes to cost of goods sold. FIFO, first in first out, assumes the oldest units are sold first. So COGS uses the oldest costs, and ending inventory is valued at the newest costs. Goods available minus COGS is ending inventory.
Example: 10 units at $5, then 20 units at $6. Sold 15 units.
- 10 at 5 = 50 — All the oldest units
- 5 at 6 = 30 — Then 5 from the next batch
- COGS = 80; ending = 15 at 6 = 90 — The newest units are left
Why it works: FIFO follows the way most shops actually move stock, oldest first, so the oldest costs go to cost of goods sold and the newest stay in inventory.
Tip: When prices are rising, FIFO gives a lower COGS and a higher profit than LIFO.