Cost basis is the original value of an asset for tax purposes: usually the purchase price plus fees and commissions. When you sell, your gain or loss is the sale proceeds minus the cost basis. Basis can change — reinvested dividends add to it, some returns of capital reduce it. In the US, brokers report basis for many securities and, from 2026, for covered crypto; for everything else, the records are yours.
What it means
Basis is the number the IRS subtracts from what you sold for. A higher, documented basis means a smaller taxable gain.
How to calculate it
Cost basis = purchase price + fees and commissions
Gain or loss = sale proceeds − cost basis − selling costs
When you bought at different prices, the method matters: specific identification, first-in-first-out (FIFO), or average cost for mutual funds.
An example
| Amount | |
|---|---|
| Bought 10 shares at $100 | $1,000 |
| Commission | $5 |
| Cost basis | $1,005 |
| Sold for | $1,400 |
| Capital gain | $395 |
Why it matters to you
If you can't show your basis, the gain may be treated as the full sale amount. For crypto moved between wallets and exchanges, brokers often don't have it at all.
What you can do
- Keep purchase records for as long as you own the asset, and for years after you sell.
- Note the basis before moving crypto between platforms.
- Read: What changes for crypto taxes in 2026.
FAQ
Does basis include fees?
Yes. Purchase fees are added to basis; selling fees reduce your proceeds.
What is the basis of an inherited asset?
In the US, usually its value on the date of death ("stepped-up basis").
How do you calculate cost basis for crypto?
The same way as stock: purchase price plus fees, tracked per lot. When you sell, the method — first in, first out or specific identification — decides which lots are sold. Since 2025 the basis is tracked wallet by wallet and exchange by exchange, and brokers now report it on Form 1099-DA. See crypto taxes in 2026.
Sources
This article is for information only and is not investment, tax or legal advice. Figures are given with their source and date.
