How To Determine Crypto Cost Basis In The USA?

Written By

Picture of Ankush Kumar

Ankush Kumar

Crypto Tax & Accounting Analyst

Share Article

Share this Article

streamline-sharp_star-badge-solid.svg
Our Blog Standards:

Our content simplifies complex crypto tax, accounting, and Web3 topics into practical, easy-to-follow guides. We prioritise clarity and accuracy, and every post undergoes rigorous editorial and compliance checks.

Contents

Crypto comes with a problem most investors don’t think about until filing their tax reports: knowing exactly what they paid for their crypto. This is also called the cost basis. If you get your cost basis wrong, you could pay more tax than necessary, or underpay and face a 20% accuracy-related penalty on the resulting tax shortfall, plus interest.

So, how do you determine the right cost basis when your crypto is spread across multiple exchanges and wallets?

In this guide, we’ll cover what crypto cost basis is, why it matters, the different cost basis methods, common mistakes to avoid, the new IRS per-wallet cost basis rule, and what to do if you no longer have your transaction records.

Key Takeaways

  • Crypto cost basis equals purchase price plus fees used to acquire assets.
  • Accurate basis calculation determines true profit, tax owed, and audit protection.
  • IRS supports FIFO and Spec ID methods impacting taxable capital gains.
  • Basis varies by transaction type: fiat buys, swaps, rewards, gifts, transfers.

What Is Crypto Cost Basis?

Crypto cost basis refers to the total amount you paid to acquire a cryptocurrency. This figure matters because it determines how much profit or loss you report when you sell, trade, or spend that asset.

For crypto purchased with cash, the IRS says your basis includes:

  • Amount paid for the crypto
  • Digital asset transaction costs paid to acquire it, including:
  • Transaction fees
  • Gas fees
  • Transfer taxes
  • Commissions

So, the cost basis of a crypto is:

Cost Basis = Cash Paid for Crypto + Allocable Acquisition Transaction Costs

Note: The IRS states that the fees paid to simply transfer crypto between your own wallets or accounts are not digital asset transaction costs and therefore aren’t added to the asset’s basis.

Why Does Crypto Cost Basis Matter?

The IRS uses your cost basis to determine the gain or loss when you dispose of crypto. A higher cost basis = lower gain, while a lower cost basis = higher gain. 

If your recorded cost basis is inaccurate, even by a small margin, your tax calculation will be wrong, which can affect how much you pay or how much IRS scrutiny you attract. When your reported profits don’t match your actual cost basis, the IRS may issue a CP2000 notice for underreported income.

So, crypto cost basis helps you to:

  • Calculate the correct tax amount on crypto disposals
  • Prove your profit or loss during an audit
  • Track your investment performance over time

When Cost Basis Matters Most?

Crypto cost basis matters when:

  • Selling crypto for cash
  • Swapping one coin for another
  • Spending crypto on goods or services
  • Gifting or donating crypto
  • Receiving forked or airdropped assets and later selling them
  • Getting your cost basis right protects you from penalties and ensures you report your gains correctly.

What Are the Different Crypto Cost Basis Methods?

There are different ways to acquire crypto, and each one affects how you calculate your cost basis. Here’s how it works for common transaction types.

Buying Crypto with Fiat

When you buy crypto using dollars or any fiat currency, your cost basis is the total amount you spent, including any fees. This is the most straightforward way to determine your starting value.

Formula:

Cost Basis = Purchase Price + Transaction Fees 

Example:

Emma buys $800 worth of BTC and pays a $20 fee. Her cost basis is ($800+$20) $820.

Crypto-to-Crypto Trades

When you trade one crypto for another, the cost basis of the new crypto is based on the fair market value of what you gave up at the time of the trade. This value also becomes your proceeds for the disposed asset.

Formula:

Cost Basis of New Crypto = Fair Market Value of Crypto Given Up + Trade Fees 

Example:

Jack trades $1,500 worth of BTC for ETH. He pays a $25 fee. His cost basis in ETH is ($1,500+$25) $1,525. 

Airdrops, Staking, and Mining Rewards

If you receive crypto through an airdrop, staking reward, or mining, the cost basis is the fair market value of the tokens at the time you received them. This value is also counted as income.

Formula:

Cost Basis = Fair Market Value at Time of Receipt 

Example:

Brian earns 50 ADA through staking, worth $75 at the time. His cost basis is $75. 

Crypto Gifts

For gifted crypto, the cost basis depends on the giver’s original purchase price and the asset’s value at the time of the gift. In most cases, you inherit the giver’s cost basis if the value has appreciated.

Formula:

Cost Basis = Giver’s Original Cost Basis (if value increased) 

Example:

Lena receives 0.5 ETH as a gift. The giver originally paid $600. That $600 becomes Lena’s cost basis. 

Wallet Transfers

If you transfer crypto between wallets you own, your cost basis remains the same. The original acquisition cost moves along with the coins to the new wallet.

Formula:

Cost Basis = Original Purchase Price (no change due to transfer) 

Example:

Tom buys 1 BTC for $10,000 in Wallet A and transfers it to Wallet B. The cost basis stays $10,000. 

Which Cost Basis Methods Are Approved By the IRS?

When you buy crypto at different prices over time, the IRS requires you to choose a cost basis method to determine which coins you are considered to be selling. Your method directly affects your capital gains, how much tax you owe, and how your reports match IRS expectations.

IRS-Approved Cost Basis Methods

Below is a structured comparison to help you pick the method that fits your trading style:

Method

Description

When to Use

Tax Impact

FIFO (First-In, First-Out)

The oldest units you acquired are treated as the units you sold first. You don’t choose which units are disposed of.

When you want to use the IRS default method

Can result in higher gains when older units have a lower cost basis

Specific Identification (Spec ID)

You choose the exact units you are disposing of instead of automatically using your oldest units. This lets you select lots based on their acquisition date, time, and cost basis. Under Specific Identification, you must meet the IRS identification requirements for the units disposed of. If you don’t adequately identify them, the applicable default method applies.

When you maintain detailed records and want control over which units are treated as sold

Can reduce gains by selecting higher-cost-basis units, where permitted

How to Track Your Crypto Cost Basis?

The safest approach is to maintain a complete record for each crypto tax lot, including:

  • Date and time acquired
  • Number of units acquired
  • Amount paid in USD
  • Qualifying acquisition transaction costs
  • Wallet or exchange where acquired
  • Date and units disposed of
  • Cost basis of the specific units disposed of
  • Transaction ID/hash where available

Then reconcile transactions across every exchange and wallet. In particular, identify transfers between accounts you own so they aren’t mistakenly treated as new purchases or taxable disposals.

For investors using multiple platforms, crypto tax software like KoinX can automate much of this process by importing transaction histories, matching transfers, calculating lot-level basis, and applying the applicable cost-basis method.

How Form 1099-DA Changes Cost-Basis Tracking

Form 1099-DA does not replace your cost-basis records. Starting with transactions on or after January 1, 2025, brokers must report gross proceeds for certain digital asset dispositions. For transactions on or after January 1, 2026, brokers must also report the basis for certain covered digital assets.

The important distinction is:

  • 2025 transactions: Your 1099-DA generally reports gross proceeds, but most forms do not include basis. You must calculate your basis yourself.
  • 2026 onward: Brokers must report basis for covered digital assets. A covered asset generally must have been acquired after 2025 through the broker’s custodial account and remained in that account until disposition.
  • Transferred-in crypto: Crypto you transfer into a broker may be treated as noncovered, meaning the broker generally isn’t required to report its basis even when you later sell it.
  • Foreign brokers and DeFi: You may not receive a 1099-DA from foreign brokers or DeFi platforms, but you still have to report taxable transactions.
  • Your tax return still controls: Even if a 1099-DA shows a basis, or shows no basis, you remain responsible for determining and reporting the correct gain or loss.

Important note: 

Don’t treat your 1099-DA as your complete crypto tax record. Use it as a broker-reported data point, and reconcile it against your own transaction history and cost-basis records before filing.

What Mistakes Should You Avoid When Calculating Crypto Cost Basis?

Mistakes in crypto cost basis calculations are common, especially when transactions span multiple exchanges and wallets. But even a small error can change your reported gain or loss and, ultimately, your tax liability. Here are the key mistakes to avoid:

  1. Not including gas fees in the purchase cost: Gas fees and transaction charges are part of your acquisition cost, and leaving them out lowers your cost basis and inflates your taxable gains.
  2. Using mixed wallets but applying one cost basis method: If you buy and sell across multiple wallets or exchanges, applying a single method without syncing data often produces wrong gain calculations.
  3. Ignoring gifted crypto basis rules: You generally use the donor’s adjusted basis (their original cost after applicable tax adjustments), not the crypto’s value when you receive it. If the crypto’s FMV (fair market value) on the gift date is lower than the donor’s adjusted basis, special rules determine which basis applies when you later sell it.
  4. Losing historical data from delisted exchanges: When exchanges shut down or delist coins, traders often lose old transaction records, and this missing data causes inaccurate or incomplete cost basis calculations.

Prevent these crypto cost basis errors by using KoinX’s seamless auto-sync tracking. Get started with KoinX today.

What Is the Per-Wallet Cost Basis Tracking Rule?

Starting in the 2025 tax year, the IRS requires crypto investors to track cost basis per wallet or per account, rather than across their entire portfolio. This means each exchange, wallet, or platform must maintain its own independent cost basis. When you sell from a specific wallet, only that wallet’s purchase history can be used to calculate gains or losses.

Example:

Mike buys BTC on two different platforms:

Coinbase: 1 BTC at $22,000

Kraken: 1 BTC at $27,000

Months later, Mike sells 1 BTC from Kraken. Under the new IRS per-wallet rule, his cost basis is $27,000 because only Kraken’s records apply to that sale. The cheaper Coinbase purchase cannot be used to lower his taxable gain.

How to Determine Cost Basis If You Don’t Have Records?

If you’ve lost track of your crypto purchase details, you may still be able to rebuild your cost basis using blockchain data and historical price charts. Many tax tools and explorers can show the market price of a coin on the exact date it was acquired, allowing you to make a reasonable estimate.

However, if you cannot determine the acquisition date or price at all, the IRS may expect you to assign a $0 cost basis.

Warning: If you can’t prove your cost basis, the IRS assumes it’s $0, meaning 100% of your proceeds are taxable.

How KoinX Helps You Track and Calculate Your Crypto Cost Basis

Tracking your cost basis gets difficult when you trade across multiple wallets, exchanges, or blockchains. Manual tracking can lead to errors, missed gains, or even tax notices from the IRS. That’s where KoinX becomes the smarter way to manage everything in one place.

  • 800+ integrations: Import transactions from exchanges, wallets, and blockchains through API, CSV, or wallet addresses.
  • Automatic transaction classification: KoinX identifies buys, sells, swaps, staking, airdrops, mining, NFTs, and transfers, reducing manual categorization.
  • Multiple cost-basis methods: Supports FIFO, LIFO, HIFO, and Specific Identification, giving you the accounting methods available for U.S. tax calculations.
  • Accurate transfer tracking: Detects transfers between your own wallets and exchanges, helping prevent duplicate transactions and maintain the correct cost basis.
  • IRS-ready reports: Generates reports including Form 8949 and Schedule D summaries for U.S. tax reporting.
  • Secure recordkeeping: KoinX says it uses enterprise-grade encryption and holds ISO 27001:2022 and SOC 2 Type II certifications

Thousands of US crypto investors rely on KoinX to track their cost basis, reduce errors, and file their taxes with confidence. You can, too, join KoinX today and start simplifying your reporting.

Final Takeaway

Your crypto tax bill is only as accurate as the cost basis behind it. A missing transaction, incorrect tax lot, or fee classified the wrong way can change your reported gain or loss.

To get your cost basis right:

  • Keep complete transaction records across every exchange and wallet.
  • Separate taxable disposals from transfers between wallets you own.
  • Include qualifying acquisition costs in your basis, but don’t automatically add transfer fees.
  • Use the correct cost-basis method and follow the IRS identification requirements.
  • Reconstruct missing historical data before calculating your gains and losses.
  • Review your cost basis before filing, especially when transactions span multiple platforms.

If tracking hundreds of transactions manually is becoming difficult, KoinX can import your transaction history, track transfers, calculate gains and losses, and generate U.S. tax reports. Start tracking your crypto taxes with KoinX.

Frequently Asked Questions

Can You Switch Cost Basis Methods Every Year?

Yes, you can switch cost basis methods each tax year, but doing it without precise records can create mismatches and IRS issues. The IRS expects consistency, so choosing the wrong tax lot twice can trigger errors. Use a tax professional and reliable software if you plan to change methods.

Does Cost Basis Change After a Hard Fork?

When a hard fork occurs, the cost basis for the newly received tokens is typically the fair market value at the time you gained control over them. If there was no immediate market value, it might be considered zero until one becomes available. Always consult a tax expert for unusual situations like forks or chain splits.

Can Cost Basis Be Negative in Crypto Taxes?

No, your cost basis can never be negative. At minimum, it’s zero if no acquisition value is known. If you sell or dispose of an asset with no records or cost data, your entire proceeds may be treated as a gain, but the cost basis itself will always start at zero or above—not below.

Are Gas Fees Always Included in Cost Basis?

Gas fees can be included in your cost basis if they are directly related to acquiring or disposing of an asset. However, gas fees for unrelated transactions like transferring tokens between wallets may not count. It’s essential to distinguish which fees relate to taxable events and which are simply operational costs.

What If I Receive Crypto as Part of a Promotion?

If you receive crypto as part of a promotion or referral bonus, it is treated as ordinary income based on its fair market value at the time you received it. That value also becomes your cost basis for any future sale or trade. Always record the value on the date you receive the reward.

Do Crypto Exchanges Show Cost Basis?

Most major exchanges like Coinbase, Kraken, Binance US, and Gemini show a cost basis for assets bought on their platforms. But transfers and DeFi platforms don’t track cost basis, so you must maintain records or use crypto tax software to calculate it accurately.

Turn Your Crypto Trades Into a Filing-Ready Report