You and a competitor buy the exact same 200 units, sell the exact same 120, and charge the exact same price. At year end your tax bill is hundreds of dollars higher than theirs. Nothing about your business was different except one election in your books: which units you pretend you sold first.
That is what an inventory valuation method decides. It does not change what sits on your shelves. It changes which purchase price flows into cost of goods sold (COGS) and which stays behind in ending inventory — and through COGS it changes your gross profit, your taxable income, and the inventory number a lender reads on your balance sheet. For a small product business, this is one of the few accounting choices that moves real money in every direction at once.
What a Cost Flow Assumption Actually Is
Here is the confusion to clear up first: your valuation method is a cost flow assumption, not a description of which boxes left the warehouse first. The IRS lets you assume a flow that differs from physical movement, as long as you apply it consistently.
Say you bought 100 units at $10 in January and 100 more at $12 in June, then sold 120 units during the year. Which purchase price did those 120 sales "cost" you? There is no physical answer — the units are identical. Your method supplies the answer:
- FIFO (first in, first out) assumes you sold the oldest units first.
- LIFO (last in, first out) assumes you sold the newest units first.
- Weighted average cost blends every purchase into one average price and applies it to all units.
A fourth method, specific identification, tracks the actual cost of each individual item. It is the right answer for unique, high-value goods — a used-car lot, a jeweler, a gallery — but it is overkill for anyone selling interchangeable units, so the rest of this guide focuses on the big three.
FIFO: Sell the Old Costs First
Under FIFO, the first 120 units sold come from the January layer: 100 units at $10 plus 20 units at $12. COGS is $1,240, and the 80 units left on the shelf are valued at the recent $12 price, for ending inventory of $960.
FIFO has three properties worth memorizing:
In rising prices, FIFO reports the highest profit — and the highest tax bill. Old, cheap costs flow into COGS while expensive recent costs sit in inventory. Your gross margin looks great, which lenders and buyers like, but you pay tax on profit that partly reflects inflation rather than business performance. Accountants call this phantom profit: the "extra" margin exists only because replacement stock now costs more than the stock you sold.
Ending inventory stays close to current replacement cost. Because the balance sheet holds your most recent purchase prices, FIFO inventory is the most realistic of the three during inflation. Anyone reading your books sees roughly what restocking would cost today.
It matches physical reality for perishables. If you sell food, cosmetics with expiry dates, or anything with a shelf life, you rotate stock oldest-first anyway. FIFO aligns your books with your warehouse, which makes audits and spoilage tracking simpler.
FIFO is the default choice for most small businesses, and it is accepted everywhere — under U.S. GAAP and under international standards. If you ever plan to raise money from investors who report under IFRS, note that LIFO is not permitted there at all, so starting on FIFO avoids a painful conversion later.
LIFO: Sell the New Costs First
Under LIFO, those same 120 sales come from the newest layer first: 100 units at $12 plus 20 units at $10. COGS is $1,400 — $160 higher than FIFO — and ending inventory drops to $800, valued at the old $10 price.
That $160 is the whole pitch for LIFO. In a rising-cost environment:
LIFO reports the lowest taxable income. Fresh, expensive costs flow into COGS immediately, shrinking gross profit and the tax on it. For a business with significant inventory and steadily rising supplier prices, the annual tax saving is real money kept in the business.
But it comes with strings attached. Three of them:
-
The LIFO conformity rule. If you use LIFO on your tax return, you generally must use LIFO on your financial statements too. You cannot show lenders rosy FIFO profits while paying tax on lean LIFO profits. Your books will look less profitable, which can matter when you apply for a loan or a line of credit.
-
Ending inventory goes stale. After years of rising prices, a LIFO balance sheet can carry inventory at costs from a decade ago — a number that understates what your stock is actually worth and can confuse anyone valuing your business.
-
LIFO liquidation can ambush you. If your inventory quantity ever dips — a supply disruption, a deliberate drawdown, a great sales quarter — you start "selling" those ancient cheap layers. COGS collapses, profit spikes, and you owe tax on a windfall that reflects old inflation, not current success. Businesses that adopt LIFO need to watch inventory levels, not just margins.
There is also paperwork: electing LIFO for tax generally means filing Form 970 with your return, and once you are on LIFO you need IRS permission to leave it. Terminating LIFO is a formal accounting method change, and you generally cannot re-elect it for five years without consent. Treat LIFO as a marriage, not a trial subscription.
Weighted Average Cost: Blend It All Together
Weighted average cost skips the layering entirely. Add up everything you spent — 100 units at $10 plus 100 at $12 is $2,200 — divide by 200 units, and every unit costs $11. COGS on 120 sales is $1,320, ending inventory is $880. Right between FIFO and LIFO, as it always is.
Businesses choose average cost for two reasons:
It smooths out price volatility. If your supplier prices bounce up and down through the year, FIFO and LIFO both produce lumpy margins that swing with purchase timing. Average cost gives you a steadier gross margin that reflects the year's overall cost level, which makes pricing decisions and trend-spotting easier.
It is the simplest method to operate. No layers to track, no conformity rule, no liquidation trap. Most small-business accounting software computes a moving average automatically with each purchase — this is often called the perpetual or moving average method — while a periodic average recomputed at month end works fine for businesses that count inventory monthly. Either way the bookkeeping burden is the lowest of the three.
The trade-off is precision in either direction: average cost never gives you FIFO's current-valued balance sheet or LIFO's maximum tax deferral. It also still requires consistent application — you cannot switch between periodic and perpetual averaging mid-year to chase a better number.
The Same Numbers, Side by Side
Pulling the example together — 100 units at $10, 100 at $12, 120 sold at $20 each for $2,400 of revenue:
| FIFO | Weighted average | LIFO | |
|---|---|---|---|
| COGS | $1,240 | $1,320 | $1,400 |
| Ending inventory | $960 | $880 | $800 |
| Gross profit | $1,160 | $1,080 | $1,000 |
Same purchases, same sales, same cash in the register — and a $160 spread in reported profit. At a 22 percent marginal tax rate, the LIFO business keeps about $35 more of this batch than the FIFO business. Scale that across a full year of rising supplier costs and the method choice can be worth thousands.
Now flip the scenario: if your costs are falling — say a component shortage eases and prices drop — every effect reverses. FIFO produces higher COGS and lower taxes, LIFO produces phantom profit of its own. Before electing a method for its tax effect, ask which direction your input costs usually move. Most physical goods inflate over time, which is why the rising-price case gets all the attention, but tech resellers and anyone riding a deflating supply curve should run the numbers both ways.
How to Choose: A Decision Framework
Forget searching for the universally "best" method. Answer these questions in order:
Do you sell unique, high-value items you can track individually? A piano dealer, an art gallery, a custom jeweler — use specific identification and stop reading. Nothing else reflects your economics.
Do your goods expire or go obsolete? Food, supplements, cosmetics, fast-fashion basics — FIFO keeps your books aligned with the stock rotation you already do, and it keeps stale costs off your balance sheet.
Are your input costs steadily rising and is cash flow tight? A hardware distributor, an auto-parts seller, a building-supply yard — LIFO's tax deferral may be worth the uglier financial statements, especially if you are not borrowing against your books right now. Talk to your CPA before electing; the conformity rule and the five-year lock-in make this a one-way door worth thinking through.
Do your costs swing both directions, or do you just want books you can maintain yourself? Weighted average cost is the pragmatic default for everyone else — Etsy-scale makers, small wholesalers, subscription-box sellers. It is accepted under every standard, every software package supports it, and your margins stay readable.
Will you ever need IFRS financials or outside investors? Choose FIFO or average cost now. LIFO does not exist under international standards, and converting later means restating years of inventory history.
One more consideration: lenders read inventory. If you plan to borrow against stock or sell the business within a few years, FIFO's realistic balance sheet can be worth more than LIFO's annual tax saving. Run both effects past your CPA with your actual numbers before you commit.
The Small-Business Shortcut You Should Know About
If your average annual gross receipts for the prior three years are at or under the inflation-adjusted threshold — $30 million for recent years, indexed annually — Section 471(c) of the tax code offers simplified options. Qualifying small businesses may treat inventory as non-incidental materials and supplies, deducting costs when items are used or consumed, or simply conform their tax treatment to the method used in their books and records.
This is genuine simplification, not a free pass. You still need a consistent method, you still need to count what you have, and exceeding the threshold sends you back to full inventory accounting. But if you are a small seller drowning in LIFO-layer spreadsheets, ask your CPA whether the small-business method fits — it exists precisely so a five-person shop does not need enterprise inventory accounting.
Five Mistakes That Cost Real Money
Switching methods without permission. Your inventory method is an accounting method in the IRS's eyes. Changing it — FIFO to average cost, LIFO to anything — generally requires filing Form 3115, Application for Change in Accounting Method, and booking a Section 481(a) adjustment that catches up the cumulative difference in the change year. Filing the form late or skipping it can invalidate the change and trigger penalties.
Running two methods at once. Using LIFO on the tax return while showing FIFO numbers to your bank violates the conformity rule. Using FIFO in your software but letting your CPA file on average cost creates a reconciliation gap that grows every year. Pick one method and run it everywhere.
Forgetting lower of cost or market. Whatever method you choose, GAAP expects inventory carried at cost to be written down when its market value drops below cost — obsolete SKUs, damaged goods, dead stock. A warehouse of unsellable units at full cost overstates both assets and profit, and no valuation method fixes it. Write dead stock down and move on.
Misclassifying freight and labor. Inbound freight that gets goods to your shelf generally belongs in inventory cost, not shipping expense — a frequent error that understates COGS and overstates profit. Similarly, direct production labor belongs in inventory for makers, not in payroll expense. Your valuation method only works on costs that actually reach inventory.
Letting LIFO layers liquidate by accident. If you are on LIFO, a year-end inventory dip below your opening levels burns through old layers and creates taxable phantom income. Monitor quantities before year end, and if a dip is unavoidable, at least forecast the tax hit so it does not arrive as a surprise in April.
Keep Your Inventory Records Audit-Ready
Your valuation method is only as good as the records behind it. Whatever you choose, keep purchase invoices with dates and unit costs, document your counting procedure at each physical count, and reconcile book inventory to counted inventory every period — the write-down for shrinkage and damage is part of COGS, not an afterthought. A clean paper trail turns an IRS inventory question from a crisis into a ten-minute answer.
If you keep your books as plain text, inventory layers map naturally onto separate sub-accounts per purchase lot, and your version history becomes the audit trail no spreadsheet can match. The Beancount documentation walks through the mechanics of lot tracking and cost basis from first principles.
Simplify Your Financial Management
Choosing FIFO, LIFO, or average cost is really choosing what story your books tell about every unit you sell — get the method right and your margins, taxes, and inventory records all line up. Beancount.io provides plain-text accounting that gives you complete transparency and control over your financial data, with every lot and layer visible in version-controlled, AI-ready text instead of hidden in a black box. Get started for free and see why developers and finance professionals are switching to plain-text accounting.





