Finance calculators

Crypto Tax Calculator

Updated Jul 3, 2026 By Jehan Wadia
Tax Context
Country / Tax Regime
$
Income before crypto gains from this tool.
Applies the regional capital-gains rate automatically.
%
Leave blank to use the selected region's rate.
Trade Entry
Trade Mode
Switching modes keeps everything you've entered. In Single mode only the first trade is used.
Result Summary
Pre-Tax Gain / Loss = Proceeds − Cost Basis − Fees
i
Applicable Rates
Bottom Line
Estimated Tax Owed
Estimated Net Gain After Tax
Holding Period Comparison i
Step-by-Step Solution
Where Your Gain Goes
Scenario Comparison

Introduction

When you sell crypto for more than you paid, you owe tax on the profit. When you sell for less, you may be able to use that loss to lower your tax bill. Either way, you need to know the numbers. This free crypto tax calculator does the math for you in seconds.

Enter your income, pick your country, and add your trade details. The tool figures out your capital gains tax, shows whether your gain is short-term or long-term, and breaks down exactly how much you may owe. It covers the United States, Canada, Australia, and the United Kingdom and applies the correct federal rates, state or provincial taxes, and any extra levies like the U.S. Net Investment Income Tax.

You can calculate a single trade or add multiple trades at once to see your total tax bill across all of them. The calculator also compares what your tax would look like under a different holding period so you can see how timing affects your bottom line. Every result includes a step-by-step breakdown and clear charts so nothing is hidden.

How to Use Our Crypto Tax Calculator

Enter details about your income, location, and crypto trades below. The calculator will estimate how much tax you owe on your crypto gains and show your net profit after tax.

Tax Year: Pick the tax year you want to calculate for — 2024, 2025, or 2026.

Country / Tax Regime: Select the country where you file taxes. Choose from the United States, Canada, Australia, or the United Kingdom. Tax rules and rates update automatically.

Filing Status: Choose how you file your taxes. Options change based on your country. For the US, this includes Single, Married Filing Jointly, and others.

Annual Taxable Income: Enter your total taxable income for the year, not counting crypto gains from this calculator. This sets which tax bracket applies to your gains. If you need help determining your annual taxable income, our income tax calculator can help.

State or Province: Type or select your state or province. This adds the correct regional tax rate. You can also override it with a custom rate if needed. This field only appears for US and Canadian filers.

Trade Mode: Choose Single Trade to calculate one transaction or Multiple Trades to add and calculate several at once.

Acquisition Method: Pick how you got the crypto — by purchasing it, receiving it as pay for services, or trading goods for it. This determines your cost basis.

Purchase / Acquisition Date: Enter the date you first received or bought the crypto.

Purchase Price: Enter the price you paid for the crypto, or its fair market value when you received it as payment or through a trade.

Sale / Disposal Date: Enter the date you sold or disposed of the crypto. This must be on or after the purchase date.

Sale Amount (Proceeds): Enter the total amount you received when you sold the crypto.

Transaction Fees: Enter any fees you paid, such as exchange fees, gas fees, or network fees. These reduce your taxable gain.

Held for More Than 1 Year: The calculator sets this automatically from your dates. Use the toggle to override it manually if needed. Assets held over one year qualify as long-term and are usually taxed at a lower rate.

Click Calculate to see your estimated tax, effective tax rate, net gain after tax, a step-by-step breakdown, and a comparison of short-term versus long-term tax outcomes.

How Crypto Is Taxed: What You Need to Know

When you sell cryptocurrency for more than you paid, the profit is called a capital gain, and you owe taxes on it. If you sell for less than you paid, you have a capital loss, which can lower your tax bill. The IRS and most tax agencies around the world treat crypto like property, not currency. That means every time you sell, trade, or spend crypto, it counts as a taxable event. If you want to track how much profit you made on a specific crypto position before worrying about taxes, try our crypto profit calculator.

Short-Term vs. Long-Term Capital Gains

How long you hold your crypto before selling matters a lot. If you hold it for one year or less, your profit is a short-term capital gain. Short-term gains are taxed at your regular income tax rate, which can be as high as 37% in the United States. If you hold it for more than one year, your profit is a long-term capital gain. Long-term gains get lower tax rates — usually 0%, 15%, or 20% for U.S. filers. Holding longer can save you a significant amount of money in taxes. You can use our capital gains tax calculator for a broader look at how capital gains are taxed across different asset types like stocks and real estate.

What Counts as Your Cost Basis

Your cost basis is what you originally paid for the crypto, including any fees. If you received crypto as payment for work or through a trade, the fair market value at the time you received it becomes your cost basis. Your taxable gain or loss is simply your sale price minus your cost basis minus any transaction fees. If you are also calculating gains on stock trades, our stock profit calculator works the same way for equities.

Other Taxes That May Apply

In the U.S., high earners may also owe the Net Investment Income Tax (NIIT), an extra 3.8% on investment income. Your modified adjusted gross income (MAGI) determines whether this surtax applies. State taxes can add even more on top of federal taxes. In Canada, only 50% of your capital gain is taxable. In Australia, you get a 50% discount on gains from crypto held over a year. In the UK, you have a tax-free allowance before capital gains tax kicks in. For UK property transactions, the stamp duty calculator covers that separate tax.

Capital Losses and Tax-Loss Harvesting

If you sold crypto at a loss, you can use that loss to offset other capital gains. In the U.S., if your losses exceed your gains, you can deduct up to $3,000 of the remaining loss from your ordinary income each year. Any leftover loss carries forward to future tax years. This strategy is called tax-loss harvesting, and it is a common way to reduce what you owe. If you are building a long-term crypto position using a regular buying schedule, our DCA calculator can help you plan your dollar-cost averaging strategy alongside your tax planning. You can also use the tax refund calculator to estimate whether harvested losses might increase your refund at filing time.


Formulas used

Pre-Tax Capital Gain or Loss
G = P_{\text{sale}} - C_{\text{basis}} - F_{\text{fees}}
Progressive Bracket Tax (US Ordinary / CA Federal / AU Income)
T_{\text{bracket}}(I) = \sum_{i=1}^{n} \max\!\left(0,\; \min(I,\, b_{i+1}) - b_i\right) \times r_i
US Federal Short-Term Tax on Gain
T_{\text{ST}} = T_{\text{bracket}}(I + G) - T_{\text{bracket}}(I)
US Net Investment Income Tax (NIIT)
T_{\text{NIIT}} = 0.038 \times \min\!\left(G,\; \max(0,\; I + G - \theta)\right)
State / Provincial Tax
T_{\text{state}} = \frac{r_{\text{state}}}{100} \times G_{\text{taxable}}
Total Estimated Tax Liability
T_{\text{total}} = T_{\text{fed}} + T_{\text{state}} + T_{\text{NIIT}} + T_{\text{medicare}}
Effective Tax Rate
R_{\text{eff}} = \frac{T_{\text{total}}}{G} \times 100\%
Net Gain After Tax
N = G - T_{\text{total}}

Frequently asked questions

Is this crypto tax calculator free to use?

Yes. This crypto tax calculator is 100% free. There are no sign-ups, no hidden fees, and no limits on how many times you can use it.

Does this tool file my taxes for me?

No. This calculator gives you an estimate of what you may owe. It does not file anything with the IRS or any other tax agency. Use the results to plan ahead, then file with your tax software or accountant.

Which countries does this calculator support?

It supports the United States, Canada, Australia, and the United Kingdom. Each country uses its own tax rules, rates, and exemptions. The calculator applies them automatically when you pick your country.

Do I need to report crypto if I did not sell it?

In most cases, no. Simply holding crypto is not a taxable event. You typically owe tax only when you sell, trade, or spend your crypto. However, receiving crypto as income (like mining rewards or payment for work) is usually taxable when you receive it.

What is the difference between short-term and long-term crypto tax?

If you hold crypto for one year or less before selling, the gain is short-term and taxed at your regular income rate. If you hold it for more than one year, the gain is long-term and usually taxed at a lower rate. The calculator figures this out from your dates.

What is cost basis?

Cost basis is what you paid to get the crypto. It includes the purchase price plus any fees you paid at the time. Your taxable gain equals your sale price minus your cost basis minus any selling fees.

How do transaction fees affect my tax?

Transaction fees lower your taxable gain. The calculator subtracts them from your profit before figuring out the tax. Always include exchange fees, gas fees, and network fees for a more accurate result.

Can I calculate tax on more than one trade at a time?

Yes. Switch to Multiple Trades mode and click "Add Trade" to enter as many trades as you need. The calculator adds them all up and shows your total tax bill across every trade.

What is the Net Investment Income Tax (NIIT)?

The NIIT is an extra 3.8% tax that applies to U.S. filers whose income exceeds a certain threshold. For single filers, that threshold is $200,000. For married filing jointly, it is $250,000. The calculator checks this automatically and adds it when it applies.

What happens if I sold crypto at a loss?

A loss can help you save on taxes. In the U.S., capital losses offset capital gains dollar for dollar. If losses exceed gains, you can deduct up to $3,000 from your ordinary income per year. The rest carries forward. The calculator shows your estimated tax savings from the loss.

Does the wash-sale rule apply to crypto?

As of the current tax year, the U.S. wash-sale rule does not apply to cryptocurrency. That means you can sell crypto at a loss and buy it back right away without losing the tax deduction. However, new legislation could change this in the future.

Why does my state matter for crypto tax?

Many U.S. states charge their own income tax on capital gains on top of federal tax. Picking your state lets the calculator add that rate. Some states like Florida and Texas have no state income tax, which means a lower total bill.

Can I override the state or provincial tax rate?

Yes. There is an override field below the state or province selector. Type in your own rate and the calculator will use it instead of the default. Leave it blank to use the built-in rate for your selected region.

What does the holding period toggle do?

The calculator sets your trade as short-term or long-term based on your purchase and sale dates. If you need to change it manually, use the toggle to override it. This is helpful if your dates are not exact or you want to compare scenarios.

What does the Holding Period Comparison section show?

It shows what your tax would be if your gain were classified the opposite way. For example, if your trade is short-term, it shows what you would owe if it were long-term. This helps you see how holding longer could save you money.

How accurate is this calculator?

It uses official tax brackets, long-term capital gains rates, and country-specific rules for each supported tax year. However, it is an estimate. Your actual tax may differ based on deductions, credits, or other income not entered here. Talk to a tax professional for a final number.

Does trading one crypto for another count as a taxable event?

Yes. In the U.S. and most other countries, swapping one crypto for another is treated the same as selling. You owe tax on any gain at the time of the swap. Use the sale amount as the fair market value of the crypto you received.

How is crypto taxed in Canada?

In Canada, only 50% of your capital gain is added to your taxable income. This is called the inclusion rate. The calculator applies it automatically when you select Canada as your country.

How is crypto taxed in Australia?

In Australia, crypto gains are taxed as part of your income. If you held the crypto for more than 12 months, you get a 50% CGT discount, which cuts your taxable gain in half. A 2% Medicare levy also applies.

How is crypto taxed in the UK?

In the UK, you get a tax-free allowance each year (currently £3,000). Gains above that are taxed at 18% for basic-rate taxpayers or 24% for higher-rate taxpayers. The calculator applies the correct rate based on your income.

What counts as a taxable crypto event?

Common taxable events include selling crypto for cash, trading one crypto for another, spending crypto to buy goods or services, and receiving crypto as payment for work. Simply buying and holding crypto is generally not taxable.

What if I received crypto as payment for work?

Select Payment for Services as the acquisition method. The fair market value of the crypto when you received it is your cost basis. That amount was already taxed as ordinary income. When you later sell, you only owe capital gains tax on any increase above that value.

Can I use this for NFT sales?

Yes. NFTs are taxed the same way as other crypto in most countries. Enter the price you paid for the NFT as your cost basis and the price you sold it for as your proceeds. The calculator will estimate your tax the same way.

What tax years does this calculator support?

It supports tax years 2024, 2025, and 2026. Each year uses updated tax brackets and capital gains thresholds so your estimate matches the rules for that specific year.

Does the calculator save my data?

No. All calculations happen in your browser. Nothing is saved, stored, or sent to a server. If you refresh the page, your entries will reset to the defaults.