Inventory valuation methods: weighted average cost and first in, first out (FIFO)

The same goods and the same sales, but a different profit depending on the valuation method. One example explains weighted average cost and FIFO, and why LIFO is not permitted.

6 min read · Intermediate · Last reviewed: October 2026

Why does the valuation method affect profit?

When you buy the same item in batches at different prices and then sell part of it, you have to decide: which cost do you assign to the units sold, and which cost remains in inventory? This decision determines cost of goods sold and the inventory balance in the statement of financial position, and therefore gross profit.

International Accounting Standard 2 “Inventories” (IAS 2), endorsed in the Kingdom by the Saudi Organization for Chartered and Professional Accountants (SOCPA), permits two methods for interchangeable, similar items: first in, first out (FIFO) and weighted average cost. Items that are not interchangeable, such as cars with chassis numbers or custom projects, are valued using specific identification of the cost of each unit.

The last in, first out (LIFO) method is not permitted under International Financial Reporting Standards, nor under the IFRS for SMEs standard. If you find it in an old textbook or an accounting system, do not use it in the financial statements.

The choice is not a technical detail: it affects reported profit, the inventory balance the bank sees, and comparisons between years. It must therefore be set out in the accounting policies and disclosed in the notes to the financial statements.

Example data

A motor oil distributor in Riyadh has the following movements for a single item during a month:

MovementQuantity (cartons)Unit cost (SAR)Total (SAR)
Opening balance100404,000
Purchase 13004413,200
Purchase 22005010,000
Available for sale60027,200

During the month it sold 450 cartons at 70 SAR per carton excluding VAT, i.e. sales of 31,500 SAR. 150 cartons remain.

Method one: first in, first out

It assumes the oldest units are sold first, so the most recent purchases remain in inventory. This usually matches the actual physical flow of goods.

  • From the opening balance: 100 × 40 = 4,000 SAR
  • From the first purchase: 300 × 44 = 13,200 SAR
  • From the second purchase: 50 × 50 = 2,500 SAR
  • Cost of goods sold = 19,700 SAR
  • Closing inventory: 150 × 50 = 7,500 SAR

Method two: weighted average cost

It calculates the average cost per unit available for sale and applies it to both the units sold and the units remaining.

  • Average cost = 27,200 ÷ 600 = approximately 45.33 SAR
  • Cost of goods sold = 450 × 27,200 ÷ 600 = 20,400 SAR
  • Closing inventory = 150 × 27,200 ÷ 600 = 6,800 SAR

This is the periodic weighted average, calculated once at the end of the period. In systems that record movements in real time, the moving average is used: the average is recalculated after each purchase, and the figures are close but not necessarily identical.

Comparison and how to choose

Item (SAR)FIFOWeighted average cost
Sales31,50031,500
Cost of goods sold19,70020,400
Gross profit11,80011,100
Closing inventory7,5006,800

In a period of rising prices, FIFO shows higher profit and an inventory value closer to current replacement prices, while the weighted average smooths the effect of price fluctuations. The total cost is the same in both cases (27,200 SAR); the only difference is how it is allocated between the current period and the next.

Note the effect on Zakat or income tax as well: higher profit and inventory balance under a given method change the figures on which the base is built. The chosen method must therefore be documented in the accounting policies and applied consistently, not chosen each year according to whichever result is most convenient.

For businesses that deal in foreign currencies or import their goods, remember that purchase cost includes the purchase price converted at the exchange rate on the transaction date, plus freight, insurance and non-recoverable customs duties. The average, or the FIFO layers, must be calculated on this full cost, not on the invoice price alone; otherwise profit will appear higher than it really is.

Important points when choosing

  • Consistency: the same method must be used for items of a similar nature and use, and it must not be changed from year to year except for a reason that is disclosed.
  • Nature of the goods: medicines and foods with expiry dates are physically issued by earliest expiry first, and FIFO is closer to this for valuation, although physical issuing and accounting valuation are separate decisions.
  • Net realizable value: whatever the method, inventory is measured at the lower of cost and net realizable value. If an item's selling price falls or it is damaged, its balance is written down.

Frequently asked questions

May I use FIFO for some items and the weighted average for others?
Yes, if the items differ in nature or use, but similar items must use the same method.
Why is the LIFO method not permitted?
Because it often does not reflect the actual flow of goods, and it shows inventory at old prices that may be far from its current value, so the International Accounting Standards Board eliminated it from International Accounting Standard 2.
Can I change the method after adopting it?
This counts as a change in accounting policy, and it is permitted only if it results in more relevant and reliable information, applied retrospectively and disclosed.
General information for guidance only. Regulations and rates may change; the final reference is the official authority and your accounting advisor.

Apply what you read: Financial statements from the trial balance

Upload the trial balance and get the income statement, financial position, cash flows and changes in equity, with a KPI dashboard, recommendations and estimated Zakat.

Related articles