Calculate cryptocurrency profit, loss, and capital gains tax. Supports FIFO, LIFO, and specific ID cost basis. See your tax before you sell. 2026 IRS rules.
Crypto Tax Strategies: Reducing Your Bill Legally
The wash sale exemption, charitable giving rules, and loss harvesting create planning opportunities for crypto investors that do not exist in traditional stock investing.
Year-End Tax-Loss Harvesting
Since the wash sale rule does not apply to crypto, you can sell a losing position on December 31, immediately repurchase the same asset, and claim the tax loss. The loss offsets other capital gains dollar-for-dollar, and any excess up to $3,000 offsets ordinary income. Your position resets to the new lower cost basis. Run this analysis every November — the potential tax savings often exceed the transaction costs significantly.
Charitable Giving With Appreciated Crypto
Method
Capital Gains Tax
Charitable Deduction
Sell crypto, donate proceeds
Owe tax on full gain
Deduct after-tax proceeds
Donate crypto directly to charity
Zero
Deduct full fair market value
Gift to family member
Zero now (deferred)
No deduction
Donating crypto directly to a 501(c)(3) charity eliminates the capital gains tax entirely while preserving the full deduction. On $50,000 of appreciated crypto with a $10,000 cost basis, direct donation versus selling saves $6,000 in capital gains tax at the 15% rate.
Record-Keeping Requirements
For every taxable crypto transaction keep: date acquired, date of disposal, proceeds, and cost basis. Export transaction history from every exchange you use. For self-custody wallets, reconstruct records from blockchain explorers. Keep records for at least three years from filing, or seven years if the IRS might question large underreporting. Crypto tax software (Koinly, TaxBit, CoinTracker) can aggregate multi-exchange records automatically and export Form 8949 directly.
Yes. The IRS treats every crypto-to-crypto trade as a taxable disposal. When you trade BTC for ETH, you are treated as selling your BTC at its fair market value at the moment of the trade. If you paid $20,000 for that BTC and it is worth $45,000 at trade time, you have $25,000 in capital gain even though you never received dollars. Every DEX swap, every NFT purchase with crypto, every stablecoin conversion is potentially a taxable event requiring Form 8949 reporting.
As of 2026 the wash sale rule still does not apply to cryptocurrency. Crypto is classified as property, not a security, so the 30-day repurchase restriction that applies to stocks does not apply here. You can sell Bitcoin at a loss on December 31 and immediately buy it back, locking in the tax loss while maintaining your position. Congress has proposed extending wash sale rules to crypto repeatedly, but no such legislation has passed. This remains one of the most valuable year-end tax opportunities available to crypto investors.
FIFO sells your oldest coins first and is the IRS default if you do not specify a method. LIFO sells your newest coins first, which can minimize gains in a rising market. Specific Identification lets you designate exactly which lot you are selling, giving maximum flexibility, but you must document the selection at time of trade not retroactively. Average cost divides total purchase cost by total coins, which is simpler but less flexible. Once you choose a method you must apply it consistently — changing methods requires IRS approval.
Mining income, staking rewards, airdrops, and hard fork proceeds are all taxable ordinary income in the year received at fair market value, regardless of whether you sell. Receiving crypto as payment for services is ordinary income. Holding crypto, transferring between your own wallets, and buying crypto with dollars are not taxable events. The IRS includes a crypto disclosure question on Form 1040 — answering no when you had reportable transactions is considered a false statement under penalty of perjury.
You can gift up to $18,000 per recipient per year without gift tax or Form 709 reporting. The recipient inherits your original cost basis and holding period, so the embedded gain transfers with the gift. Gifting appreciated crypto to a qualified 501(c)(3) charity is even more powerful — you deduct the full fair market value for assets held over one year and owe zero capital gains tax on the appreciation. This is the most tax-efficient way to dispose of highly appreciated crypto.