Inventory Management

FIFO vs FEFO vs LIFO: Inventory Costing Explained

FIFO vs FEFO vs LIFO: Inventory Costing Explained

If you sell physical products, the way you decide which units leave your shelves first quietly shapes your margins, your wastage and even your tax bill. The debate over FIFO, FEFO and LIFO is not just accounting theory — it determines whether your oldest stock moves before it expires, how your cost of goods is calculated, and whether a customer receives a product that is fresh or close to its use-by date. For brands, retailers and distributors across Southeast Asia juggling multiple sales channels and warehouses, picking the right inventory costing and rotation method is one of the highest-leverage decisions you can make. This guide explains each method in plain language, walks through a worked example, and shows you how to choose and enforce the right one.

Why the method matters

Inventory costing methods answer a deceptively simple question: when you sell a unit, which unit did you actually sell, and what did it cost you? Because you rarely track every individual item by hand, you need a consistent rule. That rule affects three things at once. First, your cost of goods sold (COGS) and therefore your reported profit. Second, the value of the stock left sitting on your balance sheet. Third, the physical rotation of goods through your warehouse, which governs spoilage, obsolescence and customer satisfaction.

It helps to separate two layers. FIFO and LIFO are primarily costing assumptions used for accounting. FEFO is primarily a physical rotation rule used in the warehouse. In practice they overlap, and a well-run operation needs to think about both the numbers in the ledger and the boxes on the rack. Getting them aligned is how you optimise margin without quietly accumulating dead or expired stock.

FIFO: first in, first out

FIFO assumes the first units you bought are the first ones you sell. The oldest cost flows out to COGS, while the most recent purchase costs stay on the balance sheet as remaining inventory. This mirrors how most physical goods naturally move — you sell the older batch before the newer one — so FIFO tends to feel intuitive and matches reality for the majority of retailers.

In a period of rising purchase prices, FIFO charges the older, cheaper costs against revenue. That produces a lower COGS, a higher reported gross profit and a higher closing inventory value. FIFO is widely accepted under common accounting standards and is the default many businesses reach for. It also pairs neatly with date-based picking, since selling oldest-first is exactly the discipline you want for products that age.

FEFO: first expired, first out

FEFO sorts stock by expiry date rather than by the date it arrived. The unit with the nearest use-by, best-before or expiry date is picked first, even if a different batch arrived earlier. This matters because the order in which goods come in does not always match the order in which they expire. A batch received last week might expire before a batch received a month ago, depending on the supplier’s production date and remaining shelf life.

FEFO is essential for perishables, pharmaceuticals, cosmetics, supplements and anything with a regulated expiry. The payoff is less wastage and fewer returns from customers who receive near-expiry goods. It does demand more data discipline: you must capture expiry or batch information at goods-in and keep it attached to every unit through picking and packing. Without that data, FEFO is impossible to enforce reliably.

LIFO: last in, first out

LIFO assumes the most recently purchased units are sold first, so the latest costs flow into COGS while older costs remain on the balance sheet. In a rising-price environment this produces a higher COGS, a lower reported profit and — in some jurisdictions — a lower tax bill. That tax effect is the main historical reason businesses adopted LIFO.

LIFO is controversial. It rarely reflects how goods physically move; selling your newest stock first usually means your oldest stock languishes and risks becoming obsolete or expired. It is also not permitted under several major international accounting frameworks, which limits its use for businesses that report internationally. For most Southeast Asian retailers and distributors, LIFO is more of a concept to understand than a method to adopt, but knowing how it behaves helps you read financial statements and compare suppliers or competitors who may use it.

Comparison table

Aspect FIFO FEFO LIFO
Picking rule Oldest received first Nearest expiry first Newest received first
Best for General retail, non-perishables Perishables, pharma, cosmetics Specific tax scenarios
COGS when prices rise Lower Driven by rotation, not costing Higher
Reported profit when prices rise Higher Neutral Lower
Spoilage risk Low Lowest High
Accounting acceptance Broadly accepted Operational rule, pairs with costing Restricted in many frameworks

A worked example

Imagine you stock a single SKU and make three purchases as costs rise: 100 units at S$10, then 100 units at S$12, then 100 units at S$14. During the month you sell 150 units.

  • FIFO: You expense the oldest costs first — all 100 units at S$10 (S$1,000) plus 50 units at S$12 (S$600). COGS is S$1,600. Remaining inventory is 50 at S$12 and 100 at S$14, valued at S$2,000.
  • LIFO: You expense the newest costs first — all 100 units at S$14 (S$1,400) plus 50 units at S$12 (S$600). COGS is S$2,000. Remaining inventory is 100 at S$10 and 50 at S$12, valued at S$1,600.
  • FEFO: The costing follows whichever batches you physically pick by expiry. If the S$10 and S$12 batches expire soonest, your COGS resembles FIFO; if a later batch expires earlier, the figures shift accordingly.

Same purchases, same sales, yet FIFO reports S$400 less COGS than LIFO — and therefore S$400 more gross profit this period. Multiply that across hundreds of SKUs and you see why the choice is material.

Which method to use

For most retailers and brands selling durable or non-dated goods, FIFO is the sensible default: it matches physical movement, is broadly accepted and keeps reporting clean. If you handle anything with an expiry — food, beverages, supplements, cosmetics, medical supplies — layer FEFO on top so you pick by expiry date while still costing on a FIFO-style basis. LIFO is worth understanding but should only be considered where it is permitted and where a qualified accountant confirms a genuine benefit.

The practical answer is rarely “one method everywhere”. You might run FEFO for perishable categories and FIFO for everything else, all within the same business. What matters is consistency within each category and a system that can actually enforce the rule you have chosen.

How software enforces it

A rule you cannot enforce on the warehouse floor is just a hope. This is where inventory software earns its keep. Good systems capture batch and expiry data at goods-in, then direct pickers to the correct units automatically — surfacing the oldest or nearest-expiry batch first rather than leaving it to whoever reaches the shelf. They calculate COGS consistently, track stock across multiple warehouses, and keep an auditable trail of which batch went to which order.

If you organise your catalogue well with clear SKUs and barcodes, the system can scan a unit during picking and instantly confirm whether it is the right batch to ship. That removes guesswork and protects your rotation discipline even on busy days. For the broader operational picture, our inventory management guide walks through how rotation fits alongside forecasting, reordering and fulfilment.

Cost and tax implications

Because each method assigns different costs to the units sold, each produces a different profit figure and a different closing inventory value in the same period. When purchase prices are rising, FIFO flatters profit and inventory value, while LIFO compresses profit and can reduce tax where it is allowed. FEFO does not by itself dictate the accounting outcome, but by minimising spoilage it protects margin in a very real way — expired stock written off is pure loss.

Treat tax positioning as a conversation with a qualified accountant in your jurisdiction, since acceptance of each method varies and rules change. Whatever you choose, apply it consistently. Switching methods to massage results is both a compliance risk and a fast way to lose trust in your own numbers.

Common mistakes to avoid

  • Confusing costing with rotation. Choosing FIFO on paper but letting staff grab whatever is nearest means your ledger and your shelves disagree.
  • Skipping batch and expiry capture. Without this data at goods-in, FEFO is impossible and recalls become a nightmare.
  • Switching methods mid-stream. Inconsistency distorts comparisons and raises compliance questions.
  • Ignoring multi-warehouse complexity. The oldest batch nationally may not be the oldest in the warehouse fulfilling a given order.
  • Adopting LIFO without advice. It is restricted in many frameworks and rarely matches how goods actually move.
  • Relying on manual rotation at scale. Human picking discipline degrades under pressure; automation does not.

How WhiteBox helps

WhiteBox is Singapore-based inventory and retail-operations software built for brands, retailers and distributors across Southeast Asia. It captures batch and expiry information at goods-in, enforces your chosen rotation through barcode picking and packing, and keeps stock synced in real time across Shopify, Lazada, Shopee, Amazon and TikTok Shop. With multi-warehouse stock and transfers, a unified order queue and built-in forecasting and reporting, the right units leave your shelves first — automatically — so you protect both margin and freshness. You can be live within an afternoon, with unlimited users and pricing from S$49 per month, and a 14-day free trial to try it on your own data. See our pricing or contact us to talk through your setup.

Frequently asked questions

Is FIFO or FEFO better for perishable goods? FEFO is better for anything with an expiry, because it picks by use-by date rather than arrival date, which is what actually prevents wastage. Many businesses run FEFO for physical rotation while costing on a FIFO basis.

Can I use different methods for different products? Yes. It is common to apply FEFO to perishable categories and FIFO to durable goods within the same business. Keep the method consistent within each category and let your software enforce it.

Why is LIFO discouraged in many places? LIFO rarely reflects how goods physically move and is not permitted under several major accounting frameworks, which limits its use for businesses that report internationally. Always confirm with a qualified accountant before considering it.

Does the costing method change how much profit I really make? No — your actual cash and true economic margin are unchanged. The method only changes how that result is reported in a given period, which affects timing of profit recognition and, in some cases, tax.

How do I enforce a rotation rule across multiple warehouses? Use software that tracks batch and expiry per location and directs pickers to the correct units at the warehouse fulfilling each order, rather than relying on a single national view or manual judgement.

Related reading: Inventory management guide and SKUs and barcodes.

Related articles

Inventory Management · 5 min read

Best Inventory Management Software 2026

Choosing the right tool is less about chasing a single winner and more about matching features to how you actually…

Run your inventory on WhiteBox

Put these ideas into practice with software built for multi-channel retail. Free for 14 days.