What LIFO does, and why anyone chooses it
LIFO exists for one reason: cash tax. By charging your most recent, most expensive purchase costs against revenue, it reports the smallest gross profit of the three cost-flow methods whenever prices are rising — and a smaller taxable profit means tax paid later rather than sooner. That deferral is the entire economic case, and it is a real one. A distributor holding a large, stable stock of a commodity input can carry an interest-free deferral for decades.
Everything else about LIFO is a cost you accept to get that benefit. The balance sheet becomes progressively less informative, because the layers that survive are your oldest: a company that adopted LIFO in 1975 may still carry part of its inventory at 1975 prices. Ratios with inventory in them stop being comparable to a FIFO competitor's without restatement. You take on the annual work of tracking layers or dollar-value pools, and you accept that a bad year which forces you to sell into the old base will pull years of deferred profit into income at once.
LIFO is also geographically confined. US GAAP permits it under ASC 330, and US tax law permits it under IRC §472, but IAS 2 prohibits it outright. Any company reporting under IFRS — which is most of the world — uses FIFO or weighted average cost and has no LIFO option to weigh.
Note what LIFO is not. It is not a claim about physical movement. A grain elevator drawing from the top of the pile genuinely ships newest-first, but a bookshop can cost under LIFO while shelving strictly by date. Both standards treat the cost formula as an accounting policy, independent of warehouse practice.
How the layer arithmetic runs, and where the reserve comes from
Build the same stack of dated cost layers you would for any method: beginning inventory at the bottom, each purchase on top in date order, every layer carrying its delivered cost per unit. Then cost the period's sales from the top down. Empty the newest layer, move to the one below it, and continue until every unit sold is accounted for. Exactly one layer ends up partially consumed; everything below it is untouched and forms ending inventory.
The identity that makes the arithmetic self-checking is the same one behind the cost of goods sold calculator: cost of goods available for sale splits, without remainder, into cost of goods sold and ending inventory. So you can add up the layers you consumed, or value the layers that survived, and subtract — the two routes must agree to the cent.
The LIFO reserve is the difference the method has made. Formally it is FIFO inventory minus LIFO inventory: the profit LIFO has kept off the income statement since adoption. Because the cost pool is fixed, that same figure equals the cumulative excess of LIFO cost of goods sold over FIFO cost of goods sold, which is why this calculator can report the reserve from a single period's layers. Multiply the reserve by your marginal rate and you have the deferred tax the choice has bought.
Two mechanical warnings. First, this is periodic LIFO — the whole period's sales are costed against the layers as they stand at the close, which is how a US return is prepared. Perpetual LIFO, which costs each sale against the newest layer existing on that date, gives a different answer, and the reference table below shows how much. Second, most real LIFO filers do not track units at all: they use dollar-value LIFO, grouping similar items into pools and deflating each year's ending inventory with a price index so that only genuine quantity increases create a new layer. Unit LIFO, as modelled here, is the version you learn the logic from and the version that works for a single-SKU business.
Worked example: 500 units in, 300 out, costs climbing
A distributor opens the quarter with 100 units carried at $10 and buys three times as its supplier raises prices: 200 units at $12, then 150 at $14, then 50 at $15. It sells 300 units at $20 each. Work it by hand, top of the stack down.
- Build the pool. Units available: 100 + 200 + 150 + 50 = 500. Cost available: $1,000 + $2,400 + $2,100 + $750 = $6,250.
- Empty the newest layer. Purchase 3 has 50 units at $15 = $750. 250 units still to cost.
- Empty the next. Purchase 2 has 150 units at $14 = $2,100. 100 units still to cost.
- Take a partial slice of Purchase 1. 100 of its 200 units at $12 = $1,200, and the requirement is satisfied. LIFO cost of goods sold = $750 + $2,100 + $1,200 = $4,050.
- Value what survived. 100 units of Purchase 1 at $12 = $1,200, plus the whole opening layer, 100 units at $10 = $1,000. LIFO ending inventory = $2,200. Cross-check: $6,250 − $4,050 = $2,200. Agreed.
- Gross profit. Revenue is 300 × $20 = $6,000, so gross profit is $1,950 and gross margin is $1,950 ÷ $6,000 = 32.5%.
Now cost the identical 300 units oldest-first, the FIFO way: 100 × $10 + 200 × $12 = $3,400, leaving FIFO ending inventory of $2,850. So LIFO charged $650 more to expense and reported $650 less pre-tax profit — a margin of 32.5% against FIFO's 43.3% on physically identical facts.
That $650 is the LIFO reserve: $2,850 of FIFO inventory minus $2,200 of LIFO inventory. At a 21% federal rate it defers about $136.50 of tax. Scale the layers by a thousand and you are deferring $136,500 — which is why the paperwork can be worth it, and why the deferral has to be tracked and disclosed rather than quietly enjoyed.
How to read the result
Read cost of goods sold first, because under LIFO it is the meaningful number. It sits close to what those units would cost you to replace today, so gross margin under LIFO is a fair reading of current trading. That is LIFO's genuine analytical virtue and the mirror image of FIFO's: the income statement is current, the balance sheet is stale.
Read the reserve as an accumulated, contingent liability of profit. A large and growing reserve tells you costs have risen steadily and volumes have held, so the deferral is compounding. A reserve that shrinks is a warning: either your input costs are falling, or you are selling into old layers. Divide the reserve by LIFO inventory and you have a rough measure of how understated the balance sheet is: the larger that ratio, the further the carrying figure sits below what the same stock would cost today.
Read ending inventory with suspicion for any purpose that needs a current value. Do not use a LIFO inventory figure in a borrowing-base calculation, an insurance schedule or an acquisition model without adding the reserve back. To compare a LIFO company with a FIFO competitor, add the reserve to inventory, add the reserve net of tax to equity, and adjust cost of goods sold by the change in the reserve for the year. Analysts do this routinely before computing current ratio or inventory turnover.
Watch the negative case, which surprises people. If your purchase costs fall through the period, LIFO charges the cheapest costs to expense, reports a higher profit than FIFO, and accelerates tax. The reserve goes negative. LIFO is a bet on inflation, and in deflation the bet loses.
LIFO periodic and perpetual give different answers — FIFO does not
| Method | Periodic COGS | Perpetual COGS | Periodic ending inventory | Perpetual ending inventory |
|---|---|---|---|---|
| LIFO | $3,900.00 | $3,600.00 | $1,600.00 | $1,900.00 |
| Weighted average | $3,666.67 | $3,500.00 | $1,833.33 | $2,000.00 |
| FIFO | $3,400.00 | $3,400.00 | $2,100.00 | $2,100.00 |
Periodic LIFO costs the year's 300 units against the layers standing at 31 December, so the September purchase absorbs 150 units at $14.00. Perpetual LIFO charges the June sale against the March layer, which was the newest layer in existence that day, and only the November sale reaches the $14.00 layer — a $300 difference in cost of goods sold. Perpetual average cost is a moving average, $11.3333 before the June sale and $13.3333 after the September purchase.
LIFO is an election with strings attached
You must apply for it. A US taxpayer adopts LIFO by filing Form 970 with the return for the first year of use. Leaving LIFO later is a change in accounting method that generally requires IRS consent on Form 3115, and the resulting income adjustment is taxable.
The conformity requirement binds your financial statements. IRC §472 conditions the election on using LIFO for income reporting to shareholders and creditors as well — you cannot take the tax deferral while showing FIFO profits to your bank. The LIFO reserve disclosure is what lets readers convert back.
The measurement ceiling is different. Since ASU 2015-11, inventory measured under FIFO or average cost is carried at the lower of cost or net realisable value, but LIFO and retail-method inventory retain the older lower of cost or market test. Do not apply the FIFO rule to a LIFO pool.
Mistakes that produce a wrong LIFO figure
- Consuming layers in the wrong direction. LIFO starts at the newest purchase. Costing oldest-first is simply FIFO with a LIFO label on it, and the reserve will come out zero or negative for no economic reason.
- Mixing periodic and perpetual within one period. Pick one. Periodic LIFO is what the tax return expects; a perpetual system's month-end totals will not tie to it, and the gap is not an error to chase.
- Treating unit LIFO as dollar-value LIFO. Multi-item pools need an index-based calculation, and applying unit layers to a pool with changing product mix produces layers that do not exist.
- Forgetting freight-in and duty. Delivered cost is inventory cost under ASC 330 and §263A. Understating a layer's cost understates every future LIFO charge that touches it.
- Ignoring a LIFO liquidation. If sales dip into the old base, the margin that period is inflated by decades-old costs. It is a one-off gain and must be disclosed as such, not presented as trading performance.
- Reporting a LIFO inventory figure as current value. Lenders, insurers and buyers all need the FIFO-equivalent. Add the reserve back before the number leaves your building.
- Assuming LIFO always cuts tax. It defers tax only while costs rise. In deflation it does the opposite, and you cannot switch back without IRS consent.
When LIFO earns its keep, and when to use something else
LIFO pays when three conditions hold together: your input costs rise persistently, your unit volumes are stable or growing, and your inventory is large relative to profit. Petroleum, chemicals, metals distribution, industrial supply and automotive parts are the classic homes, because all three conditions are structural rather than lucky. If any one fails — costs flat, volumes cyclical, inventory small — the deferral will not repay the tracking cost and the reporting friction.
Use FIFO instead when the balance sheet is doing work: raising asset-based finance, negotiating a sale, or reporting to an IFRS parent that will not accept LIFO in consolidation. Use weighted average cost when you have thousands of low-value interchangeable SKUs and the honest answer is that no layer story is worth maintaining; average cost is also the least manipulable of the three, since there are no layers to select.
Whatever you choose, the downstream figures inherit the choice. Gross margin, days inventory outstanding and every working-capital measure move with the split between cost of goods sold and ending inventory. Comparability across periods and against peers matters more than the method itself, which is why both ASC 330 and IAS 2 treat a change of cost formula as a disclosed accounting-policy change rather than a free choice each year.
Key terms
- LIFO reserve
- FIFO inventory minus LIFO inventory. The cumulative pre-tax profit LIFO has deferred, and the figure you add back to restate a LIFO balance sheet.
- LIFO liquidation
- Selling more units than you buy, so old low-cost layers are charged to expense. Inflates margin once, then the deferral is gone.
- Dollar-value LIFO
- Pooling similar items and using a price index to strip inflation out of ending inventory, so a new layer forms only when real quantity rises.
- LIFO conformity
- The IRC §472 condition that a taxpayer electing LIFO for tax also reports on LIFO to shareholders and creditors.
