HalalBook
🎓 Advanced accounting · Advanced · ⏱ 9 min

Inventory valuation: FIFO and average cost

When prices change, which cost do you use?

If you bought the same item at different prices, you must decide which cost goes to cost of goods sold when you sell one.

PurchaseUnitsCost eachTotal
1 March10550
10 March10770
Total20120

On 15 March you sell 12 units.

FIFO: first in, first out

The oldest units are sold first: 10 at 5 + 2 at 7 = 64 cost of goods sold. The 8 left are valued at 7 each = 56.

Weighted average cost

Average cost = 120 ÷ 20 = 6 per unit. COGS = 12 × 6 = 72. The 8 left are valued at 48.

ModeCOGSStock left
FIFO6456
Coût moyen7248

Both are correct methods. Choose one and use it every year so your reports can be compared.

HalalBook uses moving average cost. Each purchase updates the average, and every sale uses the average at that moment.

See the Inventory guide →

⭐ Points clés

  • FIFO sells the oldest costs first.
  • Average cost uses one blended cost per unit.
  • Be consistent from year to year.

🧠 Petit quiz

1 FIFO stands for…
2 You have 10 units at 4 and 10 units at 6. The average cost is…
3 Which method does HalalBook use?
Avis
Une erreur inattendue s'est produite. Recharger 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.