Crypto Tax Calculator
Calculate crypto tax with our free Crypto tax Calculator. Compare rates, see projections, and make informed financial decisions.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Crypto Tax Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Tax Owed = Capital Gain × Tax Rate (short-term or long-term)
Worked example — Capital Gain: $25,000 | Tax: $6,000 | Net After Tax: $44,000
Formula
Tax Owed = Capital Gain × Tax Rate (short-term or long-term)
Capital gain is calculated as proceeds (sell price × quantity) minus cost basis (buy price × quantity). If held for 12 months or less, the gain is taxed at your ordinary income tax rate (short-term). If held for more than 12 months, the gain is taxed at the preferential long-term capital gains rate (0%, 15%, or 20% depending on income). Losses can offset gains and up to $3,000 of ordinary income per year.
Worked Examples
Example 1: Short-Term Bitcoin Gain
Problem:You bought 1 BTC at $25,000 and sold at $50,000 after 6 months. Your tax bracket is 24%. What tax do you owe?
Solution:Cost Basis = 1 × $25,000 = $25,000 Proceeds = 1 × $50,000 = $50,000 Capital Gain = $50,000 - $25,000 = $25,000 Holding Period = 6 months (short-term) Tax Rate = 24% (ordinary income rate) Tax Owed = $25,000 × 24% = $6,000
Result:Capital Gain: $25,000 | Tax: $6,000 | Net After Tax: $44,000
Example 2: Long-Term Ethereum Gain
Problem:You bought 5 ETH at $2,000 and sold at $4,000 after 18 months. Your tax bracket is 32%. What tax do you owe?
Solution:Cost Basis = 5 × $2,000 = $10,000 Proceeds = 5 × $4,000 = $20,000 Capital Gain = $20,000 - $10,000 = $10,000 Holding Period = 18 months (long-term) Long-term rate for 32% bracket = 15% Tax Owed = $10,000 × 15% = $1,500 Vs. Short-term: $10,000 × 32% = $3,200 (saved $1,700)
Result:Capital Gain: $10,000 | Tax: $1,500 | Tax Saved by Holding: $1,700
Frequently Asked Questions
How is cryptocurrency taxed in the United States?
In the United States, the IRS treats cryptocurrency as property, not currency. This means every sale, trade, or exchange of cryptocurrency is a taxable event that must be reported. When you sell crypto for fiat currency, trade one crypto for another, or use crypto to purchase goods or services, you realize a capital gain or loss. The tax rate depends on how long you held the asset. Short-term gains (held 12 months or less) are taxed at your ordinary income tax rate, which ranges from 10% to 37%. Long-term gains (held more than 12 months) receive preferential rates of 0%, 15%, or 20% depending on your income level. Mining income and staking rewards are taxed as ordinary income at fair market value when received.
What is the difference between short-term and long-term capital gains tax?
Short-term capital gains apply to assets held for 12 months or less and are taxed at your ordinary income tax rate, which can be as high as 37% for the highest earners. Long-term capital gains apply to assets held for more than 12 months and are taxed at preferential rates of 0%, 15%, or 20%. For 2024, the 0% rate applies to individuals earning up to approximately $47,025, the 15% rate applies up to $518,900, and the 20% rate applies above that threshold. This creates a significant tax incentive to hold cryptocurrency for more than one year before selling. The difference can be substantial — on a $50,000 gain, a taxpayer in the 32% bracket would pay $16,000 in short-term tax versus $7,500 in long-term tax.
What crypto transactions are taxable events?
Taxable events include selling cryptocurrency for fiat currency (USD, EUR, etc.), trading one cryptocurrency for another (e.g., BTC to ETH), using cryptocurrency to pay for goods or services, and receiving cryptocurrency as payment for work or services. Non-taxable events include buying cryptocurrency with fiat currency, transferring crypto between your own wallets, and gifting crypto (though the recipient inherits your cost basis). Staking rewards and mining income are taxed as ordinary income when received. DeFi activities like yield farming, liquidity provision, and airdrops can also trigger tax events. The complexity of crypto taxation makes it essential to maintain detailed records of all transactions including dates, amounts, and fair market values.
Can I deduct crypto losses on my taxes?
Yes, cryptocurrency losses can be used to offset gains and reduce your tax liability through a process called tax-loss harvesting. Capital losses first offset capital gains of the same type (short-term losses against short-term gains, long-term against long-term). Any remaining net losses can offset up to $3,000 of ordinary income per year ($1,500 if married filing separately). Losses exceeding $3,000 can be carried forward to future tax years indefinitely. Importantly, as of recent IRS guidance, the wash sale rule that applies to securities may also apply to cryptocurrency, meaning you cannot sell crypto at a loss and repurchase the same asset within 30 days to claim the loss. Always consult a tax professional for the latest rules.
How do I calculate cost basis for crypto trades?
Cost basis is the original purchase price plus any fees paid to acquire the cryptocurrency. Several methods exist for calculating cost basis when you have multiple purchases at different prices. FIFO (First In, First Out) assumes you sell the oldest coins first, which is the default IRS method. LIFO (Last In, First Out) assumes the most recently purchased coins are sold first. Specific Identification allows you to choose which specific coins to sell, providing the most control over tax outcomes. The chosen method significantly affects your tax liability — in a rising market, LIFO typically produces smaller gains because the most recently purchased (and most expensive) coins are sold first. Whichever method you choose, you must apply it consistently and maintain detailed records.
How are cryptocurrency gains taxed?
In the US, crypto is treated as property. Selling, trading, or spending crypto triggers capital gains tax. Short-term gains (held under 1 year) are taxed as ordinary income. Long-term gains get preferential rates of 0%, 15%, or 20%.
What is a crypto wallet and which type should I use?
A wallet stores your private keys. Hot wallets (software) are convenient for frequent trading. Cold wallets (hardware like Ledger or Trezor) are more secure for long-term storage. Never share your seed phrase.
What is dollar-cost averaging in crypto?
DCA means buying a fixed dollar amount of crypto at regular intervals regardless of price. This reduces the impact of volatility and removes the stress of timing the market. It is widely recommended for long-term crypto investors.
What is APY vs APR in crypto yield?
APR is the simple annual rate without compounding. APY includes the effect of compounding. A 10% APR compounded daily equals roughly 10.52% APY. Always compare APY to APY for accurate yield comparisons.
What risks should I consider before investing in crypto?
Key risks include extreme price volatility, regulatory changes, exchange hacks, smart contract vulnerabilities, rug pulls in new projects, and loss of access if you lose your private keys. Never invest more than you can afford to lose.
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Related Calculators
🧮Earnings Per Share Calculator
Calculate basic and diluted EPS from net income, preferred dividends, and shares outstanding.
🧮DCA Crypto Calculator
Calculate dca crypto with inputs, formulas, and instant results.
🧮Pip Calculator
Calculate pip with inputs, formulas, and instant results.
🧮Forex Margin Calculator
Calculate forex margin with inputs, formulas, and instant results.
🧮Forex Profit Calculator
Calculate forex profit with inputs, formulas, and instant results.
🧮Spread Cost Calculator
Calculate spread cost with inputs, formulas, and instant results.
🧮Forex Commission Calculator
Calculate forex commission with inputs, formulas, and instant results.
🧮Currency Pair Correlation Calculator
Calculate currency pair correlation with inputs, formulas, and instant results.