Picture two distributors that buy the same products at the same prices and sell the same number of units. At year-end, one reports higher profit and pays more tax. The only difference is the costing method each one chose.
For finance and operations leaders at growing businesses, that choice shapes reported margins, tax payments, and how lenders read your balance sheet. This guide defines both methods, works through one example, and covers the rules that limit your options.
What’s in this blog?
What are FIFO and LIFO in inventory management?
FIFO (first in, first out) assumes the oldest inventory is sold first. LIFO (last in, first out) assumes the newest inventory is sold first. Both are cost flow assumptions, otherwise known as accounting rules that decide which purchase prices move to cost of goods sold (COGS) and which stay on the balance sheet as ending inventory.
Neither dictates how goods physically move through your facilities. You can ship your oldest pallets first and still value inventory with LIFO.
What FIFO means
Under FIFO, your COGS reflects your oldest purchase prices. The most recent costs stay in ending inventory, so its value sits close to what it would cost to replace today.
Think of milk at a grocery store. Staff stock new cartons at the back so older cartons sell first. FIFO assumes your costs flow the same way, which is why it usually matches how goods physically move.
What LIFO means
Under LIFO, your COGS reflects your most recent purchase prices. The oldest costs stay in ending inventory, sometimes for years.
The Financial Accounting Standards Board inventory guidance update confirms that U.S. GAAP (generally accepted accounting principles) recognizes LIFO alongside FIFO and average cost. IFRS (International Financial Reporting Standards) does not. The IAS 2 cost formulas allow only “the first-in, first-out or weighted average cost formula for items that are ordinarily interchangeable,” so companies reporting under IFRS can’t use LIFO.
How FIFO and LIFO differ
The core difference is which costs leave inventory first. FIFO assigns the oldest costs to COGS, and LIFO assigns the newest. When prices change, that single difference pushes reported profit, taxable income, and ending inventory in opposite directions.
| Factor | FIFO | LIFO |
| Cost flow assumption | Oldest costs assigned to COGS first | Newest costs assigned to COGS first |
| Ending inventory value | Reflects recent purchase prices | Reflects older purchase prices |
| IFRS compliance | Permitted under IFRS and U.S. GAAP | Not permitted under IFRS; U.S. GAAP only |
| Best suited for | Perishable goods, price-stable environments | Non-perishable goods, inflationary environments |
How to calculate FIFO ending inventory and COGS
To calculate FIFO, assign your oldest costs to the units you sold, then value what’s left at your newest costs. We’ll use one simple scenario throughout: a distributor starts with 100 units at $10 each, buys 50 more at $12, then another 50 at $14, and sells 120 units.
Step 1: Identify beginning inventory and purchases
List your opening inventory, then add each purchase in date order with its unit cost. Each purchase is a cost layer, meaning a group of units bought at the same price at the same time.
- Beginning inventory: 100 units at $10 = $1,000
- First purchase: 50 units at $12 = $600
- Second purchase: 50 units at $14 = $700
- Goods available for sale: 200 units = $2,300
Step 2: Assign the oldest costs to units sold
Work through the layers from oldest to newest until every unit sold is accounted for. All 100 units at $10 count as sold, and the remaining 20 come from the $12 layer.
COGS = (100 × $10) + (20 × $12) = $1,000 + $240 = $1,240
Step 3: Calculate ending inventory from the newest costs
The units still on hand carry the most recent costs, because the older layers were used up first. The 80 remaining units are 30 at $12 and 50 at $14.
Calculate ending inventory using this formula:
Ending inventory = (30 × $12) + (50 × $14) = $360 + $700 = $1,060
To check your work, subtract COGS from goods available: $2,300 − $1,240 = $1,060.
How to calculate LIFO ending inventory and COGS
To calculate LIFO, reverse the order of FIFO. In other words, assign your newest costs to the units you sold, then value what’s left at your oldest costs. Using the same data shows how much the method alone changes the result.
Step 1: List purchases in chronological order
Start with the same layers as the FIFO example: 100 units at $10, 50 at $12, and 50 at $14, for 200 units and $2,300.
LIFO depends on clean records for every purchase batch, because each layer’s cost can stay on your books for years. If your ERP (enterprise resource planning) system merges receipts or overwrites unit costs, you lose the layers LIFO needs.
Step 2: Assign the newest costs to units sold
Work backward from the most recent purchase until every unit sold is accounted for. The 120 units sold include all 50 at $14, all 50 at $12, and 20 from the $10 layer.
COGS = (50 × $14) + (50 × $12) + (20 × $10) = $700 + $600 + $200 = $1,500
Step 3: Calculate ending inventory from the oldest costs
The units still on hand carry the oldest costs, because the recent layers were used up first. All 80 remaining units come from the original $10 layer.
Calculate ending inventory using this formula:
Ending inventory = 80 × $10 = $800
The same check applies: $2,300 − $1,500 = $800.
FIFO and LIFO examples side by side
With identical purchases and sales, LIFO reports $260 more in COGS and $260 less in ending inventory than FIFO. The table brings both calculations together, with an illustrative selling price of $20 per unit to show the effect on gross profit.
| Line item | FIFO | LIFO |
| Beginning inventory value | $1,000 | $1,000 |
| Purchases during the period | $1,300 | $1,300 |
| Cost of goods sold | $1,240 | $1,500 |
| Ending inventory | $1,060 | $800 |
| Gross profit | $1,160 | $900 |
When working to understand FIFO vs. LIFO, it’s crucial to remember that the distributor paid suppliers the same $2,300 under both methods. Only the reported numbers changed. Scale that across thousands of SKUs (stock keeping units) and a year of rising costs, and the gap grows with every price increase.
FIFO vs. LIFO inventory valuation under inflation
Rising prices push the two methods in opposite directions. Under FIFO, older and cheaper costs reach COGS, so profit and ending inventory are higher. Under LIFO, newer and more expensive costs reach COGS, so profit and ending inventory are lower.
- FIFO during inflation: lower COGS, higher gross profit, higher ending inventory value
- LIFO during inflation: higher COGS, lower gross profit, lower ending inventory value
Deflation reverses these effects, and when prices stay flat, both methods produce nearly identical results. IRS Publication 538 confirms that in a rising market, LIFO produces a larger COGS and a lower closing inventory.
This matters for SMBs in 2026. The U.S. Bureau of Labor Statistics Producer Price Index reported that final demand prices rose 6.5% over the 12 months ended in October 2026, the largest increase since November 2022. Tariffs add pressure, too: 82% of SMBs surveyed for Netstock’s 2026 Tariff Impact Report passed tariff costs through to customers.
How FIFO and LIFO affect cash flow, taxes, and financial reporting
Your costing method changes reported profit, tax timing, and balance sheet values, but not the cash you’ve already spent on stock. It’s one of several inventory valuation methods, and each gives lenders and tax authorities a different picture of the same inventory.
Impact on cost of goods sold and gross profit
During inflation, LIFO pushes the newest, highest costs into COGS, which reduces gross profit on the income statement. FIFO does the opposite: older, cheaper costs reach COGS, so gross profit looks stronger. The tradeoff is clarity. LIFO matches today’s revenue with today’s costs, which gives a more realistic view of margins when you review pricing.
Impact on working capital and cash flow
Higher COGS under LIFO lowers taxable income, which means lower tax payments and more cash kept in the business. FIFO can inflate reported profit, and the higher tax bill that follows takes real cash out.
Neither method changes what you paid suppliers. That cash stays tied up until the units sell.
“Your costing method changes the profit you report and the tax you pay this year. The cash already sitting on your shelves stays put either way. If you want to free up cash, look at what you buy and when you buy it.” – Vincent DiDomizio, CFO at Netstock.
Impact on taxable income
For U.S. federal income tax, LIFO defers tax when costs rise. Higher COGS lowers taxable income now, though the deferred amount can come due later if old layers are sold off. Per IRS Publication 538, a business adopts LIFO by filing Form 970 with its tax return for the first LIFO year. Under the LIFO conformity rule in U.S. tax law, a business that uses LIFO for tax must generally use it in its financial statements too. Limited exceptions exist.
Impact on the balance sheet
Under LIFO, ending inventory can sit well below current replacement cost, because the oldest costs stay on the books. Under FIFO, ending inventory better reflects current market values. The difference between the two is the LIFO reserve, which LIFO companies disclose so readers can compare them with FIFO companies on equal terms.
FIFO vs. FEFO vs. LIFO
FEFO (first expired, first out) is an operational method that ships stock based on expiration dates, not purchase order. FIFO and LIFO decide which costs reach COGS; FEFO decides which physical units leave the warehouse. The acronyms look alike, but they answer different questions.
How FEFO works
With FEFO, the units closest to expiry ship first, regardless of when you bought them. A batch received last week with a short shelf life ships before an older batch that expires later.
FEFO is common in food and beverage, pharmaceutical, and cosmetic businesses, where every expired unit becomes a write-off. It requires level expiry date tracking, which can be very tedious at scale and a nightmare to manage in spreadsheets. That’s why many SMBs choose to use inventory and supply chain planning software to track and manage expiration dates.
When each method fits best
- FIFO: A general-purpose method that suits most industries and is accepted under both U.S. GAAP and IFRS.
- LIFO: Useful for U.S. tax deferral when prices are rising, most common for non-perishable goods.
- FEFO: The standard picking rule for perishable or date-sensitive products, used to minimize spoilage and waste, often alongside FIFO valuation.
Advantages and disadvantages of FIFO and LIFO
FIFO trades a higher tax bill for simplicity and a realistic balance sheet. LIFO trades flexibility and balance sheet accuracy for tax deferral.
FIFO pros and cons
Pros:
- Simpler to implement and explain to auditors and lenders.
- Aligns with how goods physically move in many businesses.
- Accepted under IFRS, so it works for international reporting.
- Keeps inventory valued close to current replacement cost.
Cons:
- Raises taxable income and tax payments when costs rise.
- Can overstate profitability during inflation, because older, cheaper costs reach COGS while you restock at higher prices.
LIFO pros and cons
Pros:
- Defers U.S. federal tax when costs rise.
- Matches recent costs against current revenue for a clearer margin view.
- Preserves cash by lowering near-term tax payments.
Cons:
- Not permitted under IFRS, which can limit global expansion or a sale to an international buyer.
- Understates inventory value on the balance sheet during inflation.
- Requires detailed cost-layer records and LIFO in your financial statements.
- Carries LIFO liquidation risk: when stock levels fall, old, cheap layers flow into COGS and spike taxable income. Under LIFO, a push to cut excess inventory can raise that year’s tax bill, so finance and operations should plan reductions together.
Which industries use FIFO vs. LIFO
The type of products a business sells usually determines the inventory valuation method a business uses. Goods that lose value with age are often reported with FIFO, while durable goods with rising input costs more often lean toward LIFO. SMBs also consider tax positioning when comparing LIFO vs. FIFO.
- Industries favoring FIFO: Food and beverage, pharmaceuticals, fashion and apparel, and any business with perishable or trend-sensitive products. Older stock in these categories spoils, expires, or goes out of style, so selling it first protects margin, and FIFO’s cost flow mirrors that.
- Industries favoring LIFO: Oil and gas, automotive parts, hardware, and other commodity-based U.S. industries where prices fluctuate. These goods don’t spoil, and when input costs climb, LIFO keeps COGS in line with current prices and defers tax.
How to choose the right method for your business
The right method depends on what you sell, where you report, and whether cash or reported profit matters more right now. Work through these criteria with your finance teams and operations leads:
- Product characteristics: Perishable goods generally call for FIFO valuation, often with FEFO picking.
- Geographic operations: If you report under IFRS now or plan to expand internationally, LIFO is off the table.
- Price trends: Rising costs make LIFO’s tax deferral more valuable, while stable or falling prices favor FIFO.
- Cash flow priorities: Weigh LIFO’s tax deferral against FIFO’s stronger reported earnings, which can matter to lenders.
- Consistency requirements: Once you choose, changing methods requires paperwork, approval, and prior financial statements generally need to be restated for comparability.
Confirm your choice with a tax advisor before you file. If your wider goal is to reduce supply chain costs, weigh carrying costs and excess stock alongside the tax timing a method creates.
“Pick the method that fits your products and your reporting needs, then stay consistent. The bigger wins come from planning and ordering the right amount at the right time so less cash sits in slow-moving stock.” – Vincent DiDomizio, CFO at Netstock.
Managing FIFO and LIFO across your supply chain with intelligent planning
Choosing a costing method is only one part of inventory optimization. Whatever inventory valuation method you choose only affects what the numbers say. Your planning decisions, on the other hand, change how smoothly cash moves throughout your business, how frequently you’re able to turn inventory, and how happy your customers are at the end of the day.
Replenishment timing and visibility across locations decide whether you carry three months of a slow mover or three weeks. A demand planning solution that adjusts forecasts as demand changes helps you keep that visibility across every location, regardless of which valuation method your finance team uses.
Netstock works with any costing method because it draws on the data already in your ERP. It gives you visibility into inventory performance, sets optimal stock levels by item and location, and recommends what to order next. AI functionality within Netstock then flags excess and stock-out risks before they become costly, so you can reduce excess stock while keeping service levels high.



