Booksmrt

FIFO vs. LIFO

FIFO vs. LIFO: cost of goods sold, profit and tax

FIFO (first in, first out) assumes the oldest costs in inventory are the ones sold first. LIFO (last in, first out) assumes the newest costs are sold first. Both are accounting assumptions, not descriptions of which unit leaves the shelf. When purchase prices rise, LIFO gives a higher cost of goods sold, lower profit and lower ending inventory than FIFO. US GAAP allows both, but IFRS does not allow LIFO.

Booksmrt editorialPublished

Drafted with AI assistance and checked against the primary sources listed on this page. How we make these pages

The difference at a glance

QuestionFIFOLIFO
What it assumesFIFOThe units bought first are sold first, so the oldest cost layers (each purchase batch at its own price) move to cost of goods sold.LIFOThe units bought last are sold first, so the newest cost layers move to cost of goods sold.
Cost of goods sold when prices riseFIFOLower, because older and cheaper costs are charged to sales. In the tire example below it is $30,400.LIFOHigher, because newer and more expensive costs are charged to sales. In the tire example below it is $32,400.
Ending inventory on the balance sheetFIFOCarried at the newest costs, so it sits close to what you pay today. The example shows $14,400.LIFOCarried at the oldest costs, which can sit well below today's prices. The example shows $12,400.
Gross profit when prices riseFIFOHigher. The example shows $22,100, a 42.1% gross margin.LIFOLower. The example shows $20,100, a 38.3% gross margin.
Per-sale costing against month-end costingFIFOSame result. FIFO gives the same cost of goods sold whether you cost sales one by one or once at month end.LIFOCan differ. Costing each sale from the layers on hand that day can give a different figure than picking layers once at month end.
Allowed under US GAAP and IFRSFIFOAllowed under both. An SEC staff comparison of the two frameworks lists FIFO as permitted under IFRS and US GAAP.LIFOAllowed under US GAAP only. The same SEC staff comparison says IFRS does not permit LIFO.
Tax stepFIFONo LIFO election is involved. A later move to LIFO is made on Form 970, and other inventory method changes take Form 3115. A CPA confirms how it fits the return.LIFOUsing LIFO for tax starts with Form 970, filed with the timely return for the first LIFO year. A CPA confirms the election.

When to focus on FIFO

  • Your purchase prices are rising and you want the balance sheet to carry inventory at costs close to what you pay now.
  • You want one cost of goods sold figure whether the sales are costed one by one or in a single month-end entry.
  • Your statements go to a parent company or buyer that reports under IFRS, which does not permit LIFO.

When to focus on LIFO

  • The business has elected LIFO for tax with its CPA, Form 970 is on file, and the year's statements to owners and lenders have to follow that choice.
  • You want cost of goods sold to carry the most recent purchase prices, so gross margin reflects what replacing the stock costs.
  • You are reading statements built on LIFO and need to know that older, lower costs may still be sitting in inventory.

Example

An independent tire dealer starts March 2026 with 100 tires of one all-season size at $80, buys 200 at $88 and then 200 at $96, and sells 350 tires at $150. FIFO charges $30,400 to cost of goods sold and leaves $14,400 in inventory. LIFO charges $32,400 and leaves $12,400. Net income is $8,100 under FIFO and $6,100 under LIFO.

Common mistake

Costing sales under LIFO but valuing the tire rack at the newest costs. In the example, cost of goods sold is booked at $32,400, so the Inventory account holds $12,400, yet the count sheet prices 150 tires at $96 for $14,400. That $2,000 gap shows up when inventory is reconciled to the count. Forcing it away quietly turns cost of goods sold back into the FIFO figure.

Which cost layers FIFO and LIFO assign to the tires sold

FIFO and LIFO decide which purchase cost leaves inventory when a unit sells. An independent tire dealer stocks one all-season size. It starts March 2026 with 100 tires at $80 each, buys 200 at $88 on March 9 and 200 at $96 on March 23. Each batch at its own price is a cost layer. That makes 500 tires available at a total cost of $44,800. By March 31, 2026 the dealer has sold 350 tires and counts 150 on the rack.

FIFO says the oldest costs are the ones sold. The 350 tires use the 100 at $80, the 200 at $88 and 50 of the $96 tires. LIFO says the newest costs are the ones sold. The 350 tires use the 200 at $96 and 150 of the $88 tires. Both are book assumptions. The installer can still mount whichever tire is closest to the bay.

Which cost layers the 350 tires sold come from, March 2026
Cost layerTiresUnit costSold under FIFOSold under LIFO
Beginning inventory100$801000
Mar 9 purchase200$88200150
Mar 23 purchase200$9650200
Total500350350

How FIFO and LIFO change cost of goods sold and ending inventory

At $150 a tire, March revenue is 350 x $150 = $52,500 under either method. Only the cost moved out of inventory differs. FIFO moves 100 x $80 + 200 x $88 + 50 x $96 = $30,400. LIFO moves 200 x $96 + 150 x $88 = $32,400. The dealer books that cost in one month-end entry that debits Cost of goods sold and credits Inventory.

When costs rise, LIFO charges the newer, higher prices to the income statement and leaves the older, lower prices on the balance sheet. IRS Publication 538 says the same: in times of inflation, LIFO produces a larger cost of goods sold and a lower closing inventory. If costs fall, the gap reverses. Either way, the total is fixed. FIFO splits $44,800 into $30,400 and $14,400. LIFO splits it into $32,400 and $12,400.

Mar 31, 2026FIFO: move the cost of the 350 tires sold out of inventory, 100 x $80 + 200 x $88 + 50 x $96
AccountDebit ($)Credit ($)
Cost of goods sold30,400
Inventory30,400
Mar 31, 2026LIFO: move the cost of the 350 tires sold out of inventory, 200 x $96 + 150 x $88
AccountDebit ($)Credit ($)
Cost of goods sold32,400
Inventory32,400

Periodic LIFO and perpetual LIFO can give different results

FIFO gives one answer whether you cost sales one by one (perpetual) or at month end (periodic), because the oldest layers are always the same layers. LIFO may not. Say the dealer sold 60 tires on March 5, 150 on March 16 and 140 on March 27. Costing each sale from the newest layer on hand that day gives 60 x $80 = $4,800, then 150 x $88 = $13,200, then 140 x $96 = $13,440, for $31,440, leaving 40 tires at $80, 50 at $88 and 60 at $96. Picking layers once at month end gave $32,400.

The gap comes from timing. On March 5 and March 16 the $96 tires had not arrived, so those sales could not use them. Pick one LIFO approach and apply it every period. Switching between them changes cost of goods sold with no change in the business.

March 2026 cost of goods sold and ending inventory by method
MethodCost of goods soldEnding inventory (150 tires)Total cost
FIFO, per sale or month end$30,400$14,400$44,800
LIFO, layers picked at month end$32,400$12,400$44,800
LIFO, layers picked at each sale$31,440$13,360$44,800

What FIFO and LIFO do not tell you, and the LIFO tax election

Neither FIFO nor LIFO tells you what is on the rack. Count it. The count sets the units in ending inventory, and the method sets the dollars each unit carries. Before you trust a cost of goods sold figure, check that every supplier bill is entered and that freight-in (shipping paid to receive stock) sits in the cost of its layer.

For tax, IRS Publication 538 says a business adopts LIFO by filing Form 970, or a statement with the same information, with its timely filed return for the first LIFO year, and uses the same method from year to year. Form 970 also asks which inventory method the year's credit statements and reports to owners used. A CPA or enrolled agent confirms whether LIFO fits and how a change is made. The bookkeeper records the chosen method and keeps the layer schedule.

Worked example

One March, two inventory methods at a tire dealer

The tire dealer keeps accrual books and sells 350 tires at $150 each in March 2026. It started with 100 tires at $80, bought 200 at $88 on March 9 and 200 at $96 on March 23, and counts 150 tires on March 31. Operating expenses are $14,000. Layers are picked at month end. Sales tax and card fees are left out to keep the entries short.

  1. 1Goods available for sale: 100 x $80 + 200 x $88 + 200 x $96 = $8,000 + $17,600 + $19,200 = $44,800 for 500 tires.
  2. 2FIFO cost of goods sold: 100 x $80 + 200 x $88 + 50 x $96 = $8,000 + $17,600 + $4,800 = $30,400. Ending inventory is 150 x $96 = $14,400.
  3. 3LIFO cost of goods sold: 200 x $96 + 150 x $88 = $19,200 + $13,200 = $32,400. Ending inventory is 100 x $80 + 50 x $88 = $8,000 + $4,400 = $12,400.
  4. 4Revenue is 350 x $150 = $52,500. Gross profit is $52,500 - $30,400 = $22,100 under FIFO (42.1%) and $52,500 - $32,400 = $20,100 under LIFO (38.3%).
  5. 5After $14,000 of operating expenses, net income is $8,100 under FIFO and $6,100 under LIFO.
  6. 6The $2,000 difference in profit is the same $2,000 difference in ending inventory, $14,400 against $12,400. Cash before income tax is identical, because the same bills and sales were paid and collected.
Mar 31, 2026Record March sales of 350 tires at $150 each, the same under either method
AccountDebit ($)Credit ($)
Checking52,500
Sales revenue52,500
March 2026 income statement lines and inventory, FIFO against LIFO
LineFIFOLIFOLIFO minus FIFO
Sales revenue$52,500$52,500$0
Cost of goods sold$30,400$32,400+$2,000
Gross profit$22,100$20,100-$2,000
Gross margin42.1%38.3%-3.8 points
Operating expenses$14,000$14,000$0
Net income$8,100$6,100-$2,000
Ending inventory, balance sheet$14,400$12,400-$2,000

LIFO charges $2,000 more to cost of goods sold than FIFO, so March 2026 net income is $6,100 instead of $8,100 and ending inventory is $12,400 instead of $14,400.

Mistakes to avoid

Posting the freight bill for a tire delivery to an operating expense instead of to that delivery's cost layer.
Freight-in is part of the tires' cost. Spread it over the unit cost of the layer it arrived with, so the method moves it to cost of goods sold or leaves it in inventory along with those tires.
Switching between FIFO and LIFO, or between per-sale and month-end LIFO, when a month's profit looks too low. For March alone, cost of goods sold could read $30,400, $31,440 or $32,400 on the same sales.
Settle the method with the owner and the CPA, write it in the books policy, and apply it every month. Tax rules govern how methods change, so any change is a CPA decision.
Switching to FIFO because the oldest tires are racked in front.
The method is a cost-flow assumption. Count units from the rack and cost them from the layers under the chosen method.

Common questions

Does FIFO or LIFO give a higher profit?

FIFO, when purchase prices are rising, because cheaper old costs are matched against sales. In the tire example, gross profit is $22,100 under FIFO and $20,100 under LIFO. When prices are falling, the order reverses. Both methods start from the example's same $44,800 of total cost and only split it differently between cost of goods sold and inventory.

Does FIFO mean the oldest stock physically leaves the shelf first?

No. FIFO and LIFO are cost-flow assumptions. They decide which purchase costs move to cost of goods sold, not which tire the installer pulls from the rack. A dealer can rotate stock oldest first and still use LIFO for its books, or the other way around. The count of units comes from the rack. The dollars per unit come from the method.

Can the books use FIFO while the tax return uses LIFO?

Not in the year's reports to owners or lenders. A business that uses LIFO for tax must also use LIFO for the income those reports show, and Form 970 asks which method they used. Internal management reports are an exception. Ask the CPA before setting up the monthly books.

Is LIFO allowed under GAAP and IFRS?

LIFO is allowed under US GAAP but not under IFRS. An SEC staff paper comparing the two frameworks says both permit FIFO and weighted average cost, and only US GAAP also permits LIFO. A business whose statements must follow IFRS cannot use LIFO in them.

How does weighted average compare with FIFO and LIFO?

Weighted average divides total cost by total units: $44,800 / 500 tires = $89.60 a tire. Cost of goods sold is 350 x $89.60 = $31,360 and ending inventory is 150 x $89.60 = $13,440. Both land between the FIFO and LIFO figures. That is the month-end average; a perpetual system recomputes it after each purchase.

Educational information only. Booksmrt provides bookkeeping services, not tax, legal, audit, or investment advice. Confirm material accounting and tax decisions with the appropriate professional.