link arrow
Back

Advanced Cost Basis Methods Explained: FIFO, LIFO & HIFO for Crypto Investors

Updated on:
by
min read

Introduction

It’s true that numbers never liewhen it comes to crypto taxes. However, they can look a lot different dependingon which tax numbers you report. The reason? Because there are different costbasis methods for calculating your gains that the IRS allows; using the rightcost basis method can either significantly lower, or add to your tax liability.

Every single trade, sale, or swap ofcryptocurrency is considered a taxable event. However, what many investors donot realize is that if you acquired the crypto at different times and prices,you have some options with respect to how those assets are matched togetherwhen sold.

What options do I have?

The options come in the form ofFIFO, LIFO or HIFO crypto cost basis— which allow you flexibility indetermining which coins you are considered to have sold first, and how much taxyou owe on the gain.

This article will walk you throughthe different cost basis methods, demonstrating how each impacts your capitalgains and exploring which one might suit your crypto investment approach best.You'll also find real-world examples for each method and see how crypto taxsoftware, such as Kryptos.io, can make the whole process simpler and automateit for you.

Key Takeaways

FIFO LIFO HIFO crypto strategy is acost basis method that determine which of your crypto assets are deemed soldfirst.

- Your selected method has a directimpact on your capital gains and therefore tax liability.

- HIFO usually results in the lowesttax but requires intensive documentation and IRS-compliant identification.

- The IRS permits method switchingbut requires you to specifically identify your assets/conduct consistentdocumentation.

- Blockchain tax software likeKryptos.io can systematically calculate, develop lower tax liability, andcreate audit-proof documentation.

What is Cost Basis in Crypto?

Simply put, your cost basis is theprice you initially purchased your crypto, including transaction fees and otherexpenses. When selling/swap your crypto, your capital gain (or loss) iscalculated as follows:

How to Calculate Crypto Cost Basis?

Capital Gain = Sale Price - CostBasis

Example:

You purchased 1 ETH for $1200

You sell it later for $1300.

Capital Gain = $1300 - $1200 = $1,00

If you have purchased the samecrypto multiple times, but at different prices, the method you choose todetermine which coin is sold can make a big difference.

Why Cost Basis Methods Are Important

Let's imagine that you have multiplelots of Bitcoin, purchased at different times and prices. When you sell 1 BTC,how you determine which purchase is being sold, really directly impacts yourtax.

Let’s say you bought:

• 1 BTC in Feb 2021 for $20,000

• 1 BTC in April 2022 for $40,000

• 1 BTC in Sept 2023 for $30,000

Now you sell 1 BTC in March 2025 for$50,000. Here is how each method affects your gain:

   
Method   
   
Assumes Sold From   
   
Cost Basis   
   
Taxable Gain   
   
FIFO   
   
First   Bought (Feb 2021)   
   
$20,000   
   
$30,000   
   
LIFO   
   
Last   Bought (Sept 2023)   
   
$30,000   
   
$20,000   
   
HIFO   
   
Highest   Cost (Apr 2022)   
   
$40,000   
   
$10,000   

Now, did you see that - Same coin,same sale – Yet completely differenttaxes.

FIFO (First-In, First-Out)

How it Works:

FIFO presumes the first coins youpurchased are the first you sell. This method is IRS's default method (if youdo not request a different method).

Example:

Using our example with BTC, FIFOwould treat the Jan 2021 coin (cost basis of $20,000) as the sold first.

Capital Gain = $50,000 - $20,000 =$30,000

FIFO may yield higher gains, butoften qualifies for long-term capital gains rates, as long as you're sellingafter holding the coin for over a year.

Best for: Long-term investors whopurchased way back in the day and prefer tax simplicity.

Downsides: FIFO also could deliverhigher tax bills if your older coins were purchased for cheap.

LIFO (Last-In, First-Out)

How to Use:

LIFO assumes that the most recentcoins purchased are sold first. LIFO can benefit you in a falling market or ifyour most recent purchases were at a higher price when using Last-in First-out.

Example:

LIFO would sell the Aug 2023 coin(basis $30,000).

LIFO Crypto Capital Gains = $50,000 - $30,000 = $20,000

Best Used For: Traders who frequently buy and sell in volatile markets.

Downside: Gains generated may not qualify for long wins treatmentand pay higher short-term rates.

How HIFO Crypto Tax Strategy Works?

HIFO is the most tax efficiencymethod. It assumes that you sell the highest-cost coins first, which will bethe smallest possible capital gain.

Example:

HIFO crypto tax strategy would sellthe Mar 2022 coin (cost basis of $40,000).

HIFO Capital Gain = $5,000 - $4000 =$1,000

Ideal for: Investors focused onminimizing taxes, and active traders.

Cons: It has the most stringentidentification requirement and requires meticulous record keeping for IRScompliance.

FIFO vs LIFO vs HIFO: Side-by-Side

   
Method   
   
Cost Basis   
   
Gain   
   
Best For   
   
IRS Risk   
   
FIFO   
   
$20,000   
   
$30,000   
   
Simplicity,   Long-term holders   
   
Low   
   
LIFO   
   
$30,000   
   
$20,000   
   
Traders in   bear markets   
   
Moderate   
   
HIFO   
   
$40,000   
   
$10,000   
   
Tax-efficient   traders   
   
High   (requires strict recordkeeping)   

How to Choose Best Cost Basis Method Crypto?

The right method will depend on yourholding style, objectives, and level of activity. Ask yourself the questions:

• Am I holding myassets for long periods of time? → FIFO

• Do I buy/sell inbursts of short durations? → LIFO

• Am I trying tominimize taxes with all my power? → HIFO

Remember: Kryptos.io can simulatethe tax implications of all methods and you can select the one that works best— while providing IRS documentation.

Can You Change Methods?

Yes, the IRS allows change - butunder rigid conditions.

Here are some key things:

•           FIFOis the default unless a different method is specified.

•           LIFOand HIFO requires specific identification - you need to be able to track:

o          Dateof acquisition

o          Costper unit

o          Quantitysold

o          Wallet/addressids, if applicable;

•           Youare required to report all of these on Form 8949, by specifically matching upto the units sold.

Changing methods inconsistentlybetween exchanges or years without documentation places you at a higher auditrisk.

Common Mistakes Investors Make

1. Assuming your exchange handleseverything for you: Most exchanges assume you use FIFO unless you export thedata and reprocess it yourself.

2. Using different methods acrosswallets and not keeping track: This will cause discrepancies in your filings.

3. Not keeping good records: this isespecially true when using LIFO/HIFO as a lack of documentation can disallowyour claim.

4. Using multiple tax tools that do not use thesame method: Using one reliable platform like Kryptos.io will keep you usingthe same methodology.

Conclusion

Selecting the right cost basismethod isn’t just an accounting manipulation — it’s a legitimate tax strategy.Whether you are using the straightforward FIFO, the more tactical LIFO or themore aggressive HIFO, understanding the mechanics of each cost basis methodwill help you create the best tax strategy for your crypto trades.

Don’t get blindsided by bad trackingor IRS rules. With accurate tracking apps like Kryptos.io, you can eliminatethe guesswork — turning your information into smart, auditable numbersregardless of how complicated your portfolio gets.

Pro tip: Run your 2025 tradesthrough all three methods and look for the one that gives you a tax savings;you'll be surprised at how much money you might save and it could even bethousands.

StepFormPurposeAction
11099-DAReports digital asset sales or exchangesUse to fill out Form 8949.
2Form 1099-MISCReports miscellaneous crypto incomeUse to fill out Schedule 1 or C.
3Form 8949Details individual transactionsList each transaction here.
4Schedule DSummarizes capital gains/lossesTransfer totals from Form 8949.
5Schedule 1Reports miscellaneous incomeInclude miscellaneous income (if not self-employment).
6Schedule CReports self-employment incomeInclude self-employment income and expenses.
7Form W-2Reports wages (if paid in Bitcoin)Include wages in total income.
8Form 1040Primary tax returnSummarize all income, deductions, and tax owed.
DateEvent/Requirement
January 1, 2025Brokers begin tracking and reporting digital asset transactions.
February 2026Brokers issue Form 1099-DA for the 2025 tax year to taxpayers.
April 15, 2026Deadline for taxpayers to file their 2025 tax returns with IRS data.
Timeline EventDescription
Before January 1, 2025Taxpayers must identify wallets and accounts containing digital assets and document unused basis.
January 1, 2025Snapshot date for confirming remaining digital assets in wallets and accounts.
March 2025Brokers begin issuing Form 1099-DA, reflecting a wallet-specific basis.
Before Filing 2025 Tax ReturnsTaxpayers must finalize their Safe Harbor Allocation to ensure compliance and avoid penalties.
FeatureUse Case ScenarioTechnical  Details
Automated Monitoring of TransactionsAlice uses staking on Ethereum 2.0 and yield farming on Uniswap. Kryptos automates tracking of her staking rewards and LP tokens across platforms.Integrates with Ethereum and Uniswap APIs for real-time tracking and monitoring of transactions.
Comprehensive Data CollectionBob switches between liquidity pools and staking protocols. Kryptos aggregates all transactions, including historical data.Pulls and consolidates data from multiple sources and supports historical data imports.
Advanced Tax CategorizationCarol earns from staking Polkadot and yield farming on Aave. Kryptos categorizes her rewards as ordinary income and investment income.Uses jurisdiction-specific rules to categorize rewards and guarantee compliance with local tax regulations.
Dynamic FMV CalculationDave redeems LP tokens for Ethereum and stablecoins. Kryptos calculates the fair market value (FMV) at redemption and during sales.Updates FMV based on market data and accurately calculates capital gains for transactions.
Handling Complex DeFi TransactionsEve engages in multi-step DeFi transactions. Kryptos tracks value changes and tax implications throughout these processes.Manages multi-step transactions, including swaps and staking, for comprehensive tax reporting.
Real-Time Alerts and UpdatesFrank receives alerts on contemporary tax regulations affecting DeFi. Kryptos keeps him updated on relevant changes in tax laws.Observe regulatory updates and provide real-time alerts about changes in tax regulations.
Seamless Tax Reporting IntegrationGrace files taxes using TurboTax. Kryptos integrates with TurboTax to import staking and yield farming data easily.Direct integration with tax software like TurboTax for smooth data import and multi-jurisdictional reporting.
Investor TypeImpact of Crypto Tax Updates 2025
Retail InvestorsStandardized crypto reporting regulations make tax filing easier, but increased IRS visibility raises the risk of audits.
Traders & HFT UsersTo ensure crypto tax compliance, the IRS is increasing its scrutiny and requiring precise cost-basis calculations across several exchanges.
Defi & Staking ParticipantsThe regulations for reporting crypto transactions for staking rewards, lending, and governance tokens are unclear, and there is a lack of standardization for decentralized platforms.
NFT Creators & BuyersConfusion over crypto capital gains tax in 2025, including the taxation of NFT flips, royalties, and transactions across several blockchains.
Crypto Payments & BusinessesMerchants who take Bitcoin, USDC, and other digital assets must track crypto capital gains for each transaction, which increases crypto tax compliance requirements.
EventConsequencesPenalties
Reporting FailureThe tax authorities can mark uncontrolled revenues and further investigate. Penalty fines, interest on unpaid taxes and potential fraud fees if they are deliberately occurring.
Misreporting CGTMisreporting CGT Error reporting profits or losses can trigger the IRS audit.20% fine on under -ported zodiac signs, as well as tax and interest.
Using decentralized exchanges (DEXs) or mixers without recordsThe IRS can track anonymous transactions and demand documentation.Possible tax evasion fee and significant fine.
Disregarding Bitcoin mining tax liabilitiesMining reward is considered taxable income, and failure of the report can be regarded as tax fraud.Further tax obligations, punishment and potential legal steps.
Foreign crypto holdings: Non-disclosureForeign-accepted crypto FATCA may be subject to reporting rules.Heavy fines (up to $ 10,000 per fracture) or prosecution for intentional non-transport.
Table of Contents
Try Kryptos for FREE!
No credit card required
Free to use
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
user faces
Join 100,000 people instantly calculating their crypto taxes with Kryptos.