FIFO and FEFO: Which Stock to Sell First (and Why It Matters)
By the BillBook team · Updated · 2 min read
When the same product sits on your shelf from two different deliveries, which should go first? The answer seems obvious, but getting it wrong is how medicines expire, food goes stale and old stock hides behind new. Two simple rules, FIFO and FEFO, cover almost every shop. This guide explains both.
FIFO: first in, first out
Sell the stock that arrived first before the newer stock.
Good for goods that age, go out of fashion or lose value: garments, electronics, hardware, stationery, packaged goods without a strict expiry.
FEFO: first expiry, first out
Sell the stock that expires first, whatever order it arrived in.
Essential for anything with an expiry date: medicines, food, cosmetics, baby products, chemicals. A newer delivery can have an earlier expiry than the older one, and FIFO would sell the wrong one.
Example
| Batch | Received | Expires | Stock |
|---|---|---|---|
| A | 1 March | December 2027 | 20 |
| B | 15 March | August 2027 | 30 |
FIFO says sell A first (it came first). FEFO says sell B first (it expires first). For a medicine, FEFO is right.
Shelf habits
- New stock goes to the back, older or earlier-expiring stock to the front.
- When a delivery arrives, rotate: move the old stock forward, then fill behind it.
- Mark the expiry clearly on cartons in the godown.
- Check the front of each shelf for near-expiry items once a month.
FIFO and stock value
FIFO also describes how stock can be valued in your accounts: the goods left are valued at the most recent purchase prices, because the older (first-in) units are assumed sold first. Your CA decides the valuation method; the important thing is to use one method consistently.
(LIFO, last in first out, is not allowed for valuation under Indian accounting standards.)
Where it goes wrong
- New stock stacked in front because it's easier.
- Batches mixed in one box.
- Counter staff grab the nearest box, not the right batch.
- Software that keeps one stock number per product, so it can't tell batches apart.
How software helps
If each purchase is kept as its own batch with its date and expiry, the software can suggest the right batch on every bill, and show what expires soon. Read batch-wise medicine stock.
In BillBook
- Every purchase line is its own batch with batch number, expiry, MRP and rate.
- On the bill, the earliest-expiring batch is suggested (FEFO); you can pick another.
- Expiry Report lists what expires in the coming months, so it goes to the front or back to the supplier.
- Expiry is on by default for pharmacies; other businesses can turn it on in Sales & Purchase Fields.
Related: Medicine expiry management. Batch & expiry tracking. Stock taking.