Average Cost Basis vs FIFO for Crypto: Choosing the Right Method for 2026 Taxes
The Friday Night Spreadsheet Panic
It's 11 PM on a Thursday. You've just imported two years of Coinbase and Kraken transactions into your crypto tax calculator. The dashboard flashes a number you didn't expect: a $42,000 capital gain for 2025. You scroll down and notice a dropdown you've never paid attention to before — Cost Basis Method. It's set to FIFO by default. You toggle it to Average Cost Basis. The gain drops to $26,500. Your stomach drops with it.
That $15,500 swing isn't a glitch. It's the difference between two legitimate accounting methods, and choosing the wrong one could cost you thousands in taxes — or trigger an audit you never saw coming.
This article walks you through exactly how Average Cost Basis and FIFO work, using one concrete Bitcoin portfolio example with real numbers. By the end, you'll have a clear checklist for picking the right method before you file your 2026 taxes.
Why Cost Basis Method Choice Matters More in 2026
The IRS has tightened its expectations around crypto cost basis reporting. Starting with tax year 2025 (filed in 2026), brokers must use FIFO by default unless you explicitly elect another method and maintain consistent records. For self-custodied wallets and DeFi transactions — which most crypto tax calculators handle — the responsibility falls entirely on you.
The Core Problem
Every time you sell, swap, or spend crypto, you trigger a taxable event. The gain or loss depends on what you originally paid for the coins you disposed of. But when you've bought the same asset at multiple price points over months or years, which purchase lot counts as the one you sold?
That's the entire question. And the answer changes your tax bill dramatically.
FIFO Explained Through One Concrete Portfolio
Let's set up an example we'll carry through the rest of this article. Assume you made the following Bitcoin purchases throughout 2024 and 2025:
- January 2024: 0.5 BTC at $42,000 = $21,000
- June 2024: 0.3 BTC at $58,000 = $17,400
- November 2024: 0.2 BTC at $91,000 = $18,200
Total holdings: 1.0 BTC. Total cost: $56,600.
Now, in March 2025, you sell 0.4 BTC at $84,000. Proceeds = $33,600.
How FIFO Calculates the Gain
FIFO stands for First-In, First-Out. The oldest coins you bought are treated as the first coins you sell. Here's how it plays out:
- You're selling 0.4 BTC. FIFO pulls from the January 2024 lot first (0.5 BTC at $42,000).
- Cost basis for the 0.4 BTC sold: 0.4 × $42,000 = $16,800
- Proceeds: $33,600
- Capital gain: $33,600 − $16,800 = $16,800
Because your earliest Bitcoin was the cheapest, FIFO maximizes your reported gain. That means a larger tax bill now — but your remaining lots carry higher cost bases, which could reduce future gains.
Average Cost Basis Explained Through the Same Example
Average Cost Basis (also called Average Cost) takes a different approach. Instead of matching specific purchase lots to sales, it pools all your acquisitions and divides total cost by total units held.
The Step-by-Step Calculation
- Total cost of all BTC: $21,000 + $17,400 + $18,200 = $56,600
- Total BTC held: 1.0 BTC
- Average cost per BTC: $56,600 ÷ 1.0 = $56,600 per BTC
- Cost basis for 0.4 BTC sold: 0.4 × $56,600 = $22,640
- Proceeds: $33,600
- Capital gain: $33,600 − $22,640 = $10,960
Under Average Cost Basis, your gain is $10,960 — compared to $16,800 under FIFO. That's a $5,840 difference on a single 0.4 BTC sale. If you're in the 24% federal tax bracket, that's roughly $1,400 in tax savings, before state taxes.
Step-by-Step: Switching Methods in Your Crypto Tax Calculator
Most crypto tax calculators — whether you're using Koinly, CoinTracker, TaxBit, or a similar platform — let you change the cost basis method with a few clicks. But the process isn't just about toggling a setting. Here's the checklist you should follow:
Step 1: Audit Your Transaction History First
Before changing any settings, export your full transaction history and verify that every purchase, sale, transfer, and staking reward is correctly categorized. Missing transactions distort both FIFO and Average Cost Basis calculations. Look specifically for:
- Internal transfers between your own wallets (these are not taxable, but calculators sometimes flag them as trades)
- Staking or mining rewards recorded at incorrect fair market values
- DEX swaps that imported without a clear fiat value
Step 2: Run Both Methods Side by Side
Most calculators let you duplicate your profile or generate a preview report. Run the numbers under FIFO first, then switch to Average Cost Basis and run them again. Note the total capital gain under each method, then calculate the tax difference at your marginal rate.
Step 3: Check Eligibility and Consistency Rules
This is where many taxpayers trip. The IRS allows Average Cost Basis for mutual funds and some securities, but its treatment for crypto remains a gray area. Some tax professionals argue that crypto qualifies as a "security" for this purpose; others disagree. Before you elect Average Cost Basis:
- Confirm your calculator supports Average Cost Basis specifically for crypto assets (some only offer it for stocks)
- Document your method election in writing — keep a dated record of your choice
- Once you choose a method for a specific asset, you must apply it consistently to all transactions involving that asset in that tax year
Step 4: Generate and Store Your Reports
Once you've locked in your method, generate the final capital gains report and save both a PDF and a CSV version. Store these alongside your transaction export. If the IRS questions your cost basis two years from now, you'll need to show exactly how you arrived at each number.
Which Method Wins for Different Trader Profiles
There's no universal winner. The right method depends on your trading pattern, the assets you hold, and your broader tax strategy. Here's how to think about it:
Choose FIFO If You:
- Bought crypto early at low prices and want to lock in long-term capital gains rates (assets held over 12 months qualify)
- Prefer the IRS-default method to minimize audit risk
- Plan to hold your remaining higher-cost lots for future years, potentially reducing gains when you eventually sell
- Trade primarily on U.S.-based centralized exchanges that already default to FIFO reporting
Choose Average Cost Basis If You:
- Made purchases at relatively similar price points (the averaging effect is minimal, so you gain little — skip the complexity)
- Have a wide spread between your cheapest and most expensive lots, and want to smooth out gains across all disposals
- Are comfortable documenting your method election and maintaining consistency
- Trade across multiple wallets and DEXs where specific lot identification is impractical
The HIFO Alternative Worth Mentioning
Many calculators also offer HIFO (Highest-In, First-Out). This method sells your most expensive coins first, minimizing current gains. In our example, HIFO would pull from the November 2024 lot ($91,000 per BTC), producing a cost basis of 0.4 × $91,000 = $36,400 — and a gain of just $33,600 − $36,400 = −$2,800 (a capital loss).
HIFO is aggressive but defensible if you can specifically identify lots. Some CPAs recommend it; others consider it audit bait. Treat it as a third option worth modeling, not a default.
Final Checklist Before You Lock In Your 2026 Filing
Run through this checklist before you finalize your cost basis method and submit your return:
- Transaction audit complete: Every buy, sell, swap, transfer, and reward is correctly imported and categorized
- Dual-method comparison run: You've generated reports under both FIFO and Average Cost Basis and noted the tax difference
- Marginal rate applied: You've multiplied the gain difference by your federal and state marginal tax rates to see real-dollar impact
- Eligibility confirmed: You've verified that your chosen method is supported by your calculator for crypto specifically
- Consistency documented: You've recorded your method election in writing and confirmed it applies uniformly across all transactions for the same asset
- Reports archived: Final capital gains report (PDF + CSV) and raw transaction export are stored in at least two locations
- CPA or tax pro consulted: If your total gains exceed $10,000 or you're switching methods from last year, you've had a professional review your election
The difference between FIFO and Average Cost Basis isn't academic. In our single 0.4 BTC sale example, it was $5,840 in reported gains — real money that either stays in your pocket or goes to the IRS. Your crypto tax calculator gives you the tools to model both scenarios in minutes. The responsibility to choose correctly, document thoroughly, and file consistently is entirely yours.
Run the numbers. Check the list. Then make the call.