How to Calculate Crypto Taxes in 2026: Step-by-Step Guide (with Examples)
Calculating crypto taxes feels overwhelming when you are staring at a year of trades across multiple wallets and exchanges — but it comes down to a simple formula applied consistently. This step-by-step guide walks through exactly how to calculate what you owe for the 2026 tax year: the core formula, cost basis methods, tax rates, worked examples, and which IRS forms to file.
The core formula
Every crypto tax calculation starts with one equation, applied to each disposal:
Proceeds = what you received when you sold, traded, or spent the crypto (its fair market value in USD)
Cost Basis = what you originally paid for it, including fees
If you buy 1 ETH for $1,500 plus a $50 fee, your cost basis is $1,550. Sell it later for $2,500 and your gain is $2,500 − $1,550 = $950. That gain is what you are taxed on, not the full $2,500.
Step 1: Identify your taxable events
Before calculating, know what actually triggers tax. The IRS treats crypto as property (Notice 2014-21), so disposing of it is a taxable event:
| Taxable | NOT taxable |
|---|---|
| Selling crypto for USD | Buying crypto with USD |
| Trading one crypto for another | Holding crypto |
| Spending crypto on goods/services | Moving crypto between your own wallets |
| Earning staking/mining rewards | Donating to a qualified charity |
| Receiving airdrops | Gifting (under the annual exclusion) |
Step 2: Gather your transaction history
You need a complete record of every transaction: the date, the type, the amount of crypto, its USD value at the time, and any fees. Pull this from every exchange and wallet you used. Missing transactions are the most common cause of incorrect crypto tax calculations.
Step 3: Choose a cost basis method
When you bought the same coin at different prices, the accounting method decides which "lot" you sold — and that changes your gain. The four IRS-recognized methods:
| Method | Which lot is sold first | Effect |
|---|---|---|
| FIFO (First In, First Out) | Oldest coins first | IRS default; may qualify older lots for long-term rates |
| LIFO (Last In, First Out) | Newest coins first | Can reduce gains in a rising market |
| HIFO (Highest In, First Out) | Most expensive coins first | Typically minimizes current-year gains |
| Spec ID (Specific Identification) | You choose each lot | Maximum control; needs meticulous records |
FIFO is the IRS default. If you use another method, you must keep detailed records and apply it consistently. Once chosen for a tax year, apply the same method across all transactions.
Step 4: Determine your holding period
How long you held before disposing decides your rate:
- Short-term (held 1 year or less): taxed as ordinary income, 10–37%
- Long-term (held more than 1 year): taxed at 0%, 15%, or 20% depending on income
Step 5: Apply the tax rates
Long-term capital gains (2026)
| Rate | Single income |
|---|---|
| 0% | Up to ~$48,350 |
| 15% | ~$48,351 to ~$533,400 |
| 20% | Above ~$533,400 |
Short-term gains are taxed at your ordinary income bracket (10–37%). High earners add the 3.8% Net Investment Income Tax (NIIT), plus any state tax (0% in FL/TX/WY, up to 13.3% in CA).
Step 6: Calculate earned crypto (income)
Staking, mining, and airdrops are different — they are ordinary income at fair market value when you receive and control them (Rev. Rul. 2023-14). That value also becomes your cost basis for when you later sell. So earned crypto is potentially taxed twice: once as income on receipt, once as a capital gain on sale.
Full worked example
Scenario: Tyler earns $95,000 (single, Texas — no state tax). In 2026 he:
- Bought 2 ETH at $2,000 each ($4,000 total), sold 8 months later for $6,000 → short-term gain $2,000
- Bought 1 BTC at $30,000 in 2023, sold in 2026 for $50,000 → long-term gain $20,000
- Earned $500 in staking rewards
Calculation:
- Short-term gain $2,000 taxed at 22% (his bracket) = $440
- Long-term gain $20,000 taxed at 15% = $3,000
- Staking income $500 taxed at 22% = $110
- No NIIT (income below $200k), no state tax (Texas)
- Total crypto tax: $3,550
Step 7: Handle losses
Capital losses offset capital gains. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income per year ($1,500 if married filing separately) and carry the rest forward to future years. Note: the wash-sale rule does NOT currently apply to crypto — you can sell at a loss and immediately rebuy. The PARITY Act (a December 2025 discussion draft) would change this, but it has not been enacted.
Step 8: The per-wallet rule (2026)
As of January 1, 2026, the IRS requires per-wallet cost basis tracking under Rev. Proc. 2024-28. You can no longer pool cost basis across wallets — each wallet maintains its own inventory. This makes accurate per-wallet records essential.
Step 9: Report on the right IRS forms
- Form 8949 — list every disposal with dates, proceeds, cost basis, and gain/loss
- Schedule D — totals your short-term and long-term gains/losses
- Schedule 1 — report staking, mining, and airdrop income as "Other Income"
- Schedule C — if crypto activity is a business
- Form 1040 — answer the digital-asset question truthfully
- Form 1099-DA — exchanges issue this for 2025 sales (proceeds only); reconcile it against your records
Frequently asked questions
How do I calculate my crypto taxes?
For each disposal, subtract your cost basis (what you paid plus fees) from your proceeds (what you received). The result is your capital gain or loss. Apply short-term rates (10–37%) if held a year or less, or long-term rates (0/15/20%) if held longer. Add earned crypto as ordinary income at its value when received. Report disposals on Form 8949 and Schedule D, income on Schedule 1.
What is cost basis in crypto?
Cost basis is the original amount you paid for crypto, including transaction fees. For example, buying 1 ETH for $1,500 with a $50 fee gives a cost basis of $1,550. For earned crypto (staking, airdrops), the cost basis is the fair market value when you received it. Your gain is proceeds minus cost basis.
Is trading one crypto for another taxable?
Yes. Crypto-to-crypto trades are taxable in the US. Swapping BTC for ETH is treated as selling your BTC at fair market value (triggering a capital gain or loss), then buying ETH. You must calculate the USD value of the trade even though no cash was involved.
What cost basis method should I use?
FIFO (First In, First Out) is the IRS default and simplest. HIFO (Highest In, First Out) typically minimizes current-year gains. LIFO and Specific Identification are also allowed but require detailed records. Whichever you choose, apply it consistently across all transactions for the tax year, and remember the per-wallet rule from 2026.
How much tax do I pay on crypto?
It depends on holding period and income. Short-term gains (held a year or less) are taxed at your ordinary rate, 10–37%. Long-term gains (held over a year) are taxed at 0%, 15%, or 20%. High earners add 3.8% NIIT, plus state tax of 0–13.3%. Earned crypto like staking is taxed at ordinary income rates.
Can I deduct crypto losses?
Yes. Capital losses offset capital gains dollar for dollar. If losses exceed gains, you can deduct up to $3,000 against ordinary income per year and carry the remainder forward. Currently the wash-sale rule does not apply to crypto, so you can sell at a loss and rebuy immediately, though proposed legislation may change this.
Do I need to report crypto if I didn't sell?
If you only bought and held crypto, there is no taxable event and nothing to report for those holdings (though you still answer the Form 1040 digital-asset question). However, if you earned crypto through staking, mining, or airdrops, that is taxable income even if you never sold it.
What is the per-wallet rule for 2026?
Starting January 1, 2026, the IRS requires cost basis to be tracked per wallet under Rev. Proc. 2024-28. You can no longer blend or pool cost basis across multiple wallets — each wallet maintains its own separate inventory of lots. This affects how you calculate gains when you have crypto spread across several wallets.
Do I have to calculate crypto taxes if the exchange sent a 1099-DA?
Yes. For 2025, the 1099-DA reports only gross proceeds, not cost basis. You must still calculate your cost basis and gain yourself, especially for transferred-in crypto where the form may show zero basis. Reconcile the 1099-DA against your own records before filing, or you risk overpaying on your full proceeds.
Bottom line
Calculating crypto taxes is repetitive but not complicated: for every disposal, subtract cost basis from proceeds, classify it short- or long-term, and apply the right rate. Add earned crypto as income at its value on receipt. Pick a cost basis method and apply it consistently, track each wallet separately under the 2026 rule, and reconcile any 1099-DA against your own records. For a few trades, the math is manageable by hand or with the calculator below. For hundreds of transactions across multiple wallets, crypto tax software saves hours. Either way, keep detailed records — they are your protection if the IRS ever asks.
Estimate your federal + state crypto tax in 30 seconds
Free, private, and updated for the 2026 tax year — US, Canada & UK.
Open the calculator →