Skip to main content
Apragya AIFree quotation builderQuotation builderQuote builderno signup
Glossary

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.

A storekeeper taking the front roll of leather from a rack in a store room

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.

  1. List receipts in date order with quantity and rate.
  2. Cost each issue from the oldest remaining receipt.
  3. Move to the next receipt when one is used up.
  4. 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

  1. April receipt

    100 sq ft at INR 200.
  2. May receipt

    100 sq ft at INR 220.
  3. June issue

    150 sq ft sent to the workshop.
  4. Cost of issue

    100 at 200 plus 50 at 220: INR 31,000.
  5. Closing stock

    50 sq ft left at INR 220: INR 11,000.
The issue used the April price first, so the stock left over carries the newer price.

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.

Two stacks of leather rolls beside a brass scale and a row of coins
Under FIFO the April leather was costed first, and the stock left carries May's price.

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.

  1. Method on the product: Each product is set to moving average, FIFO or standard cost.
  2. Receipt layers: The stock ledger keeps a queue of quantities and rates for FIFO items.
  3. Cost on issue: Issues take cost from the oldest layer first.
  4. Cancellations: A cancelled receipt or issue updates the ledger so layers stay right.
  5. 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

FeatureMoving averageFIFO in Apragya
Cost of an issueAverage of all stock on handOldest layers first
Closing stock valueAverage priceCloser to recent prices
When prices riseCost of sales in betweenLower cost of sales, higher stock value
Record keepingOne running rateLayers kept by the ledger
Best forMany small, similar itemsLots 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

  1. Decide the valuation method for each group of items.
  2. Set the method on each product.
  3. Enter opening stock with its rates.
  4. Post receipts and issues through the stock ledger.
  5. 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

INR 3,999
Starter, a month
Up to 10 users, CRM and HR plus Inventory and Warehousing
2,000
AI Credits a month
Included on Starter
Free
Up to 3 users
CRM, HR and Vendor Onboarding

FIFO inventory valuation, answered

Is FIFO allowed under Indian accounting standards?
Yes. FIFO and weighted average cost are both accepted cost formulas for inventory. LIFO is not.
Can we use FIFO for some items and average for others?
Yes, where items are of different nature. In Apragya the method is set per product.
Does FIFO mean the oldest goods must physically leave first?
Not for valuation. The method assumes it; physical picking can follow its own rule, such as FEFO.
Can we change the method later?
A change should be rare, justified and disclosed. Take your accountant's advice first.
What does it cost to start?
Inventory and Warehousing is available from the Starter plan, INR 3,999 a month for up to 10 users, which includes CRM and HR plus a choice of enterprise apps and 2,000 AI Credits a month. Pro, at INR 7,999 a month, covers 25 users and every enterprise app.

Value stock the way it really moves

Set a method on each product and let the stock ledger do the costing.