Ecommerce operations glossary

What is FIFO (First In, First Out)?

Also called First in, first out, FIFO costing

FIFO, short for first in, first out, is an inventory costing method that assumes the oldest units are sold first. Each sale takes its cost from the earliest purchase still in stock, so cost of goods sold reflects older prices and the inventory left on the balance sheet is valued at the most recent ones.

Worked example

You buy the same product twice:

  • January: 100 units at $5.00
  • March: 100 units at $6.00

In April you sell 150 units. Under FIFO the first 100 come from January and the next 50 from March:

COGS = (100 × $5.00) + (50 × $6.00) = $800

The 50 units left are valued at the March price: 50 × $6.00 = $300.

Under weighted average cost, every unit would cost ($500 + $600) ÷ 200 = $5.50, so the same sale would carry $825 of COGS and the remaining stock $275.

Why it matters

When prices rise, FIFO gives a lower COGS and higher profit than average cost, and a balance sheet closer to what the stock would cost to replace. It also matches how most product businesses move stock: oldest out first, especially for anything with a date on it.

What it needs

FIFO needs a record of each receipt as its own cost layer, the quantity left in it and the order the layers were used. A spreadsheet can do it for a few products. It becomes hard to keep right once returns, adjustments and late freight bills start changing layers that have already been partly used.

Questions

Should a multichannel ecommerce brand use FIFO or weighted average cost?

Both are accepted methods, and your accountant decides. FIFO keeps the cost of each receipt separate, so a price rise or a freight spike shows in margin when those units sell. Weighted average blends every receipt into one running cost, which is simpler but hides which shipment cost what. Brands that import, pay changing freight or sell the same stock on several channels often prefer FIFO for that reason. SKU.io values stock in dated FIFO cost layers, one for each receipt.

Is FIFO the same as shipping the oldest stock first?

No. FIFO is a costing rule: it decides which cost is used when a unit sells. Which physical unit leaves the shelf is a picking rule, and the two can differ. Products with expiry dates are often picked first-expired, first-out while still being costed FIFO.

More terms: Accounting

Updated · All terms

Ready to see SKU.io in action?

Bring your real numbers and the messy questions — we'll walk the system against an operation like yours, not a slide deck.

Book a Demo

Founder-led demo · 2-day onboarding · no onboarding fees