TAX
Crypto Tax Calculator - Cryptocurrency Tax Estimator
By Worldtickers ·
Estimate your tax liability on cryptocurrency transactions including sales, trades, staking rewards, and DeFi activity.
This crypto tax tool focuses on estimate your tax liability on cryptocurrency transactions including sales, trades, staking rewards, and DeFi activity. Use it to model crypto entries and exits with realistic buy prices, sell prices, fees, taxes, and position sizes, then compare net profit, break-even levels, and downside scenarios before or after a trade.
Calculator
Crypto Tax Calculator
Estimate your cryptocurrency tax liability.
How Crypto Is Taxed
The IRS classifies cryptocurrency as property, which means every taxable event involving crypto triggers capital gains or losses, just like selling stocks or real estate. This classification applies to Bitcoin, Ethereum, stablecoins, NFTs, and all other digital assets. Holding cryptocurrency without selling or trading it is not a taxable event, but almost every other interaction with crypto has tax consequences.
The most common taxable events include selling crypto for US dollars, trading one cryptocurrency for another (such as ETH to SOL), spending crypto on goods or services, and receiving crypto as income. Income events include mining rewards, staking payments, airdrops, and receiving payment in crypto for goods or services. Each of these events has its own tax treatment, and tracking them all requires careful record-keeping.
Crypto gains are classified as either short-term or long-term, just like gains on stocks. If you hold crypto for one year or less before selling, the gain is short-term and taxed at ordinary income rates (up to 37%). If you hold for more than one year, the gain qualifies for the lower long-term rates of 0%, 15%, or 20%. The volatility of crypto markets makes proper tracking essential, as prices can change dramatically between when you acquire and dispose of a position.
How to Use This Calculator
Enter each transaction with the purchase price, sale price, date acquired, date sold, and cost basis method. The calculator computes your capital gains or losses and estimates your total tax liability for each transaction.
Cost Basis Method
Choose between FIFO (First In, First Out), LIFO (Last In, First Out), or specific identification. FIFO is the IRS default and most commonly used method. LIFO can be advantageous in a rising market by selling newer, higher-cost coins first. Specific identification gives you the most control over which coins are sold, allowing you to optimize for the lowest tax impact. Your choice must be applied consistently across all crypto transactions.
Transaction Types
For sales, enter the purchase price and sale price. For trades, enter the cost basis of the crypto you gave up and the fair market value of the crypto you received. For income events (mining, staking, airdrops), enter the fair market value at the time of receipt as income, and use that value as the cost basis for future sales.
Formula
Capital gain per transaction: Gain = Sale Price − Cost Basis, where cost basis depends on your chosen method (FIFO, LIFO, or specific ID).
For FIFO: the cost basis of the first coins purchased is matched against the sale. For LIFO: the cost basis of the most recently purchased coins is matched. For specific ID: you manually assign which purchase lots are being sold.
Income from staking/mining/airdrops: Income = Fair Market Value at Receipt. This amount is taxed as ordinary income and becomes the cost basis for future capital gains calculations.
Examples
Example 1: Simple Bitcoin Sale (FIFO)
You bought 1 BTC for $30,000 and sold it 14 months later for $65,000. The long-term capital gain is $35,000. At the 15% federal rate, tax is $5,250. Adding 5% state tax ($1,750) gives a total of $7,000. If you had sold at 11 months instead of 14, the $35,000 gain would be short-term and taxed at 22% ($7,700 federal), a difference of $2,450 from the long-term rate.
Example 2: Multiple Purchases (FIFO vs LIFO)
You bought 1 BTC at $25,000 (January), 1 BTC at $40,000 (March), and 1 BTC at $35,000 (May). You sell 1 BTC in July for $50,000. Under FIFO, your cost basis is $25,000 (January purchase), gain is $25,000. Under LIFO, your cost basis is $35,000 (May purchase), gain is $15,000. LIFO saves you $10,000 in taxable gain, which at 15% saves $1,500 in tax. The method you choose matters significantly when you have multiple purchases at different prices.
Example 3: Staking Income + Later Sale
You receive 2 ETH from staking when ETH is worth $3,000 each ($6,000 income). Later, ETH rises to $4,500 and you sell. The staking income of $6,000 is taxed as ordinary income (say 22%, = $1,320). The sale generates a capital gain of $3,000 ($4,500 − $3,000 cost basis). If held long-term, capital gains tax is $450 at 15%. Total tax on the staking plus sale is $1,770. Without tracking the cost basis correctly, you might overpay by using the wrong basis.
Tips
Use Crypto Tax Software
Manual tracking of crypto transactions becomes impractical beyond a handful of trades. Crypto tax software connects to your exchanges and wallets, imports all transactions, applies your chosen cost basis method, and generates tax reports. This reduces errors, saves time, and provides documentation the IRS may require. Most tools support major exchanges, DeFi protocols, and NFT platforms.
Harvest Crypto Losses
Crypto markets are volatile, creating frequent opportunities for tax-loss harvesting. If a position drops below your cost basis, selling it generates a loss that offsets gains. Be aware of the wash sale rule, which now applies to crypto as of 2026. You must wait at least 31 days before repurchasing substantially identical crypto to claim the loss.
Track Every Transaction
The IRS requires you to report every taxable crypto transaction. This includes not just sales but also trades, spending, staking rewards, mining income, airdrops, and DeFi interactions. Each transaction needs a date, amount, fair market value, and cost basis. Missing transactions can result in penalties. Start tracking from day one, not retroactively at tax time.
Consider Tax-Loss Harvesting Across Assets
Losses from crypto can offset gains from stocks and other investments, and vice versa. If you have a $10,000 crypto loss and a $10,000 stock gain, they offset each other completely, resulting in zero net gain. This cross-asset harvesting strategy can significantly reduce your overall tax burden when managed correctly.
FAQ
How is cryptocurrency taxed in the US?
The IRS treats cryptocurrency as property, not currency. Every taxable event triggers capital gains or losses, just like selling a stock. Taxable events include selling crypto for fiat, trading one crypto for another, spending crypto on goods or services, and receiving crypto as income (mining, staking, airdrops). Holding crypto without selling is not a taxable event.
What cost basis method should I use: FIFO, LIFO, or specific identification?
FIFO (First In, First Out) is the most commonly used and IRS-default method. It sells your oldest coins first. LIFO (Last In, First Out) sells your newest coins first, which can be advantageous in a rising market. Specific identification lets you choose which coins to sell, giving you the most control. The IRS requires you to consistently apply your chosen method and document which coins were sold.
Do I owe tax if I just trade crypto for crypto?
Yes. Trading one cryptocurrency for another is a taxable event. If you trade Ethereum for Solana, you must calculate the capital gain or loss on the Ethereum at the time of the trade, based on the fair market value of the Solana received. Many traders are surprised by this rule. The gain or loss is calculated the same as if you had sold the Ethereum for cash and then bought Solana.
What about staking rewards and airdrops?
Staking rewards and airdrops are taxed as ordinary income at the time you receive them, based on their fair market value. This is the same treatment as mining income. The value at receipt becomes your cost basis for future capital gains calculations. If you receive $500 in staking rewards, that $500 is income, and you owe income tax on it. When you later sell those tokens, you calculate capital gains from the $500 basis.
How do I handle crypto losses?
Crypto losses work the same as stock losses. They first offset crypto gains (short-term losses offset short-term gains, long-term offset long-term). If losses exceed gains, you can deduct up to $3,000 per year against ordinary income, with unused losses carrying forward indefinitely. This is why tax-loss harvesting is popular in volatile crypto markets — selling at a loss during a downturn can offset gains realized earlier in the year.
Does the wash sale rule apply to crypto?
As of 2026, the IRS has extended wash sale rules to cryptocurrency. This means if you sell crypto at a loss and repurchase the same or substantially identical crypto within 30 days before or after the sale, the loss is disallowed. Previously, crypto was exempt from wash sale rules because it was classified as property rather than a security. Consult current IRS guidance for the latest rules.
What records do I need to keep for crypto taxes?
You need to track the date of each transaction, the amount of crypto bought or sold, the fair market value at the time, the cost basis, and the type of transaction (buy, sell, trade, stake, mine, airdrop). Use a crypto tax software tool that integrates with your exchanges and wallets to automate this tracking. The IRS requires records to be kept for at least three years from the date of filing.
Do I need to report crypto on my tax return if I did not sell?
If you only purchased and held cryptocurrency without selling, trading, or receiving it as income, there is no taxable event to report. However, the IRS has been increasing scrutiny of crypto holdings. If you received any crypto as income, staking rewards, airdrops, or participated in any DeFi activity, those events may need to be reported even if you have not sold. When in doubt, report rather than risk penalties.
Do I owe taxes on crypto received as a gift?
Receiving crypto as a gift is not itself a taxable event for the recipient. Your cost basis becomes the same as the giver's original cost basis (or fair market value at the time of the gift in some cases), and you only owe tax when you later sell or dispose of it. The giver may need to file a gift tax return if the gift exceeds the annual exclusion amount.
How are crypto-to-crypto trades on DeFi protocols taxed?
Swapping tokens on a decentralized exchange is taxed identically to a trade on a centralized exchange — it is a disposal of the token you gave up, triggering a capital gain or loss based on its fair market value at the time of the swap. This applies even though no fiat currency changes hands and the transaction happens entirely through a smart contract.
What happens if I don't report my crypto transactions?
Failing to report taxable crypto transactions can result in penalties, interest on unpaid taxes, and in serious cases, criminal charges for tax evasion. The IRS now requires a direct yes/no digital asset question on Form 1040 and receives transaction data from many major exchanges, making unreported crypto activity increasingly likely to be detected.
Are gas fees and transaction fees tax deductible?
Yes, transaction fees are generally added to your cost basis when acquiring crypto, or subtracted from your proceeds when disposing of it, effectively reducing your taxable gain either way. Gas fees paid for non-trading activity, like a failed transaction, are generally not deductible for individual investors.
How do I calculate taxes on crypto received as payment for freelance work?
Crypto received as payment for services is taxed as ordinary income at its fair market value on the day you received it, the same as being paid in cash, and may be subject to self-employment tax if you're an independent contractor. That fair market value also becomes your cost basis for calculating any future capital gain or loss when you eventually sell or spend it.