Crypto Cost Basis: Methods and Calculations 2026
TokenTax content follows strict guidelines for editorial accuracy and integrity. We do not accept money from third party sites, so we can give you the most unbiased and accurate information possible.
Crypto cost basis is the starting point for calculating every gain or loss you report. If your basis is wrong, your tax totals can be wrong too.
Track what you paid, fees, transfers, and where each coin moved. Keep your own records as the source of truth so your crypto tax reporting makes sense at filing time.
Why trust our crypto tax experts
What is crypto cost basis?
Crypto cost basis is what you “have in” an asset for tax purposes. In most cases, it is the amount you paid to acquire the crypto, plus any fees you incurred.
When you later dispose of that crypto, you compare what you received (your proceeds) to your crypto cost basis. The difference is your gain or loss, and that amount is what appears on Form 8949 and Schedule D.
Cost basis rules for tax year 2026
For sales made through a broker on or after January 1, 2026, brokers must report the cost basis for covered digital assets, not just gross proceeds. A covered digital asset is one you acquired on or after January 1, 2026, and held continuously at the same broker.
That definition rules out almost everything you already owned. Assets you bought before 2026, assets you moved in from another platform, and assets you hold in self-custody are noncovered. Basis reporting for those is voluntary, and most brokers will not do it. If a broker uses the optional reporting methods for qualifying stablecoins or specified NFTs, it is not required to report basis on those either.
The table below explains what this means in practical terms.
Your asset | Broker reports basis? | Who calculates basis |
Bought on Exchange A in 2026, still on Exchange A | Yes | Broker, but check it |
Bought in 2021, sold on Exchange A in 2026 | No | You |
Bought on Exchange A, moved to Exchange B, sold on B | No | You |
Acquired through DeFi or a self-custody wallet | No | You |
The practical result is that your own records still drive most of what you report, and they will for years. A single line on your Form 1099-DA showing proceeds with no basis is the rule working as designed.
Cross-check every 1099-DA line against your own crypto cost basis records before you file. If you accept a blank basis field at face value, you report the full sale price as gain.
How to calculate cost basis for crypto
If you want to know how to calculate cost basis for crypto, you are usually answering one question: what did I pay for these units, all-in?
Use a simple checklist:
Purchase price in USD (or the USD value of what you gave up).
Trading fees charged by the exchange.
Acquisition fees that are part of buying the asset can increase basis. Fees paid to sell or swap usually reduce proceeds, and in a crypto-to-crypto swap, transaction costs are generally treated on the disposal side.
Quick example:
You buy $1,000 of BTC and pay a $20 fee.
Your crypto cost basis for that lot is $1,020.
If you acquired crypto as income (like rewards), your basis is typically the USD value you included as income at the time you received it. That same value becomes the starting point for future gains or losses.
How to calculate proceeds for crypto
Proceeds are what you receive when you dispose of your crypto. If you sold for USD, the proceeds are basically the cash you received, net of selling fees. If you swapped into another coin, proceeds are the USD value of what you received at the moment of the swap.
Simple checklist:
USD value at disposal time (sale, swap, or spend).
Less fees tied to the disposal.
Example:
You sell BTC for $2,000 and pay a $50 fee.
Your proceeds are $1,950.
How to calculate capital gains for crypto
Capital gain (or loss) is the difference between proceeds and basis.
Formula:
Gain or loss = proceeds minus cost basis.
Example using the numbers above:
Proceeds $1,950 minus basis $1,020 equals a $930 gain.
That is the core equation behind every cost basis crypto question you see online.
Why are there different cost basis methods for crypto?
Every time you buy, earn, swap, or move crypto, you create lots with their own dates and costs. When you later dispose of part of a position, you need a rule for which lots you treated as sold.
For US taxpayers, the IRS approach is simple: use specific identification if you can substantiate the exact units you sold, and if you cannot, you generally fall back to FIFO.
FIFO cost basis crypto accounting method
FIFO means first in, first out. You treat your oldest units as the first ones sold. Many taxpayers use FIFO because it is straightforward and it is easier to reconcile when records are incomplete.
Why people use FIFO
It is simple.
Many platforms default to it.
It is easier to explain in an audit.
Where FIFO can surprise you
In a rising market, older lots can be cheaper lots, which can mean larger gains.
HIFO lot ordering under specific identification
HIFO is a lot ordering strategy where you treat your highest-basis units as sold first. It only works as claimed if you can substantiate the lots you selected using specific identification records. If you cannot support specific identification, many taxpayers default to FIFO.
LIFO lot ordering under specific identification
LIFO is a lot ordering strategy where you treat your most recently acquired units as sold first. Like HIFO, it is best understood as an ordering rule under specific identification, and it depends on clean lot-level records.
Other cost basis methods you may see
Some tools and countries use other approaches. These still require rock-solid records, and some are more like tracking options than they are for tax filing for US taxpayers.
Specific lot identification (spec ID): You choose the exact lot you sold. This is the cleanest approach when your records support it.
Average cost basis (ACB): Uses your average purchase price. This can be helpful for portfolio tracking, but it is not how most US crypto reporting is presented lot-by-lot.
Lowest cost, first out (LCFO): The opposite of HIFO. It tends to increase gains, so it is usually used for planning scenarios, not for minimizing taxes.
Loss gain utilization (LGUT): An optimization approach some tools use to prioritize lots that help use losses and manage gains. It still depends on identifiable lots and consistent records.
FIFO vs. specific identification: what changes the tax result
FIFO is straightforward and common. Specific identification can change the result if you select different lots, including with an ordering rule like HIFO or LIFO. The main rule is supportability; if you cannot substantiate the lots you selected, your report can fail to reconcile in an audit.
Why is crypto cost basis important for my crypto taxes?
If your cost basis is missing, you can end up paying tax on the full sale amount (which is typically wrong). Your gain or loss is proceeds minus cost basis. Proceeds are generally what you received on the disposal, reduced by selling fees.
Missing cost basis can happen when you:
Transfer coins in from another exchange, and the receiving platform shows “unknown” basis.
Use multiple wallets and forget where a lot originated.
Trade stablecoins back and forth and lose track of fees.
What you can do if you don't know your crypto cost basis
First, do not panic. Missing basis is common, especially for older trades or transfers.
Start with the best sources you have:
Exchange exports (buys, sells, deposits, withdrawals, fees).
Wallet history from the chain, including transfer timestamps and amounts.
Bank records for fiat on-ramps and off-ramps.
Then rebuild:
Match deposits to earlier withdrawals where possible.
Recreate lots by date and amount.
Use historical pricing to estimate USD values when you truly cannot recover a record.
If you are missing large chunks, expect this to take real time. The reconstruction is tedious, and the mistakes are expensive.
What to do if you missed the Rev. Proc. 2024-28 safe harbor
Revenue Procedure 2024-28 provided taxpayers with a one-time, irrevocable option to allocate unused basis across wallets and accounts as of January 1, 2025, when universal basis tracking ended. Most of those windows have closed.
Check whether your window is actually closed
The specific unit allocation deadline runs to the earlier of the following two dates: the date and time of your first sale, disposition, or transfer of that asset type on or after January 1, 2025, or the due date of your 2025 return, including extensions.
That means the window closed for most people at their first trade in 2025. However, if you filed an extension and you have not sold, moved, or spent a particular asset type since the start of 2025, you may still have room on that asset. That means you'll have to check assets one by one, not all at once.
The global allocation method required a written rule in your books and records before January 1, 2025. If you never wrote one, that method is not available to you now.
What losing the safe harbor means for your taxes
Missing the safe harbor does not create a tax penalty on its own. What you lose is the safe harbor itself, meaning the presumption that your allocation was reasonable. You are back on the general rules in Reg. section 1.1012-1(j): substantiate the specific units you disposed of within the wallet or account where the disposal happened, or fall back to FIFO within that wallet.
The risk is not automatic. It shows up if the IRS examines a return and your allocation cannot be substantiated, which can result in additional tax, penalties, and interest.
What to do
Here's what you need to do in order to reconcile your books:
Inventory every wallet and account you held digital assets in as of January 1, 2025.
Rebuild a per-wallet snapshot of units held at that date, by asset.
Match transfers to their originating lots so basis follows the coin across platforms.
Document your method and the sources you used for every figure, including pricing sources and block explorer references.
Apply the same method consistently going forward.
The goal is a defensible position rather than a perfect one. Contemporaneous notes explaining how you rebuilt a lot are worth more than a clean spreadsheet with no provenance.
If large parts of your history are missing, our crypto reconciliation specialists do this work for VIP clients, including rebuilding pre-2025 lots and producing the records that support the position.
How do you calculate missing cost basis for crypto?
Here is a practical way to approach missing lots and get your missing cost basis:
Start with the disposal
Identify the date, the asset, and the number of units you sold or swapped.
Trace backwards
Look for earlier buys, swaps, or income receipts that could have created those units.
Separate transfers from trades
Transfers (from wallet to wallet or exchange to exchange) move a given lot. Trades close a lot.
Fill gaps carefully
If you must use historical pricing, note the source and the method, and apply it consistently.
If you cannot reconstruct a cost basis, you may be forced to take a conservative approach in which the basis is treated as zero. That can overstate tax, so it is usually the last resort.
Which exchanges show crypto cost basis?
Some exchanges display cost basis for assets you acquired on that platform. The moment you transfer in from elsewhere, the cost basis often becomes “unknown” unless you enter it manually.
If you transact on a single exchange, your cost basis will be apparent or easy to reconstruct. If you transact across exchanges or with DeFi, your basis won’t be immediately apparent based on a single platform’s records. Regardless, you should always maintain your own complete records of crypto transactions and refer to them as your source of truth.
Form 1099-DA and crypto cost basis
Form 1099-DA is the broker reporting form for digital asset transactions. For 2026 transactions, brokers report cost basis for covered digital assets, meaning ones you acquired on or after January 1, 2026 and held continuously at that broker. For everything else, basis reporting is voluntary and usually absent.
What that means for your return:
A 1099-DA can help you cross-check proceeds against your own records.
It might not fully solve cost basis, especially if you transferred assets in from somewhere else.
Use your own complete records as your source of truth, and do not rely on a single exchange or platform for accurate reporting if you’ve transacted in DeFi or across platforms.
How to track your cost basis
If you want fewer surprises, you need a workflow that matches how you actually use crypto. Here’s a solid approach:
Export from every exchange at least once a year, even if you think you only used one.
Keep wallet addresses in a notes file so you remember what is yours.
Label transfers so they are not mistaken for sales.
Track fees, including network fees that can impact basis and proceeds.
Get started with our crypto tax software
TokenTax's crypto tax software lets you quickly import your exchange and crypto wallet history, reconcile transfers, and generate lot-based reports for filing. Our platform serves as your crypto cost basis calculator.
And if you have questions or need additional help, our crypto tax professionals are available.
Crypto cost basis FAQs
How does the IRS know your cost basis?
Are fees included in your cost basis?
Do exchanges show cost basis?
How do I calculate cost basis for crypto?
What is the basis for cryptocurrency?
What is cost basis in crypto?
What is the best cost basis method for crypto tax?
To stay up to date on the latest, follow TokenTax on Twitter @tokentax.