Sub topic 3
Assigning cost: FIFO and weighted average
This chapter assumes you can post double-entry journals, you know the difference between an asset and an expense, and you understand cost of sales and gross profit. It also assumes you know what goes into the cost of inventory (purchase price, conversion costs and other costs to bring items to their present location and condition).
Why a cost formula is needed
When identical units are bought at different prices, the entity must decide which cost leaves inventory when a unit is sold and which cost stays on the statement of financial position. IAS 2 allows these cost formulas:
- Specific identification, for items that are not ordinarily interchangeable and for goods produced for specific projects.
- First-in, first-out (FIFO), which assumes the oldest units are sold first.
- Weighted average cost, which assigns each unit the average cost of the units available.
IAS 2 does not permit last-in, first-out (LIFO). An entity must use the same formula for all inventories with a similar nature and use. Inventories with a different nature or use may justify a different formula.
A worked example
An entity buys and sells one product during a month.
| Date | Event | Units | Unit cost |
|---|---|---|---|
| 1 May | Opening inventory | 100 | 10.00 |
| 8 May | Purchase | 200 | 12.00 |
| 20 May | Purchase | 100 | 14.00 |
| 25 May | Sale | 250 | n/a |
Units available for sale are 400, and their total cost is 1,000 + 2,400 + 1,400 = 4,800. After the sale, 150 units remain.
FIFO
FIFO sends the oldest costs to cost of sales first. The 250 units sold are 100 at 10.00 and 150 at 12.00, so cost of sales is 1,000 + 1,800 = 2,800. The 150 units left are 50 at 12.00 and 100 at 14.00, so closing inventory is 600 + 1,400 = 2,000.
Weighted average
The average cost is 4,800 / 400 = 12.00 per unit. Cost of sales is 250 × 12.00 = 3,000, and closing inventory is 150 × 12.00 = 1,800.
In both cases, cost of sales plus closing inventory equals 4,800. The formulas only divide the same total cost differently.
purchases = [(100, 10.0), (200, 12.0), (100, 14.0)] # (units, unit cost)
units_sold = 250
# FIFO: consume the oldest layers first
remaining = units_sold
fifo_cost_of_sales = 0.0
layers = []
for qty, cost in purchases:
used = min(qty, remaining)
fifo_cost_of_sales += used * cost
remaining -= used
if qty - used > 0:
layers.append((qty - used, cost))
fifo_closing = sum(q * c for q, c in layers)
# Weighted average over everything available
total_units = sum(q for q, _ in purchases)
total_cost = sum(q * c for q, c in purchases)
avg = total_cost / total_units
avg_cost_of_sales = units_sold * avg
avg_closing = (total_units - units_sold) * avg
print("FIFO", fifo_cost_of_sales, fifo_closing)
print("Average", avg_cost_of_sales, avg_closing)
# FIFO 2800.0 2000.0
# Average 3000.0 1800.0Choosing between the formulas
When prices rise, as in this example, FIFO gives lower cost of sales, higher profit and higher closing inventory. When prices fall, the effect reverses. Weighted average smooths price movements.
The weighted average can be calculated in two ways:
- Periodic: one average for the whole period, as above.
- Moving: a new average after each purchase. If the 25 May sale had come before the 20 May purchase, the moving average at the time of sale would be (1,000 + 2,400) / 300 = 11.33, not 12.00.
The choice of formula should reflect how inventory actually flows and how the entity can apply it reliably. It is not a free choice to manage profit.
Common errors
- Averaging the unit prices (10 + 12 + 14) / 3 instead of weighting by units. This gives 12.00 here by coincidence, but it is wrong in general.
- Using a different formula for the same kind of inventory in different locations.
- Applying FIFO to the cost but comparing it to NRV as a single total, rather than item by item. Later chapters cover the comparison.
- Forgetting that the cost formula determines the cost figure that the lower of cost and NRV test then uses. A different formula can produce a different write-down.
Exercise
Using the table in this chapter, suppose the entity sells 350 units instead of 250. Calculate cost of sales and closing inventory under FIFO and under periodic weighted average.
Show answer
Total cost available is 4,800 for 400 units. FIFO: 100 at 10.00 + 200 at 12.00 + 50 at 14.00 = 1,000 + 2,400 + 700 = 4,100 cost of sales. Closing inventory is 50 × 14.00 = 700. Weighted average: 12.00 × 350 = 4,200 cost of sales, and closing inventory is 50 × 12.00 = 600. Both pairs total 4,800.
Exercise
Why does IAS 2 require the same cost formula for inventories of a similar nature and use?
Show answer
Using different formulas for similar items would let the entity pick the formula that gives the most favourable profit or inventory figure. A consistent formula keeps results comparable between periods and between entities.