Crypto Tax Calculator: Estimate Tax on Bitcoin & Ethereum
Meet Alex: purchased 1 Bitcoin at $28,000 in August 2023, watched it climb to $94,000, and sold in January 2025 — netting a $66,000 gain. By holding just 17 months, Alex qualified for long-term capital gains rates and owed approximately $9,900 in federal tax (at the 15% LTCG rate) instead of $23,100 at his 35% ordinary income rate. The same economic outcome, $24,000 less in taxes, hinging on a single variable: how long the position was held. This guide explains the IRS rules for crypto taxation in 2026, how to calculate gains and losses on Bitcoin, Ethereum, and any other digital asset, and what Form 1099-DA means for your reporting obligations.
Key Takeaways
- →The IRS treats all cryptocurrency as property, not currency (IRS Notice 2014-21, Revenue Ruling 2023-14). Every sale, trade, or disposal is a taxable event.
- →Short-term gains (held ≤365 days) are taxed at ordinary income rates of 10–37%. Long-term gains (held >365 days) are taxed at preferential 0%, 15%, or 20% rates.
- →Starting in 2026, all centralized U.S. crypto exchanges must report capital gains to the IRS on Form 1099-DA — including cost basis starting in early 2027.
- →Crypto-to-crypto trades (e.g., BTC → ETH) are taxable events at the time of trade, not just when you cash out to dollars.
- →Tax-loss harvesting on crypto has no wash-sale restriction (unlike stocks) — a significant planning advantage that expires if Congress extends wash-sale rules to crypto.
The IRS Crypto Tax Foundation: Property, Not Currency
In IRS Notice 2014-21, the IRS declared that virtual currency is treated as property for federal tax purposes. This foundational ruling has held for over a decade despite the evolution of the crypto market. Revenue Ruling 2023-14 extended the same treatment to cryptocurrency received as staking rewards, confirming they are taxable as ordinary income at fair market value when received.
The property classification has two critical implications. First, whenever you dispose of cryptocurrency — selling it for dollars, trading it for another cryptocurrency, using it to buy goods or services, or transferring it to another wallet you do not control — you have a taxable event requiring you to calculate and report a gain or loss. Second, your gain or loss equals the fair market value of what you received minus your cost basis in the crypto you gave up.
There is no de minimis exception for small crypto transactions. A $2 gain from spending crypto on a coffee requires reporting. In practice, most crypto tax software handles these micro-transactions automatically, but the legal obligation exists regardless of transaction size. Use the Capital Gains Tax Guide for a broader overview of how the IRS taxes all investment disposals.
How to Calculate Crypto Capital Gains: The Step-by-Step Method
Calculating your crypto gain or loss requires four pieces of information: the asset you sold, the date you acquired it, your cost basis, and the fair market value when you sold or traded it.
Crypto Gain Calculation Formula
Capital Gain / Loss = Proceeds − Cost Basis
Proceeds = Fair market value of what you received at time of disposal
Cost Basis = Amount paid to acquire the crypto + fees paid at purchase
Example: Bought 2 ETH at $1,500 each with a $30 network fee = $3,030 cost basis. Sold 2 ETH at $3,200 each with a $40 fee = $6,360 proceeds. Capital gain = $6,360 − $3,030 = $3,330.
Transaction fees paid at purchase are added to your cost basis (increasing it, reducing your gain). Fees paid at sale reduce your proceeds (also reducing your gain). Both are legitimate reductions per IRS regulations — always track fees meticulously. For exchanges that provide transaction history exports, most crypto tax software can import these directly and calculate gains automatically. Use our Capital Gains Tax Calculator to compute the federal tax on your calculated gain.
Short-Term vs Long-Term Crypto Tax Rates (2026)
The single most impactful tax decision for most crypto investors is the holding period. Gains on assets held for one year or less are short-term and taxed at ordinary income rates — the same rates as your salary. Gains on assets held for more than one year are long-term and qualify for preferential capital gains rates.
| Filing Status | 0% LTCG Rate | 15% LTCG Rate | 20% LTCG Rate | Short-Term Rate |
|---|---|---|---|---|
| Single | Up to $49,450 | $49,451–$544,375 | Over $544,375 | 10%–37% |
| Married Filing Jointly | Up to $98,950 | $98,951–$600,050 | Over $600,050 | 10%–37% |
| Head of Household | Up to $66,250 | $66,251–$572,000 | Over $572,000 | 10%–37% |
| Married Filing Separately | Up to $49,450 | $49,451–$300,000 | Over $300,000 | 10%–37% |
The 3.8% Net Investment Income Tax (NIIT) applies to long-term and short-term crypto gains for high earners with modified AGI exceeding $200,000 (single) or $250,000 (married filing jointly), per IRC §1411. This effectively makes the top rate 23.8% for long-term gains and up to 40.8% for short-term gains for the highest earners.
Cost Basis Methods: FIFO, HIFO, and Specific Identification
When you have purchased the same cryptocurrency at multiple times and prices, you must specify which units you are selling to calculate your gain or loss. The IRS allows several cost basis methods, and the choice significantly impacts your tax bill.
FIFO: First In, First Out
The default method for most crypto transactions. Under FIFO, your oldest purchased units are considered sold first. If you bought Bitcoin in 2020 and again in 2023, then sell today, the 2020 purchase is considered sold. This often results in larger gains because the earliest purchases typically have the lowest cost basis — but it also tends to maximize long-term holding periods, qualifying more gains for preferential rates.
HIFO: Highest In, First Out
Under HIFO, you sell your highest-cost units first, minimizing the realized gain on each transaction. This method generally minimizes your current-year tax bill the most aggressively. However, HIFO is a specific identification method that requires contemporaneous records. Per IRS Revenue Procedure 2024-28, crypto taxpayers can use HIFO only if they maintain adequate records to identify specific units sold.
Specific Identification
The most flexible approach — you specify exactly which units you are selling at the time of the transaction, optimizing each trade individually (e.g., selling high-basis short-term units to avoid short-term gains, or selling low-basis long-term units if you need to realize losses for tax-loss harvesting). Must be documented at the time of sale, not retroactively. Most professional crypto tax software supports specific identification with exchange-level records.
Every Taxable Crypto Event You Need to Know
Many crypto investors understand that selling Bitcoin for dollars is taxable but miss other taxable events throughout the year. Here is the complete list per IRS guidance:
- Selling crypto for fiat currency (USD, EUR, etc.) — capital gain or loss
- Trading one cryptocurrency for another (BTC → ETH, ETH → SOL) — taxable at the time of the trade; gain/loss based on FMV of received crypto minus cost basis of sent crypto
- Using crypto to purchase goods or services — disposal at FMV triggers capital gain or loss equal to the difference from your cost basis
- Receiving crypto as payment for work or services — ordinary income at FMV when received; your cost basis is that FMV
- Staking rewards — ordinary income at FMV when received (Revenue Ruling 2023-14); basis equals that FMV
- Mining income — ordinary income at FMV when mined; future sale is a separate capital gains event
- Airdrops — ordinary income at FMV when you have dominion and control; may be zero if tokens are worthless at receipt
- DeFi yield / liquidity pool rewards — treated as ordinary income at FMV when received per IRS Notice 2014-21 extended principles
- Hard forks resulting in new tokens — ordinary income at FMV when you receive the new asset and have control over it
Non-taxable events include transferring crypto between your own wallets, purchasing crypto with fiat (creating a cost basis, not a taxable event), and donating appreciated crypto to a qualified 501(c)(3) charity (which can be a powerful tax strategy — you deduct FMV and avoid capital gains).
Form 1099-DA: The Game-Changer for 2026
Beginning with the 2025 tax year (reported in early 2026), all centralized cryptocurrency exchanges operating in the United States are required to issue Form 1099-DA to customers and report gross proceeds to the IRS. For 2026 tax year returns (filed in early 2027), exchanges will also be required to report cost basis information where available.
This is a fundamental shift in IRS crypto enforcement capability. Previously, the IRS could only obtain transaction data through summons (as it did with Coinbase in 2017 for users with over $20,000 in transactions) or voluntary exchange cooperation. Form 1099-DA creates automatic, universal third-party reporting — similar to what already exists for stocks via Form 1099-B. The IRS will now have a 1099-DA for every significant crypto sale, enabling straightforward cross-referencing with your Schedule D.
Key limitations of 1099-DA: it covers centralized exchanges (Coinbase, Kraken, Gemini, etc.) but not decentralized exchanges, self-custody wallets, or cross-chain bridge transactions. Taxpayers who use DeFi protocols, hardware wallets, or cross-chain activity must continue tracking those transactions manually. The IRS has issued proposed regulations to eventually extend 1099-DA coverage to decentralized exchanges, though final rules are pending as of 2026.
Tax-Loss Harvesting: Crypto's Unique Advantage
Tax-loss harvesting involves selling crypto assets at a loss to offset capital gains elsewhere in your portfolio. Unlike stocks, cryptocurrency is not subject to the IRS wash-sale rule (IRC §1091). This means you can sell Bitcoin at a loss, immediately buy it back, and still claim the loss for tax purposes — a strategy not available with equities, mutual funds, or ETFs.
Here is why this matters in practice: suppose you have a $20,000 short-term gain on Ethereum and a $15,000 unrealized loss on a smaller altcoin. By selling the altcoin to realize that $15,000 loss, you reduce your net short-term gain to $5,000. At a 32% marginal rate, this saves $4,800 in federal tax. If you want to maintain your altcoin position, you can repurchase it immediately — the wash-sale rule does not apply.
Capital losses offset capital gains dollar-for-dollar. Excess losses offset up to $3,000 of ordinary income per year, and remaining losses carry forward indefinitely to future years. Pair this with the Tax-Loss Harvesting Guide for a complete strategy framework.
Warning: Congress has introduced multiple bills to extend wash-sale rules to crypto. If enacted, the wash-sale advantage disappears. Monitor legislative developments, particularly around year-end, if you are executing aggressive crypto tax-loss harvesting strategies.
Reporting Crypto on Your Tax Return: Form 8949 and Schedule D
Crypto transactions are reported on Form 8949 (Sales and Other Dispositions of Capital Assets), with totals carried to Schedule D of Form 1040. Each taxable crypto transaction requires a separate line entry on Form 8949 with:
- Description of the asset (e.g., "1.5 BTC")
- Date acquired
- Date sold or exchanged
- Proceeds (fair market value at time of disposal)
- Cost basis
- Resulting gain or loss
For taxpayers with hundreds or thousands of transactions, Form 8949 can be submitted as an attachment or electronically through tax software. The IRS accepts bulk reporting by check box categories (all short-term basis reported on 1099, all short-term basis not reported on 1099, etc.) as long as the total figures match what is on Schedule D.
Additionally, the Form 1040 now includes a mandatory crypto disclosure question on the first page: "At any time during [the tax year], did you receive (as a reward, award, or payment for property or services), or sell, exchange, or otherwise dispose of a digital asset (or a financial interest in a digital asset)?" Answering "No" when you had taxable crypto activity is a perjury risk. Even if you had no taxable events (only bought and held, no disposals), check "No." If you had any disposal whatsoever, answer "Yes" and complete Form 8949. See the Crypto Tax Guide for a complete walkthrough.
Crypto Tax Calculator: Five Worked Examples
Example 1: Bitcoin Long-Term Gain (Single Filer, $95,000 Ordinary Income)
Bought 0.5 BTC at $40,000 total cost basis in February 2023. Sold for $70,000 in March 2025 (held 25 months). Gain = $30,000 long-term.
Taxable income: $95,000 ordinary + $30,000 LTCG = $125,000 combined. LTCG income above $49,450 single threshold → 15% rate applies to the gain.
Federal tax on the crypto gain: $30,000 × 15% = $4,500
Example 2: Ethereum Short-Term Loss (Married Filing Jointly)
Bought 5 ETH at $3,800 each = $19,000 cost basis in November 2024. Sold for $2,900 each = $14,500 in July 2025 (held 8 months). Short-term loss = $4,500.
Also had $8,000 in short-term stock gains earlier in the year. Net short-term: $8,000 − $4,500 = $3,500 taxable at ordinary income rates.
Crypto loss saved: $4,500 × 22% marginal rate = $990 in federal tax avoided
Example 3: Crypto-to-Crypto Trade (BTC → ETH)
Bought 1 BTC at $22,000 (cost basis) in May 2022. Traded 1 BTC for 14 ETH when BTC was worth $58,000 in April 2024 (held 23 months).
Proceeds = FMV of ETH received = $58,000. Gain = $58,000 − $22,000 = $36,000 long-term capital gain. New ETH cost basis = $58,000 total ($4,143 per ETH).
Federal tax on the trade: $36,000 × 15% = $5,400 (at 15% LTCG rate)
Example 4: Staking Rewards (Ordinary Income)
Received 120 SOL as staking rewards throughout 2025, with FMV totaling $18,000 at time of receipt.
This $18,000 is ordinary income, reported on Schedule 1 (Other Income). Cost basis in the staked SOL = $18,000. Any future sale is a separate capital gains event from that basis.
Tax on staking income: $18,000 × 22% marginal rate = $3,960 (example at 22% bracket)
Example 5: Tax-Loss Harvesting Opportunity
In October 2025: $25,000 short-term gain on Solana. $18,000 unrealized loss on MATIC (held 4 months). Sell MATIC to realize the $18,000 loss.
Net short-term gain: $25,000 − $18,000 = $7,000. Can immediately repurchase MATIC (no wash-sale rule for crypto).
Tax saved: $18,000 × 32% marginal rate = $5,760 in federal tax avoided
Frequently Asked Questions
Do I owe crypto tax if I never converted to cash?
Yes, if you traded one cryptocurrency for another, used crypto to buy goods, or received crypto as income. The IRS taxes all disposals, not just cash-outs. If you only bought crypto and held it in your wallet or on an exchange without selling or trading, you have no taxable event — only an unrealized gain or loss that is not yet reportable. Simply moving crypto between wallets you own is also not taxable.
What if I lost my transaction records?
Contact your exchange for historical transaction exports — most exchanges maintain records for 5–7 years. If records are genuinely unavailable (e.g., an exchange went out of business), you can use blockchain explorers to reconstruct on-chain history for self-custodied wallets. If cost basis cannot be determined at all, IRS guidance generally requires using a cost basis of zero, resulting in the full proceeds being treated as a gain. Per IRS Rev. Proc. 2024-28, some flexibility exists for reconstructed records with supporting documentation.
How is DeFi taxed differently from centralized exchanges?
DeFi transactions are taxed under the same IRS property rules but with significantly more complexity. Providing liquidity to an AMM pool may trigger a disposal event when you deposit assets. Yield farming rewards and liquidity mining rewards are ordinary income at FMV when received. Decentralized exchanges are not yet subject to 1099-DA reporting, so all DeFi tracking is currently self-reported with no automatic cross-referencing — but the IRS has proposed rules to extend broker reporting to DeFi intermediaries.
Can I deduct crypto losses from ordinary income?
Yes, but with a $3,000 annual cap. Capital losses first offset capital gains (short-term losses offset short-term gains first, then long-term gains). Any remaining net capital loss can offset up to $3,000 of ordinary income per year (wages, self-employment income, etc.). Losses beyond $3,000 carry forward indefinitely and apply to future years without expiration. There is no limit on how much capital loss can offset capital gains of the same character.
What happens if I received crypto from an airdrop I didn't ask for?
Unsolicited airdrops are taxable as ordinary income at their fair market value at the time you have "dominion and control" over the tokens — generally when you can access and transfer them. If the airdropped tokens had zero tradeable value at receipt (e.g., no market existed for them), some tax professionals argue no income is recognizable until a market develops. Consult a tax professional for highly uncertain airdrop valuations. Your cost basis in the received tokens equals the income you recognized.
Which crypto tax software is most accurate?
The leading platforms are Koinly, CoinTracker, TaxBit, TokenTax, and CoinLedger — all of which connect to major exchanges via API or CSV import and support FIFO, HIFO, and specific identification. TaxBit stands out for DeFi transaction support. Koinly offers the broadest exchange integrations. For complex situations (large DeFi portfolios, multiple blockchains, NFT transactions), TokenTax and CoinLedger offer CPA review services. LevyIO's capital gains calculator helps verify your totals before filing.
Calculate the Tax on Your Capital Gains
Enter your crypto gains and income level to see exactly how much federal tax applies — long-term vs short-term rates side by side.
Use the Capital Gains Tax Calculator