- Units left in stock
- 150
- Closing stock value, FIFO
- £850.00
- Closing stock value, average cost
- £750.00
- Cost of goods sold, FIFO
- £650.00 (100 × £4 + 50 × £5)
- Cost of goods sold, average cost
- £750.00 (150 × £5)
- Average cost per unit
- £5 (£1,500.00 ÷ 300)
- Total spent on purchases
- £1,500.00
The same job in Zobook
How it works
FIFO: the units sold are taken from the oldest purchase first; what is left is valued at the cost of the newest purchases. Average cost = total spent on purchases ÷ total units bought. Cost of goods sold = units sold × average cost. Closing stock = total spent − cost of goods sold.
What FIFO and average cost mean
FIFO means first in, first out. You treat the oldest stock as the first sold, so the stock left on the shelf is valued at the cost of your most recent purchases. Average cost gives every unit the same cost: the total you spent divided by the units you bought. This calculator uses one average for all the purchases you enter. Stock is usually valued at the lower of cost and what you could sell it for, so mark down any stock that will sell for less than it cost.
A worked example
You buy 100 units at £4.00, then 100 at £5.00, then 100 at £6.00. You spend £1,500 on 300 units. You sell 150.
- FIFO. The 150 sold come from the oldest stock: 100 × £4.00 + 50 × £5.00 = £650 cost of goods sold. The 150 left are 50 × £5.00 + 100 × £6.00 = £850.
- Average cost. £1,500 ÷ 300 = £5.00 a unit. Cost of goods sold is 150 × £5.00 = £750. The 150 left are worth £750.
Either way the costs add up to £1,500. The method decides how it is split between what you sold and what is left. When prices rise, FIFO shows a lower cost of goods sold and a higher profit than average cost.
What HMRC accepts
HMRC’s Business Income Manual is clear that last in, first out (LIFO) is not allowed for tax. Its page on FIFO and LIFO is headed “FIFO not LIFO”. It says that stock valuation bases other than lower of cost and net realisable value, and mark to market, are not allowed. The manual does not name average cost on those pages, and many UK businesses use it. Ask your accountant which one suits your business.
Keep to one method
Pick a method and keep to it from year to year. HMRC’s manual says the valuation policy should be consistent unless the reasons to change outweigh the need for consistency. Switching to the method that gives the best figure this year makes your profits hard to compare. If you do change, tell your accountant first.
Questions
What is FIFO?
First in, first out. The oldest stock is treated as sold first, so the stock left is valued at the cost of the newest purchases.
What is average cost?
Every unit is given the same cost: the total spent on purchases divided by the units bought. This calculator uses one average for all the purchases you enter.
Does HMRC accept LIFO?
No. HMRC’s Business Income Manual says LIFO does not truly reflect profit for tax, and its page on this is headed “FIFO not LIFO”.
Can I change method from year to year?
It is best not to. HMRC’s manual says the valuation policy should be consistent unless the reasons to change outweigh the need for consistency. Ask your accountant before you change.
Why do the two methods give different answers?
They split the same total cost between the stock you sold and the stock you have left in different ways. The difference is larger when your purchase prices change a lot.
Sources
- HMRC Business Income Manual BIM33120: Stock: valuation: FIFO not LIFO, checked 29 November 2026
- HMRC Business Income Manual BIM33125: Stock: valuation: non-allowable bases of valuation, checked 29 November 2026
- HMRC Business Income Manual BIM33115: Stock: valuation: the valuation bases, checked 29 November 2026