FIFO vs. LIFO
Two ways to decide which inventory costs count as sold
In briefFIFO (first in, first out) assumes a business sells its oldest inventory first, so the oldest costs go to cost of goods sold. LIFO (last in, first out) assumes it sells the newest first. The goods on the shelf are the same either way. Only the cost assigned to what was sold, and to what is left, differs.
Side by side
| FIFO | LIFO | |
|---|---|---|
| Cost of goods sold uses | Oldest costs | Newest costs |
| Ending inventory uses | Newest costs | Oldest costs |
| When prices rise | Lower cost of goods sold, higher profit | Higher cost of goods sold, lower profit |
| Balance sheet inventory | Closer to current cost | Can reflect much older costs |
| U.S. GAAP | Allowed | Allowed |
| IFRS | Allowed | Not allowed |
A worked example
A shop starts with no stock. It buys 100 units at $10, then 100 more at $12, and sells 150 units at $20 each, for $3,000 of sales. Total purchases are $2,200.
| FIFO | LIFO | |
|---|---|---|
| Cost of goods sold | 100 × $10 + 50 × $12 = $1,600 | 100 × $12 + 50 × $10 = $1,700 |
| Ending inventory (50 units) | 50 × $12 = $600 | 50 × $10 = $500 |
| Gross profit | $1,400 | $1,300 |
Both columns add back to the same $2,200 of purchases. With rising prices, LIFO shows $100 less profit and $100 less inventory. If prices fell, the effect would reverse.
A real example: Costco
Costco uses both. Its fiscal 2026 annual report says U.S. merchandise inventories, $13.707 billion of its $19.324 billion total at August 30, 2026, are valued on a LIFO basis. Canadian and other international inventories are mainly on FIFO. Because merchandise costs rose in 2026, Costco recorded a $206 million LIFO charge to merchandise costs.
Rules in the United States and abroad
- International standards. Under IFRS, the cost of interchangeable inventories is assigned using FIFO or weighted average cost. LIFO is not among the permitted methods, so companies reporting under IFRS cannot use it.
- U.S. accounting standards. U.S. accounting standards allow LIFO, as Costco's GAAP statements show.
- Tax conformity. Federal tax rules let a business use LIFO for tax only if it also uses LIFO, and not another inventory method, when reporting income to shareholders, partners or other owners, or for credit purposes. If it later reports with another method, the IRS can require it to change away from LIFO.
Common confusion
- FIFO and LIFO are cost assumptions, not how goods move. A grocer can sell its oldest milk first and still use LIFO for its accounts.
- Weighted average is a third method. It spreads cost evenly across units and is allowed under both GAAP and IFRS.
- Turnover ratios shift with the method. Inventory turnover uses inventory cost, so LIFO and FIFO can give different results for the same business.
Tax treatment of inventory depends on the facts and on tax law. An accountant or tax professional can advise on a specific case.
Further reading
- How to Read a Financial Report Start here
Its inventory chapter shows how FIFO and LIFO change cost of goods sold and reported profit.
View on Amazon ↗
As an Amazon Associate, BriefBusiness earns from qualifying purchases. These are affiliate links; the price is the same for you.
Related entries
- Inventory turnoverHow many times a business sells through its stock in a period
- Gross marginWhat is left from sales after paying for the goods sold
- Income statementThe financial statement that shows revenue, costs and profit over a period
- Balance sheetA snapshot of what a business owns, what it owes and what is left for owners on one date
- CostcoWho owns it, how it merged with Price Club, and what a membership pays for
- Just-in-time inventoryReceiving parts and goods only when they are needed, in the amount needed
