Skip to the content
Article

Understanding FIFO, Moving Average and Last Cost

The same goods, bought at different prices, can be valued in different ways. The method you use changes both your stock value and your profit.

First Solutions editorial team ·Published

In short

FIFO, moving average and last cost are three ways to put a value on stock that was bought at different prices. FIFO assumes the oldest units are sold first, moving average spreads all purchases into one average cost per unit, and last cost values every unit at the most recent purchase price. Each method gives a different stock value and a different cost of sales from the same transactions.

Why stock needs a valuation method

If a business always paid the same price for an item, valuing stock would be trivial. In reality prices change: a supplier raises prices, a promotion gives a lower price for one order, the exchange rate moves, or freight costs rise. After a few purchases, the shelf holds identical units that were bought at different costs.

When some of those units are sold, the accountant must decide which cost leaves with them and which cost stays in the remaining stock. That decision is the valuation method. It does not change how many units are on the shelf, but it changes the value of the stock on the balance sheet and the cost of sales on the income statement.

One example, three methods

Consider one item with no opening stock. The amounts are illustrative and chosen to be easy to follow.

  • Purchase 1: 100 units at 2.000 each, a total of 200.000.
  • Purchase 2: 100 units at 2.400 each, a total of 240.000.
  • Sale: 150 units are sold.
  • Purchase 3: 10 units at 2.600 each, a total of 26.000.
  • At the end, 60 units remain, and total purchases were 466.000.

FIFO: first in, first out

FIFO assumes that the oldest units leave first, which matches how most shops rotate goods on the shelf. The 150 units sold take the 100 units of purchase 1 at 2.000 and 50 units of purchase 2 at 2.400. Cost of sales is 200.000 plus 120.000, which is 320.000.

The remaining 60 units are the newest ones: 50 units at 2.400 and 10 units at 2.600, a stock value of 146.000. FIFO keeps the stock value close to recent prices, but it requires the system to remember each purchase layer and how much of it is left.

Moving average: one blended cost

Moving average recalculates an average cost after every purchase. After the first two purchases, the business holds 200 units costing 440.000, an average of 2.200 per unit. The sale of 150 units is costed at that average: 330.000. The 50 units left are worth 110.000.

Purchase 3 then adds 10 units at 26.000, so 60 units are worth 136.000, a new average of about 2.267. The average smooths out price swings, which makes margins look steadier, but it reacts slowly when prices rise or fall sharply.

Last cost: the most recent purchase price

Last cost values every unit in stock at the price of the most recent purchase. Here the last purchase was at 2.600, so the 60 remaining units are valued at 156.000. Under a periodic calculation, cost of sales is total purchases minus closing stock: 466.000 minus 156.000, which is 310.000.

Last cost is simple to understand and to check, because one price per item explains the whole stock value. It also reflects current replacement prices. Its weakness is sensitivity: a single small purchase at an unusual price moves the value of the whole stock of that item, which is why buyers should take care when recording one-off or discounted purchases.

Comparing the results

With the same transactions, the three methods give different answers. None of them changes the cash the business paid; they change how that cost is split between the goods sold and the goods kept.

  • FIFO: closing stock 146.000, cost of sales 320.000.
  • Moving average: closing stock 136.000, cost of sales 330.000.
  • Last cost: closing stock 156.000, cost of sales 310.000.
  • When prices are rising, methods that value stock at newer prices show a higher stock value and a lower cost of sales.
  • Whatever method is used, it should be applied consistently, so that one month can be compared with the next.

How Platinum ERP costs stock

Platinum ERP has a costing engine that supports all three methods in this article, plus card cost and FIFO weighted: card cost, last cost by branch, moving average by branch, FIFO next layer and FIFO weighted. The cost pool is kept per branch and item, so two branches that bought at different prices each keep their own cost. The company chooses one method for everything, or separate methods for stock valuation, for outgoing documents such as stock out, internal use and transfers, and for the cost of sales.

A new company starts on moving average by branch. An existing company keeps its previous rule, the last purchase cost including landed cost, until it starts the engine from Inventory > Costing Settings. That start is an audited initialization that opens each branch and item at today's stock value, so nothing jumps and posted history is never recalculated. Because every method is maintained at the same time, a later change only switches which cost is read.

Whatever the method, the incoming cost is the net acquisition cost: the cost before VAT times the quantity, less the line discount, converted at the document's own exchange rate, plus any landed cost allocated by a commercial purchase, divided by the quantity including free units. Every posted stock line keeps the cost it was recorded at, and the sales cost and profit reports read that recorded cost. Reports such as inventory valuation, FIFO layers, item cost history and costing exceptions let the accountant check each figure.

Recommended modules

Inventory

Items, barcodes, stores, stock movements and stock taking, with one stock rule shared by every screen and report.

Learn more

Accounting

General ledger, receipts and payments, cheques, VAT and financial statements connected to every transaction.

Learn more

Purchasing

From the reorder suggestion to the posted purchase invoice: orders, receiving, invoices, returns and landed cost in one flow.

Learn more

Frequently asked questions

Which inventory valuation method is the best?

No method is best for every business. The right choice depends on the type of goods, the reporting rules the company follows and what management needs to see. Consistency over time matters more than the choice itself.

Does the valuation method change the quantity in stock?

No. The method changes only the value assigned to the stock and to the goods sold. The number of units on the shelf stays the same.

Do free goods change the cost of an item?

Under a cost per unit that includes free goods, yes: the same amount paid is spread over more units, so each unit costs less. Platinum ERP divides the purchase cost by the quantity including free units, whatever costing method is used.

What is landed cost?

Landed cost is the purchase price plus the extra costs of bringing the goods into the store, such as freight, customs and clearance. In Platinum ERP a commercial purchase allocates these expenses to the invoice lines, and the incoming cost of each line includes them.

Keep reading

Inventory Costing

Choose how your company costs its stock, and see how every recorded cost reaches the stock value, the cost of sales and the ledger.

Learn more

How Accounting and Inventory Work Together

Inventory is money sitting on shelves. Every movement of goods is also a movement in the accounts.

Learn more

How to control inventory

Inventory is controlled by clear procedures that people follow every day. Software records every movement and shows where the procedure was not followed.

Learn more

Why Businesses Lose Money Even When Sales Are Increasing

Growth feels like success, but every additional sale can either build profit or quietly consume it.

Learn more

Start your free one-month trial

Discover how Platinum ERP can help you manage your business with confidence. Every module, your own company data, no payment details.