Skip to content
LekhaPro
Inventory

FIFO (First-In, First-Out)

A stock valuation method that assumes the earliest-purchased items are sold first.

FIFO (First-In, First-Out) values inventory on the assumption that the oldest stock is sold first. In rising-price conditions, FIFO leaves more recent, higher costs in closing stock and charges older, lower costs to COGS, which tends to show higher profit than weighted average.

FIFO suits businesses where physical flow really is oldest-first, such as perishables, and where lot-level cost tracking matters.

A worked example shows the machinery. A trader buys 100 units at ₹100, then 100 more at ₹120. Selling 150 units, FIFO charges the whole ₹100 lot first and then 50 units from the ₹120 lot, giving COGS of ₹16,000. The 50 units left in stock all carry the newer ₹120 cost, valuing closing stock at ₹6,000 — together accounting for exactly the ₹22,000 spent.

Behind the scenes, FIFO systems maintain cost layers: each purchase opens a lot with its own quantity and rate, and every issue consumes the oldest open lot before touching the next. Purchase returns must come out of the correct layer, and backdated entries force the layers to be replayed, which can silently restate the cost of sales already recorded. Importantly, FIFO is a costing assumption — the accounts can follow it even if the storekeeper does not.

Indian accounting standards accept FIFO and weighted average but do not permit LIFO, so FIFO is one of the two choices that survive audit. A frequent confusion is equating batch or expiry tracking with FIFO costing: a pharmacy may pick stock expiry-first for safety while the books cost it oldest-lot-first, and the two orderings need not agree. Both can coexist so long as each is applied consistently for its own purpose.

Common questions

What is the difference between FIFO and weighted average cost?

FIFO charges each sale with the cost of the oldest lots still in stock, so closing stock carries the newest prices; weighted average blends all lots into a single running rate applied to every issue. When purchase prices move, FIFO produces sharper swings in margin, while weighted average smooths them.

Does FIFO affect how much GST a business pays?

No. GST is charged on the transaction value of each supply, not on the cost of the goods, so the stock valuation method has no bearing on GST liability. FIFO affects income-tax outcomes indirectly, because it changes reported profit through COGS and closing stock, but the GST computation is untouched.

Do I have to physically sell my oldest stock first to use FIFO?

No. FIFO is an assumption about cost flow, not a rule about physical handling. The books may cost issues oldest-first even when the warehouse picks whatever is nearest. That said, for perishables and dated goods, moving oldest stock first is sound practice in its own right, so the two often align.

How does FIFO handle sales and purchase returns?

A sales return brings goods back into stock, and the cleanest treatment restores them at the cost at which they were issued, reinstating that layer. Purchase returns should reduce the specific lot they came from. Handling returns at current or average rates instead quietly distorts both stock value and subsequent margins.

Put it into practice with LekhaPro

Offline-first GST accounting and billing for Indian businesses — correct GST by construction, real double-entry books and return filing in one place.