Crypto Capital Gains Calculator
Calculate short-term and long-term capital gains tax on cryptocurrency trades and estimate your crypto tax liability.
Formula
Capital Gain = Sale Price - Purchase Price; Tax = Gain x Applicable Rate
Short-term gains (held 12 months or less) are taxed at ordinary income rates. Long-term gains (held over 12 months) receive preferential rates of 0%, 15%, or 20%. The NIIT adds 3.8% for high earners above $200,000 (single) or $250,000 (married).
Worked Examples
Example 1: Long-Term Bitcoin Gain
Problem: Purchased Bitcoin for $10,000, sold for $25,000 after 14 months. Federal bracket 24%, state 5%, single filer with $85,000 income.
Solution: Capital gain: $25,000 - $10,000 = $15,000\nHolding period: 14 months (Long-term)\nLong-term rate: 15% (income $85k + $15k = $100k)\nFederal tax: $15,000 x 15% = $2,250\nState tax: $15,000 x 5% = $750\nNIIT: Not applicable (below $200k)\nTotal tax: $2,250 + $750 = $3,000
Result: Tax: $3,000 | Net Gain: $12,000 | Effective Rate: 20% | Net Proceeds: $22,000
Example 2: Short-Term Ethereum Trade
Problem: Bought ETH for $8,000, sold for $14,000 after 5 months. Federal bracket 32%, state 6%, single filer, $180,000 income.
Solution: Capital gain: $14,000 - $8,000 = $6,000\nHolding period: 5 months (Short-term)\nFederal tax: $6,000 x 32% = $1,920\nState tax: $6,000 x 6% = $360\nNIIT: ($180k + $6k - $200k) = negative, no NIIT\nTotal tax: $1,920 + $360 = $2,280\nIf held long-term: $6,000 x 15% + $360 = $1,260\nTax savings from waiting: $1,020
Result: Short-term tax: $2,280 | Would be $1,260 if long-term | Savings: $1,020 by waiting
Frequently Asked Questions
How are cryptocurrency capital gains taxed in the United States?
The IRS treats cryptocurrency as property, not currency, which means every sale, trade, or disposal is a taxable event subject to capital gains tax. Short-term capital gains on crypto held for 12 months or less are taxed at your ordinary income tax rate, which can range from 10% to 37% depending on your tax bracket. Long-term capital gains on crypto held for more than 12 months receive preferential tax rates of 0%, 15%, or 20% based on your total taxable income. Additionally, high earners may owe the 3.8% Net Investment Income Tax on capital gains. Trading one cryptocurrency for another, using crypto to purchase goods, receiving crypto as payment for services, and mining or staking rewards are all taxable events. Simply buying crypto with fiat currency and holding it is not a taxable event.
What is the difference between short-term and long-term crypto capital gains?
The distinction between short-term and long-term capital gains is entirely based on your holding period, which is the time between when you acquired the cryptocurrency and when you disposed of it. If you hold crypto for 12 months or less, any profit is a short-term capital gain taxed at your ordinary income rate, typically 22% to 37% for most active traders. If you hold for more than 12 months, the profit qualifies for long-term capital gains rates of 0%, 15%, or 20%, which are significantly lower than ordinary income rates. For example, a $15,000 gain on crypto held for 11 months at the 32% bracket would cost $4,800 in federal tax, while the same gain held for 13 months at the 15% long-term rate would cost only $2,250. This $2,550 difference demonstrates why holding period planning is one of the most effective crypto tax strategies.
What crypto transactions trigger a taxable event?
Understanding which crypto transactions create taxable events is essential for accurate reporting. Taxable events include selling cryptocurrency for fiat currency like dollars or euros, trading one cryptocurrency for another such as Bitcoin for Ethereum, using cryptocurrency to purchase goods or services, receiving cryptocurrency as payment for work or services which is taxed as ordinary income, mining rewards which are taxed as income at fair market value when received, staking rewards taxed as income when you gain dominion and control, and receiving airdrops or hard fork tokens. Non-taxable events include buying cryptocurrency with fiat currency, transferring crypto between your own wallets, gifting crypto below the annual gift exclusion amount, and donating crypto to qualified charities. Each taxable event requires calculating the gain or loss by comparing the fair market value at disposition against your cost basis.
What is the Net Investment Income Tax and how does it apply to crypto?
The Net Investment Income Tax, also called NIIT or the Medicare surtax, is an additional 3.8% tax on investment income including capital gains that applies to high earners. For single filers, the NIIT kicks in when your modified adjusted gross income exceeds $200,000. For married filing jointly, the threshold is $250,000. The NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. For crypto traders, this means that large gains combined with a high salary can trigger this additional tax. For example, if you earn $180,000 in salary and realize $50,000 in crypto gains, your MAGI of $230,000 exceeds the $200,000 threshold by $30,000. You would owe NIIT of 3.8% on the lesser of $50,000 investment income or $30,000 excess, resulting in $1,140 in additional tax. This surtax applies regardless of whether the gains are short-term or long-term.
How can I legally minimize taxes on cryptocurrency gains?
Several legal strategies can reduce your crypto tax burden significantly. Tax-loss harvesting involves selling losing positions to offset gains, reducing your taxable income by up to $3,000 per year in net losses with excess carried forward. Long-term holding ensures gains qualify for the preferential 0% to 20% rates rather than ordinary income rates up to 37%. Donating appreciated crypto to charity lets you deduct the fair market value without paying capital gains tax. Gifting crypto to family members in lower tax brackets can shift the tax burden. Using tax-advantaged accounts like self-directed IRAs or solo 401(k)s to hold crypto provides tax-deferred or tax-free growth. Timing sales strategically in years when your income is lower can place gains in the 0% long-term bracket. Moving to a state with no income tax like Texas, Florida, or Wyoming eliminates the state tax component entirely.
Do I need to report crypto if I did not sell or make a profit?
You do not need to report cryptocurrency you purchased and held without any transactions during the tax year, as simply holding is not a taxable event. However, you may still need to answer the digital asset question on your Form 1040, which asks whether you received, sold, exchanged, or otherwise disposed of any digital asset during the year. If you only purchased and held, you answer yes but have no gains to report. If you sold at a loss, you should report the loss because you can use it to offset other capital gains or deduct up to $3,000 against ordinary income. Unreported losses are essentially throwing away a tax deduction. If you received crypto as income from mining, staking, airdrops, or as payment, you must report this as ordinary income regardless of whether you sold it. Starting in 2025, crypto brokers will be required to issue 1099-DA forms, making it harder for transactions to go unreported.