Ecommerce operations glossary

What is LIFO (Last In, First Out)?

Also called Last in, first out, LIFO costing

LIFO, short for last in, first out, is an inventory costing method that assumes the newest units are sold first. Each sale takes its cost from the most recent purchase, so cost of goods sold reflects current prices while the inventory left on the balance sheet is valued at older, often lower, 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 LIFO the first 100 come from March, the newest, and the next 50 from January:

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

The 50 units left are valued at the January price: 50 × $5.00 = $250.

Under FIFO the same sale costs $800 and leaves $300 of stock. LIFO reports $50 more cost and $50 less profit, and a balance sheet $50 lower.

LIFO vs FIFO

When prices rise, LIFO matches today’s sales with today’s costs, so gross margin reflects what it costs to replace what you sold. That also lowers taxable profit, which is the main reason businesses choose it. The cost is a balance sheet that drifts away from reality: layers bought years ago can sit on the books at prices nobody would pay now.

FIFO does the opposite. Profit looks higher when prices rise, and the stock on the balance sheet is close to its current cost. It also matches how most product businesses physically move stock: oldest out first.

Where it is allowed

LIFO is a US method. US GAAP permits it, and US tax rules allow it with conditions, including a rule that a business using LIFO for tax must use it in its financial statements too. IFRS does not permit LIFO at all, so a business reporting under IFRS, or a US business with a parent that does, cannot use it. Switching methods has tax and reporting consequences, so the choice belongs to your accountant.

What it is not

LIFO is a costing assumption, not a picking rule. A warehouse can ship the oldest stock first while the books cost sales at the newest price.

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