Financial Statement Analysis
coreInventory Cost Flow: FIFO, LIFO and Weighted Average
Builds onInventory Turnover & Days of Inventory on Hand — if this page feels steep, start there.
- goods available for sale: the cost of the beginning inventory plus everything bought during the year
- cost of goods sold: the part of goods available that was sold, charged to the income statement
- ending inventory: the part of goods available still on the shelf, carried on the balance sheet
- units and cost per unit in layer i (the beginning inventory and each purchase)
- the weighted-average cost per unit: total cost of goods available divided by total units available
Reading the notation
Why it must be true
A company buys the same product at different prices through the year. When it sells units, which cost goes to the income statement? The physical goods are interchangeable, so accounting needs a convention — a cost flow assumption. Every unit of cost ends up in one of two places: sold (COGS) or still held (ending inventory). The assumption only decides which layers go where.
- FIFO assumes the oldest units sell first: COGS carries old costs and ending inventory carries the newest. - LIFO assumes the newest units sell first: COGS carries the latest costs, and ending inventory carries the oldest. - Weighted average smooths everything: each unit costs the same average.
When prices rise, LIFO puts the expensive layers in COGS: higher COGS, lower profit and a lower tax bill, while FIFO shows higher profit and an inventory closer to current cost. When prices fall the ranking flips. Total cost is identical either way: only the split moves.
The derivation
Everything starts from the cost identity. For each layer with units at each:
For the units sold, , take layers in the order the method dictates until units are filled:
Weighted average spreads the total over all units:
Ending inventory is what is left of the cost pool: . Gross profit is . Rising prices give .
When to reach for it
A company's beginning inventory and purchases are given at different unit costs, and the question asks for cost of goods sold, ending inventory or gross profit under a stated cost flow assumption.
Listen for
Back-of-the-envelope
Estimate it in your head first — then the calculator only confirms.
- ≈
Pick the layers before you multiply: FIFO takes layers from the top of the table down, LIFO from the bottom up. Write the unit counts first and check they add to the units sold.
- ≈
Rising prices: LIFO COGS > weighted average > FIFO COGS (and the reverse for ending inventory). If your three answers are not in that order, a layer is misallocated.
- ≈
COGS + ending inventory = goods available for sale under every method: use that to check, or to get ending inventory in one subtraction.
Traps in applying it
- ✗Using the units sold from the wrong end: under periodic LIFO the NEWEST purchases are sold first, including purchases made after the sale date.
- ✗Averaging the unit costs instead of weighting them by units.
- ✗Reporting ending inventory when asked for COGS (or the reverse): they add to goods available, so they are mirror images.
- ✗Forgetting that falling prices flip the ranking: LIFO then shows the LOWEST COGS.
Limits & criticisms
The periodic examples assume the cost flow is applied at year end; under a perpetual system LIFO and weighted average give different numbers because costs are matched as each sale happens. The cost flow assumption is an accounting convention, not a statement about which goods physically left the warehouse, and LIFO can leave very old costs on the balance sheet (a LIFO reserve) and, if inventory shrinks, trigger a LIFO liquidation that releases those old costs into profit.
Where it came from
LIFO arrived in the United States in the 1930s, when companies lobbied to stop paying tax on "inventory profits" that disappeared the moment they restocked at higher prices; it became permitted for tax with the Revenue Act of 1939, with the LIFO conformity rule requiring companies that use it for tax to use it in their published statements too. IFRS (IAS 2) prohibits LIFO, which is one of the most visible differences between US GAAP and IFRS reporting. Today the choice is why analysts convert LIFO companies to a FIFO basis before comparing them with peers.
One identity, 4 questions
The exam can hide any variable. Each face below is the same equation solved for a different unknown — drill them separately.
Cost of goods sold under a stated method
The core skill: pick the layers in the order the method dictates until the units sold are filled.
Ending inventory
The mirror image of COGS: whatever cost was not sold stays on the balance sheet.
Gross profit
Sales are the same under every method, so differences in gross profit are exactly differences in COGS.
LIFO COGS minus FIFO COGS
Positive when prices rise (LIFO expenses the dearer layers), negative when prices fall. The difference equals the change in the LIFO reserve.
On the BA II Plus
Worked example: A distributor values inventory with a periodic system. The exhibit shows its beginning inventory and purchases during the year; it sold 550 units at $32.00 each. Under the first-in, first-out (FIFO) method, ending inventory for the year is closest to:
- 1.200 [×] 14 [=] [STO] 1FIFO cost of goods sold: first layer, units × cost
- 2.350 [×] 16 [+] [RCL] 1 [=] [STO] 1FIFO cost of goods sold: add the next layer
- 3.200 [×] 14 [=] [STO] 3goods available for sale: first layer, units × cost
- 4.400 [×] 16 [+] [RCL] 3 [=] [STO] 3goods available for sale: add the next layer
- 5.375 [×] 18 [+] [RCL] 3 [=] [STO] 3goods available for sale: add the next layer
- 6.[RCL] 3 [−] [RCL] 1 [=]goods available for sale − cost of goods sold = ending inventory
→ $7,550.00
Where it leads
Master this and the following come almost for free: