FIFO and LIFO are two methods for valuing the inventory you sell — and the choice changes your reported cost of goods sold, profit, and tax. This guide explains both in plain terms, shows a worked example, and helps you decide which to use.

What is FIFO?

FIFO (first in, first out) assumes the first items you bought are the first you sell. Your cost of goods sold uses your oldest costs, and the inventory left on the books is valued at your most recent costs. FIFO mirrors how most businesses physically move stock — especially perishables.

What is LIFO?

LIFO (last in, first out) assumes the most recently bought items are the first you sell. Your cost of goods sold uses your newest costs, and remaining inventory is valued at older costs. Note: LIFO is allowed under US GAAP but not permitted under IFRS, so it is unavailable in many countries.

FIFO vs LIFO at a glance

FIFOLIFO
Sells firstOldest stockNewest stock
COGS usesOldest costsNewest costs
In rising pricesLower COGS, higher profit & taxHigher COGS, lower profit & tax
Allowed under IFRS?YesNo

A worked example

Say you buy 10 units at $10, then 10 more at $14, and sell 10 units.

  • FIFO: you sell the first 10 (at $10) — COGS = $100. Remaining inventory (the $14 units) = $140.
  • LIFO: you sell the last 10 (at $14) — COGS = $140. Remaining inventory (the $10 units) = $100.

Same purchases, same sale — but LIFO reports higher cost and lower profit when prices are rising.

Which should you use?

For most retailers, FIFO is the natural choice: it matches how you sell (oldest first), values leftover stock at current costs, and is accepted everywhere. LIFO is mainly used in the US to reduce taxable profit when prices rise. If you handle perishables or dated goods, FIFO is effectively required in practice. Whichever you pick, apply it consistently — and make sure your costs, including landed cost, are accurate.

Value inventory accurately

RushFlow tracks the cost of goods on every sale so your cost of goods sold and inventory value stay accurate — giving you a true gross profit without manual costing.