All challenges and every certification for $9 a month. And learn to build, buy and guide AI agents for supply chain: https://www.skool.com/supplychain

FIFO, LIFO and FEFO: The Difference, With Warehouse Examples

Published November 14, 2026

New here? Play what you are reading about. The first 5 challenges are free, no card needed. Create a free account and start.

FIFO (first in, first out) ships the oldest stock first. LIFO (last in, first out) ships the newest stock first. FEFO (first expired, first out) ships the stock with the earliest expiry date first, whatever its arrival date. In warehouses FIFO and FEFO are the common rules; LIFO appears mostly as an accounting method for valuing inventory.

The same three letters mean two different things: how goods physically move, and how stock is valued in the accounts. This guide covers both, with an example of each.

In the warehouse

Rule What leaves first Used for
FIFO The oldest receipt Most goods: avoids ageing stock
FEFO The earliest expiry date Food, medicines, chemicals, cosmetics
LIFO The newest receipt Bulk goods where it does not matter (sand, gravel, steel bars stacked in a pile)

FEFO example

A pharmacy distributor receives three batches of the same medicine:

Batch Received Expires Quantity
A 1 March 30 November 200
B 15 March 31 August 200
C 1 April 31 December 200

Under FIFO, batch A ships first. Under FEFO, batch B ships first, because it expires first even though it arrived later. If the distributor used FIFO, batch B could expire on the shelf.

That is why regulated industries set FEFO in the warehouse system, and why receiving must record expiry dates. See Warehouse Inbound Process Explained.

How warehouses make FIFO and FEFO happen

  • Flow racks: loaded at the back, picked at the front.
  • System-directed picking: the warehouse system tells the picker which location to take from.
  • Clear labels with receipt and expiry dates.
  • Regular checks of the oldest stock.

In the accounts

When prices change, the order in which you count units out changes the value of what you sold and what is left.

Example

A company buys three lots of the same part and then sells 150 units.

Lot Quantity Unit cost
1 (oldest) 100 €10
2 100 €11
3 (newest) 100 €12

FIFO: the 150 units sold are 100 from lot 1 and 50 from lot 2.
- Cost of goods sold = 100 × €10 + 50 × €11 = €1,550
- Ending inventory = 50 × €11 + 100 × €12 = €1,750

LIFO: the 150 units sold are 100 from lot 3 and 50 from lot 2.
- Cost of goods sold = 100 × €12 + 50 × €11 = €1,750
- Ending inventory = 50 × €11 + 100 × €10 = €1,550

With rising prices, LIFO shows a higher cost of goods sold, so a lower profit and a lower tax bill. FIFO shows a higher profit and a higher stock value.

Where LIFO is allowed: International Financial Reporting Standards (IFRS) do not permit LIFO. US GAAP does. Many companies outside the US use FIFO or weighted average cost.

Weighted average: a third method values every unit at the average cost of what is in stock. Here: €11 a unit, so cost of goods sold = €1,650.

Physical flow and accounting are separate

A company can ship goods FEFO in the warehouse and value them FIFO or by average cost in the books. The two decisions do not have to match.

Questions people ask

What is the difference between FIFO and FEFO?
FIFO ships by arrival date. FEFO ships by expiry date. They give the same result only when goods arrive in the order they expire.

Why is LIFO not allowed under IFRS?
Because it can show inventory at old, unrealistic prices on the balance sheet.

Which is better for perishable goods?
FEFO, because it minimises the stock that expires before it is used.

Exercise

Using the accounting example above, what are the cost of goods sold and the ending inventory if the company sells 220 units?

Solution

  • FIFO: 100 × €10 + 100 × €11 + 20 × €12 = €2,340. Ending inventory = 80 × €12 = €960.
  • LIFO: 100 × €12 + 100 × €11 + 20 × €10 = €2,500. Ending inventory = 80 × €10 = €800.

Practise it

Play Supply Chain's warehouse challenges make you decide what to pick and when. Start with the free challenges.

Related reading

Don't just read about supply chains. Play them.

  • The first 5 challenges are free, with the same game engines and debriefs as Premium
  • Your stars and your level are saved to your profile
  • No credit card, no spam

More in Logistics

The first 5 challenges are free, no card needed.

Create a free account