What Is the Crypto Cost Basis Calculator?
The Crypto Cost Basis Calculator is a free online tool designed for crypto investors and traders who need quick, accurate calculations in the cryptocurrency and blockchain space. By entering your total coins held, total amount spent, current price per coin, you get instant results including cost basis per coin, current value, unrealized gain/loss. No formulas to memorize, no spreadsheets to build — just enter your numbers and get the answer in seconds. Whether you're a beginner or experienced professional, this calculator saves you time and eliminates guesswork.
Why This Calculation Matters
Getting cost basis per coin right can make the difference between success and costly mistakes. In cryptocurrency and blockchain, small errors compound quickly. Manual calculations are error-prone and time-consuming, especially under pressure. This calculator applies proven formulas used by crypto investors and traders worldwide, giving you confidence that your numbers are correct. Use it to evaluate your crypto portfolio with precision and avoid common pitfalls that trip up beginners.
When Should You Use This Calculator?
This tool is most useful when you know your total coins held and need to find the right cost basis per coin. It's also great for quick estimates before committing to a decision, and to double-check manual calculations or professional quotes, and when comparing different scenarios side by side. Bookmark this page and come back whenever you need a fast, reliable answer — the calculator is always free and requires no signup.
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 to Use This Calculator
- Enter Your Total Coins Held: Start by entering your total coins held — this is the primary input for the calculation.
- Fill In Additional Details: Complete the remaining fields: total amount spent, current price per coin, coins to sell, holding period, tax bracket. Each value refines the calculation for greater accuracy.
- Click Calculate: Hit the Calculate button to run the numbers. Results appear instantly below.
- Review Your Results: Check your cost basis per coin, current value, unrealized gain/loss. Use these figures to inform your next decision or compare against alternative scenarios.
How It Works
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%).
Tips & Considerations
- Double-check your total coins held before calculating — even small input errors can significantly change your results.
- Run the calculator with different values to compare scenarios and find the optimal approach for your situation.
- Pay attention to both cost basis per coin and current value — they work together to give you the full picture.
- Bookmark this page for quick access next time you need to evaluate your crypto portfolio.
- If you're unsure about your tax bracket, start with a conservative estimate and adjust from there.
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.