What is FIFO (First In, First Out)?

FIFO is an inventory valuation method that costs the oldest purchased products first. Yet most e-commerce accountants recommend Weighted Average Cost (WAC) instead.

Formula

COGS = Oldest Inventory Cost × Quantity Sold

Example

If you bought 100 units at $10 in January, 100 at $12 in February, and sold 120, FIFO COGS = (100 × $10) + (20 × $12) = $1,240. With WAC: 120 × $11 = $1,320.

Margyn

Margyn offers both FIFO and WAC inventory valuation with automatic batch management.

Learn more

Your revenue is growing — but how much do you actually keep?

Most store owners don't know. Margyn shows you — after every cost is deducted, updated daily.

Start tracking my profit

Shopify, UNAS & WooCommerce (Beta) integrations. 14 days free, no credit card required.

What is FIFO (First In, First Out)? | Margyn Glossary