Inventory & StockLast reviewed: 2026-07-30

LIFO (Last In, First Out)

LIFO (Last In, First Out) is a cost-flow assumption that treats the most recently received items in a warehouse as the first to leave. For inventory valuation this means outgoing goods are valued at the newest purchase prices, while the older, often cheaper stock notionally remains in the warehouse.

LIFO (Last In, First Out) is a cost-flow assumption for valuing inventory that assumes the most recently stored items are the first to be consumed or sold. The name describes exactly this sequence: what entered the warehouse last leaves first. Because purchase prices change over time, this assumption makes a difference to which value is attributed to outgoing goods and which value stays tied up in stock at the balance-sheet date.

LIFO is primarily a calculational valuation method, not a rule for physical stock movement. The system does not have to withdraw goods in reverse order; it merely assumes this consumption sequence for pricing. In periods of rising purchase prices, LIFO means the expensive, most recent receipts are booked as expense and the cheaper old stock remains in the warehouse – which lowers the reported profit and thus the tax burden. This is precisely where the practical appeal and, at the same time, the legal sensitivity of the method lie.

At a glance

  • Consumption sequence: the most recently received goods leave first
  • Pure valuation method, not a physical withdrawal rule
  • Values outgoing goods at the most recent purchase prices
  • Lower profit and a tax advantage when prices are rising
  • Permitted in the tax accounts, prohibited under IFRS (IAS 2)

How LIFO (Last In, First Out) works

LIFO assigns each goods withdrawal the purchase prices of the most recent receipts. The warehouse is conceptually run like a stack: new receipts are placed on top, and a withdrawal is taken from the top first – that is, from the newest receipt. Only when a more recent price layer is used up does the valuation fall back on the next-older one. The stock remaining at the reporting date therefore consists, in calculational terms, of the oldest, historically acquired price layers.

In practice LIFO exists in two forms. Under periodic LIFO, the entire consumption of a period is valued in bulk at the most recent receipts of that period. Under perpetual LIFO, every single withdrawal is immediately offset against the most current available receipt at that moment. Both variants deliver different results when prices fluctuate, but follow the same basic assumption. In either case the prerequisite is that receipts and withdrawals are recorded cleanly by quantity and value – LIFO requires functioning inventory management.

Valuation method rather than a physical warehouse rule

It is important to separate LIFO as a valuation logic from the actual movement of goods. For most goods a physical withdrawal following LIFO is in fact undesirable, because older goods would otherwise stay put permanently and spoil or become obsolete. A genuine physical LIFO movement only occurs with bulk goods that are taken off from the top – such as gravel, coal or sand heaps. In all other cases the goods physically keep flowing according to FIFO, while the LIFO assumption is calculated for the balance sheet.

LIFO in inventory valuation

The actual purpose of LIFO lies in valuing inventory assets. If a company buys the same item at different prices over the course of the year, it is no longer possible at the reporting date to say clearly which specific unit carried which purchase price. Cost-flow assumptions such as LIFO or FIFO solve this problem through a standardized assumption about the sequence. LIFO assigns the most recent prices to expense and values the closing stock at the oldest prices.

In a phase of rising procurement prices – the typical use case – LIFO produces a lower inventory value and higher material expenses than FIFO. The profit turns out lower, and the income tax burden falls accordingly. This effect is intended: LIFO is meant to prevent purely inflation-driven paper profits from the higher valuation of stock from having to be taxed. When prices fall the effect reverses, which is why LIFO is not universally "cheaper" but depends on the price trend.

Benefits and limits of LIFO

The central benefit of LIFO is bringing material expense closer to current replacement costs. Because the most recent prices flow into the profit-and-loss statement, the result reflects more what the goods cost today rather than what they cost months ago. This dampens inflation-driven paper profits and preserves liquidity, because less substance flows out through taxes. For companies with large, homogeneous and price-sensitive inventories this can be a noticeable advantage.

Against this stand clear limits. The balance-sheet carrying amount of inventory assets increasingly ages, because the closing stock consists of old price layers and can understate the actual replacement costs. This reduces the informative value of the balance sheet. In addition, LIFO is only permissible where it does not obviously contradict the actual consumption sequence; for goods with a best-before date or batch requirements it is therefore usually unsuitable. The commercial-law lower-of-cost-or-market principle must also be observed – if the market value is lower than the LIFO value, a write-down is required.

LIFO in the ERP system

In an ERP or merchandise management system, the valuation method is a setting stored per item, item group or company entity. Because the system posts every stock movement with quantity, date and purchase price anyway, it can perform the LIFO allocation automatically: on each withdrawal it draws, in calculational terms, on the most recent not-yet-consumed price layer and updates the inventory value accordingly. Manual side calculations are eliminated, and the cost of goods sold sits in the accounting records in an audit-proof way.

Not every system supports LIFO equally comprehensively. Many solutions geared toward retail and e-commerce keep stock at the moving average price or under FIFO by default; there LIFO is sometimes not provided at all or only in a limited way. Anyone who wants to use LIFO for the tax accounts should therefore check the availability of the method early in the ERP selection. It is also crucial that the price layers are documented completely and immutably, so that the reported cost of goods sold withstands the GoBD requirements for traceability.

Interaction with stocktaking and key figures

The chosen valuation method carries over into downstream processes. Stocktaking only establishes the quantity, but its valuation follows the stored method – that is, under LIFO with the old price layers. Key figures such as inventory turnover or capital tie-up also turn out differently than under FIFO, because the inventory value is set lower. Anyone comparing analyses must therefore know which method sits behind them in order to interpret the figures correctly.

Distinction: LIFO vs. FIFO and the average method

LIFO is the counterpart to FIFO (First In, First Out), which assumes that the goods received first leave first. FIFO consequently values the closing stock at the most recent prices and is thereby closer to replacement costs – the reported profit is higher when prices rise. LIFO reverses the logic and shifts the higher value into expense. Both are cost-flow assumptions; they differ only in the assumed sequence.

Alongside these stands the average method, which assumes no sequence but blends all receipts into a weighted average price. It is simple and smooths price swings, but reproduces neither old nor new prices sharply. Which method is permissible and sensible depends on the legal framework and the type of goods – the right choice is therefore both an accounting-policy and a practical decision.

DACH specifics: commercial, tax and IFRS accounts

In Germany, LIFO is expressly permitted for tax purposes under § 6 Abs. 1 Nr. 2a EStG and is possible under commercial law under § 256 HGB as a cost-flow assumption; in Austria it is likewise permitted. Internationally the picture differs: under IFRS, LIFO has been prohibited since the revision of IAS 2 in 2005. Anyone reporting group-wide under IFRS may therefore not apply LIFO in the IFRS accounts, but can still use it in the German tax accounts – one reason why the ERP system should be able to represent both valuation worlds in parallel.

Example

Example: wholesaler with rising raw material prices

A wholesaler buys a homogeneous metal product three times over the course of the year: 1,000 units at €4, then 1,000 units at €5 and finally 1,000 units at €6. By the reporting date he sells 2,000 units, with 1,000 units remaining in stock. Under LIFO the units bought last count as sold first: the cost of goods sold is valued at 1,000 × €6 and 1,000 × €5, that is €11,000. The oldest layer remains in stock at 1,000 × €4 = €4,000.

Under FIFO the cost of goods sold would have been valued at €4 and €5 (€9,000) and the closing stock at €6,000. LIFO here leads to €2,000 higher expense and thus lower profit – the trader is taxed less, because the inflation-driven increase in the value of the stock does not appear as profit. The price for this: his balance-sheet stock of €4,000 lies well below the current replacement value of €6,000.

Frequently asked questions

Yes. LIFO is expressly permitted in the German tax accounts under § 6 Abs. 1 Nr. 2a EStG and is possible under commercial law under § 256 HGB as a cost-flow assumption. The prerequisite is that the method does not obviously contradict the actual consumption sequence. Under IFRS (IAS 2), by contrast, LIFO has been prohibited since 2005.
LIFO is advantageous above all when purchase prices rise persistently, because it shifts the expensive most recent receipts into expense, lowers profit and so avoids taxing inflation-driven paper profits. When prices fall the effect reverses, and LIFO is then rather disadvantageous. Its advantageousness therefore depends directly on the price trend.
No. LIFO is a calculational valuation method and not a rule for physical stock movement. Goods can and usually should flow physically according to FIFO, so that older stock does not spoil. The last-first assumption is only calculated for pricing – with the exception of bulk goods that are actually taken off from the top.
Usually not. For perishable or batch-controlled goods a last-first consumption sequence would contradict the real process and is problematic for tax purposes, because older goods would stay put. For such ranges FIFO is the fitting method; LIFO remains reserved for homogeneous, storable and price-sensitive bulk goods.

Questions about LIFO (Last In, First Out) in your ERP project?

We advise vendor-neutrally – and implement it ourselves on request.

Free consultation