---
title: "What Is FIFO (First In, First Out)? With Example | SKU.io"
url: "https://www.sku.io/glossary/fifo/"
description: "FIFO costs each sale at the price of the oldest stock still on hand. How first in, first out works, a worked example, and how it compares with average cost."
published: 2026-11-20
updated: 2026-11-21
---

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.

## In SKU.io

SKU.io values stock in dated FIFO cost layers, one for each receipt, and takes the oldest layer first when a unit ships.

[How it works, in the SKU.io docs](https://www.sku.io/docs/guides/inventory/costing/fifo-cogs-reference/)

## Read next

-   [Inventory accounting in SKU.io](https://www.sku.io/accounting/)
-   [When does a unit's cost stop changing?](https://www.sku.io/when-does-a-units-cost-stop-changing/)
-   [Same SKU, different parts: unit cost](https://www.sku.io/same-sku-different-parts-unit-cost/)
-   [Writing down inventory in QuickBooks and Xero](https://www.sku.io/write-down-inventory-quickbooks-xero/)
-   [Inventory write-downs: the full guide](https://www.sku.io/inventory-write-downs/)
-   [FIFO vs LIFO](https://www.sku.io/glossary/lifo/)

## More terms: Accounting

-   [Carrying cost](https://www.sku.io/glossary/carrying-cost/)
-   [Chart of accounts](https://www.sku.io/glossary/chart-of-accounts/)
-   [Clearing account](https://www.sku.io/glossary/clearing-account/)
-   [COGS](https://www.sku.io/glossary/cogs/)
-   [Contribution margin](https://www.sku.io/glossary/contribution-margin/)
-   [ERP](https://www.sku.io/glossary/erp/)
-   [Gross margin](https://www.sku.io/glossary/gross-margin/)
-   [Inventory reconciliation](https://www.sku.io/glossary/inventory-reconciliation/)
-   [Inventory valuation](https://www.sku.io/glossary/inventory-valuation/)
-   [Inventory write-down](https://www.sku.io/glossary/inventory-write-down/)
-   [LIFO](https://www.sku.io/glossary/lifo/)
-   [Month-end close](https://www.sku.io/glossary/month-end-close/)
-   [Perpetual inventory](https://www.sku.io/glossary/perpetual-inventory/)
-   [Three-way match](https://www.sku.io/glossary/three-way-match/)
-   [Weighted average cost](https://www.sku.io/glossary/weighted-average-cost/)

Updated November 21, 2026 · [All terms](https://www.sku.io/glossary/)
