Calculateus

Cryptocurrency Capital Gains Tax Calculator

Calculate capital gains tax owed on a cryptocurrency sale based on your holding period and income.

Result

Capital Gain/Loss
$7,000.00
Estimated Tax
$1,050.00
Rate Applied
15%

The IRS treats cryptocurrency as property, not currency, so selling, trading one crypto for another, or spending crypto on goods and services are all generally taxable events - short-term gains (held 1 year or less) are taxed as ordinary income, while long-term gains get preferential capital gains rates.

About the Crypto Capital Gains Calculator

This calculator estimates the federal tax owed on selling, swapping, or spending cryptocurrency by comparing your sale proceeds to your original cost basis and applying the correct short-term or long-term capital gains rate. Because the IRS treats crypto as property rather than currency, disposing of it in any of these ways is a taxable event that has to be reported like a stock sale. Traders and long-term holders use it to get a quick read on the tax cost of a crypto sale before deciding whether, or when, to sell.

How It Works

Enter the sale proceeds and cost basis to establish your gain or loss, choose whether you held the asset for one year or less (short-term) or longer (long-term), and enter your total taxable income so the calculator can look up the applicable rate. Short-term gains are taxed at your ordinary marginal income tax rate; long-term gains use the lower long-term capital gains brackets. The calculator multiplies whichever rate applies against the greater of the gain or zero, since losses aren't taxed.

Gain = Sale Proceeds - Cost Basis. Tax = max(Gain, 0) x Rate, where Rate is the long-term capital gains bracket rate for holdings over one year, or the ordinary marginal income tax bracket rate for holdings of one year or less, both looked up from your taxable income as a single filer.

Formula & Methodology

To estimate this by hand, first find the gain by subtracting cost basis from sale proceeds. Then determine which rate schedule applies: for long-term holdings, use your long-term capital gains bracket; for short-term holdings, use your ordinary income tax bracket at the same taxable income level. Multiply the gain by that rate to estimate the tax owed. A negative result (a loss) isn't taxed, so the calculation stops at zero rather than producing a refund figure.

Examples

Short-Term Crypto Sale

Sale proceeds of $15,000 against a cost basis of $8,000, held for 8 months, with $70,000 in other taxable income. The $7,000 gain is short-term, so it's taxed at the ordinary marginal bracket that applies at that income level rather than a preferential rate.

Long-Term Crypto Sale

The same $15,000 sale and $8,000 basis, but held 14 months instead. The identical $7,000 gain is now taxed at the lower long-term capital gains bracket for the same $70,000 income level, showing why holding period alone changes the tax owed on an otherwise identical sale.

Advantages

  • Distinguishes automatically between short-term and long-term treatment, the single biggest factor driving how much tax is owed on the same dollar gain.
  • Uses your total taxable income to look up the applicable bracket rather than requiring you to guess your own rate.
  • Applies the same logic to any disposal event, sale, swap, or purchase with crypto, matching how the IRS actually treats these transactions.

Common Mistakes

  • Assuming a crypto-to-crypto trade isn't taxable because no dollars changed hands, when the IRS treats it as a disposal of the coin given up.
  • Entering only current-year wages as "taxable income" and leaving out other income sources, which skews which bracket the gain falls into.
  • Not tracking cost basis per purchase lot, which overstates or understates the gain when coins bought at different prices and times are sold together.

Edge Cases to Watch For

  • A loss produces zero estimated tax here, since the calculator floors the taxable amount at zero rather than modeling a deduction for the loss itself.
  • The rate lookup assumes single filing status, so married filers or heads of household will see a bracket that doesn't match their actual filing status.
  • Crypto-to-crypto trades and using crypto to buy goods or services are both taxable dispositions under IRS rules, not just cashing out to dollars, so the same gain and tax logic applies to any of these events, not only an outright sale.

Common Use Cases

  • Active traders estimating tax due before executing a sale near the one-year short-term/long-term boundary.
  • Long-term holders deciding whether waiting past the one-year mark meaningfully lowers their tax bill.
  • Taxpayers preparing for filing season who want a rough tax reserve estimate for a crypto sale already completed.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

Is trading one cryptocurrency for another a taxable event, even without cashing out to dollars?

Yes - the IRS treats a crypto-to-crypto trade as a taxable disposition of the crypto you gave up, meaning you must calculate and report gain or loss on that trade just as if you'd sold it for dollars and immediately bought the new coin, even though no actual US dollars changed hands at any point in the transaction.

Conclusion

The calculator gives a fast estimate of federal tax on a single crypto disposal by combining your realized gain with the rate tied to your holding period and income level. Actual tax owed also depends on state taxes, other income, and reporting details specific to digital assets, so the result works best as planning guidance rather than a final figure.