Skip to content
AI-ERP

First in, first out; first expiry, first out

What is FIFO and FEFO?

FIFO and FEFO explained: how they differ, when each applies, their role in stock valuation and picking, a worked example, and how an ERP enforces them.

FIFO and FEFO: definition

FIFO issues the oldest stock first, while FEFO issues the stock that expires first, regardless of when it arrived.

Explained

FIFO and FEFO explained

FIFO and FEFO are rules for which stock to use or send first. FIFO, first in first out, picks the oldest stock received. FEFO, first expiry first out, picks the lot with the nearest expiry date, which matters for medicines, food, chemicals and anything with a shelf life.

FIFO is also a cost formula for valuing stock: under accounting standards in India, FIFO and weighted average cost are the permitted formulas for interchangeable items. Picking rules and valuation rules are separate choices, though many businesses use FIFO for both.

Example

A worked example

A pharma distributor holds two batches of a syrup: batch A received in March, expiring in December, and batch B received in January, expiring in October.

FIFO would pick batch B because it arrived first; FEFO also picks batch B because it expires first. A third batch received later but expiring sooner would jump the queue under FEFO.

In the ERP

How FIFO and FEFO appears in an ERP

In an ERP, picking rules are set per item. Dispatch screens suggest lots in FIFO or FEFO order and warn when someone picks out of sequence. Expiry reports list lots nearing expiry so they can be sold or returned in time.

In AI-ERP this sits in the Barcode and batch tracking module.

Free 30-minute consulting call

Want to see this in a working ERP?

Book a free call and the AI-ERP team will show you how it would work with your own data.

Before you go

Get a free ERP plan for your business

Leave your number and one line about your business. We send you a plan on WhatsApp: the modules we would suggest, a rough timeline and an estimated cost.

We use your number only to reply about this request.

Free 30-minute call

Book a free consulting call

Tell us a little about your business. Next, you pick a time that suits you.

No obligation. You leave the call with a clear plan either way.

Live demo

See AI-ERP in action

Get instant access to a working AI-ERP built for a valve manufacturer. Three quick details and you are in.

We only use these details to follow up about AI-ERP.