Your data stays yours
Chart Room›Planning & inventory›FIFO, FEFO and LIFO
Chart RoomPlanning & inventory

FIFO, FEFO and LIFO: which stock leaves first, and which cost goes on the books

The same three letters mean two different things: how a warehouse rotates stock, and how an accountant prices it. Mixing them up is how good stock expires on the shelf.

OpEx 3Ws7 min readUpdated 19 Nov 2026Facts checked Nov 2026

The short answer

  • FIFO (first in, first out): the oldest stock received leaves first. In accounting, the oldest costs go to cost of goods sold first.
  • FEFO (first expired, first out): the stock with the earliest expiry date leaves first, even if it arrived later. It is the norm for food, medicines and chemicals.
  • LIFO (last in, first out): in accounting, the newest costs go to cost of goods sold first. Physically, it describes stock that is piled and taken from the top.
  • IAS 2 (the IFRS standard) permits FIFO or weighted average cost for interchangeable items; LIFO is not among them. US tax law permits LIFO, with conditions.
  • The physical rule (how goods move) and the cost rule (how they are valued) are separate choices. A warehouse can pick FEFO while the books use weighted average.

What do FIFO, FEFO and LIFO mean?

All three are issue rules: when several batches of the same item are on hand, they decide which batch goes out next. They are used in two places, with different consequences.

RuleIn the warehouse (physical flow)In the accounts (cost flow)
FIFOPick the batch received earliestOldest purchase costs go to cost of goods sold; closing stock carries recent costs
FEFOPick the batch with the earliest expiry or best-before dateNot a costing method; costs follow whatever cost formula the company uses
LIFOPick the batch received last (bulk piles, stacked sheet, some building materials)Newest costs go to cost of goods sold; closing stock carries old costs

A fourth cost formula, weighted average cost, blends all purchases into one average price per unit.

In the warehouse, FIFO and FEFO give the same answer when every batch has the same shelf life. They part ways when a later delivery has a shorter life than an earlier one, which is common when a supplier ships from mixed production runs.

FIFO vs FEFO: why the arrival date is not enough

FIFO uses the receipt date. FEFO uses the expiry date. For anything perishable, the expiry date is what decides whether the goods can still be sold, so FEFO is the safer rule. In the EU, the Good Distribution Practice guidelines for medicines (2013/C 343/01, section 5.5) say stock should be rotated on the FEFO principle, with exceptions documented.

FIFOFEFOVSpicks the first to ARRIVEshort-life lot waits and expirespicks the first to EXPIREeach lot leaves before its dateArrival order is not expiry order.
Two clocks on one shelf. When a later delivery carries an earlier expiry, only FEFO sends it out in time.

FEFO needs data FIFO does not: a batch or lot number and an expiry date captured at receiving, and a system that directs pickers to a specific lot. Without that, a warehouse may believe it runs FEFO while pickers take the nearest pallet.

FIFO vs LIFO in accounting

When prices rise, LIFO puts the newer, higher costs into cost of goods sold, so reported profit and taxable income are lower, and the stock on the balance sheet is valued at older, lower costs. IRS Publication 538 describes this effect, and its reverse when prices fall.

IAS 2 Inventories allows FIFO or weighted average cost for items that are ordinarily interchangeable, and specific identification for items that are not. LIFO is not a permitted formula, so companies reporting under IFRS do not use it. In the United States, a taxpayer may adopt LIFO by filing Form 970; under 26 USC 472(c), a company using LIFO for tax generally has to use it in reports to owners and creditors as well (the LIFO conformity rule).

Three batches, two expiry clocksInvented example · days from first receiptlot C still sellablelot C expired020406080100120dayslot A in, exp. day 110lot C in, exp. day 60FIFO still on lot Alot C expireslot A finally doneUnder FEFO, lot C would have been picked from day 20 and lot A afterwards, both inside their dates.
The later lot dies first. Receipt order and expiry order diverge, and a FIFO pick list follows the wrong one.

A worked example

Invented numbers. A distributor buys 100 units of a cleaning concentrate at 10.00, then 100 at 12.00. It sells 120.

  • FIFO cost: 100 × 10.00 + 20 × 12.00 = 1,240 cost of goods sold; 80 units left at 12.00 = 960 in stock.
  • LIFO cost: 100 × 12.00 + 20 × 10.00 = 1,400 cost of goods sold; 80 units left at 10.00 = 800 in stock.
  • Weighted average: 200 units cost 2,200, so 11.00 each; 120 × 11.00 = 1,320 cost of goods sold; 880 in stock.

Physically, the second delivery has a shorter shelf life. Under FEFO the warehouse ships it first, whatever cost formula the books use. The cost formula changes profit on paper; the pick rule changes how many units end up in the skip.

Common FIFO and FEFO mistakes

No expiry date at receiptIf the lot and expiry are not captured at the dock, no system can pick FEFO later. The write-off is decided at receiving, as told in expired stock write-offs.
Nearest pallet winsPickers under time pressure take the most reachable stock. Front-loaded racking quietly turns FIFO into LIFO.
Treating cost and flow as oneChoosing a cost formula does not rotate a single pallet. Choosing FEFO does not change the valuation. Each needs its own owner.

Questions to ask before you act

  1. Is the lot number and expiry date captured for every receipt that has one?
  2. Does the system direct pickers to a lot, or only to an item and a location?
  3. Which cost formula do our accounts use, and under which framework (IFRS or US GAAP)?
  4. How much stock was written off as expired last year, and how much of it had a younger lot shipped ahead of it?

Frequently asked questions

What is the difference between FIFO and FEFO?

FIFO ships the stock that arrived first. FEFO ships the stock that expires first. They differ when a later delivery has an earlier expiry date.

Is LIFO allowed under IFRS?

No. IAS 2 permits FIFO or weighted average cost for interchangeable items and specific identification for others; LIFO is not one of the permitted formulas.

Is LIFO allowed in the US?

Yes, for tax purposes a business can adopt LIFO by filing IRS Form 970, and it generally has to use LIFO in its financial reports too (the LIFO conformity rule in 26 USC 472(c)).

Which method is used for food and medicines?

FEFO is the usual rule for perishables. The EU guidelines on Good Distribution Practice of medicinal products call for stock rotation on the first expiry, first out principle.

Does FIFO in the warehouse mean FIFO in the accounts?

No. The physical pick rule and the accounting cost formula are separate choices and can differ.

Read next

Sources

Sources opened and checked Nov 2026.

The list sees it first

One Logbook entry a week, one wave at a time. Nothing you upload is ever kept.