FIFO vs LIFO vs weighted average cost
FIFO vs LIFO vs weighted average cost: three ways to cost the same stock, compared with one worked example.
FIFO, LIFO and weighted average are three ways to decide what the stock you sold cost you. They matter when you buy the same product at different prices. They do not change which unit you physically pick.
One purchase history, three answers
A shop buys the same insulated bottle three times, then sells 200.
| Receipt | Units | Cost each | Total |
|---|---|---|---|
| January | 100 | $10 | $1,000 |
| March | 100 | $11 | $1,100 |
| May | 100 | $12 | $1,200 |
| Total | 300 | $3,300 |
FIFO: first in, first out
The oldest costs are used first. The 200 sold are the January and March bottles.
Cost of goods sold = 1,000 + 1,100 = $2,100
Stock left = 100 × 12 = $1,200
LIFO: last in, first out
The newest costs are used first. The 200 sold are the May and March bottles.
Cost of goods sold = 1,200 + 1,100 = $2,300
Stock left = 100 × 10 = $1,000
Weighted average
Every unit carries the average cost of all units bought.
Average cost = 3,300 / 300 = $11
Cost of goods sold = 200 × 11 = $2,200
Stock left = 100 × 11 = $1,100
Side by side
| FIFO | LIFO | Weighted average | |
|---|---|---|---|
| Cost of goods sold | $2,100 | $2,300 | $2,200 |
| Stock left | $1,200 | $1,000 | $1,100 |
| Profit when prices rise | Highest | Lowest | In between |
| Stock value | Closest to current prices | Oldest prices | In between |
When prices fall, FIFO and LIFO swap places.
Which to choose
- FIFO matches how most shops move goods, oldest out first, and it is accepted everywhere. Choose it if you track lots or expiry dates, or if your costs change often.
- Weighted average is the least work. Choose it when units of a product are interchangeable and prices move slowly.
- LIFO lowers reported profit when prices rise, which lowers tax in the United States. It is not allowed under IFRS, the accounting standard used in most other countries. Ask your accountant before using it.
Moving average is weighted average recalculated after every receipt, not once at the end of a period. Stock systems use it because the cost is always up to date.
Changing method
Pick a method and keep it. Changing restates the value of your stock and the profit on past sales. If you need to change, do it at the start of a financial year and tell your accountant.
What the letters stand for
- FIFO: first in, first out. The oldest cost is used first.
- LIFO: last in, first out. The newest cost is used first.
- Weighted average: every unit on hand carries the same average cost.
The method decides the cost you record. It does not decide which unit a picker takes off the shelf.
When prices are rising
FIFO uses the older, lower costs first, so it shows a higher profit and a higher stock value. LIFO does the opposite. Weighted average sits between the two.
Where LIFO is allowed
LIFO is permitted under United States accounting rules. It is not permitted under international standards (IFRS). Ask your accountant before you choose it.
In ShipBerry
ShipBerry costs stock by moving average on every plan. On Inventory Plus you can try FIFO, LIFO, standard cost or specific identification on your own stock and compare the result with your current method. Reports stay on the current method until you apply a new one.
Related
Last updated 30 November 2026 · More on costing