We use cookies

We use essential cookies to run the site, and optional cookies for analytics. We never sell your data.Cookie Policy·Privacy Policy

How crypto trading is taxed

Most crypto tax comes down to one idea: when you dispose of crypto, you have a capital gain or loss. Selling for cash, swapping one coin for another, and spending crypto all count, though a few countries treat crypto-to-crypto differently. This guide covers the essentials and how CryptaTax handles it.

Calculate my trading taxes

General information, not tax advice. Rules differ by country, verify against your country's guidance or a qualified tax advisor.

How crypto trading is taxed

What counts as a disposal

A disposal generally means:

  • selling crypto for fiat
  • swapping one crypto for another
  • spending crypto on goods or services.

Each one realises a capital gain or loss, the proceeds (or market value) minus your cost basis. Buying crypto with fiat and simply holding it isn't taxable; moving it between your own wallets isn't either.

The crypto-to-crypto split

This is the big country difference:

  • Most countries (US, UK, Germany, and others) tax crypto-to-crypto swaps as disposals.
  • France and Poland don't tax crypto-to-crypto, tax arises only when you cash out to fiat or spend it. France → · Poland →

Holding period and cost basis

Two things shape the final number:

  • Holding period, some countries tax long-held crypto more favourably: the US has lower long-term rates after a year, and Germany can make crypto tax-free after a year. Others, like the UK, apply one capital gains rate regardless. US → · UK →
  • Cost-basis method, FIFO, average cost, and others change which units you're deemed to have sold. Your jurisdiction may mandate a specific one (e.g. UK Section 104 pooling, Canada ACB), and CryptaTax applies it automatically. See your capital-gains report →

How CryptaTax handles trading

  • Imports every trade across exchanges and wallets
  • Calculates capital gains using your country's mandated cost-basis method automatically
  • Applies holding-period rules (short vs long term, one-year exemptions)
  • Defers crypto-to-crypto swaps where your country doesn't tax them (e.g. France, Poland)

Capital gains report → · Import your exchanges & wallets →

Calculate my trading taxes

A worked example: how a swap becomes a gain

Trading tax feels abstract until you price a single swap. Say you bought one coin earlier for a known amount in your home currency, that amount is your cost basis. Later you swap it directly for a different coin. In most countries that swap is a disposal even though no fiat changed hands: your proceeds are the market value of what you received at the moment of the trade, and your gain or loss is those proceeds minus the basis. The new coin then starts its own life with a fresh basis equal to that same market value, ready to be measured again when you next dispose of it.

This is why active traders can owe tax in a year they never withdrew a cent to their bank: each crypto-to-crypto leg can crystallise a gain or loss. The exception is the handful of countries, France and Poland among them, that defer tax until you cash out to fiat or spend, treating crypto-to-crypto as a non-event. Knowing which camp your country is in changes how many taxable events you actually have. France → · Poland →

Why cost-basis method changes your bill

When you have bought the same coin many times at different prices and sell only part of your holding, the tax depends on which units you are deemed to have sold. FIFO assumes the oldest units go first; average-cost approaches blend everything into one pooled price; other methods exist where permitted. The same sale can produce a materially different gain under each, which is why your country usually mandates the method rather than letting you pick freely, for example pooled/average-style rules in some countries and prescribed ordering in others. The mechanics are unpacked in the cost basis → guide; the key point for traders is that you do not get to choose the most flattering method, and consistency across the year is expected.

Timing, holding periods, and the wash-sale question

Holding period can matter as much as price. Some countries reward patience, long-held crypto may be taxed more lightly, or in places like Germany can fall away after a qualifying period, while others apply one rate no matter how long you held. That makes the order and timing of your disposals a real lever, not just an afterthought. US → · Germany → · UK →

Timing also drives tax-loss harvesting, deliberately realising a loss to offset gains. The catch is the wash-sale-style question: several countries restrict claiming a loss if you buy the same asset back within a short window around the sale, and the exact window and scope differ widely. Some jurisdictions apply such a rule to crypto, others do not, and a few apply same-day or short-period matching that can quietly cancel the loss you were trying to bank. Before you sell-and-rebuy to harvest a loss, check whether your country has a matching rule, getting the timing wrong can waste the loss entirely. The strategy and its pitfalls are covered in the tax-loss harvesting → guide.

DeFi trading variants that are easy to miss

  • Adding to or removing from a liquidity pool, depositing two assets for an LP token, or withdrawing, can be a disposal in many countries, not a neutral transfer.
  • Wrapping and unwrapping, converting a coin to a wrapped version may or may not be a disposal depending on your country's view of whether the asset changed.
  • Bridging between chains, moving the same asset across a bridge is often a non-taxable transfer, but bridges that mint a different token can blur that line.
  • Trading fees and gas, network and exchange fees usually adjust proceeds or basis rather than being ignored, which subtly changes the gain.
  • Stablecoin-to-stablecoin swaps, still disposals in crypto-to-crypto countries even though the value barely moves, so the gain or loss is usually tiny but not always zero.

Common mistakes people make with trading

  • Thinking only fiat sales are taxable. In most countries every crypto-to-crypto swap is a disposal too.
  • Treating wallet-to-wallet moves as taxable. Moving your own crypto between your own wallets is not a disposal, but mislabelling it as one inflates your tax.
  • Hand-picking a cost-basis method. Your country usually mandates one; choosing freely can produce a return you cannot defend.
  • Ignoring fees. Leaving out gas and trading fees overstates gains and understates costs.
  • Harvesting a loss into a wash-sale window. Buying back too soon can void the loss where a matching rule applies.
  • Forgetting spending is a disposal. Paying for goods with crypto realises a gain or loss just like selling.

Record-keeping for active traders

High trade volume is where manual records break down fastest. For each trade you want the date and time, the assets and quantities on both sides, the home-currency value of the disposal, the fees, and enough of a trail to reconstruct the basis consumed. Spread across several exchanges and on-chain venues, thousands of legs per year are common, and a single missing trade can throw off the entire running basis for that coin. Connecting your accounts and wallets so every leg is captured and priced consistently is the only practical way to keep the dataset complete, and it is what makes the resulting capital-gains figure defensible.

How CryptaTax automates trading tax

CryptaTax imports every trade across your exchanges and wallets, prices each disposal in your home currency, and computes the capital gain or loss using the cost-basis method your country mandates, applied consistently, automatically. It distinguishes your own wallet transfers from genuine disposals so internal moves do not generate phantom tax, applies holding-period rules where they matter, and defers crypto-to-crypto swaps in countries like France and Poland that do not tax them. The result is a capital-gains report built from your real transaction history rather than a spreadsheet you have to reconcile by hand.

Calculate my trading taxes

Do I owe tax if I only traded crypto-to-crypto and never withdrew cash?

In most countries, yes, each swap is a disposal that can produce a gain or loss regardless of whether you touched fiat. The main exceptions are countries like France and Poland that tax only fiat conversions and spending.

Can I choose FIFO to lower my bill?

Usually not freely. Most countries mandate a specific cost-basis method, so the choice is made for you. CryptaTax applies the required method automatically rather than letting you cherry-pick the most favourable one.

Does selling at a loss and rebuying immediately work?

It depends on your country. Where a wash-sale-style matching rule applies to crypto, buying the same asset back within the restricted window can deny the loss. Where no such rule exists, the loss may stand. Check your country guide before relying on it.

Are stablecoin swaps really taxable?

In crypto-to-crypto countries, yes, a stablecoin-to-stablecoin swap is still a disposal, even though the gain or loss is usually negligible. The amounts are small, but they are not automatically zero, and CryptaTax records them so your history stays complete.

Margin, futures, and the line between trading and investing

Spot trading is the simple case. Once you add leverage, margin, or derivatives, several countries change the character of the income, treating gains and losses on futures or perpetuals differently from a plain capital gain on a coin you owned outright. Some tax these as a separate type of income, some restrict how the losses can be offset, and some look at whether your activity is so frequent and organised that you have crossed from investing into something closer to a trade or business. Because the consequences differ so much, derivatives are a place to lean on your country's specific guidance rather than assume the spot rules carry over.

Even without derivatives, very high-frequency trading can raise the same investor-versus-trader question in certain countries, which can change both the rate and what you can deduct. There is rarely a bright-line trade count; it is judged on the overall pattern, much like the hobby-versus-business test miners face. The upshot for record-keeping is the same either way: capture every leg with its date, value, and fees, because whichever characterisation applies, the underlying figures have to be complete and consistent to be defensible.

How are crypto futures or margin gains taxed?

It depends heavily on your country. Some treat derivative gains as a distinct income type with their own rules and loss-offset limits rather than ordinary capital gains. Check your country guide before filing, and keep the contract-level detail so the position can be reconstructed.

Could frequent trading make me a 'professional trader' for tax?

In some countries, sustained, organised, high-volume trading can shift you from investor to trader status, changing the rate and the deductions available. There is usually no fixed transaction count, it is judged on the overall picture, so confirm where your activity sits under your local rules.

How do I handle gas fees on a trade?

In most countries the network and exchange fees tied to a trade are not ignored, they typically reduce your proceeds or add to your cost basis, which lowers the gain slightly. Leaving them out overstates what you owe. CryptaTax captures the fee on each leg and folds it into the calculation automatically, so the gain reflects what the trade actually cost you rather than the headline amounts alone.

Trading as the backbone of everything else you do

Of all the crypto tax topics, trading is the one whose mechanics quietly underpin the rest. Almost every other event eventually resolves into a disposal measured against a cost basis, selling an airdrop, cashing out staking rewards, closing a DeFi position, and that final leg is governed by the same disposal rules this guide lays out. Understanding trading well is therefore not just for active traders; it is the grammar that makes every other guide readable.

That connection runs both ways. Income guides decide what a coin's basis is when it lands; this trading guide decides what happens when it leaves. A staking reward valued on receipt becomes a coin with a known basis, and the day you trade it away, the gain or loss is simply proceeds minus that basis, the same arithmetic whether the coin was bought, earned, or dropped on you. The cost basis guide sits underneath all of it, and the holding-period and rate detail that turns a gain into a number lives on your crypto tax by country page.

Getting trading right first time is mostly about completeness, because a single missing leg throws off the running basis for that coin and every later disposal inherits the error. The defence is a full, reconciled record across every venue, with self-transfers matched so internal moves are never mistaken for sales and fees folded into the right side of each calculation. CryptaTax imports every trade across your exchanges and wallets, applies the cost-basis method your country mandates consistently, defers crypto-to-crypto swaps where your jurisdiction does not tax them, and produces a capital gains report built from your real history rather than a spreadsheet you reconcile by hand. Master the trading rules and the rest of the guides slot into place, because almost every crypto tax question eventually ends in a disposal, and the disposal is what you have learned to handle here. That is also why it is the guide worth getting comfortable with first, even if you mostly earn rather than trade.

FAQ

Is swapping one crypto for another taxable?

In most countries, yes. A crypto-to-crypto swap is a disposal with a capital gain or loss. France and Poland are notable exceptions, taxing only fiat conversions and spending.

Do I pay tax just for buying crypto?

No. Buying with fiat and holding is not taxable, and neither is moving crypto between your own wallets. Tax arises when you dispose of it.

Is spending crypto taxable?

Generally yes. Spending crypto is a disposal, so you may have a capital gain or loss on it.

Does how long I hold crypto matter?

In some countries, a lot. The US has lower long-term rates after a year and Germany can be tax-free after a year. Others apply one rate regardless.

Related guides

Country-specific rules