4,4 on 100+ reviews

LIFO Method: What Last In, First Out Means, With Examples

A wheel loader taking gravel from the top of a pile in a building materials yard, a real-life example of last in, first out
A wheel loader taking gravel from the top of a pile in a building materials yard, a real-life example of last in, first out

LIFO (Last In, First Out) is an inventory valuation method in which the costs of the most recently purchased units are the first to be charged to cost of goods sold (COGS). The units left in stock are valued at the older purchase costs. This guide explains what the LIFO method means, how to calculate it, a worked example compared with FIFO, real-life examples, its advantages and disadvantages, and where it is allowed.

What Is the LIFO Method?

LIFO is a cost flow assumption: it decides which purchase costs go to the income statement and which stay on the balance sheet. It does not have to match how goods physically move. A retailer can ship its oldest units first and still value them with LIFO, because the method only concerns the accounting of costs.

When prices rise, LIFO puts the newest, higher costs into COGS. That raises reported costs, lowers gross profit and taxable income, and leaves the inventory on the balance sheet at older, lower costs. When prices fall, the effect is the opposite.

How to Calculate LIFO

LIFO works with purchase layers: each purchase is a layer with its own quantity and unit cost.

  1. List the purchase layers in date order, with quantity and unit cost.
  2. Assign the units sold to the newest layers first. COGS = units taken from each layer × that layer’s unit cost, starting from the most recent purchase.
  3. Value the ending inventory with the remaining, older layers. Ending inventory = total cost of goods available for sale − COGS.

Companies apply LIFO with either a perpetual inventory system, which assigns costs at each sale, or a periodic system, which assigns them at the end of the period. The two can give slightly different results when sales and purchases alternate.

LIFO Example

A small hardware distributor buys the same item three times during a quarter, at rising prices, and then sells 150 units at $20 each.

  • January: 100 units at $10 = $1,000
  • February: 100 units at $12 = $1,200
  • March: 100 units at $14 = $1,400

Total goods available for sale: 300 units costing $3,600.

With LIFO, the 150 units sold come from the newest layers: 100 units at $14 and 50 units at $12. COGS = $1,400 + $600 = $2,000. Ending inventory is the remaining 50 units at $12 and 100 units at $10 = $1,600.

With FIFO, the same sale comes from the oldest layers: 100 units at $10 and 50 units at $12. COGS = $1,000 + $600 = $1,600, and ending inventory = $2,000.

LIFO example: three purchases of 100 units at $10, $12 and $14 and a sale of 150 units. Under LIFO COGS is $2,000 and ending inventory $1,600; under FIFO COGS is $1,600 and ending inventory $2,000

Revenue is $3,000 in both cases. Gross profit is $1,000 under LIFO and $1,400 under FIFO: LIFO reports $400 less profit, and therefore pays less tax on it, while prices are rising.

LIFO Examples in Real Life

Some goods physically move in a last-in, first-out order, because of how they are stored:

  • Bulk materials in piles: sand, gravel, coal or salt are taken from the top of the pile, where the latest delivery was dumped.
  • Stacked items: steel plates, timber or bricks stacked on each other are picked from the top.
  • Non-perishable goods in deep racks: when a rack is loaded and unloaded from the same side, the last pallet in is the first out.

In accounting, LIFO is used mostly by US companies with large, slow-turning inventories whose costs tend to rise, such as fuel distributors, automotive dealers and some manufacturers. For perishable goods the physical flow must be the opposite: the oldest stock leaves first, which is the principle of stock rotation.

Advantages and Disadvantages of LIFO

AdvantagesDisadvantages
Matches current costs with current revenue, so gross margin reflects today’s prices.Ending inventory is valued at old costs and can be far below its current value.
Lower taxable income when prices rise, which improves cash flow.Lower reported profit, which can make results look weaker to investors and lenders.
Smooths the effect of price increases on margins.If inventory drops and old layers are sold (LIFO liquidation), profit and taxes jump.
More record-keeping, and not allowed under IFRS.

LIFO vs FIFO

FIFO (First In, First Out) charges the oldest costs to COGS first, so ending inventory is close to current prices. With rising prices, LIFO gives higher COGS, lower profit and lower inventory value; FIFO gives lower COGS, higher profit and inventory closer to market value. Our guide to the FIFO method explains it in detail, and inventory valuation covers the other methods, such as weighted average cost.

Where Is LIFO Allowed?

LIFO is permitted under US GAAP and accepted by the IRS for tax purposes in the United States. A company that uses LIFO for its tax return must also use it in its financial statements, which is known as the LIFO conformity rule.

IFRS, used in the EU and in most other countries, does not allow LIFO, because it can leave the balance sheet showing inventory at costs that are years out of date. Companies reporting under IFRS use FIFO or weighted average cost instead.

LIFO and Inventory Management

LIFO changes how inventory is valued, not how much stock you need. Whatever method the accounts use, stockouts and excess stock come from purchasing decisions: how much to order, when and where. Those depend on demand and lead times, which is the subject of inventory management.

LIFO in Short: Newest Costs Out, Oldest Costs In Stock

LIFO sends the most recent purchase costs to COGS and keeps the oldest costs in inventory. When prices rise, it lowers reported profit and taxes and leaves inventory undervalued on the balance sheet. It is allowed in the United States, banned under IFRS, and, in the example above, makes a $400 difference in gross profit on a single sale compared with FIFO.

What is LIFO in simple terms?

LIFO (Last In, First Out) means that the cost of the most recently purchased units is counted first when goods are sold. Cost of goods sold reflects the newest prices, while the stock left in the warehouse is valued at older prices.

What is the difference between LIFO and FIFO?

LIFO charges the newest costs to cost of goods sold first, FIFO the oldest. When prices rise, LIFO gives higher cost of goods sold, lower profit and a lower inventory value; FIFO gives lower cost of goods sold, higher profit and an inventory value closer to current prices.

Is LIFO allowed under IFRS?

No. IFRS does not allow LIFO, so companies reporting under IFRS use FIFO or weighted average cost. LIFO is allowed under US GAAP, and a company that uses it for US taxes must also use it in its financial statements.

Is LIFO useful for inventory management, or just accounting?

LIFO is an accounting method: it decides how inventory costs are reported, not how much stock to buy or where to keep it. Those decisions depend on demand forecasting and replenishment planning, whatever valuation method the accounts use.

Written by
 Intuendi Team
Demand Planning Optimization Experts
Demand Planning Optimization Experts