Why does each unit left in the warehouse cost more than the average unit sold? In this hypothetical case, a distributor starts with 100 interchangeable units at SAR 20, buys 150 at SAR 24, then sells 180. All purchases arrive before the sale. There are no returns, freight additions or tax amounts in this example.
Assign the oldest cost layers to the sale
FIFO assigns the first 100 units sold to the opening layer and the next 80 to the new purchase. Cost of sales is 100 × 20 + 80 × 24 = SAR 3,920. The remaining 70 units carry the newer SAR 24 cost. Record a debit to cost of sales and a credit to inventory for 3,920; the selling price belongs in a separate revenue entry.
| Cost allocation | Units | SAR |
|---|---|---|
| Opening stock | 100 | 2,000 |
| Purchase | 150 | 3,600 |
| Available | 250 | 5,600 |
| Cost assigned to sale | 180 | 3,920 |
| Closing stock | 70 | 1,680 |
Reconcile both quantity and cost
The quantity check is 100 + 150 − 180 = 70. The value check is 5,600 − 3,920 = 1,680. FIFO is a cost assignment rule, so it need not describe which physical carton the picker selected. A quantity reconciliation can still pass while the wrong layer prices distort profit; test both. Compare the remaining inventory cost with its net realizable value. If that value is lower, write the inventory down to it.
