The formula
FIFO: issues use the oldest cost first, so closing inventory is at the latest costs
AVCO = Total cost of inventory ÷ Total units, recalculated after every receipt
Worked example
A business receives 100 units at $5 and 100 at $6, issues 120, receives 50 at $7, then issues 60. There are 70 units left.
FIFO: the 70 units are 50 at $7 and 20 at $6, so closing inventory is 350 + 120 = $470.
AVCO: after two receipts the average is 1,100 ÷ 200 = $5.50. After issuing 120, 80 units remain at $440. Adding 50 at $7 gives 130 units costing $790, an average of $6.0769. Closing inventory is 70 × 6.0769 = $425.38.