How crypto capital gains taxes work
The IRS treats cryptocurrency as property, not currency. Every time you sell, trade, or spend crypto, it's a taxable event. You owe capital gains tax on the difference between what you paid (cost basis) and what you received (proceeds).
Two types of gains apply depending on how long you held your coins:
- Short-term: Held 1 year or less, taxed as ordinary income (10% to 37%) - Long-term: Held more than 1 year, taxed at preferential rates (0%, 15%, or 20%)
The holding period makes an enormous difference. A \$10,000 gain taxed at 37% (short-term) costs \$3,700. The same gain taxed at 15% (long-term) costs \$1,500 — a \$2,200 savings.
2024 long-term capital gains rates
Long-term capital gains tax rates depend on your total taxable income (including the gain):
Single filers: - 0%: Total income up to \$47,025 - 15%: Total income \$47,026 to \$518,900 - 20%: Total income above \$518,900
Married Filing Jointly: - 0%: Total income up to \$94,050 - 15%: Total income \$94,051 to \$583,750 - 20%: Total income above \$583,750
Head of Household: - 0%: Total income up to \$63,000 - 15%: Total income \$63,001 to \$551,350 - 20%: Total income above \$551,350
Note: These thresholds include your crypto gain. A large gain can push you into a higher bracket.
Net Investment Income Tax (NIIT)
An additional 3.8% NIIT applies to investment income (including crypto gains) if your Modified Adjusted Gross Income (MAGI) exceeds: - \$200,000 for Single or Head of Household filers - \$250,000 for Married Filing Jointly - \$125,000 for Married Filing Separately
This means the maximum effective federal rate on long-term crypto gains can reach 23.8% (20% + 3.8%). For short-term gains in the top bracket, the combined rate can reach 40.8% (37% + 3.8%).
Capital losses and tax-loss harvesting
If you sell crypto for less than you paid, you have a capital loss. Losses can: - Offset capital gains dollar-for-dollar in the same tax year - Reduce ordinary income by up to \$3,000 per year if losses exceed gains - Carry forward indefinitely to future tax years
Tax-loss harvesting — deliberately selling assets at a loss to offset gains — is a legal and popular strategy. Unlike stocks, the IRS wash-sale rule does not currently apply to cryptocurrency (as of 2024), making it particularly effective for crypto investors.
How to use this calculator
1. Enter the cryptocurrency name (optional, for your reference) 2. Enter your purchase price per coin and sale price per coin in USD 3. Enter the number of coins sold 4. Select whether you held for short-term (1 year or less) or long-term (more than 1 year) 5. Select your filing status 6. Enter your other annual income such as salary — this determines which tax bracket applies 7. Click "Calculate Tax" to see your estimated federal tax
The calculator shows your capital gain or loss, applicable tax rate, total tax owed, and net proceeds after tax. If the Net Investment Income Tax applies, it is shown separately.
FAQs
Q: Is cryptocurrency taxed as capital gains? A: Yes. The IRS classifies cryptocurrency as property. When you sell, trade, or otherwise dispose of crypto, the difference between your cost basis (what you paid) and your proceeds (what you received) is treated as a capital gain or loss.
Q: What is the difference between short-term and long-term crypto gains? A: Short-term gains apply when you held the asset for 1 year or less — they are taxed at your ordinary income rate (10% to 37%). Long-term gains apply when you held for more than 1 year — they receive preferential rates of 0%, 15%, or 20% depending on your income.
Q: Do I owe taxes if I trade one crypto for another? A: Yes. Crypto-to-crypto trades are taxable events. When you trade Bitcoin for Ethereum, for example, you are treated as having sold the Bitcoin at its current market value, triggering a gain or loss.
Q: What is the Net Investment Income Tax? A: The NIIT is an additional 3.8% tax on investment income (including crypto gains) that applies when your Modified Adjusted Gross Income exceeds \$200,000 (single) or \$250,000 (married filing jointly).
Q: Can I deduct crypto losses? A: Yes. Capital losses offset capital gains dollar-for-dollar. If losses exceed gains, up to \$3,000 of excess losses can be deducted against ordinary income each year. Unused losses carry forward to future tax years.
Q: Does the wash-sale rule apply to crypto? A: As of 2024, the IRS wash-sale rule does not apply to cryptocurrency. This means you can sell crypto at a loss and immediately repurchase it to claim the tax deduction, unlike with stocks where you must wait 30 days.
Q: Are staking rewards and airdrops taxable? A: Yes. Staking rewards, airdrops, mining income, and DeFi yield are generally taxable as ordinary income when received, based on the fair market value at the time of receipt. When you later sell those assets, any gain or loss is also taxable.
Q: Does this calculator include state taxes? A: No. This calculator only estimates US federal taxes. State tax treatment varies significantly — some states like California tax crypto gains at full ordinary income rates, while others have no income tax at all.
Important limitations
- Federal only: State income taxes are not included. States like California tax crypto gains at full ordinary income rates. - Simplified calculation: This tool estimates based on your marginal bracket. Actual tax may differ based on deductions, AMT, and other factors. - 2024 rates: Uses 2024 US federal tax brackets and thresholds. - Not tax advice: Consult a CPA or tax attorney for guidance on your specific situation. - Other taxable events: Crypto-to-crypto trades, staking rewards, airdrops, and NFT sales also create taxable events — consult IRS guidance or a tax professional.
Explore Similar Tools
Explore more tools like this one:
- Capital Gains Tax Calculator — Estimate your tax liability for asset sales based on... - Cryptocurrency Tax Calculator — Estimate capital gains taxes on cryptocurrency trades by... - Capital Gains Tax Estimator — Estimate capital gains taxes on investment sales with... - After-Tax Investment Return Calculator — Calculate your real investment returns after capital... - Alternative Minimum Tax (AMT) Calculator — Determine if you owe alternative minimum tax by...