Valuation and Cost Basis Methods — Crypto Accounting Hub

Crypto Cost Basis: What It Is and How to Calculate It

Written by Daniel R. Whitaker — Thursday, October 29, 2026
Crypto Cost Basis: What It Is and How to Calculate It

Crypto cost basis explained: what it includes, how to calculate it with common methods, and how to keep records that hold up to an audit.

Crypto cost basis is the total amount you paid to acquire a coin or token, including fees. It is the starting number for every gain, loss and tax line you will report later. Get it wrong at purchase and the error follows the asset through every trade, swap and spend.

This guide covers where the number comes from, how the common crypto cost basis methods work, and how to keep records that survive an audit.

What Counts in Your Crypto Cost Basis

Cost basis starts with the price you paid. It does not stop there. Anything you spend to complete the acquisition adds to the basis and lowers the taxable gain later.

For a straightforward buy on an exchange, the components are the trade price, the platform's trading fee, and any payment-processing or card fee. If you bought $2,000 of bitcoin and paid $30 in fees, your basis is $2,030. That $30 is not lost; it reduces the gain when you sell.

Where fees hide

Fees are the most common gap in small business crypto records. Watch for these:

  • Spread: the difference between the quoted price and the price you actually got filled at.
  • Deposit and withdrawal fees charged in fiat or in crypto.
  • Network or gas fees paid to move assets between wallets.
  • Card or payment-processor surcharges on instant buys.
  • Conversion fees when you buy one token with another instead of fiat.

A network fee paid to move coins between your own wallets is generally not part of the acquisition basis. It is usually treated as a separate cost tied to that transfer, and treatment varies by jurisdiction. Check the rule where you file before deciding how to record it.

Crypto Cost Basis Methods: FIFO, LIFO, HIFO and Specific ID

When you hold the same asset bought at different prices, you need a rule to decide which units you sold. That rule is your cost basis method. The choice changes the gain on each sale, sometimes by a lot.

Method How it works Effect on reported gain
FIFO Oldest units are sold first Simple to apply; can produce larger gains if early buys were cheap
LIFO Newest units are sold first Often lowers gain in a rising market; not accepted everywhere
HIFO Highest-cost units are sold first Usually the lowest gain; needs clean lot-level records
Specific identification You pick the exact units sold Flexible; requires documentation of which lot you chose

Numbers above are illustrative of the mechanics, not a recommendation. Which methods you may use, and whether you can switch between them, depends on your jurisdiction. In the United States, the IRS allows specific identification if you can identify the units and document the choice; FIFO applies by default. Verify current rules with the IRS or a qualified tax professional before adopting a method.

Pick one method and stay consistent

Record the method in your books before your first sale. Switching mid-year, or applying different methods to different wallets without a documented policy, creates reconciliation problems. If your accounting software supports lot tracking, set the method at the account level so every transaction follows it automatically.

How to Calculate Cost Basis for Crypto in Five Steps

The calculation itself is arithmetic. The work is in the record-keeping. A repeatable process looks like this:

  1. Capture the trade at the moment it happens: date, time, asset, quantity, unit price, total, and every fee.
  2. Convert to your reporting currency using a documented rate source and the rate for that timestamp.
  3. Add acquisition costs (fees, spreads, surcharges) to the purchase price to get total basis.
  4. Track basis per lot, not per wallet balance, so you can apply your method at sale.
  5. When you dispose of the asset, match the sold units to their lots and subtract basis from proceeds.

The formula for a single disposal is: gain or loss = proceeds − cost basis. Proceeds are what you received, net of selling fees. Basis is the original cost plus acquisition costs. If you received $3,000 of ether and your documented basis was $1,800, the gain is $1,200. Those figures are illustrative.

Special cases that break simple tracking

Three situations trip up most businesses. First, crypto-to-crypto trades: swapping one token for another is a disposal of the first asset in many jurisdictions, so you need its basis at that moment. Second, receiving crypto as payment for goods or services: the basis is the fair market value on the date of receipt, and that amount is also usually income. Third, staking and mining rewards: the reward is typically income at receipt value, and that value becomes the basis for the new units. Each of these needs a timestamped price record, so build the habit of saving a price snapshot with every transaction.

Valuation Questions That Change the Answer

Cost basis depends on price, and price depends on which source you use. A trade at 14:03 needs the rate at 14:03, not the daily close. Pick one reputable pricing source, apply it consistently, and note the source in your records. If an exchange statement disagrees with your calculation, the statement usually wins for that platform, but only if it includes fees. Many exports omit them.

Currency matters too. If you buy in one currency and report in another, the exchange rate at the time of purchase is part of the basis. Recalculating later with a different rate produces a different number for the same trade.

Records to Keep for Every Lot

Good records answer four questions for any unit you sell: when you got it, what you paid, what fees you added, and which method assigned it to the sale. Keep exchange statements, wallet transaction logs, bank or card records showing the fiat leg, and a pricing log. Store them with your books, not in a separate folder someone will forget. A bookkeeper reviewing the file should be able to rebuild your basis without asking you questions.

Ways to Avoid Cost Basis Mistakes

Most errors come from a handful of habits. Pull exchange exports monthly rather than annually, while the data is still complete and free of gaps. Reconcile wallet balances against your records each quarter. Require fee capture on every buy, including card surcharges and spreads. Document your cost basis method in writing and apply it to every disposal.

Before you file, check the disposal schedule against your wallet history for missing transfers, airdrops and reward income. Unrecorded receipts become unrecorded basis, and that inflates gains later. If your volume is small, a spreadsheet with columns for date, asset, quantity, unit price, fees, total basis and lot ID is enough. Above a few hundred transactions a year, lot-tracking software pays for itself in time saved.

One more habit: review your method choice with a tax professional in your jurisdiction before your first significant sale. The right method depends on your holdings and local rules, and changing it later is often restricted. This article is general information, not financial, legal or tax advice.

Related Articles