Finance calculators

Crypto Tax Calculator

Updated Aug 31, 2026 By Jehan Wadia
Rate Formulas
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 works out the tax on your crypto.

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.

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.

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.

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.

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.

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.


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

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.

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.

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.