FIFO vs LIFO: Inventory Costs, Profit, and the Rules That Matter
Compare FIFO vs LIFO with a checked inventory example, rising-cost assumptions, US tax rules, IFRS limits, and a separate warning about stock tax lots.

Information checked November 4, 2026. The example is hypothetical and uses US dollars. Tax references concern US federal rules; the IFRS section concerns financial reporting under IAS 2. This is education, not tax advice.
The central difference in FIFO vs LIFO is which inventory costs a company assigns to sales first. First in, first out uses earlier costs first. Last in, first out uses later costs first. When purchase prices change, that choice affects cost of goods sold, gross profit, and the inventory balance investors see.
These are accounting assumptions, not instructions to ship newer products before older ones. The IRS’s inventory guidance describes what each method assumes was sold. A warehouse can manage physical stock separately from its cost records.
For the separate question of assigning production and overhead costs, start with a defined cost object and explain the allocation base.
One set of purchases, two accounting results
Assume a fictional retailer starts with no inventory, buys identical interchangeable units in two batches, and sells 150 units only after both purchases. This is a single-period illustration. There are no returns, freight charges, losses, write-downs, or additional purchases. Each unit sells for $20.
| Purchase order | Units | Unit cost | Total cost |
|---|---|---|---|
| Earlier batch | 100 | $10 | $1,000 |
| Later batch | 100 | $14 | $1,400 |
| Total available | 200 | $2,400 |
The company receives $3,000 in sales revenue, assuming all 150 sales are collected. It has 50 units left. Neither accounting method changes those quantities or customer payments.
FIFO calculation: Expense 100 units at $10 plus 50 at $14. Cost of goods sold is $1,700. The remaining 50 units carry the later $14 cost, leaving $700 of inventory.
LIFO calculation: Expense 100 units at $14 plus 50 at $10. Cost of goods sold is $1,900. The remaining 50 units carry the earlier $10 cost, leaving $500 of inventory.
| Result | FIFO | LIFO |
|---|---|---|
| Sales revenue | $3,000 | $3,000 |
| Cost of goods sold | $1,700 | $1,900 |
| Gross profit | $1,300 | $1,100 |
| Ending inventory | $700 | $500 |
| Cost of goods sold plus ending inventory | $2,400 | $2,400 |
The last row checks the allocation: all $2,400 of available costs must land in either expense or remaining inventory. Gross profit is revenue minus cost of goods sold, not net income after all other expenses and taxes.
FIFO vs LIFO when costs rise or fall
The example’s unit cost rises from $10 to $14. Expensing newer, higher costs under LIFO reduces gross profit by $200 relative to FIFO. Ending inventory is also $200 lower. That is an accounting difference, not evidence of fewer goods or weaker customer demand.
These balances also feed into average inventory and turnover, so keep the cost basis consistent when comparing those measures.
The IRS explains the direction under rising and falling prices: rising prices produce higher cost of goods sold and lower closing inventory under LIFO than FIFO; falling prices reverse the relationship. These comparisons depend on the relevant costs and inventory available. They are not a forecast that every LIFO company will report lower profit every year.
If every unit in our example instead cost $10, both methods would allocate $1,500 to sales and $500 to ending inventory. The disagreement comes from changing costs, not from the acronyms themselves.
Older cost layers also matter. If a business using LIFO runs down inventory and reaches cheaper historical layers, those costs can increase reported gross profit relative to using more recent expensive layers. That follows from the allocation mechanism; investigate inventory changes rather than assuming the profit change reflects stronger pricing power.
US permission is not worldwide permission
For US federal tax, Publication 538 permits LIFO subject to complex rules and describes filing Form 970, or the required statement, with the timely return for the adoption year. It also says an established inventory valuation method generally cannot be changed without IRS approval. This is not a method to toggle each year after seeing which result looks best.
US financial statements can also use LIFO. For a concrete issuer example, Costco’s fiscal 2025 Form 10-K says US merchandise inventories use LIFO, while Canadian and other international inventories predominantly use FIFO. That disclosure describes Costco’s policy, not a claim that every US company uses the same method.
Under IFRS, IAS 2 specifies FIFO or weighted average for ordinarily interchangeable inventory, and specific identification for relevant non-interchangeable items. LIFO is not an allowed inventory formula. The standard also requires measurement at the lower of cost and net realisable value, so cost allocation alone does not resolve a write-down question.
Do not confuse inventory with stock tax lots
A brokerage’s FIFO setting concerns which securities you sold, not how a retailer expenses merchandise. The IRS stock-basis FAQ says adequately identified shares generally use their specific purchase costs; when shares cannot be adequately identified, the oldest acquired shares determine basis first.
That FAQ also generally disallows average basis for ordinary stocks, with specified mutual-fund and dividend-reinvestment exceptions. Our weighted-average guide explains why a useful average purchase price is not automatically the tax basis of shares sold. Do not apply the inventory example to a brokerage sale or assume the newest shares always create the smallest tax bill.
Conclusion
For investors comparing FIFO vs LIFO, read the inventory policy before interpreting margins or balance-sheet values. Reconcile costs between sales and remaining inventory, check the direction of purchase-price changes, and identify the reporting framework. Different accounting results do not, by themselves, establish better operations or a better investment.
Frequently Asked Questions
Does FIFO require the warehouse to ship its oldest physical item?
No. Inventory cost-flow assumptions determine which costs are expensed and which remain on the balance sheet. Physical stock rotation is an operational decision; do not infer shipping practices from the accounting label alone.
Is LIFO always better when prices rise?
No. It can reduce reported profit relative to FIFO under rising-cost assumptions, but that does not improve the underlying business. Eligibility, tax rules, recordkeeping, inventory levels, and reporting requirements matter.
What changes if purchase costs fall?
In a comparable simplified example, the direction reverses: newer cheaper costs under LIFO reduce cost of goods sold relative to FIFO. Do not apply the rising-cost table without checking actual cost trends and inventory layers.
Can an IFRS reporter choose LIFO for interchangeable inventory?
No. IAS 2 specifies FIFO or weighted average for ordinarily interchangeable items, with specific identification for relevant non-interchangeable items. A US tax election does not change IFRS reporting requirements.
Can a US business switch inventory methods whenever it wants?
No. The IRS generally requires approval to change an established accounting method, including the method or basis of valuing inventory. Adopting LIFO also has filing requirements; obtain current professional guidance rather than treating a comparison table as an election procedure.
Does this example determine which stock shares I should sell?
No. US securities basis rules concern identified tax lots, not merchandise inventory. The IRS describes FIFO when shares cannot be adequately identified and generally restricts average basis for ordinary stocks. Broker procedures and your records matter.
Disclaimer: This article is for educational purposes only and is not financial advice. Consider your own situation and speak with a qualified professional before making financial decisions. How we write and review content.


