Skip to main content

Crypto Capital Gains Calculator

Calculate short-term and long-term capital gains tax on cryptocurrency trades and estimate your crypto tax liability.

Reviewed by Sahil, Senior Finance & Tax Editor

Reviewed by Sahil, Senior Finance & Tax Editor

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.

References

Reviewed by Sahil, Senior Finance & Tax Editor ยท Editorial policy