Cartix Prime

FIFO vs FEFO: stock rotation in retail, shelf by shelf

For shop owners who find expired packs at the back of the shelf while fresh ones sell from the front. FIFO and FEFO are two ways of deciding which stock goes out first. This guide explains the difference, which one suits your kind of shop, and the daily shelf habits that make stock rotation work.

Updated 1 November 2026

FIFO vs FEFO: the short answer

FIFO (first in, first out) means the stock that arrived first is sold first. FEFO (first expiry, first out) means the stock that expires first is sold first, whenever it arrived. Most of the time they give the same order, because older stock usually expires sooner. When they differ, any item with a printed expiry date should follow FEFO.

In practice: pharmacies, dairy, bakery and packaged food should run on FEFO. Hardware, stationery, plastics and other goods without an expiry can run on FIFO, which simply stops packs from fading and gathering dust.

When FIFO and FEFO give different answers

They differ more often than you might think:

  • A distributor clears his own old stock by sending you a batch that is older than what you already have.
  • Two suppliers send the same item, each from a different factory batch.
  • A customer returns a pack bought weeks ago, and it goes back on the shelf.
  • A scheme brings in a large quantity, and the next small order comes from a fresher batch.

Example: a shop has 20 packs of a biscuit that arrived on 1 June with expiry in December. On 10 June, a new delivery of 30 packs arrives, but these were made earlier and expire in October. FIFO says sell the June 1 packs first. FEFO says sell the October packs first. If you follow FIFO here, the October packs may still be on the shelf when they expire.

FIFOFEFO
Decides byDate the stock came inExpiry date on the pack
NeedsKnowing which delivery is olderReading the expiry (or batch) on every delivery
SuitsGoods without expiry, slow-ageing goodsMedicines, dairy, bakery, packaged food, cosmetics with dates
Main riskShort-dated stock sold too lateMore work at receiving and shelving

FIFO vs FEFO by kind of shop

Pharmacy and medical store: FEFO, by batch

A medical store should rotate by expiry and keep track of batches. Medicines from different batches of the same product often sit together, and the expiry is what matters. Keep strips of the same medicine in batch order in the drawer, nearest expiry in front. Check near-expiry stock on a fixed day each month and return it to the supplier while returns are still accepted, which many distributors only allow before a cut-off. Keep expired medicines out of the sale area in a marked box. Our page on batch and expiry tracking explains how software helps here.

Dairy: FEFO, every single day

Milk, curd, paneer and butter have short dates. Rotate at every delivery: pull the older packs forward, load the new ones behind, never on top or in front. Check the cooler each morning before opening. A cooler packed too full makes rotation impossible, so order closer to what you sell.

Bakery: by baking date

For a bakery that makes its own goods, the baking date decides. Mark trays or packs with the day (a coloured sticker per weekday works well), sell yesterday's first at the front, and decide in advance what happens to items past their selling day: a lower-price basket, staff use, or waste. For bought-in bread and cakes, follow the date on the pack, which is FEFO.

Grocery and kirana: FEFO for dated packs, FIFO for the rest

Packaged foods, oils, spices, baby food, chocolates and soft drinks carry dates, so use FEFO. Loose staples like rice, dal and sugar are filled into bins from bags; empty the old stock to the top or front before pouring in the new bag, never new on top of old at the bottom. Soaps, detergents and household goods can follow FIFO.

Hardware, stationery, plastics: FIFO

No expiry, but packs still age. Boxes fade in sunlight, labels peel, designs change. FIFO keeps the older stock moving before it looks old. It also matters for stock value: goods bought at last year's lower rate go out first.

Shelf habits that make stock rotation work

Stock rotation fails at the shelf, not in the method. These habits do most of the work:

  1. Load from the back. New stock goes behind the old stock. For coolers with a glass door, load from behind if the design allows, or pull everything out, put the new at the back and return the old in front.
  2. Front the shelf. Once a day, pull the remaining packs forward to the edge. Customers take from the front, so the front must hold the oldest dates.
  3. One date per lane. Do not mix two expiry dates in the same row. If you must, older in front, clearly separated.
  4. Mark the month. A small coloured dot or the month written on the case helps staff in the godown know which carton to open first.
  5. Godown in the same order. Stack cartons so the oldest are on top or in front, and write the expiry on the side of the carton in marker.
  6. Do not overstock the shelf. A shelf stuffed to the back cannot be rotated. Keep the shelf to what sells before the next refill, and the rest in the godown.
  7. Check returns before shelving. A returned pack goes back only after checking its date and seal.

Stock rotation starts at receiving

The easiest expired pack to deal with is the one you never accept. When a delivery arrives:

  • Check the expiry on a few packs of each item, not only the top carton.
  • Agree a rule with each supplier, for example "no less than X months of shelf life on arrival", and refuse what does not meet it. Set the number by how fast you sell the item.
  • Write the batch and expiry in your purchase record, so you can find it later.
  • If a delivery is older than what you hold, shelve it in front (FEFO), and mention it to the supplier.

A near-expiry routine

Pick one day a month, say the first Monday, and run through items expiring soon:

Time to expiryWhat to do
3 months (medicines, long-life packs)Ask the supplier about a return or exchange; move to the front
1 monthPlace near the counter, offer to regular customers, bundle with fast movers
1 to 2 weeks (packaged food)Discount with an end date; dairy and bread need this in days, not weeks
ExpiredRemove from sale, record the reason and the loss, keep apart for return or disposal

These time frames are examples. Set your own by how fast each category sells. If expiry is already eating your margin, our page on expired stock losses looks at the causes behind it.

FIFO in your accounts is a different thing

You may also hear FIFO from your accountant. In accounts, FIFO is a way of valuing stock: it assumes the oldest purchase price is used up first. That is separate from which pack a customer picks up. Your shelf can run on FEFO while your books use whatever valuation method your CA advises. Ask your CA which method suits your shop and keep it the same each year.

Common mistakes

  • Putting new stock in front because it is quicker.
  • Checking dates only on the shelf, never in the godown.
  • Rotating only the items you remember, not a fixed list.
  • Accepting short-dated stock because the scheme was good.
  • Treating every item the same: milk needs daily rotation, hair oil does not.

Counting stock regularly shows up old dates early and tells you whether stock rotation is really happening. Our guide on stock taking in a retail shop covers how to fit a count into a working week.

Doing this with Cartix Prime

In Cartix Prime, Gold adds batches and expiry on items, so you know which batch is where, and the Expiry report lists that stock by expiry date. Gold also brings pharmacy features such as batch and expiry printed on the bill and near-expiry returns to suppliers; AI reading of a pack label for MRP, expiry and batch; and offers with dates for clearing short-dated stock. Silver adds stock count, which helps you spot old stock during counts. See pharmacy billing software for the medical store side and pricing for the plans.

Questions

What is the difference between FIFO and FEFO?
FIFO sells the stock that arrived first. FEFO sells the stock that expires first, whenever it arrived. They usually match, but when a newer delivery has an earlier expiry date, FEFO sells that delivery first and avoids expired stock.
Which is better for a pharmacy, FIFO or FEFO?
FEFO, tracked by batch. Medicines of the same product often come in batches with different expiry dates, and the expiry is what matters for sale and for supplier returns. Keep the nearest expiry in front and check near-expiry stock monthly.
How do I do stock rotation in a small grocery shop?
Load new stock behind old, pull older packs to the front every day, keep one expiry date per row, mark the month on cartons in the godown, and check dates when deliveries arrive. Use FEFO for dated packs and FIFO for the rest.
Is FEFO only for food and medicines?
It is for anything with a printed expiry or best-before date: food, drinks, medicines, baby products, many cosmetics and some chemicals. Goods without a date, like hardware or stationery, can follow FIFO.
Is FIFO stock rotation the same as FIFO stock valuation?
No. Rotation is about which pack goes to the customer first. Valuation is an accounting method that assumes the oldest purchase cost is used first. Your shelf can follow FEFO while your books use the method your CA recommends.
How often should I check expiry dates in my shop?
Check dairy and bread every morning, packaged food weekly while fronting shelves, and run a full near-expiry check of all dated items once a month. Check dates at every delivery too, before the stock is shelved.

Try it at your counter tonight.

2 days with everything, free. Bring your items from Excel, connect the printer and scanner you already have, and start billing the same day.

Cartix Prime Offline is ₹8,999 once, with the first year of updates. Online plans from ₹599 a year. See prices