FIFO vs LIFO: Worked Example, Tax Effect and Rules

FIFO vs LIFO with a full worked example: how each method changes cost of goods sold, profit and taxes, plus the IRS conformity rule and the IFRS ban.

FIFO vs LIFO inventory: brown cardboard boxes stacked on a white metal warehouse rack

Last updated: November 7, 2026

Reviewed by a certified public accountant (CPA) on November 10, 2026.

FIFO and LIFO are two rules for deciding which inventory costs count as sold. FIFO (first in, first out) assumes the oldest units go first; LIFO (last in, first out) assumes the newest units go first. When prices are climbing, that one choice shifts your cost of goods sold, your reported profit and your tax bill.

Short answer: When costs rise, FIFO produces lower cost of goods sold, higher profit and higher ending inventory, while LIFO produces higher cost of goods sold, lower profit and lower taxes. In our example, LIFO shows $500 less gross profit than FIFO on the same 300 units. LIFO is permitted under U.S. GAAP and for U.S. taxes, subject to a conformity rule, but banned under IFRS.

Key takeaways

  • The methods follow cost flow, not the physical order in which goods leave the shelf.
  • In our worked example, cost of goods sold comes to $3,400 under FIFO, $3,900 under LIFO and roughly $3,667 under weighted average.
  • To adopt LIFO for federal taxes, a business files IRS Form 970, and section 472(c) generally requires LIFO in reports to owners and lenders as well.
  • According to KPMG’s comparison of the standards, IFRS prohibits LIFO, while U.S. GAAP permits FIFO, LIFO and weighted average.
  • The difference between FIFO and LIFO inventory values is known as the LIFO reserve, which is $500 in our example.

What FIFO and LIFO actually mean

Most businesses buy the same item several times a year at varying prices. When they sell a unit, they need a rule for which purchase price becomes that sale’s cost. That rule is a cost flow assumption, and it needn’t match how goods physically move. A grocery store sells its oldest milk first, yet it could still use LIFO in its accounting.

  • FIFO: the first costs in are the first costs out. Cost of goods sold uses older prices, and ending inventory reflects recent ones.
  • LIFO: the last costs in are the first costs out. Cost of goods sold uses recent prices, and ending inventory carries older ones, sometimes for decades.
  • Weighted average: every unit carries the average cost of all available units.
  • Specific identification: each item is tracked on its own, which suits high-value goods like cars or jewelry.
Large warehouse holding inventory bought at different costs, the heart of FIFO vs LIFO

Worked example: one quarter, three methods

A hardware distributor carries a single model of cordless drill. Here are its records for the quarter:

LayerUnitsCost per unitTotal cost
Beginning inventory100$10$1,000
Purchase in month one200$12$2,400
Purchase in month two150$14$2,100
Goods available450$5,500

It sells 300 drills at $25 apiece, bringing in $7,500 of revenue.

FIFO

The 300 units sold are drawn from the oldest layers first: 100 at $10 and 200 at $12.

  • Cost of goods sold: $1,000 + $2,400 = $3,400
  • Ending inventory: 150 units at $14 = $2,100
  • Gross profit: $7,500 minus $3,400 = $4,100

LIFO

The 300 units sold are drawn from the newest layers first: 150 at $14 and 150 at $12.

  • Cost of goods sold: $2,100 + $1,800 = $3,900
  • Ending inventory: 50 units at $12 plus 100 units at $10 = $1,600
  • Gross profit: $7,500 minus $3,900 = $3,600

Weighted average

Average cost = $5,500 / 450 units = roughly $12.22 per unit.

  • Cost of goods sold: 300 x $12.22 = about $3,667
  • Ending inventory: 150 x $12.22 = about $1,833
  • Gross profit: about $3,833

Side by side

MethodCost of goods soldEnding inventoryGross profit
FIFO$3,400$2,100$4,100
Weighted average$3,667$1,833$3,833
LIFO$3,900$1,600$3,600

Under every method, cost of goods sold plus ending inventory adds up to the same $5,500 of goods available. The methods only determine which period gets which costs.

The tax effect

Because LIFO reports less profit when prices are rising, it usually means less taxable income. In the example, LIFO’s gross profit is $500 lower. For a C corporation at the 21% federal rate, that works out to $105 less federal income tax for the quarter, before state tax.

Scale that up to a distributor with millions in yearly purchases during a stretch of steady inflation, and the deferral gets significant. It’s a deferral rather than a permanent saving: if inventory levels drop and old, cheap LIFO layers are sold off, those low costs flow into cost of goods sold and taxable income spikes. Accountants call that a LIFO liquidation.

IRS rules for LIFO

Businesses that want LIFO for federal taxes elect it by filing Form 970, the IRS application to adopt the LIFO inventory method.

The election comes with a catch. Under 26 U.S.C. 472(c), a business on LIFO for taxes generally can’t use another method to report income to shareholders, partners or other owners, or for credit purposes. This is the LIFO conformity rule. In practice, you can’t show lenders a FIFO income statement with higher profit while paying tax on LIFO’s lower profit.

Moving away from LIFO, or between other methods, counts as a change in accounting method and generally means following IRS procedures, often with Form 3115. It isn’t something to do on a whim at year-end.

FIFO vs LIFO under GAAP and IFRS

U.S. GAAP permits FIFO, LIFO and weighted average, but IFRS doesn’t allow LIFO. KPMG’s comparison of the two frameworks explains that IAS 2 prohibits LIFO because the IASB decided it doesn’t faithfully represent inventory flow patterns.

The frameworks also part ways on write-downs. Under IFRS, an inventory write-down to net realizable value has to be reversed if value recovers, up to original cost. Under U.S. GAAP, write-downs generally stay in place when values recover. That matters for businesses with volatile prices, like commodities or electronics.

For U.S. companies with foreign parents, or any that report under IFRS, LIFO simply isn’t available for those reports, and the conformity rule makes using it for U.S. taxes awkward.

Yellow forklift moving stock in a large warehouse

The LIFO reserve

Companies on LIFO often disclose a LIFO reserve: the gap between inventory valued under FIFO and under LIFO.

LIFO reserve = FIFO inventory minus LIFO inventory

In the example, that’s $2,100 minus $1,600 = $500. The reserve shows how much lower balance sheet inventory is because of LIFO, and roughly how much more cumulative profit FIFO would have shown. Analysts add it back when comparing a LIFO company with FIFO peers.

Which method should a small business use?

No single answer fits everyone, but these questions usually settle it:

  • Are your costs rising steadily? LIFO’s tax advantage only exists when they are. If costs are flat or falling, FIFO and LIFO give similar results, or FIFO delivers the lower taxable income.
  • Do lenders or investors depend on your statements? Because of the conformity rule, they’ll see LIFO’s lower profit as well.
  • How complicated is your inventory? LIFO layers, pools and indexes add bookkeeping effort, and many small businesses decide the deferral isn’t worth it.
  • Do you report under IFRS? If so, LIFO is off the table.
  • What does your software handle? Many small-business accounting systems support FIFO or average cost out of the box but not LIFO.

FIFO is the go-to choice for most small businesses because it’s simpler, mirrors how most goods physically move and produces a balance sheet inventory value close to current cost.

Small business inventory rules

Very small businesses may not need to track inventory the traditional way for tax purposes at all. Federal tax law lets businesses that pass the gross receipts test, the same one used for other small business exceptions, use simplified inventory methods, like treating inventory as non-incidental materials and supplies or following the method in their books. The threshold is adjusted for inflation each year; the IRS lists $31 million for 2025 and $32 million for 2026. Check with your tax preparer on whether the simplified rules fit before choosing between FIFO and LIFO for tax.

What goes into the cost of each inventory layer

Whatever method you use, each layer’s cost should cover everything needed to get the goods ready for sale, not only the supplier’s price:

  • Purchase price, net of trade discounts and any early payment discounts taken.
  • Inbound freight, customs duties and in-transit insurance.
  • Handling costs to receive and prepare goods, where your accounting policy capitalizes them.
  • For manufacturers, direct materials, direct labor and a share of production overhead.

Getting this right matters more than the method. If inbound freight is expensed instead of added to inventory, every method understates inventory and misstates cost of goods sold by the same amount.

Lower of cost or net realizable value

Inventory can’t be carried on the balance sheet above what it can realistically sell for. Under U.S. GAAP, companies using FIFO or weighted average measure inventory at the lower of cost and net realizable value: the expected selling price less the costs to finish and sell it. Companies using LIFO or the retail method apply a related lower of cost or market test.

In practice, review slow-moving, damaged and obsolete stock at least at year-end and write it down when its value has fallen. As mentioned above, U.S. GAAP doesn’t let those write-downs be reversed later if prices bounce back.

A simple monthly inventory routine

  1. Receive goods against purchase orders and book every receipt at full landed cost.
  2. Let the system apply your cost method to each sale so cost of goods sold updates on its own.
  3. Count a rotating sample of items every month, concentrating on high-value and fast-moving stock.
  4. Look into differences between counts and system quantities before posting adjustments.
  5. Check aging reports for items that haven’t sold in 90 or 180 days.
  6. Run a full count at year-end, with cut-off procedures for goods in transit.

A steady routine makes the FIFO vs LIFO question much less risky, since the numbers the method works with are reliable.

When costs fall instead of rise

Most FIFO vs LIFO examples assume inflation, but some goods get cheaper, particularly electronics and certain commodities. When costs fall, the effects reverse:

  • FIFO charges the older, higher costs to cost of goods sold first, so it shows lower profit and lower taxable income.
  • LIFO charges the newer, lower costs first, so it shows higher profit.
  • The LIFO reserve shrinks and can even go negative in accounting terms, though most companies would book a write-down first.

Businesses whose costs trend downward seldom pick LIFO for that reason. Before electing a method for tax, look at how your main input costs have moved over several years, not just the most recent one.

Effects on financial ratios

Your choice of method ripples through common ratios:

  • Gross margin runs higher under FIFO when prices are rising.
  • Inventory turnover appears faster under LIFO, since ending inventory carries a lower value.
  • Current ratio comes in lower under LIFO, because inventory is a current asset.
  • Return on assets can look better under LIFO, since assets are lower, even though profit is lower as well.

When comparing two companies, find out which method each uses. A FIFO company and a LIFO company can run identical operations yet show very different ratios.

Perpetual vs. periodic systems

FIFO and LIFO can be applied two ways. A perpetual system updates inventory and cost of goods sold with each sale, while a periodic system works out cost of goods sold at period-end from a physical count. FIFO produces the same answer under both. LIFO and weighted average can differ slightly between perpetual and periodic systems, since the “latest” costs depend on when each sale is booked. Choose one approach and stick with it.

Workers walking through a warehouse aisle during an inventory count

Common mistakes

  • Mixing up cost flow and physical flow. The accounting method doesn’t dictate how you rotate stock.
  • Electing LIFO for taxes while showing lenders FIFO statements, which can violate the conformity rule.
  • Overlooking LIFO liquidation risk when trimming inventory levels at year-end.
  • Changing methods without following IRS change-in-method procedures.
  • Skipping physical counts, which makes any method’s figures unreliable.

Our Take / Expert Perspective

Our take: for most small businesses, the FIFO vs LIFO debate matters less than the accuracy of the inventory count underneath it. A business that miscounts by 10% will distort cost of goods sold far more than any choice of method. Get counts and cut-off right first.

LIFO becomes more attractive as inflation rises. When supplier prices climb year after year, LIFO keeps taxable income closer to real economic profit after restocking at current prices. That’s why it’s still common among larger U.S. distributors, retailers and manufacturers. But the conformity rule, extra bookkeeping and liquidation risk make it a poor match for many owner-run businesses.

Forecast, not fact: if cost increases stay high, more mid-sized U.S. distributors will take another look at LIFO, while companies planning a sale to a foreign buyer or an IFRS reporter will favor FIFO to avoid an expensive conversion later.

Our recommendation: begin with FIFO unless your inventory is large, your costs rise steadily and your CPA has modeled the tax effect over several years. If LIFO comes out ahead, file Form 970 on time and keep every report to owners and lenders on the same basis.

Frequently Asked Questions

What is the main difference between FIFO and LIFO?

FIFO charges the oldest inventory costs to cost of goods sold first, and LIFO charges the newest costs first. When prices rise, FIFO shows higher profit, while LIFO shows lower profit and lower taxes.

Which is better, FIFO or LIFO?

Neither one wins across the board. FIFO is simpler and shows inventory close to current cost; LIFO can lower taxes when costs rise but comes with conformity requirements and more bookkeeping. The best choice depends on your costs, your lenders and your reporting framework.

Is LIFO allowed under IFRS?

No. IAS 2 prohibits LIFO. U.S. GAAP still permits it, which is part of why LIFO is used mostly by U.S. companies.

What is the LIFO conformity rule?

It’s the rule in section 472(c) of the Internal Revenue Code that a business using LIFO for taxes generally can’t use a different method to report income to owners or for credit purposes. Lenders and owners see LIFO results too.

How do I switch from FIFO to LIFO?

You elect LIFO by filing IRS Form 970 with the tax return for the first year you use it. Other method changes generally follow IRS change-in-accounting-method procedures. Work with your CPA, since timing and inventory pools matter.

Does FIFO or LIFO affect cash flow?

Not directly; you pay suppliers the same either way. LIFO can help cash flow indirectly by reducing taxes when prices are rising.

This article is for general information only and is not tax, accounting or financial advice. Consult a licensed CPA or financial professional for your situation.

Sources

Photos: CHUTTERSNAP, Ruchindra Gunasekara, Kseniia Ilinykh and Adrian Sulyok on Unsplash.

Sachin Garg Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *

About aiandblog

Practical reporting on AI, SaaS, compliance and finance. We cite primary sources and correct mistakes in the open. Read our editorial policy.