Crypto tax basics for beginners
The big picture: when crypto may trigger a tax, how gains are calculated and which records to keep. This is not tax advice: check the exact rules for your country.
4 min read · Updated: 2026-10-19
In short
Many countries tax crypto, but the rules vary a lot. The general logic is similar almost everywhere:
- tax usually arises not when you buy a coin but when you sell, swap or spend it at a gain;
- the gain is the sale price minus your cost basis (what you paid);
- staking or mining rewards and salary paid in crypto are often treated as ordinary income;
- keeping records is your job, even if the exchange never sends you a report.
This is general information, not tax advice. Rates, exemptions and deadlines depend on the country and change over time. Check your local rules and talk to a tax professional when the amounts are meaningful.
What is usually taxable
A taxable event is a transaction that can leave you owing tax. Here is how they are often treated:
| Transaction | Common treatment | ||
|---|---|---|---|
| Bought crypto with fiat and holding | Usually not taxed | ||
| Sold crypto for fiat | Usually tax on the gain | ||
| Swapped one coin for another (BTC to ETH) | In many countries also a sale | ||
| Paid for something in crypto or with a card spending a crypto balance | Often treated as a sale | ||
| Received [[staking | staking]], mining or [[airdrop | airdrop]] rewards | Often income at market value when received |
| Moved crypto between your own wallets | Usually not taxed, but record the transfer | ||
| Gave or received crypto as a gift | Rules vary widely |
Watch out for coin-to-coin swaps and card spending: many people assume there is no tax until money goes back to fiat. In many countries that is wrong.
Cost basis: what the gain is measured from
Cost basis is what you paid for a coin, including fees. Your gain, or capital gain, is the sale price minus the cost basis.
Example: you buy 0.1 ETH for $300 and pay a $1 fee. Your cost basis is $301. Later you sell it for $400 and pay a $1 fee. Gain = $399 − $301 = $98.
If you bought the same coin several times at different prices, your country may require a specific method: FIFO (first in, first out), average cost or another. The method changes the gain you report, and you cannot pick freely everywhere.
In many countries losses reduce the tax on gains, and sometimes they can be carried forward to later years. That is the idea behind tax-loss harvesting, but it has its own limits, so check them locally.
Record keeping: what to save
Exchanges can shut down, delete old history or lock your account. Keep your own copies:
- CSV exports of trades, deposits and withdrawals from every exchange, at least once a year;
- your wallet addresses and the hashes of important transfers;
- the date, amount, fiat price and fee of every transaction;
- staking income and rewards with the date and price when you received them;
- proof of fiat purchases: bank statements and receipts.
With many trades, crypto tax software helps. It pulls history via API or from files and calculates gains with the method you choose. Give such tools only a read-only API key (see how to secure your account) and check the result: these tools often get transfers between your own wallets and DeFi activity wrong.
For a handful of trades a year, a simple spreadsheet works: date, type, coin, amount, price, fee, wallet or exchange, note. Think of it as a trade journal for taxes.
The rules depend on your country
The same trade can be taxed differently in different countries. What varies:
- whether crypto is property, currency or a special asset class;
- whether long-term holding gets a break, and after how long;
- whether coin-to-coin swaps are taxed;
- how staking, mining and airdrops are taxed;
- whether there is a tax-free allowance and how you file.
Tax authorities also see more and more. Regulated exchanges know their users through KYC, and many countries are adopting rules to exchange crypto account information between governments, similar to CRS for bank accounts. Do not count on your trades going unnoticed.
Before acting, find your tax authority's official guidance on crypto, and if in doubt show your records to a professional.
Common mistakes
- Assuming a BTC to USDT swap is not a sale.
- Not saving history and then finding the exchange has closed your account.
- Forgetting about staking income and rewards.
- Leaving fees out of the cost basis and overpaying tax.
- Taking rates and rules from social media posts instead of official sources.
Questions and answers
Do I pay tax if I just buy crypto and hold it?
In many countries buying with fiat and holding is not taxed. Tax usually comes when you sell, swap or spend coins at a gain, but check the rules where you live.
Is swapping one crypto for another taxable?
In many countries yes: swapping BTC for ETH or USDT counts as a sale that realises a gain or loss. Some countries take a different approach.
How do I calculate my crypto gains?
Sale price minus cost basis, which is the purchase price plus fees. With several purchases, use the method your country requires, such as FIFO or average cost.
Will the tax office know about my trades?
Increasingly, yes: regulated exchanges know their customers through KYC, and more countries require crypto account data to be reported to tax authorities. Keeping records and reporting yourself is the safer path.
Related terms
Read next
The classic scenario: level, breakout, return, and a trade plan with entry, stop and target.
Read →How to open your first futures position: step by step with numbersWe go from choosing the margin mode to checking the liquidation price using one example. By the end you will know how much you…
Read →