COUNTING AND CONTROL GUIDE
FIFO vs LIFO: inventory valuation with a worked example
FIFO and LIFO are two ways of deciding which cost to assign to inventory you use or sell when you bought the same item at different prices. The choice changes your reported cost of goods sold, profit, taxes and the value of inventory on your balance sheet. This guide compares FIFO, LIFO and weighted average using one example, then covers the rules that limit your choice.
This is general information, not accounting or tax advice. Confirm your method with your accountant.
The methods in brief
- FIFO (first in, first out): the oldest costs are used first. Ending inventory carries the most recent costs.
- LIFO (last in, first out): the newest costs are used first. Ending inventory carries the oldest costs.
- Weighted average: every unit carries the average cost of all units available.
These are cost flow assumptions. They do not have to match how parts physically move. You can use the oldest steel first on the floor (good practice) and still value it using another method.
The example
A shop buys aluminum bar for a part during the year (periodic method, for simplicity):
| Event | Units | Cost per unit | Total |
|---|---|---|---|
| Beginning inventory | 100 | $10.00 | $1,000 |
| Purchase 1 | 200 | $11.00 | $2,200 |
| Purchase 2 | 150 | $12.00 | $1,800 |
| Available | 450 | $5,000 |
During the year, 300 units are used. 150 remain.
FIFO
Use the oldest costs first: 100 at $10 and 200 at $11.
- Cost of goods sold = 100 × $10 + 200 × $11 = $1,000 + $2,200 = $3,200
- Ending inventory = 150 × $12 = $1,800
LIFO
Use the newest costs first: 150 at $12, then 150 at $11.
- Cost of goods sold = 150 × $12 + 150 × $11 = $1,800 + $1,650 = $3,450
- Ending inventory = 50 × $11 + 100 × $10 = $550 + $1,000 = $1,550
Weighted average
Average cost = $5,000 / 450 = $11.111 per unit.
- Cost of goods sold = 300 × $11.111 = $3,333.33
- Ending inventory = 150 × $11.111 = $1,666.67
Side by side
| Method | Cost of goods sold | Ending inventory | Check (total) |
|---|---|---|---|
| FIFO | $3,200.00 | $1,800.00 | $5,000 |
| Weighted average | $3,333.33 | $1,666.67 | $5,000 |
| LIFO | $3,450.00 | $1,550.00 | $5,000 |
Every method allocates the same $5,000. Only the split between cost of goods sold and inventory changes. With rising prices, as here:
- FIFO gives the lowest cost of goods sold, so the highest reported profit, and an inventory value closest to current prices.
- LIFO gives the highest cost of goods sold, so lower reported profit and lower taxable income, but an inventory value that can become badly out of date.
- Weighted average sits in between and smooths out price swings.
If the parts were sold for $5,400 in total, gross profit would be $2,200 under FIFO, $2,066.67 under weighted average and $1,950 under LIFO. When prices fall, the effects reverse.
Periodic vs perpetual records
The example uses the periodic method, where costs are assigned once at the end of the period. Most inventory software works perpetually, assigning a cost each time stock is issued. FIFO gives the same answer either way. LIFO and averaging can give different answers under perpetual records, because the "latest" cost or the running average depends on when each issue happened relative to each purchase. A perpetual weighted average is usually called a moving average: the unit cost is recalculated after every receipt.
The rules that limit your choice
- IFRS does not permit LIFO. Companies reporting under International Financial Reporting Standards use FIFO, weighted average or specific identification. US GAAP accepts FIFO, LIFO, weighted average and specific identification (Deloitte, IFRS vs US GAAP comparison).
- Electing LIFO for US taxes takes a formal step. Taxpayers use IRS Form 970 to elect the LIFO method, filed with the tax return (IRS: About Form 970). LIFO also comes with conformity requirements for financial reporting, so get professional advice first.
- Consistency matters. Changing methods later generally requires approval or disclosure, so choose deliberately.
What about physical FIFO?
Separately from valuation, physically using the oldest stock first is good practice in almost every shop. It prevents material from aging, rusting, passing its shelf life or being superseded by a newer revision. Organize racks so new stock goes in the back or the top, label receipts with a date or batch, and keep each part in a defined bin location so the oldest stock is easy to find.
Which should a small manufacturer use?
Many small manufacturers use FIFO or a moving average because they are straightforward and keep inventory values close to current costs. LIFO may offer tax deferral in the US when costs are rising, but it adds record-keeping and is not available if you report under IFRS. The method also affects your inventory turnover and job costs, so decide with your accountant and keep it consistent.
Frequently asked questions
What is the difference between FIFO and LIFO?
FIFO assigns the oldest costs to goods used or sold first. LIFO assigns the newest costs first. The choice affects cost of goods sold, profit and inventory value.
Is LIFO allowed under IFRS?
No. IFRS does not permit LIFO. US GAAP does accept it.
Which method gives higher profit when prices are rising?
FIFO, because older, lower costs go to cost of goods sold.
Do I have to physically use the oldest stock first if I use FIFO?
No, FIFO valuation is a cost assumption. Physically rotating stock oldest-first is still good practice to avoid aging and obsolete material.