ACCT 101 · Financial Accounting
Inventory Costing: FIFO, LIFO and Average Cost
Learn how FIFO, LIFO and average cost split the same purchases into expense and inventory, and why profit changes.
Key takeaways
- Inventory costing splits the cost of goods available for sale between cost of goods sold and ending inventory.
- FIFO assigns the oldest costs to goods sold, LIFO assigns the newest, and average cost blends them.
- When prices rise, FIFO usually reports higher profit and higher inventory, while LIFO reports lower profit and lower taxable income.
- The method describes how costs flow through the books, which need not match how physical goods move.
- US rules permit LIFO, international standards (IFRS) do not, and a company must disclose the method it uses.
Picture Dev, who sells blank skateboard decks from a market stall. In January he has some decks. In March he buys more at a higher price. In August he buys more at a price higher still. The decks are identical. By year-end he has sold most of them.
Here is the puzzle: what did the sold decks cost him?
You might say, "Whatever he paid for them." But which ones did he sell? He tossed them all into the same bin. Depending on how you answer, Dev's profit for the year is $920, or $790, or something in between. Same stall, same customers, same cash in the box. Welcome to inventory costing.
One pile of cost, two places to put it
Start with an idea that never changes. Everything Dev could have sold this year is called goods available for sale. It equals the inventory he started with plus what he bought.
At year-end, each of those decks is in one of two places. Either it was sold, so its cost is cost of goods sold (an expense), or it is still in the bin, so its cost is ending inventory (an asset).
Beginning inventory + Purchases = Goods available for sale
Goods available − Ending inventory = Cost of goods sold Here are Dev's numbers.
| Batch | Units | Cost each | Total cost |
|---|---|---|---|
| January 1, on hand | 10 | $20 | $200 |
| March purchase | 20 | $24 | $480 |
| August purchase | 20 | $30 | $600 |
| Goods available | 50 | $1,280 |
During the year he sells 35 decks at $50 each, for revenue of $1,750. So 15 decks remain. The only question is how to divide $1,280 between 35 sold decks and 15 unsold ones.
If every batch had cost the same, there would be nothing to discuss. The methods matter only because prices move.
When you can point at the exact item
A car dealer or a jeweler can track each unit by serial number. That is specific identification: the cost of the actual item sold becomes the expense. It is precise but impractical for bins of look-alike decks, bolts or cans of soup. It also lets a seller steer profit by choosing which identical item to hand over. So most businesses with interchangeable goods adopt a cost flow assumption, a consistent rule for which costs leave first.
Three rules for the same bin
For now, use the periodic approach: wait until year-end, count what is left, and work out costs for the whole year at once.
FIFO: oldest costs leave first
Think of milk on a shelf, where the oldest carton should go first. Under FIFO, the 15 unsold decks carry the newest prices. All 15 come from August.
Ending inventory: 15 × $30 = $450
Cost of goods sold: (10 × $20) + (20 × $24) + (5 × $30) = $830
Check: $450 + $830 = $1,280 LIFO: newest costs leave first
Think of a stack of plates, where you take the top one. Under LIFO, the 15 unsold decks carry the oldest prices: all 10 from January and 5 from March.
Ending inventory: (10 × $20) + (5 × $24) = $320
Cost of goods sold: (20 × $30) + (15 × $24) = $960
Check: $320 + $960 = $1,280 Average cost: everyone gets the same number
The weighted average method divides total cost by total units. "Weighted" means each price counts in proportion to how many units were bought at it.
Average cost per deck: $1,280 ÷ 50 = $25.60
Ending inventory: 15 × $25.60 = $384
Cost of goods sold: 35 × $25.60 = $896 Notice that simply averaging the three prices, ($20 + $24 + $30) ÷ 3 ≈ $24.67, gives the wrong answer. Only 10 decks cost $20, while 20 cost $30.
A worked comparison: profit and taxes
Add that Dev has $300 of other operating expenses, and suppose his income tax rate is 25%. (This is a made-up rate. Check IRS guidance for current rules.)
| FIFO | Average | LIFO | |
|---|---|---|---|
| Sales | $1,750 | $1,750 | $1,750 |
| Cost of goods sold | 830 | 896 | 960 |
| Gross profit | 920 | 854 | 790 |
| Operating expenses | 300 | 300 | 300 |
| Income before tax | 620 | 554 | 490 |
| Tax at 25% | 155.00 | 138.50 | 122.50 |
| Net income | $465.00 | $415.50 | $367.50 |
| Ending inventory | $450 | $384 | $320 |
Hypothetical example: the numbers are made up to show the method, not a quote or an average.
Read the table slowly. Every method starts with the same sales and the same $1,280 of available cost. FIFO charges $130 less to expense than LIFO, so its gross profit is $130 higher. That same $130 sits in ending inventory.
LIFO's tax bill is $32.50 smaller. That is real cash Dev keeps for now. FIFO's higher profit looks nicer, but it comes with a bigger payment to the government.
Which is "right"?
LIFO's defenders say it matches today's costs against today's revenue. If Dev must pay $30 to replace a deck he just sold, counting a $20 cost makes profit look rosier than it is. FIFO's defenders say its balance sheet is better, because inventory shows recent prices, and that it usually follows how goods physically move. Each method is more current on one statement and staler on the other.
If prices were falling, the ranking would flip: LIFO would show the higher profit.
Perpetual systems change some answers
Under a perpetual system, cost of goods sold is recorded at the moment of each sale. You can only assign costs that exist on that date.
Suppose Dev sold 25 decks in June, after the March purchase but before August, and 10 decks in November.
- Perpetual LIFO, June sale: the newest costs at that moment are March's. The 25 decks take 20 × $24 plus 5 × $20, or $580. Five January decks remain.
- Perpetual LIFO, November sale: now August's costs are newest. The 10 decks take 10 × $30, or $300.
- Total cost of goods sold: $880, not the $960 from periodic LIFO. Ending inventory is $1,280 − $880 = $400.
FIFO gives the same answer under both systems, because the oldest cost is the oldest no matter when you look. Average cost under a perpetual system becomes a moving average, recalculated after each new purchase.
A moving average, step by step
Here is how the moving average works on those same dates. Before the June sale, Dev has 30 decks: 10 at $20 and 20 at $24. Their total cost is $680, so the average is $680 ÷ 30, or about $22.67. The 25 decks sold in June carry about $566.67 of cost.
That leaves 5 decks worth about $113.33. In August, Dev adds 20 decks costing $600. Now he holds 25 decks costing about $713.33, so the new average is about $28.53. The 10 decks sold in November carry about $285.33.
Total cost of goods sold comes to about $852, and ending inventory is about $428. Compare that with $896 and $384 under the periodic average. The June sale never "saw" the expensive August decks, so less of their cost reached expense. Software handles this recalculation without complaint, which is one reason perpetual systems are so common.
Example with made-up numbers.
Rules, disclosures and a LIFO quirk
In the United States, a company that uses LIFO on its tax return generally must also use it in its financial statements. This is the LIFO conformity rule. A business cannot show the tax collector a small profit and lenders a big one from the same inventory. IFRS, the standards used in many other countries, does not allow LIFO at all.
Companies are expected to apply a method consistently from year to year, a theme from the rules behind the numbers. A change needs a good reason and clear disclosure. Switching methods whenever profit looks weak would make years impossible to compare.
LIFO users commonly disclose the LIFO reserve: how much higher inventory would be under another method such as FIFO. For Dev it is $450 − $320 = $130. Analysts add it back to compare a LIFO company with a FIFO one.
Digging into old layers
Under LIFO, old costs can sit in inventory for years like coins under sofa cushions. If a company shrinks its stock, those ancient low costs finally reach the income statement. Profit jumps, and so does tax. This is LIFO liquidation. The extra profit does not mean the business suddenly got better at selling.
What the choice ripples into
Inventory costing does not stop at one line of the income statement. The numbers flow outward.
Inventory is a current asset, so a method that reports more of it makes a company's short-term position look stronger. Retained earnings follow profit, so they differ too. A lender who compares two shops should check which method each uses before deciding that one is healthier. The ratios in reading statements with ratios can shift for no reason except the method.
Managers face trade-offs. A business with rising costs and a large tax bill may like the cash saved by LIFO. A business hoping to impress investors or satisfy a loan agreement may prefer FIFO's higher profit and inventory figure. LIFO also takes more record keeping, since old cost layers must be tracked for years.
Remember what the methods cannot do. They do not change how many decks Dev sold or what customers paid. Over the whole life of the business, once every deck is gone, total expense equals total cost under any method. The choice mostly moves profit between years. Taxes make that timing worth real money, because a dollar kept today can be put to work.
The common mistake: mixing up what leaves and what stays
The classic slip is to compute ending inventory under FIFO using the oldest prices. "First in, first out" describes what leaves. What remains is therefore the newest.
A quick safety check: after computing both numbers, add them. If cost of goods sold plus ending inventory does not equal goods available for sale ($1,280 here), something went wrong.
Another slip is thinking the method must follow the physical goods. A hardware store may really sell its oldest nails last and still use FIFO, or hand out its oldest first and use LIFO. The assumption is about costs. The next question is what happens if those costs turn out to be more than the goods are now worth, which is covered in lower of cost or market and inventory errors.
Words to know
Goods available for sale beginning inventory plus purchases, measured at cost.
Cost flow assumption a rule for deciding which unit costs become expense first.
FIFO first in, first out, which charges the oldest costs to goods sold.
LIFO last in, first out, which charges the newest costs to goods sold.
Weighted average cost total cost of goods available divided by total units available.
Specific identification assigning each sold item its own actual cost.
LIFO reserve the amount by which inventory under another method, such as FIFO, exceeds inventory under LIFO.
Check yourself
- What two places can the cost of goods available for sale end up?
- A shop buys 4 mugs at $5 and later 6 mugs at $7, then sells 5. What is cost of goods sold under periodic FIFO?
- Using the same mugs, what is ending inventory under periodic LIFO?
- Using the same mugs, what is cost of goods sold under weighted average?
- Explain why LIFO tends to lower income taxes when prices are rising.
- Why does FIFO give the same result under periodic and perpetual systems?
Show the answers
- Cost of goods sold on the income statement, or ending inventory on the balance sheet.
- FIFO takes 4 × $5 plus 1 × $7, so cost of goods sold is $27.
- LIFO leaves the oldest costs: 5 mugs remain, being 4 × $5 plus 1 × $7, or $27.
- Total cost is $20 + $42 = $62 for 10 mugs, so $6.20 each, and 5 sold cost $31.
- LIFO charges the newest, higher costs to expense, which lowers taxable income and therefore tax for the period.
- The oldest unsold cost is the same whether you assign it at each sale or all at once at year-end.