Crypto

Crypto Tax Calculator

Estimate your capital gains tax on cryptocurrency trades. Compare short-term vs. long-term rates, and understand how FIFO and LIFO accounting methods affect your tax liability.

Quick Answer

Selling 1 BTC purchased at $20,000 for $65,000 produces a $45,000 capital gain. If held over a year, long-term capital gains tax at the 15% rate yields approximately $6,750 in taxes. If held under a year, you pay your ordinary income tax rate (22-37% depending on your bracket), potentially $9,900 to $16,650 in taxes.

$
$
$

First In, First Out - oldest coins sold first

Tax Estimate

Capital Gain
$45,000.00
Tax Rate
15%
Long-term (held > 1 year)
Tax Owed
$6,750.00
Net After Tax
$38,250.00

Transaction Summary

Cost Basis (purchase)$20,000.00
Total Proceeds (sale)$65,000.00
Capital Gain$45,000.00
Holding PeriodLong-term (held > 1 year)
Applicable Tax Rate15%
Cost Basis MethodFIFO (First In, First Out)
Estimated Tax Owed$6,750.00
Net Gain After Tax$38,250.00

Short-Term vs. Long-Term Comparison

Short-term tax (22%)$9,900.00
Long-term tax (15%)$6,750.00
Savings from holding > 1 year$3,150.00
Disclaimer: This calculator provides estimates for educational purposes only based on simplified US federal tax brackets. Actual tax liability depends on your complete financial situation, state taxes, net investment income tax (NIIT), deductions, and other factors. Tax laws change frequently and cryptocurrency taxation is an evolving area. This is not tax or financial advice. Consult a qualified tax professional or CPA familiar with cryptocurrency taxation for guidance specific to your situation.

About This Tool

The Crypto Tax Calculator helps you estimate the capital gains tax owed on cryptocurrency trades in the United States. When you sell, trade, or otherwise dispose of cryptocurrency for more than you paid, the profit is subject to capital gains tax. The rate you pay depends on how long you held the asset and your income level. This calculator supports both short-term and long-term holding period classifications, and explains the difference between FIFO and LIFO cost basis accounting methods.

How Crypto Capital Gains Tax Works

The IRS treats cryptocurrency as property, not currency. This means that every sale, trade, or exchange of crypto triggers a taxable event. Your capital gain or loss is the difference between what you paid for the cryptocurrency (your cost basis) and what you received when you sold it (your proceeds). If you bought 1 BTC at $20,000 and sold it at $65,000, your capital gain is $45,000. Losses can be used to offset gains, and up to $3,000 in net losses can be deducted against ordinary income each year, with excess losses carried forward to future years.

Short-Term vs. Long-Term Capital Gains

The holding period determines which tax rate applies. If you held the cryptocurrency for one year or less before selling, the gain is classified as short-term and taxed at your ordinary income tax rate, which ranges from 10% to 37% depending on your total taxable income. If you held it for more than one year, the gain is classified as long-term and taxed at preferential rates of 0%, 15%, or 20%, depending on your income level. For most taxpayers, the long-term rate is 15%, making it significantly cheaper to hold crypto for more than a year before selling. High earners may also owe the 3.8% Net Investment Income Tax (NIIT) on top of capital gains rates.

FIFO vs. LIFO Cost Basis Methods

When you have purchased the same cryptocurrency at different prices over time and then sell a portion, you need to determine which coins you are selling. FIFO (First In, First Out) assumes you sell the oldest coins first. LIFO (Last In, First Out) assumes you sell the most recently purchased coins first. The choice of method can significantly impact your tax liability. If crypto prices have been rising, FIFO typically results in larger gains (because you are selling coins purchased at lower prices), while LIFO may result in smaller gains. The IRS allows you to use specific identification of lots, which gives you the most control over your tax outcome. Whichever method you choose, you must apply it consistently.

Taxable Events in Cryptocurrency

Not all crypto transactions are taxable. Buying cryptocurrency with fiat currency and holding it is not a taxable event. Transferring crypto between your own wallets is not taxable. However, the following are taxable events: selling crypto for fiat currency, trading one cryptocurrency for another (e.g., BTC for ETH), using crypto to purchase goods or services, receiving crypto as payment for work (taxed as ordinary income), and receiving mining or staking rewards (taxed as ordinary income at fair market value when received). Each of these events requires calculating the gain or loss based on the cost basis at the time of the transaction.

Record Keeping and Reporting

Proper record keeping is essential for cryptocurrency tax compliance. You should track the date of every purchase and sale, the amount of crypto involved, the price paid or received in USD, any fees paid, and which exchange or platform was used. Most major exchanges provide transaction history exports, but if you use multiple platforms, decentralized exchanges, or peer-to-peer transactions, you may need to consolidate records manually. The IRS requires reporting crypto gains and losses on Form 8949 and Schedule D of your tax return. Failure to report cryptocurrency income can result in penalties, interest, and potential criminal prosecution.

State Taxes and Additional Considerations

In addition to federal capital gains tax, most states impose their own income tax on capital gains. State rates vary from 0% (in states like Texas, Florida, and Nevada that have no income tax) to over 13% in California. Some states treat capital gains differently than ordinary income, while others tax them at the same rate. This calculator estimates federal tax only, so you should factor in your state tax obligation separately. International taxpayers should consult professionals familiar with their local cryptocurrency tax regulations, as treatment varies significantly between countries.

Frequently Asked Questions

Do I have to pay taxes on crypto if I haven't sold?
No. Simply holding cryptocurrency is not a taxable event. You only owe capital gains tax when you sell, trade, or otherwise dispose of crypto. However, receiving crypto as income (from mining, staking, airdrops, or payment for work) is taxable when received, regardless of whether you sell it.
What happens if I sell crypto at a loss?
Capital losses can offset capital gains dollar-for-dollar. If your total crypto losses exceed your gains, you can deduct up to $3,000 of net losses against ordinary income per year. Any remaining losses carry forward to future tax years. Note the wash sale rule: if you sell crypto at a loss and repurchase the same asset within 30 days, the IRS may disallow the loss deduction.
Is trading one crypto for another taxable?
Yes. Swapping BTC for ETH, or any crypto-to-crypto trade, is a taxable event. The IRS treats it as if you sold the first crypto for USD and then purchased the second. You must calculate the gain or loss based on the fair market value at the time of the trade compared to your cost basis in the first crypto.
What is the difference between FIFO and LIFO?
FIFO (First In, First Out) sells your oldest holdings first, while LIFO (Last In, First Out) sells your newest holdings first. In a rising market, FIFO typically creates larger gains (higher taxes) because older coins were purchased at lower prices. LIFO creates smaller gains in rising markets but larger gains in falling markets. You can also use specific identification to choose exactly which lots to sell.
How does the IRS know about my crypto?
Major exchanges (Coinbase, Kraken, Binance US, etc.) report customer transactions to the IRS using Forms 1099-B or 1099-MISC. The IRS has also issued John Doe summonses to exchanges for customer records. Blockchain analysis firms help the IRS trace transactions. Since 2020, Form 1040 has included a question about cryptocurrency transactions. Non-compliance can result in audits, penalties, and criminal prosecution.
Are staking and mining rewards taxable?
Yes. Staking and mining rewards are taxed as ordinary income at their fair market value when received. When you later sell the rewarded crypto, any price change since receipt is subject to capital gains tax. The holding period for capital gains purposes starts when the rewards are received, not when the original stake was placed.