You bought the same widget twice this year: once at $10 in January, once at $15 in November. You sold one of them in December. Here is the question that decides your tax bill: which one did you sell — the cheap one or the expensive one?
Your shelves cannot answer that. Maybe the two widgets are identical and commingled in one bin. Maybe you genuinely do not know which unit shipped. The IRS does not ask what physically happened. It asks which cost-flow assumption you elected: first in, first out (FIFO) or last in, first out (LIFO). Under FIFO you sold the $10 widget, so your cost of goods sold is $10 and your profit looks $5 bigger. Under LIFO you sold the $15 widget, so your profit looks $5 smaller — and your tax bill shrinks with it. Same inventory, same cash, different taxable income, all from an accounting election most owners make once and never revisit.
That election deserves more attention than it gets, because it cuts both ways. LIFO can defer real tax dollars while prices climb, but it comes with strings: you must use it on your financial statements too, you cannot drop it casually, and leaving it can force years of deferred profit into a single year's income. This guide walks through how each method works, shows the math with a worked example, and explains why the choice locks in — so you pick with your eyes open instead of inheriting whatever your first tax return happened to say.
What FIFO and LIFO Actually Assume
Start with the most common misunderstanding: neither method has to match how goods physically move. A bakery sells its oldest loaves first and a gravel yard digs from the top of the pile, but both can use either method for accounting. FIFO and LIFO are cost-flow assumptions — rules for attaching costs to sales — not warehouse procedures.
Under FIFO, you assume the oldest units sell first. Cost of goods sold reflects your earliest purchase prices, and the inventory left on your balance sheet reflects your most recent prices. Under LIFO, you assume the newest units sell first. Cost of goods sold reflects your latest prices, and the inventory left behind reflects your oldest prices.
A third option exists for most businesses: the average-cost method, which blends every purchase price into one weighted-average unit cost and applies it to both sales and ending inventory. It lands between FIFO and LIFO on profit and tax, and some businesses prefer its smoothing effect. But the interesting decision — the one with real money and real lock-in attached — is between FIFO and LIFO, so that is where this guide spends its time.
The Math: One Example That Shows Everything
Imagine you sell phone chargers. Your year looks like this:
- Beginning inventory: 100 units at $10 each, or $1,000
- March purchase: 100 units at $12 each, or $1,200
- September purchase: 100 units at $15 each, or $1,500
- Units available for sale: 300 units costing $3,700 in total
- Units sold during the year: 200 units at $25 each, or $5,000 of revenue
- Ending inventory: 100 units
Under FIFO, the 200 units sold are the 100 oldest ($10 each) plus the next 100 ($12 each). Cost of goods sold is $1,000 plus $1,200, or $2,200. Gross profit is $5,000 minus $2,200, or $2,800. Ending inventory is the newest layer: 100 units at $15, or $1,500.
Under LIFO, the 200 units sold are the 100 newest ($15 each) plus the next 100 ($12 each). Cost of goods sold is $1,500 plus $1,200, or $2,700. Gross profit is $5,000 minus $2,700, or $2,300. Ending inventory is the oldest layer: 100 units at $10, or $1,000.
Compare the two outcomes:
| FIFO | LIFO | |
|---|---|---|
| Revenue | $5,000 | $5,000 |
| Cost of goods sold | $2,200 | $2,700 |
| Gross profit | $2,800 | $2,300 |
| Ending inventory | $1,500 | $1,000 |
The $500 difference in gross profit is the whole story. At a 25 percent combined tax rate, LIFO saves about $125 of tax this year — not by changing what you bought or sold, but by changing which costs the return matches against revenue. Note what did not change: revenue, cash, and the physical chargers on your shelf are identical either way. Only the paper allocation moved.
That $500 gap between FIFO inventory ($1,500) and LIFO inventory ($1,000) also has a name: the LIFO reserve. It measures how much profit LIFO has deferred relative to FIFO, and it accumulates year after year while prices rise. Keep that number in mind. It becomes the bill you pay if you ever leave LIFO, as the lock-in section below explains.
Why Rising Prices Make LIFO a Tax Shield
The example above assumed rising prices — $10, then $12, then $15 — and that direction is doing all the work. When each new batch costs more than the last, matching the newest costs against today's sales produces the highest possible cost of goods sold, the lowest possible gross profit, and therefore the lowest current tax bill. LIFO systematically pairs current revenue with current replacement-level costs, which is exactly what you want when costs are climbing.
The benefit is a deferral, not forgiveness. The profit LIFO hides this year sits in the LIFO reserve and surfaces later — when you liquidate old layers, when prices fall, or when you leave the method. But deferral has genuine value: a dollar of tax paid ten years from now costs less than a dollar of tax paid today, and the cash you keep in the meantime funds inventory, equipment, or a buffer against slow months. For businesses holding large inventories through years of steady inflation — distributors, building-material suppliers, auto dealers — the cumulative deferral can reach six or seven figures.
What happens when prices fall instead? The shield flips into a drag. If your newest batch is the cheapest, LIFO matches the cheapest costs against revenue, reports the highest profit, and hands you the biggest tax bill of any method. Deflation is rare across a whole economy, but it is common for specific goods: consumer electronics, solar panels, and any product where manufacturing gets cheaper each year. If your suppliers' prices trend down over time, FIFO usually produces the lower tax bill, and LIFO costs you money every year you keep it.
Stable prices make the whole debate nearly moot. When purchase costs barely move, FIFO and LIFO produce nearly identical numbers, and you should pick on simplicity and statement quality rather than tax. That is worth checking before you chase LIFO's complexity: pull your last three years of unit costs for your biggest SKUs and see which direction they actually moved.
The Other Side: What Each Method Does to Your Balance Sheet
So far LIFO sounds like free money during inflation. Here is the price, and it shows up on your balance sheet rather than your tax return.
Under FIFO, ending inventory reflects recent purchase prices, so it stays close to what replacing the stock would cost today. Lenders, investors, and buyers reading your statements see an inventory number that resembles reality, and your current ratio — current assets divided by current liabilities — looks its best. That matters when a bank sets your credit line against working capital.
Under LIFO during inflation, ending inventory reflects old prices — sometimes very old prices. A business that adopted LIFO decades ago can carry inventory layers priced from years when costs were a fraction of today's. The balance sheet understates what the stock is really worth, working capital looks thinner than it is, and your statements can confuse anyone who does not know to add back the LIFO reserve. Public companies disclose that reserve in their footnotes precisely so analysts can restate inventory to a FIFO-equivalent basis; a small business rarely publishes footnotes, so your lender may simply see the thinner number.
This is also why gross margins read differently under each method. FIFO matches old costs against today's selling prices, which flatters gross margin during inflation — your pricing looks stronger than your replacement economics really are. LIFO matches current costs against current prices, which arguably shows the truer operating margin: can you sell at today's prices and still profit after restocking at today's costs? Each method tells the truth about a different statement. FIFO is more truthful on the balance sheet; LIFO is arguably more truthful on the income statement during inflation.
Why the Choice Locks In
Here is the part owners miss. Adopting LIFO is easy. Leaving it is expensive, slow, and partly out of your control. Four mechanisms create the lock-in.
1. You elect LIFO formally, and the election sticks
LIFO is not a casual bookkeeping preference you can toggle at year end. You adopt it by filing Form 970, Application to Use LIFO Inventory Method, with the tax return for the first year you use it, identifying the goods covered and the specific LIFO variant. From that year on, you must use LIFO for those goods every year unless the IRS grants permission to change.
Permission means filing Form 3115, Application for Change in Accounting Method, and LIFO-to-something-else is not an automatic-consent change you can make by simply attaching the form. It generally requires advance consent, filed by the last day of the year of change, with a user fee that has run well into five figures in recent years. Then, once you leave LIFO, you generally cannot re-elect it for at least five tax years without special consent. The door swings one way easily and barely opens the other way.
2. The conformity rule follows you into your financial statements
Internal Revenue Code Section 472 contains the LIFO conformity rule: if you use LIFO on your tax return, you must also use LIFO in your financial reports to owners, lenders, and creditors. You cannot show lenders rosy FIFO profits while reporting lean LIFO profits to the IRS. The one sanctioned bridge is disclosing the LIFO reserve — reporting LIFO inventory with a note showing what it would be under FIFO — which is how public companies stay compliant while still informing readers.
Violating conformity, even accidentally — say, by handing a bank FIFO-based statements while filing LIFO returns — can terminate your LIFO election. The IRS has issued relief procedures for violations over the years, but relying on forgiveness for a foot-fault that kills your method is a bad plan. If you adopt LIFO, every set of statements that leaves your office needs to be on the same basis, with the reserve disclosed where readers need it.
3. Leaving LIFO recaptures the reserve as income
Remember the LIFO reserve — the accumulated gap between FIFO and LIFO inventory values? When you leave LIFO, that entire gap flows into taxable income, generally as a Section 481(a) adjustment spread over a few years. A business that deferred $200,000 of profit over a decade of rising prices faces $200,000 of extra taxable income on the way out, before counting the current year's operations.
That recapture is what makes LIFO feel like a loan from the Treasury: helpful while outstanding, due in full when you close the account. Before adopting LIFO, model the exit, not just the entry. If you plan to sell the business, wind down inventory, or convert to a reporting framework that bans LIFO within a few years, the recapture can land in exactly the year you least want extra income.
4. LIFO layers can liquidate beneath you
Even if you never formally leave LIFO, shrinking inventory can trigger a partial exit called a LIFO liquidation. When you sell more units than you buy, you dip into old layers — those $10 chargers from years ago — and match ancient costs against today's prices. The result is a sudden spike in reported profit and tax, sometimes called phantom profit because it reflects decade-old cost history rather than current performance.
Liquidations ambushed many dealers during recent supply-chain disruptions: showrooms emptied faster than factories could replenish them, old layers burned off, and tax bills surged in a year when cash was already tight. If your inventory levels swing sharply — seasonal businesses, project-based resellers, anyone who might downsize a product line — LIFO adds a tax-volatility risk that FIFO simply does not have.
Two related constraints complete the picture. First, international standards prohibit LIFO: IFRS, through IAS 2, allows FIFO, weighted average, and specific identification, but not LIFO. If you report under IFRS for a foreign parent, a cross-border lender, or a future buyer, you will maintain a second set of inventory numbers regardless. Second, most businesses simplify LIFO through dollar-value pools — grouping similar goods and tracking price indexes rather than individual units — which is practical but adds its own recordkeeping discipline your books must sustain every year.
A Practical Way to Choose
With the mechanics clear, the decision usually comes down to five questions:
Do your costs rise year after year? Pull three years of unit costs for your top SKUs. Steady increases point toward LIFO for tax; flat or falling costs erase its advantage and may flip it.
Do you sell perishables or trend-sensitive goods? Food, flowers, cosmetics, and fashion turn on freshness and obsolescence. FIFO matches both your physical reality and your readers' expectations, and spoilage makes old LIFO layers meaningless anyway.
Do lenders or investors judge you on statements? If a credit line, an SBA loan, or a funding round depends on reported profit and working capital, FIFO's fuller inventory values and higher reported earnings usually serve you better than LIFO's tax savings. Run both presentations past your banker before electing.
Will you stay domestic and inventory-heavy? LIFO pays off for US-only businesses that keep inventory levels stable or growing. Plans to expand abroad, report under IFRS, sell within a few years, or shrink a product line all argue against electing something this sticky.
Can your books sustain it? LIFO demands consistent layer or pool tracking, annual price-index work for dollar-value pools, and conformity across every statement you issue. If your inventory records are already approximate, LIFO's precision requirements will punish you. Fix the records first either way — and note that businesses under the gross-receipts threshold in Section 471(c), around $30 million adjusted annually for inflation, may be exempt from keeping formal inventories at all and can treat goods as non-incidental materials instead. Confirm with your tax adviser whether that simpler path fits before engineering a LIFO system you may not need.
When in doubt, FIFO is the default for good reasons: it is simple, accepted everywhere including under IFRS, keeps inventory near market value, and never ambushes you with recapture or liquidation. Choose LIFO only when rising costs are demonstrable, the deferral is material, and you have weighed the exit cost.
Common Mistakes That Cost Real Money
A few errors show up repeatedly in small businesses wrestling with these methods:
Confusing physical flow with cost flow. You may rotate stock oldest-first in the warehouse and still use LIFO on the books, or stack new pallets in front and still use FIFO. The methods are accounting assumptions. Let operations serve freshness and efficiency; let the election serve tax and reporting.
Adopting LIFO for one good year of inflation. A single spike in supplier prices tempts owners into an election designed for sustained trends. If costs normalize the next year, you keep the conformity burden, the layer tracking, and the exit fee, with little deferral to show for it. Elect on a multi-year pattern, not a headline.
Handing the bank a different basis. The conformity rule means your lender package, your investor update, and your tax return all speak LIFO once you elect it. Maintain one compliant set of books and disclose the reserve; do not keep a private FIFO version that leaks into a loan application.
Switching methods without permission. Changing inventory methods is a change in accounting method, not a bookkeeping cleanup. File Form 3115 properly, pay the fee where required, and compute the Section 481(a) adjustment — or have your CPA do it. An unapproved switch hands an examiner an easy adjustment plus interest.
Tracking layers in a spreadsheet nobody reconciles. LIFO lives or dies on its history: every year's layers, indexes, and pools must tie to the returns. A workbook updated when someone remembers is how reserves go wrong and liquidations go unnoticed. Whatever system holds your inventory needs the same discipline as your bank reconciliation.
Keep Your Inventory Records Election-Ready
Whichever method you choose, the discipline underneath is the same: every purchase needs a date and a unit cost, every sale needs to relieve the right layer, and your ending inventory must tie to your tax return to the dollar. That is routine double-entry bookkeeping — purchases into inventory, sales out through cost of goods sold — but it only works when the records are complete and consistent month after month. If you keep your books in plain text, the inventory and cost-flow guides walk through the postings layer by layer so your method election always has records behind it.
Keep Your Margins Honest From Day One
As you weigh FIFO against LIFO, remember that the method only allocates costs your books already captured — garbage purchase records produce confident-looking margins that lie either way. Beancount.io gives you plain-text accounting with complete transparency and control over your financial data, so every inventory layer ties out and every election is audit-ready. Get started for free and see why developers and finance professionals are switching to plain-text accounting.





