---
title: "What Is LIFO (Last In, First Out)? With Example | SKU.io"
url: "https://www.sku.io/glossary/lifo/"
description: "LIFO costs each sale at the price of the newest stock. How last in, first out works, a worked example against FIFO, and where it is and is not allowed."
published: 2026-11-21
---

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.

## In SKU.io

SKU.io costs stock first in, first out: every receipt becomes a dated FIFO cost layer, and the oldest layer is used first when a unit ships. It does not offer LIFO costing.

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

## Read next

-   [What is FIFO?](https://www.sku.io/glossary/fifo/)
-   [What is weighted average cost?](https://www.sku.io/glossary/weighted-average-cost/)
-   [What is inventory valuation?](https://www.sku.io/glossary/inventory-valuation/)
-   [How to calculate net realizable value for inventory](https://www.sku.io/how-to-calculate-net-realizable-value-inventory/)
-   [Free COGS calculator](https://www.sku.io/tools/cogs-formula-calculator/)
-   [Inventory accounting in SKU.io](https://www.sku.io/accounting/)

## 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/)
-   [FIFO](https://www.sku.io/glossary/fifo/)
-   [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/)
-   [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/)
