Cost Basis
Published Last updated
Key Takeaway
Cost basis is the total original amount you paid to acquire a cryptocurrency position, including purchase price and any transaction fees, used to calculate profit or loss.
Learn These First
What Is Cost Basis?
Cost basis is the total original amount you paid to acquire a cryptocurrency position, including purchase price and any transaction fees, used to calculate profit or loss.
How Cost Basis Works
Frequently Asked Questions
What is cost basis in cryptocurrency?
Cost basis in cryptocurrency is the total original amount you paid to acquire an asset, including the purchase price and any fees. It is the reference number used to calculate your profit or loss when you sell. If you bought Ethereum for 2,000 USDT and paid a 2 USDT fee, your cost basis is 2,002 USDT. If you later sell that Ethereum for 3,000 USDT, your realized gain is 3,000 minus 2,002, equalling 998 USDT. Cost basis is also required for tax reporting in most countries, where capital gains are calculated as sale proceeds minus original cost basis.
How is cost basis calculated when I buy the same crypto multiple times?
When you purchase the same cryptocurrency at multiple different prices — as happens with dollar-cost averaging — your cost basis becomes a weighted average of all purchases. To calculate it, divide the total amount spent across all purchases by the total quantity acquired. For example, buying 1 ETH at 2,000 USDT and then 1 ETH at 3,000 USDT gives a total spend of 5,000 USDT for 2 ETH — an average cost basis of 2,500 USDT per ETH. Each new purchase recalculates the average. Portfolio trackers and crypto tax tools perform this calculation automatically when transaction data is entered correctly.
Why does cost basis matter for crypto taxes?
Cost basis is the legal foundation for calculating capital gains tax on cryptocurrency in most jurisdictions. When you sell crypto, the taxable gain or loss is the sale proceeds minus your cost basis. Without an accurate cost basis, you cannot correctly calculate what you owe — and tax authorities in many countries now require detailed transaction records. Overstating cost basis reduces reported gains, which creates legal risk. Understating it means paying more tax than necessary. Maintaining accurate purchase records from your first transaction makes tax reporting straightforward. Crypto tax tools like Koinly or CoinTracker automate these calculations when exchange data is connected.
Common Misconceptions About Cost Basis
The current value of your holdings is the same as your cost basis.
Current value and cost basis are entirely different figures. Current value is what your holdings are worth at today's market price. Cost basis is the total original amount you paid to acquire those holdings. The difference between the two is your unrealized gain or loss. A holding worth 5,000 USDT today could have a cost basis of 3,000 USDT — representing a 2,000 USDT gain — or a cost basis of 7,000 USDT — representing a 2,000 USDT loss. Without knowing your cost basis, current value alone tells you nothing meaningful about performance.
Trading fees are not included in cost basis calculations.
Trading fees are a legitimate and important component of cost basis. The full cost of acquiring an asset includes both the purchase price and any fees paid to execute the transaction. Including fees in cost basis is both financially accurate and recognised by tax authorities in most jurisdictions — it reduces the taxable gain on sale by the amount of fees paid. For investors who trade frequently, cumulative fees can become a meaningful component of total cost basis. Always include fee data when tracking purchases, as excluding them overstates gains and can result in paying more tax than required.
Cost basis only matters when you sell — there is no reason to track it while holding.
Tracking cost basis from the moment of purchase — not retrospectively at sale — is strongly recommended. Reconstructing historical purchase data after the fact is time-consuming, often incomplete, and sometimes impossible if exchange history has been deleted or if the platform has closed. Accurate cost basis data informs ongoing portfolio decisions, not just tax events: it shows whether you are profitable on each position, guides rebalancing choices, and supports informed decisions about which lots to sell when tax efficiency matters. Starting accurate records on day one is far less burdensome than attempting reconstruction later.