What Is FIFO? First In, First Out Meaning and a Stock Valuation Example
For accountants, storekeepers and owners of trading and manufacturing businesses: understand FIFO, how it values stock, and when to use it.
What is FIFO? FIFO, or first in, first out, means the goods that came in first are treated as the goods that go out first. The term is used in two ways: as a rule for moving physical stock, and as a method for valuing stock and the cost of goods sold in the books.
When purchase prices change, the method matters. Under FIFO, closing stock is valued at the most recent prices and the cost of sales carries the older ones.
This page explains both uses, works through a valuation example, shows an illustrative business, and describes how Apragya values stock by FIFO when a product is set to it.
FIFO meaning and a worked valuation example
For stock movement, FIFO means the oldest stock is used or sold first. For valuation, it means each issue is costed at the rate of the oldest receipt still in stock, and closing stock is valued at the rates of the most recent receipts.
A worked example: a shop buys 10 units at INR 100, then 10 units at INR 120. It sells 15 units. Under FIFO, cost of sales is 10 at 100 plus 5 at 120, or INR 1,600. The 5 units left are valued at INR 120 each, or INR 600.
Under weighted average, all 20 units cost INR 2,200, an average of INR 110. Cost of sales for 15 units is INR 1,650 and closing stock is INR 550. When prices rise, FIFO shows a lower cost of sales and a higher stock value.
- List receipts in date order with quantity and rate.
- Cost each issue from the oldest remaining receipt.
- Move to the next receipt when one is used up.
- Value what is left at the rates of the receipts it came from.
FIFO before and after the stock ledger does the work
Valuation in Apragya
- Receipt layers kept in the stock ledger
- Cost worked out as each issue is posted
- Cancellations handled in the ledger
- Method set on each product
An example: a Kanpur leather goods trader
Take an illustrative trader buying finished leather for belts. Prices rose through the quarter, and the owner wanted to know what the remaining stock was really worth.
One item through a quarter under FIFO
April receipt
100 sq ft at INR 200.May receipt
100 sq ft at INR 220.June issue
150 sq ft sent to the workshop.Cost of issue
100 at 200 plus 50 at 220: INR 31,000.Closing stock
50 sq ft left at INR 220: INR 11,000.
Under moving average the same issue would have cost INR 31,500 and closing stock INR 10,500. The owner kept FIFO for leather, where lots matter, and moving average for small hardware, where they do not. Both methods ran in the same books.
How FIFO inventory valuation works in Apragya
Step 1 of 5
Method on the product
Each product is set to moving average, FIFO or standard cost.
- Method on the product: Each product is set to moving average, FIFO or standard cost.
- Receipt layers: The stock ledger keeps a queue of quantities and rates for FIFO items.
- Cost on issue: Issues take cost from the oldest layer first.
- Cancellations: A cancelled receipt or issue updates the ledger so layers stay right.
- Stock reports: Stock value by item and warehouse from the ledger.
FIFO method example: when it is the right choice
FIFO suits goods whose older lots really do move first, and gives a closing stock value close to current prices. Moving average smooths price changes and is simpler for many small items. For goods with an expiry date, pick by FEFO and value by either.
FIFO against moving average
| Feature | Moving average | FIFO in Apragya |
|---|---|---|
| Cost of an issue | Average of all stock on hand | Oldest layers first |
| Closing stock value | Average price | Closer to recent prices |
| When prices rise | Cost of sales in between | Lower cost of sales, higher stock value |
| Record keeping | One running rate | Layers kept by the ledger |
| Best for | Many small, similar items | Lots that matter, stable flow |
Checked against public information on 16 September 2026.
What sets Apragya apart for stock valuation
Per warehouse
Stock and value tracked in each warehouse.
Batches and expiry
Batch balances and FEFO picking for dated goods.
Barcodes and bins
Scan items and know which bin holds them.
One record
Purchases, stock and accounts share the same entries.
Multi-company
Each company values its own stock.
Audit log
Who posted or cancelled a movement is recorded.
See the stock ledger, stock reports and inventory period close, or read what FEFO means.
Getting started with first in first out
- Decide the valuation method for each group of items.
- Set the method on each product.
- Enter opening stock with its rates.
- Post receipts and issues through the stock ledger.
- Check stock value at month end.
Choose a method and keep it; changing it often makes years hard to compare.
What it costs to start
FIFO inventory valuation, answered
Is FIFO allowed under Indian accounting standards?
Can we use FIFO for some items and average for others?
Does FIFO mean the oldest goods must physically leave first?
Can we change the method later?
What does it cost to start?
Value stock the way it really moves
Set a method on each product and let the stock ledger do the costing.