Revenue Rex logo mark
💰 Financial · Rex's Toolbox

Crypto Capital Gains Tax Calculator

Estimate tax owed on a crypto sale.

Revenue Rex peeking

Rex says

Money math without the spreadsheet headache. Plug in your numbers and I'll show you exactly where the dollars land.

Try a scenario

Click to load — tweak from there.

Inputs

Result

Estimated tax owed

$3,600

Capital gain

$18,000

Federal tax

$2,700

State tax

$900

Net after tax

$14,400

Revenue Rex peeking

Psst — share this and help Rex grow

One click, a permanent link with your numbers baked in.

More financial

How to use this

  1. 1Enter sale proceeds ($).
  2. 2Enter cost basis ($).
  3. 3Enter holding period.
  4. 4Enter ordinary income tax rate (%).
  5. 5Enter long-term rate (%).
  6. 6Enter state rate (%).
  7. 7Read your estimated tax owed on the right — it updates as you type.
  8. 8Hit Share to keep the scenario or send it to someone.

About this calculator

Short-term gains are taxed as ordinary income; long-term gains get preferential rates. Estimate only — confirm with a tax professional.

Worked example

Using the values the calculator loads with:

Inputs

  • Sale proceeds: 30000 $
  • Cost basis: 12000 $
  • Holding period: Long-term (1 year or more)
  • Ordinary income tax rate: 24 %
  • Long-term rate: 15 %
  • State rate: 5 %

Results

  • Estimated tax owed: $3,600
  • Capital gain: $18,000
  • Federal tax: $2,700
  • State tax: $900
  • Net after tax: $14,400

What each field means

Inputs

Sale proceeds ($)
The sale proceeds used in the calculation, measured in $. Starts at 30000 $ so you have a working example on load.
Cost basis ($)
The cost basis used in the calculation, measured in $. Starts at 12000 $ so you have a working example on load.
Holding period
Pick the option that matches your situation — the maths changes per option. Choices: Short-term (under 1 year), Long-term (1 year or more).
Ordinary income tax rate (%)
The ordinary income tax rate used in the calculation, measured in %. Starts at 24 % so you have a working example on load.
Long-term rate (%)
The long-term rate used in the calculation, measured in %. Starts at 15 % so you have a working example on load.
State rate (%)
The state rate used in the calculation, measured in %. Starts at 5 % so you have a working example on load.

Results

Estimated tax owed
Returned as a money amount in US dollars and shown as the headline result. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Capital gain
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Federal tax
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
State tax
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
Net after tax
Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.

FAQ

How does the crypto capital gains tax calculator work?

Short-term gains are taxed as ordinary income; long-term gains get preferential rates. Estimate only — confirm with a tax professional.

What do I need to enter?

6 values: sale proceeds, cost basis, holding period, ordinary income tax rate, long-term rate, and state rate. Each field starts with a sensible default, so you can change one number at a time and watch the result move.

What does the estimated tax owed result mean?

It is returned as a money amount in US dollars and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds.

Is this calculator free, and do I need an account?

Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser.

How accurate is the result?

It applies the standard formula exactly, so the arithmetic is precise. Results are estimates before tax, fees, and inflation unless an input explicitly covers them.

Who is this tool for?

It's built for anyone comparing money scenarios before committing — budgeting a payment, sanity-checking a quote, or seeing what a change in rate or term actually costs.

Accuracy and limitations

  • Results are estimates before tax, fees, and inflation unless an input explicitly covers them.
  • Rates are treated as fixed for the whole period — variable-rate products will drift from this projection.
  • This is educational maths, not financial advice. Check anything contractual with the lender or your accountant.

Related tools

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). Crypto Capital Gains Tax Calculator. Retrieved from https://www.revenuelab.fyi/toolbox/crypto-tax-gain
HTML
<p>Source: <a href="https://www.revenuelab.fyi/toolbox/crypto-tax-gain" target="_blank" rel="noopener">Crypto Capital Gains Tax Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [Crypto Capital Gains Tax Calculator — RevenueLab](https://www.revenuelab.fyi/toolbox/crypto-tax-gain) (2026).
Advertisement