LIFO · inventory

Also known as: Last in, first out

On this page 7

LIFO, short for last in, first out, is an inventory costing method that assumes the most recently acquired units are the first ones sold, so the newest purchase costs flow into cost of goods sold (COGS) while the oldest costs remain on the balance sheet as ending inventory. In e-commerce inventory accounting, LIFO is a cost-flow assumption, not a rule about which physical box leaves the warehouse first.

The method matters most when purchase prices change over time. During rising prices, LIFO reports higher COGS, lower gross profit and, where tax law permits, lower taxable income than FIFO. It is permitted under US GAAP but prohibited under IFRS, which limits its use to businesses reporting in the United States.

How LIFO assigns costs to sold inventory

LIFO assigns costs by matching each sale with the latest cost layers still on hand. Every purchase creates a cost layer with a quantity and a unit cost. When units are sold, the accounting system consumes the most recent layer first, then the next most recent, until the sold quantity is covered.

Consider a seller that buys 100 units at 10 dollars, then 100 at 12 dollars, then 100 at 14 dollars, and sells 150 units. The table below shows how LIFO allocates those costs.

Cost layerUnits purchasedUnit costUnits charged to COGSUnits left in inventory
Layer 3 (newest)10014 dollars1000
Layer 210012 dollars5050
Layer 1 (oldest)10010 dollars0100
LIFO cost allocation for a sale of 150 units

COGS is therefore 1,400 plus 600, or 2,000 dollars, and ending inventory is 600 plus 1,000, or 1,600 dollars. Under FIFO, the same sale would produce COGS of 1,600 dollars and ending inventory of 2,000 dollars, showing how the method choice shifts 400 dollars of cost between the income statement and the balance sheet.

Periodic and perpetual LIFO

LIFO can be applied under a periodic or a perpetual inventory system, and the two can give different results. Periodic LIFO calculates COGS once at period end using all purchases of the period, while perpetual LIFO assigns cost at the moment of each sale using only the layers that existed at that time.

Many US companies also use dollar-value LIFO, which groups items into pools and measures layers in base-year dollars with price indexes. This approach avoids tracking thousands of individual items and is common for retailers with large, changing assortments.

The table below compares the main LIFO variants.

VariantHow layers are measuredTypical user
Specific-goods periodic LIFOUnits per item, calculated at period endSmall catalogs with stable items
Perpetual LIFOUnits per item, calculated at each saleBusinesses with real-time inventory systems
Dollar-value LIFOPools valued with internal price indexesManufacturers and wholesalers
Retail LIFORetail prices converted with cost ratiosDepartment stores and large retailers
Main variants of LIFO

LIFO compared with FIFO and weighted average cost

LIFO is one of three common cost-flow methods, and the choice changes reported margins and inventory values without changing actual cash spent on goods. FIFO assumes the oldest costs leave first, while the weighted average cost method blends all costs into one unit cost.

The following table shows how each method behaves when supplier prices are rising.

MethodCost of goods soldEnding inventory valueReported profitAllowed under IFRS
LIFOHighestLowest, may be outdatedLowestNo
FIFOLowestClose to current costHighestYes
Weighted averageIn betweenIn betweenIn betweenYes
Effect of cost methods during rising prices

When prices are falling, the effects reverse: LIFO then reports lower COGS and higher profit than FIFO. In a period of stable prices, the three methods produce nearly identical results.

Tax rules and reporting requirements for LIFO

In the United States, the main reason to adopt LIFO is tax deferral during inflation, because higher COGS reduces taxable income. Adoption requires filing IRS Form 970, and the LIFO conformity rule requires a company that uses LIFO for tax purposes to use it in its financial statements to shareholders and creditors as well.

Companies using LIFO usually disclose a LIFO reserve, the difference between inventory valued at FIFO or current cost and inventory valued at LIFO. Analysts add this reserve back to compare a LIFO company with peers that report under FIFO or IFRS.

Because IFRS prohibits LIFO, an online retailer selling internationally that consolidates into a group reporting under IFRS cannot use LIFO for group statements. Many jurisdictions outside the United States also disallow it for tax purposes.

Risks and practical drawbacks of LIFO

The biggest risk is LIFO liquidation, which occurs when sales exceed purchases and the company consumes old, low-cost layers. Those old costs then flow into COGS, inflating profit and creating a sudden tax bill that can erase years of deferral. Stockouts, supply disruptions or a deliberate inventory reduction can all trigger it.

The table below summarizes common problems and how practitioners address them.

ProblemCauseTypical remedy
LIFO liquidationOld layers consumed when stock fallsPlan purchases before period end
Outdated balance sheet valuesOldest costs remain in inventory for yearsDisclose and analyze the LIFO reserve
Confusion with physical flowStaff assume newest stock must ship firstSeparate warehouse rules from cost accounting
Unsupported in e-commerce toolsMany platforms offer only FIFO or average costCalculate LIFO in the accounting system
Common LIFO problems and remedies

Physical inventory practice should not follow LIFO for perishable or dated goods. A warehouse can ship the oldest stock first to avoid spoilage while the books still apply LIFO, because the method concerns cost assignment rather than picking order.

A non-technical view

LIFO is a way of deciding which purchase price to count when you sell something. Imagine a store that bought the same item several times at different prices. When it sells one, LIFO says to use the price of the most recent purchase.

When prices keep going up, this makes the cost of what was sold look higher and the profit look smaller, which can mean paying less tax for now. The key point is that LIFO changes the numbers in the books, not the boxes on the shelf. The store can still send out its oldest items first.

A concrete example

A US-based online seller of bicycle components carries about 1,200 items, and its supplier prices rise by roughly 8 percent a year. Its accountant recommends dollar-value LIFO for tax reporting, with items grouped into three pools: drivetrain, brakes and accessories.

In the first year, LIFO raises cost of goods sold by about 60,000 dollars compared with FIFO, which lowers taxable income by the same amount and defers the related tax. The company records a LIFO reserve of 60,000 dollars in its financial statement notes, as the conformity rule requires LIFO in its reports as well.

In the third year, a supply shortage forces the seller to run inventory down sharply. Old, cheaper layers enter cost of goods sold, and reported profit jumps. The accountant had warned about this LIFO liquidation, so the company had budgeted for the higher tax payment and planned larger purchases before the next year end.