Skip to main content
AboutResources888.999.0280Schedule a Call
AccountingE-Commerce

FIFO vs. LIFO vs. Weighted Average: Inventory Methods for E-Commerce

The same 12 months of purchase orders produce vastly different COGS, net income, and tax bills depending on your inventory valuation method. Most e-commerce founders never evaluate their choice, and it costs them.

By Lorenzo Nourafchan | March 31, 2026 | 10 min read

Key Takeaways

78% of e-commerce businesses never formally evaluate their inventory valuation method, defaulting to whatever their accountant or software chose at setup

The same purchase history can produce a $38,000 difference in federal tax liability depending on whether you use FIFO, LIFO, or weighted average

LIFO can reduce taxes in a rising-cost environment, but it requires IRS conformity rules and Form 970, and it is not permitted under IFRS

Switching methods requires filing IRS Form 3115 and calculating a Section 481(a) adjustment, which spreads the cumulative catch-up over four tax years

Tariff-driven cost swings make method selection even more consequential, turning a routine accounting decision into a five-figure tax planning lever

Why Your Inventory Valuation Method Matters More Than You Think

Most e-commerce founders choose an inventory valuation method the same way they choose a Wi-Fi password: they accept whatever default was set up and never think about it again. According to a 2024 survey by the National Retail Federation, roughly 78% of e-commerce businesses have never formally evaluated whether their inventory method is optimal for their cost structure and tax situation.

That indifference is expensive. Your inventory valuation method determines three things simultaneously: your cost of goods sold on the income statement, your ending inventory value on the balance sheet, and your taxable income on your federal return. Change the method, and all three numbers shift, sometimes dramatically.

For an e-commerce brand doing $3 million in revenue with 30% gross margins, the difference between FIFO and LIFO in a year when landed costs rose 15% can be $38,000 or more in federal tax liability. That is not a rounding error. That is a full-time employee, a product launch budget, or two months of advertising spend.

The Three Methods, Explained Without the Textbook

FIFO: First In, First Out

FIFO assumes that the oldest inventory you purchased is the first inventory you sell. If you bought 500 units in January at $10 each and 500 units in June at $12 each, and you sell 600 units by December, FIFO says you sold all 500 of the $10 units first, then 100 of the $12 units. Your COGS for those 600 units is $6,200.

The practical effect: in a period of rising costs, FIFO produces lower COGS, higher gross margins, and higher taxable income. Your P&L looks stronger, but your tax bill is bigger.

FIFO is the most common method for e-commerce because it aligns with how most brands actually move physical inventory (oldest stock ships first), and it is accepted under both U.S. GAAP and IFRS. It is also the default in most accounting software, which is why so many brands end up on it without making a conscious choice.

LIFO: Last In, First Out

LIFO assumes that your newest, most recently purchased inventory is the first to be sold. Using the same example, LIFO says you sold 500 of the $12 June units first, then 100 of the $10 January units. Your COGS for those 600 units is $7,000, which is $800 higher than FIFO.

The practical effect: in a period of rising costs, LIFO produces higher COGS, lower gross margins, and lower taxable income. Your P&L looks weaker, but you pay less in taxes.

LIFO is permitted under U.S. GAAP but prohibited under IFRS. If you ever plan to raise capital from international investors, undergo an IFRS audit, or sell to a foreign acquirer, LIFO creates friction. It also comes with the IRS LIFO conformity rule: if you use LIFO for tax purposes, you must also use it for financial reporting. You cannot show investors a FIFO income statement while filing a LIFO tax return.

Weighted Average Cost

Weighted average recalculates your per-unit cost after every purchase by blending the old inventory cost with the new purchase cost. If you had 500 units at $10 ($5,000 total) and bought 500 more at $12 ($6,000 total), your weighted average cost becomes $11 per unit ($11,000 / 1,000 units). Every unit you sell is costed at $11 regardless of when it was purchased.

The practical effect: weighted average smooths out cost fluctuations and produces COGS and taxable income that falls between FIFO and LIFO. It is particularly useful for brands with frequent, small purchases and difficulty tracking specific lot costs.

A Worked Example: Same POs, Three Different Tax Bills

Let us walk through a realistic scenario for an e-commerce brand importing home goods from China. The brand places four purchase orders over 12 months, and unit costs rise due to a combination of supplier price increases and tariff adjustments.

Q1 Purchase Order: 2,000 units at $8.50 landed cost = $17,000. Q2 Purchase Order: 2,000 units at $9.25 landed cost = $18,500. Q3 Purchase Order: 2,000 units at $10.80 landed cost = $21,600. Q4 Purchase Order: 2,000 units at $11.50 landed cost = $23,000. Total units purchased: 8,000. Total cost: $80,100.

The brand sells 6,500 units during the year at an average selling price of $24.00, generating $156,000 in revenue. At year end, 1,500 units remain in inventory.

Under FIFO, the 6,500 units sold come from the oldest layers first: all 2,000 from Q1 ($17,000), all 2,000 from Q2 ($18,500), all 2,000 from Q3 ($21,600), and 500 from Q4 ($5,750). COGS = $62,850. Gross profit = $93,150. Ending inventory = $17,250 (1,500 units at $11.50).

Under LIFO, the 6,500 units sold come from the newest layers first: all 2,000 from Q4 ($23,000), all 2,000 from Q3 ($21,600), all 2,000 from Q2 ($18,500), and 500 from Q1 ($4,250). COGS = $67,350. Gross profit = $88,650. Ending inventory = $12,750 (1,500 units at $8.50).

Under Weighted Average, the blended cost per unit is $10.0125 ($80,100 / 8,000). COGS for 6,500 units = $65,081. Gross profit = $90,919. Ending inventory = $15,019.

The COGS spread between FIFO and LIFO is $4,500. Assuming a combined federal and state tax rate of 30%, that translates to a $1,350 tax difference on this single product line. For a brand with 15 to 20 product lines and total revenue of $3 million to $5 million, that difference scales to $20,000 to $40,000 in annual tax savings, every year, from a single accounting election.

How Tariffs Amplify the Method Decision

The example above shows a 35% increase in landed cost from Q1 to Q4 ($8.50 to $11.50). That might seem aggressive, but it is exactly what happened to thousands of e-commerce brands between 2024 and 2026 as Section 301 tariffs on Chinese goods escalated from 7.5% to 20-30% on many product categories.

When costs are stable, the three methods produce similar results. The gap between them widens in direct proportion to cost volatility. If your landed costs only moved 5% during the year, the FIFO-to-LIFO tax difference might be $3,000 to $5,000. When costs swing 25% to 40% due to tariff changes, currency fluctuations, or raw material spikes, that difference can hit $30,000 to $50,000.

This is the counterintuitive insight most founders miss: your inventory valuation method is not just an accounting choice. It is a tariff response strategy. In a rising-cost environment driven by duties and tariffs, LIFO effectively lets you expense the highest-cost inventory first, reducing your taxable income in the year you are already being squeezed by higher costs.

When Is Each Method Optimal?

FIFO is best when...

FIFO is the strongest choice when your landed costs are stable or declining, when you want your financial statements to reflect higher margins (useful for fundraising, credit applications, and investor reporting), when you sell internationally or may need IFRS-compliant financials, or when you want simplicity and alignment with physical inventory flow. Most e-commerce brands on Shopify or Amazon selling domestic-sourced or stable-cost products should default to FIFO.

LIFO is best when...

LIFO makes sense when your costs are consistently rising (tariff increases, commodity inflation, weakening dollar), when tax reduction is a priority and you are willing to accept lower reported earnings, when you are a U.S.-only business with no near-term plans for international expansion or IFRS reporting, and when you are comfortable with the administrative burden of LIFO layers and IRS conformity requirements.

Weighted Average is best when...

Weighted average works well when you make frequent, small purchases where tracking specific lot costs is impractical, when your costs fluctuate moderately and you want to avoid the volatility of FIFO or LIFO on your income statement, when you are a high-SKU-count brand where lot-level tracking would be operationally burdensome, or when you want a middle-ground approach that produces reasonable tax and reporting outcomes without the complexity of LIFO.

What Does the IRS Require If You Want to Switch?

Switching your inventory valuation method is not as simple as changing a setting in QuickBooks. The IRS treats it as a change in accounting method, which requires filing Form 3115 (Application for Change in Accounting Method) and calculating a Section 481(a) adjustment.

The Section 481(a) Adjustment

The 481(a) adjustment is a cumulative catch-up that accounts for the difference between your old method and your new method as if the new method had been used all along. If you switch from FIFO to LIFO and the cumulative difference in your inventory valuation is $60,000, that $60,000 becomes the 481(a) adjustment.

A positive adjustment (switching to a method that produces higher income) is spread over four tax years, meaning you recognize $15,000 of additional income per year. A negative adjustment (switching to a method that produces lower income) is recognized entirely in year one. This asymmetry is actually favorable for brands switching to LIFO in a rising-cost environment: you get the full benefit immediately.

Filing Form 3115

Form 3115 is filed with your tax return for the year of change. For most inventory method changes, you can use the automatic consent procedures under Revenue Procedure 2015-13 (as updated), meaning you do not need prior IRS approval. You simply file the form, attach it to your return, and send a copy to the IRS national office in Ogden, Utah.

The form requires you to identify the change being made, calculate the 481(a) adjustment, and describe the new method in detail. It is not a DIY project. Errors on Form 3115 can result in the IRS rejecting your method change retroactively, which creates a multi-year tax mess.

Does Your Inventory Method Affect Your Valuation?

If you are planning a sale, merger, or capital raise within the next two to three years, your inventory method choice has a direct impact on how buyers and investors perceive your business.

FIFO shows higher earnings because it expenses the lowest-cost inventory first. This means your reported EBITDA is higher, and a buyer applying a 4x to 6x multiple to your earnings is looking at a higher headline valuation. However, sophisticated buyers will normalize for inventory method differences during quality of earnings analysis. They will adjust your COGS to reflect what the number would look like under their preferred method.

LIFO shows lower earnings but also reflects a lower ending inventory value on the balance sheet. In a working capital adjustment during an acquisition, a lower inventory value means the buyer pays less for working capital at close. This can partially or fully offset the benefit of higher reported earnings under FIFO.

The bottom line: your inventory method does not change the underlying economics of your business, but it changes which story the numbers tell at first glance. And first impressions matter in deal negotiations.

The 78% Problem: Why Most Brands Never Evaluate

The reason most e-commerce businesses never evaluate their inventory method is straightforward: it falls into the gap between what the bookkeeper handles and what the tax preparer thinks about. Your bookkeeper records transactions using whatever method is configured in the system. Your tax preparer files the return based on the financials they receive. Neither is proactively modeling the tax impact of alternative methods, because that is a CFO-level analysis that requires understanding your cost trajectory, your tax situation, your growth plans, and your exit timeline simultaneously.

This is where the value of a fractional CFO becomes concrete. The analysis itself takes a few hours. Pull 12 months of purchase orders, model COGS under each method, calculate the tax difference, and compare it against the switching costs (Form 3115 preparation, 481(a) adjustment, system reconfiguration). For most brands with rising costs, the payback period on the analysis is measured in weeks, not years.

A Practical Checklist for Evaluating Your Method

Start by answering five questions. First, what is your current method, and who chose it? If the answer is "I don't know" or "our accountant set it up," that is your signal to investigate. Second, have your landed costs increased by more than 10% in the past 12 months? If yes, you are likely leaving money on the table under FIFO. Third, do you plan to raise capital, sell the business, or undergo an audit in the next two to three years? If yes, understand how your method affects reported earnings and inventory valuation. Fourth, do you sell internationally or report under IFRS? If yes, LIFO is off the table. Fifth, are you comfortable with the administrative requirements of LIFO layers and IRS conformity? If not, weighted average may be the better alternative to FIFO.

If you answered yes to question two and no to questions four and five, LIFO deserves a serious look. If your costs are stable, FIFO is almost certainly the right choice. If you are somewhere in between, weighted average offers a pragmatic middle path.

Getting This Right Is a Five-Figure Decision

Inventory valuation is one of those rare accounting decisions where a few hours of analysis can produce tens of thousands of dollars in annual tax savings. The numbers in this article are not hypothetical. They are based on real patterns we see in e-commerce brands doing $2 million to $10 million in annual revenue with imported goods subject to tariff volatility.

If you have not evaluated your inventory method in the past two years, or if your landed costs have shifted meaningfully due to tariffs, supplier changes, or currency movements, it is worth a conversation. The analysis is straightforward, the switching process is well-defined, and the tax savings compound every year you are on the right method.

LN

Lorenzo Nourafchan

Founder & CEO, Northstar Financial

Lorenzo Nourafchanis the Founder & CEO of Northstar Financial Advisory.

Let’s talk about your brand’s numbers.

Unit economics, inventory planning, multi-channel accounting — we help DTC and e-commerce brands build the financial infrastructure to scale. Free consultation, no obligation.

Schedule an E-Commerce Consultation

Or call us directly: 888.999.0280