IndexCrypto
Educational only. Not financial, tax or legal advice, and nothing here is a recommendation to buy anything.

Capital Gains on Crypto: How Gains Are Taxed

Learn how crypto capital gains are calculated, the difference between realized and unrealized gains, and why holding period matters. Tax rules vary by country.

Capital gains tax applies to the profit you make when you sell, trade, or otherwise dispose of a cryptocurrency. The gain is the difference between what you paid for the asset (your cost basis) and what you received when you sold it. If you sell for more than your basis, you have a gain; if you sell for less, you have a loss. This page explains how gains are calculated, why the holding period can change the rate in some jurisdictions, and the crucial difference between a realized and unrealized gain.

Tax treatment differs enormously by country, and several areas are genuinely unsettled. The rules described here are general concepts, not specific legal advice. You must check how your own jurisdiction defines a taxable event, what rates apply, and how holding periods affect those rates. In particular, staking rewards are treated inconsistently across tax systems, and the position is not settled in many places. Do not assume a single rule applies everywhere.

How a Gain Is Calculated

To calculate a capital gain, you need two numbers:

  • Cost basis: the amount you paid to acquire the crypto, including fees and commissions. For mined or staked coins, the basis is usually the fair market value at the time you received them.
  • Sale proceeds: the amount you received when you disposed of the asset, minus any fees.

The gain is the sale proceeds minus the cost basis. If the result is positive, it is a capital gain. If negative, it is a capital loss.

For example, if you bought 1 coin for 10,000 and later sold it for 15,000, your gain is 5,000. If you sold it for 8,000, you have a loss of 2,000.

What Counts as a Disposal

A disposal is any event that triggers a gain or loss. Common examples include:

  • Selling crypto for fiat currency (e.g., USD, EUR)
  • Trading one cryptocurrency for another (even if both are crypto)
  • Using crypto to buy goods or services
  • Giving crypto away (in some jurisdictions, gifts are disposals)

Merely holding crypto does not create a taxable event. Moving coins between your own wallets is not a disposal, as long as you still own the same asset.

Realized vs. Unrealized Gains

A realized gain occurs when you actually dispose of the asset and lock in the profit. For example, selling crypto for fiat or trading it for another coin realizes a gain. Realized gains are generally taxable in the year they occur.

An unrealized gain is the increase in value that exists on paper while you still hold the asset. If you bought at 10,000 and the price rises to 15,000, you have an unrealized gain of 5,000. You do not owe tax on unrealized gains until you sell. This is a key difference: tax is triggered by disposal, not by price appreciation alone.

Short-Term vs. Long-Term Gains

Many jurisdictions distinguish between short-term and long-term capital gains, applying different tax rates to each. The distinction is usually based on how long you held the asset before selling.

  • Short-term gains: typically from assets held for one year or less. These are often taxed at ordinary income rates, which can be higher.
  • Long-term gains: typically from assets held for more than one year. These often receive a preferential, lower tax rate.

The exact holding period and rates vary by country. Some jurisdictions do not differentiate at all, taxing all gains at the same rate. You must check the rules that apply to you.

Holding PeriodTypical TreatmentWhen This Does NOT Apply
Less than 1 yearTaxed as ordinary income in many countriesCountries with no holding period distinction (e.g., flat tax on all gains)
More than 1 yearPreferential long-term rate in many countriesCountries that tax all gains at the same rate regardless of holding period
Any periodRealized gain is taxable upon disposalJurisdictions with no capital gains tax (e.g., some tax havens)

Note: The table is a general illustration. Always confirm the exact rules for your jurisdiction.

What People Get Wrong About Capital Gains

A common misconception is that you only owe tax when you cash out to fiat. In reality, trading one crypto for another is usually a taxable event. The tax authority sees that as selling one asset and buying another, so you realize a gain or loss at the moment of the trade. Many people are surprised to learn that a crypto-to-crypto trade triggers a tax event, even if no fiat is involved.

Another misunderstanding is confusing unrealized gains with realized ones. Some investors worry they owe tax on paper profits before selling. That is not how capital gains tax works in most systems. Tax is only due when you actually dispose of the asset. Until then, the gain is unrealized and not taxable.

These mistakes are natural because the tax rules for crypto are relatively new and often not widely understood. The concept of a taxable event can be counterintuitive, especially when you are just moving assets between wallets or trading one coin for another. It is not a stupid error; it is a common gap in knowledge.

How to Track Your Basis

To calculate gains accurately, you need to track the cost basis of each unit of crypto you own. This can be done manually with a spreadsheet or by using portfolio tracking software. The key is to record the date and value of every acquisition and disposal.

When you sell a portion of your holdings, you need to determine which units you are selling. Common methods include:

  • FIFO (First-In, First-Out): the oldest units are sold first.
  • LIFO (Last-In, First-Out): the newest units are sold first.
  • Specific identification: you choose which units to sell.

Each method can lead to different gains, especially if prices have changed over time. Some jurisdictions require a specific method, while others allow you to choose. Check the rules for your country.

Staking Rewards: An Unsettled Area

Staking rewards are a particularly tricky area. When you stake crypto, you receive rewards for helping secure a network. The tax treatment of these rewards is not consistent across jurisdictions, and in many places the rules are still being developed.

Some countries treat staking rewards as income at the time they are received, based on their fair market value. Others tax them only on disposal. In the United States the answer is set: under Revenue Ruling 2023-14 the fair market value at the moment you gain dominion and control is income then, and that same value becomes your basis — so a zero basis is the wrong assumption for a US filer. Elsewhere the treatment varies, and a tax professional who works with crypto in your jurisdiction is worth the fee. Learn the creator-buyer split, collectible rules, and unsettled areas like staking.

What to Check for Your Jurisdiction

Because tax rules vary so much, you need to find out the following for your own country:

  • What events are taxable: does trading crypto-to-crypto count as a disposal?
  • What rates apply: are there different rates for short-term and long-term gains?
  • What holding period defines long-term: is it one year, two years, or none?
  • How staking rewards are treated: are they income at receipt or capital gains on sale?
  • What loss rules apply: can you offset gains with losses?

Tax authorities in many countries have published specific guidance for crypto. Look for official information from your tax agency, and consider consulting a tax advisor who specializes in digital assets.

Keeping Records

Good record-keeping is essential. For every transaction, record:

  • Date and time
  • Type of transaction (buy, sell, trade, receive, send)
  • Amount in crypto
  • Value in your local currency at the time
  • Fees paid
  • Counterparty address (if applicable)

This information will be needed to calculate gains and to support your tax return if audited. Many crypto exchanges provide transaction history reports, but you may need to combine data from multiple sources if you use several platforms or self-custody wallets.

How crypto gains are calculated and taxed

Capital gains on crypto are calculated by subtracting your cost basis from the sale proceeds. Realized gains occur when you dispose of an asset; unrealized gains are only paper profits and are not taxed. Holding period can affect the rate in some jurisdictions, with long-term gains often taxed more favorably. However, tax rules vary by country, and staking rewards are an unsettled area. Always check the specific rules for your jurisdiction and keep detailed records of all transactions.

Common questions

Do I have to pay tax on crypto if I haven't sold it?

No, in most jurisdictions you only pay tax on realized gains, which occur when you sell, trade, or otherwise dispose of the asset. Unrealized gains from holding crypto are not taxable until you sell.

Is trading one crypto for another a taxable event?

Yes, in most countries, trading one cryptocurrency for another is considered a disposal and triggers a capital gain or loss. You are essentially selling one asset and buying another, even though no fiat currency is involved.

What is the difference between short-term and long-term capital gains?

Short-term gains are from assets held for a short period (often one year or less) and are typically taxed at ordinary income rates. Long-term gains are from assets held longer and often get a lower tax rate. The exact holding period and rates vary by country.

How do I calculate my cost basis for crypto?

Your cost basis is the amount you paid to acquire the crypto, including fees. You need to track this for each unit you own. When you sell, you subtract the basis from the sale proceeds to determine your gain or loss. Different methods like FIFO or specific identification can affect the calculation.

How are staking rewards taxed?

Tax treatment of staking rewards is not settled and varies by country. Some treat them as income at receipt, others as capital gains when sold, and some have no clear guidance. Check with a tax professional in your jurisdiction.

Read next