Crypto Tax Calculator
Calculate cryptocurrency capital gains tax. Enter buy and sell prices with holding period. Compare short-term vs long-term rates and FIFO vs LIFO cost basis methods.
Quick Answer
Capital Gains = Sell Price - Buy Price - Fees. If you bought 1 BTC at $30,000 and sold at $50,000, your gain is $20,000. Held over a year? Long-term rates (0-20%). Under a year? Taxed as ordinary income (10-37%).
Transaction Details
Results
$19,900
Capital Gain
15.0%
Long-Term Rate
$2,985
Estimated Tax
$16,915
Net After Tax
FIFO vs LIFO Comparison
FIFO (First In, First Out)
Tax: $2,985
Sells oldest coins first
LIFO (Last In, First Out)
Tax: $2,985
Sells newest coins first
With a single purchase lot, FIFO and LIFO produce the same result. Multiple lots at different prices will show different tax outcomes.
About the Crypto Tax Calculator
Cryptocurrency is treated as property by the IRS, meaning every sale, trade, or exchange is a taxable event that must be reported. This calculator estimates your capital gains tax on crypto transactions based on your cost basis, selling price, holding period, and tax bracket. It helps you understand the tax implications before selling so you can make informed decisions about timing and strategy.
Short-Term vs Long-Term Capital Gains
The holding period determines which tax rate applies to your gain. If you hold cryptocurrency for less than one year before selling, any gain is classified as short-term and taxed at your ordinary income tax rate. This can be as high as 37% for the highest earners. If you hold for more than one year, the gain qualifies for preferential long-term capital gains rates of 0%, 15%, or 20% depending on your taxable income. For 2026, single filers with taxable income below $47,025 pay 0% on long-term gains. Those earning $47,025 to $518,900 pay 15%. Above that threshold, the rate is 20%. An additional 3.8% Net Investment Income Tax may apply at higher income levels.
Cost Basis Methods: FIFO, LIFO, and HIFO
When you have purchased the same cryptocurrency at different prices over time, the cost basis method you choose determines which coins you are considered to have sold first. FIFO (First In, First Out) assumes you sell your oldest coins first, which often results in the largest gain if prices have risen over time. LIFO (Last In, First Out) assumes you sell your most recently purchased coins first, which can reduce gains if recent purchases were at higher prices. HIFO (Highest In, First Out) sells the highest-cost coins first to minimize gains. The IRS allows you to choose your method, but you must apply it consistently and document your selection. FIFO is the default if you do not specify a method.
Common Taxable Events
Several crypto activities trigger tax obligations beyond simple buy-and-sell transactions. Trading one cryptocurrency for another, such as swapping Bitcoin for Ethereum, is a taxable disposition of the first asset. Using crypto to purchase goods or services is also a taxable event. Receiving cryptocurrency as payment for work is taxed as ordinary income. Staking rewards and mining income are taxed as ordinary income at fair market value when received. Airdrops are generally taxed as income. DeFi activities like lending, providing liquidity, and yield farming each have their own tax implications that can be complex.
Record Keeping and Reporting
Maintaining detailed records of every cryptocurrency transaction is essential for accurate tax reporting. For each transaction, record the date, the type of transaction, the amount of crypto involved, the fair market value at the time, and any fees paid. Starting in 2025, crypto brokers and exchanges must issue 1099-DA forms reporting transactions to both taxpayers and the IRS. However, on-chain transactions, DeFi activities, and transfers between personal wallets may not be captured on these forms, making personal record keeping critical. Several crypto tax software tools can import transaction data from exchanges and wallets to simplify this process.
Frequently Asked Questions
Is cryptocurrency taxable?
What is the difference between short-term and long-term capital gains on crypto?
Can I deduct cryptocurrency losses?
Do I need to report small crypto transactions?
What about staking rewards and mining income?
You might also like
ETH Staking Rewards Calculator
Calculate Ethereum staking rewards with compound interest projections.
⏱ 1 minCryptoImpermanent Loss Calculator
Calculate impermanent loss for DeFi liquidity pool positions.
⏱ 1 minCryptoCrypto Portfolio Calculator
Calculate portfolio value and allocation across cryptocurrencies.
⏱ 2 min