Crypto Tax Calculator

Estimate crypto capital gains tax with FIFO cost basis. Add your buys and sells to see realised gains split into short-term and long-term, total proceeds, cost basis and estimated tax owed.

Built and maintained by Shehzad Munir ·

Estimates only, not financial, tax or investment advice. Results depend on the figures you enter and on rules that change; check with a qualified professional before making decisions.

Crypto Tax Calculator
Loading Crypto Tax Calculator
  • Crypto Tools
  • Free · No sign-up
  • Runs in your browser
  • 4 features
Share
Cite or link to this tool

Using this tool in an article, lesson or report? Copy a ready-made link or citation.

HTML link

<a href="https://www.toolnova.org/crypto-tools/crypto-tax-calculator">Crypto Tax Calculator</a> by ToolNova

APA

ToolNova. (2026, September 5). Crypto Tax Calculator [Online tool]. https://www.toolnova.org/crypto-tools/crypto-tax-calculator

MLA

“Crypto Tax Calculator.” ToolNova, 5 Sept. 2026, www.toolnova.org/crypto-tools/crypto-tax-calculator.

How crypto capital gains are calculated

Turn a messy list of crypto trades into a clear capital-gains estimate. Enter every buy and sell with its date, quantity, price and fees, and this calculator matches them using FIFO (first-in, first-out) cost basis, separates your gains into short-term and long-term, and estimates the tax owed at your own tax rates, all in your browser, with nothing uploaded.

In most countries, selling, swapping or spending cryptocurrency is a taxable event, and the gain equals your proceeds minus your cost basis. This calculator uses FIFO (first-in, first-out), the most common default method, to decide which coins you sold: it matches each sale against your oldest purchases first. Trading fees are folded in automatically, raising your cost basis on buys and lowering your proceeds on sells, so the gain reflects what you actually netted.

Features

  • FIFO cost-basis matching per coin
  • Short-term vs long-term gain split
  • Fees folded into basis and proceeds
  • Per-disposal breakdown and remaining holdings

How to use Crypto Tax Calculator

  1. 1

    Add your transactions

    Enter each buy and sell: the coin ticker, whether it was a buy or sell, the date, quantity, price per coin and any fee.

  2. 2

    Set your tax rates

    Enter your short-term and long-term capital-gains tax rates so the estimate reflects your bracket and country.

  3. 3

    Let FIFO match your lots

    The calculator pairs each sale against your earliest purchases, computing the gain and whether it was held long enough to qualify as long-term.

  4. 4

    Read the summary

    See total proceeds, cost basis, net gain, and estimated tax, with gains split into short-term and long-term buckets.

  5. 5

    Review each disposal

    Check the per-sale table and your remaining unsold holdings with their carried cost basis.

Common use cases

  • An investor estimates capital-gains tax before filing at year-end.
  • A trader separates short-term from long-term gains to plan holding periods.
  • A hodler checks the tax impact of selling part of a long-held position.
  • Someone reconciles cost basis across many buys of the same coin.
  • A user models how holding one more month changes a gain from short to long-term.
  • An investor exports a copy of their realised gains summary for their accountant.

Detailed guide

Short-term vs long-term matters

Many tax systems tax assets held for less than a year (short-term) at a higher rate than those held longer (long-term). This tool checks the holding period of every matched lot and sorts each disposal into the right bucket, then applies the short-term and long-term rates you enter. Seeing the split makes it obvious when waiting a little longer to sell could move a gain into the lower-taxed long-term category.

Why cost basis and fees trip people up

The biggest source of crypto-tax errors is cost basis, especially when you've bought the same coin many times at different prices. FIFO removes the guesswork by always consuming your earliest lots first, and this calculator shows exactly which purchases were matched to each sale. Fees are included on both sides, because ignoring them overstates your gain and your tax. Your remaining unsold holdings are listed with their carried basis so you know where you stand for next year.

An estimate, not tax advice

This tool gives a fast, transparent capital-gains estimate for planning, but tax rules differ by country and change over time, some jurisdictions allow other methods (LIFO, HIFO, average cost) or tax crypto differently, and events like staking rewards, airdrops and gifts have their own treatment. Use the figures here to understand your position, then confirm with a qualified tax professional before filing.

Frequently asked questions

How is crypto capital gains tax calculated?

Your gain is proceeds minus cost basis. This calculator uses FIFO, matching each sale against your earliest purchases, folds in fees, splits gains into short-term and long-term, and applies the tax rates you enter to estimate what you owe.

What is FIFO cost basis?

FIFO (first-in, first-out) means the first coins you bought are treated as the first ones sold. It's the default cost-basis method in many countries and is what this calculator uses to match your sells to your buys.

What's the difference between short-term and long-term gains?

Short-term gains come from assets held less than a year and are usually taxed at a higher rate; long-term gains come from assets held a year or more and often qualify for lower rates. The tool classifies every disposal by its holding period.

Does it include trading fees?

Yes. Buy fees are added to your cost basis and sell fees are subtracted from your proceeds, so the calculated gain reflects your true net result.

Is my transaction data private?

Completely. Everything is calculated locally in your browser, no transactions are uploaded or stored anywhere. Nothing leaves your device.

Is this official tax advice?

No. It's an educational estimate for planning. Tax rules vary by country and situation, and some events (staking, airdrops, gifts) have special treatment. Confirm with a qualified tax professional before filing.

How much tax do I pay on crypto gains?

In the US, crypto held one year or less is taxed as ordinary income (10-37%); held longer than a year it is a long-term capital gain (0%, 15% or 20%) depending on income. Enter your buy/sell prices and holding period to estimate the tax. This is an estimate, not tax advice.

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

Short-term (held one year or less) is taxed at your ordinary income rate; long-term (held more than a year) gets lower capital-gains rates. The calculator applies the right bracket based on the holding period you enter.

Is this crypto tax calculator free and private?

Yes. It runs in your browser with no signup, and your figures are not uploaded. Use it as a quick estimate; for filing, consult a tax professional or a full tax-reporting service.

Sources

The figures and rules on this page are based on these primary sources:

From the journal

All articles →