Crypto Cost Basis Calculator
Capital Gains Tax Rates (2024)
Federal tax rates for cryptocurrency gains by holding period and income level
| Holding Period | Income Range (Single) | Tax Rate | Example on $10K Gain |
|---|---|---|---|
| Long-term (>1yr) | Under $47,025 | 0% | $0 |
| Long-term (>1yr) | $47,026–$518,900 | 15% | $1,500 |
| Long-term (>1yr) | Over $518,900 | 20% | $2,000 |
| Short-term (<1yr) | $11,601–$47,150 | 12% | $1,200 |
| Short-term (<1yr) | $47,151–$100,525 | 22% | $2,200 |
| Short-term (<1yr) | $100,526–$191,950 | 24% | $2,400 |
| Short-term (<1yr) | $191,951–$243,725 | 32% | $3,200 |
| Short-term (<1yr) | Over $609,350 | 37% | $3,700 |
How We Calculate This
This crypto cost basis calculator uses established formulas and industry-standard data to provide accurate estimates.
- Enter your specific values into the calculator fields above
- Our algorithm applies the relevant formulas using your inputs
- Results are calculated instantly in your browser — nothing is sent to a server
- Review the detailed breakdown to understand how each factor affects your result
These calculations are estimates based on standard formulas. For critical decisions, always consult a qualified professional.
How to Convert Oven Recipes to Air Fryer
This calculator computes your average cost basis by dividing total amount spent by total coins purchased, then calculates unrealized gains and estimated tax liability.
The basic rule:
- Cost basis per coin = total amount spent / total coins acquired
- Unrealized gain = (current price - cost basis) × total coins held
- Long-term capital gains (held over 1 year) are taxed at 0%, 15%, or 20% depending on income
- Short-term capital gains (held under 1 year) are taxed as ordinary income at your marginal tax rate
- The IRS requires reporting all cryptocurrency dispositions on Form 8949
This is an estimate for planning purposes. Consult a tax professional for official tax advice. Actual tax liability may differ based on your complete tax situation, state taxes, and the Net Investment Income Tax (3.8%).
When Would You Use This Calculator?
This crypto cost basis calculator is designed for anyone who needs quick, reliable estimates without complex spreadsheets or professional consultations.
- When you need a quick estimate before committing to a purchase or project
- When comparing different options or scenarios side by side
- When planning a budget and need to understand potential costs
- When you want to verify a quote or estimate you've received from a professional
- When teaching or learning about the concepts behind these calculations
Frequently Asked Questions
What is crypto cost basis?
Cost basis is the original value of your cryptocurrency for tax purposes, usually the purchase price plus any fees. When you sell, your capital gain or loss equals the sale price minus your cost basis. Tracking cost basis accurately is essential for tax reporting.
What is FIFO vs average cost?
FIFO (First In, First Out) assumes the earliest-purchased coins are sold first. Average cost divides total spent by total coins for a single per-coin cost. The IRS allows specific identification of lots, which can be used to minimize taxes by selling highest-cost-basis coins first (HIFO).
Are crypto-to-crypto trades taxable?
Yes, swapping one cryptocurrency for another (e.g., BTC to ETH) is a taxable event. You must calculate the gain or loss on the disposed crypto based on its fair market value at the time of the trade. DeFi swaps, NFT purchases, and wrapped token conversions are also taxable.
How do I lower my crypto tax bill?
Strategies include holding over 1 year for lower long-term rates, harvesting losses to offset gains, donating appreciated crypto to charity, using specific lot identification to sell highest-cost-basis coins first, and timing sales in lower-income years.
What crypto transactions are taxable?
Taxable events include selling crypto for fiat, trading crypto-to-crypto, using crypto for purchases, and earning crypto (mining, staking, airdrops). Non-taxable events include buying and holding, transferring between your own wallets, and gifting under the annual exclusion limit.