Money & Finance · Free tool
Crypto Capital Gains Calculator
Calculate short-term vs long-term capital gains tax on a crypto sale using current federal brackets. Free, instant, no sign-up. Not tax advice.
Not tax advice. Estimates use simplified federal rates and ignore state tax, wash-sale rules, NIIT, AMT, and cost-basis method choices. Consult a CPA or use IRS-certified software for your actual return.
Advertisement
What it does
The IRS classifies cryptocurrency as property, not currency, which means every taxable disposition — sale for fiat, swap for another coin, payment for goods, even gas fees on Ethereum sometimes — triggers a capital-gain or capital-loss event. The gain equals proceeds minus cost basis (what you paid plus fees). Holding period determines whether the gain is short-term (held one year or less, taxed at ordinary income rates of 10 to 37 percent depending on bracket) or long-term (held more than one year, taxed at 0, 15, or 20 percent depending on income). That one-year boundary can mean the difference between paying 22 percent and paying 0 percent — for many investors it’s the single highest-leverage tax decision in their portfolio.
This calculator takes your buy price, sell price, holding period, filing status, and taxable-income tier, then estimates the federal capital-gains tax owed on the transaction. Long-term thresholds for tax year 2024: single filers pay 0 percent on long-term gains up to $47,025 of total taxable income, 15 percent from $47,026 to $518,900, and 20 percent above. Married filing jointly: 0 percent up to $94,050, 15 percent to $583,750, 20 percent above. Short-term gains stack on top of ordinary income and follow the same brackets as wages. Add 3.8 percent NIIT (Net Investment Income Tax) for high-income filers above $200K single / $250K MFJ.
Caveats and complications this tool does NOT handle: state taxes (New York, California, New Jersey can add 5 to 13 percent on top — California treats long-term and short-term identically as ordinary income), wash-sale rules (currently NOT applied to crypto by IRS, unlike securities — meaning you CAN tax-loss-harvest by selling at a loss and rebuying immediately, though Congress has proposed closing this loophole repeatedly), like-kind exchanges (no — Section 1031 was restricted to real estate in 2017, so swapping BTC for ETH is a taxable event), and DeFi staking/lending income (taxed as ordinary income at receipt). For anything beyond simple buy-sell, talk to a crypto-savvy CPA and use a transaction-import tool like Koinly, CoinTracker, or TaxBit.
Embed this tool on your siteShow snippetHide
Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.
<iframe src="https://freetoolarena.com/embed/crypto-capital-gains-calculator" width="100%" height="720" frameborder="0" loading="lazy" title="Crypto Capital Gains Calculator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>How to use it
- Enter your purchase (basis) price and total — what you paid in USD including fees.
- Enter your sell price and total proceeds in USD.
- Enter the holding period (days or months) — the tool flags whether you crossed the 1-year long-term threshold.
- Pick your filing status (single, MFJ, HoH) and approximate taxable-income tier.
- Read the estimated federal tax, after-tax net proceeds, and effective tax rate. Add state tax separately.
When to use this tool
- Planning whether to sell now (short-term) or hold a few more weeks/months to cross the 1-year mark for long-term rates.
- Estimating tax owed before filing season so you can set aside cash and avoid an underpayment penalty.
- Comparing the after-tax outcome of selling at multiple price points or in multiple lots.
- Tax-loss harvesting decisions — quantifying the dollar value of realizing a loss to offset other gains.
When not to use it
- DeFi/staking income, NFT sales (collectibles tax = up to 28%), or hard-forks — those have separate rules.
- Multi-lot or FIFO/LIFO/specific-ID basis decisions across many transactions — use Koinly/CoinTracker/TaxBit.
- Non-US filers — capital-gains rules vary dramatically by country (UK, Germany, Portugal, Singapore all very different).
- As a substitute for a CPA when you have $50K+ in crypto activity — the regulations are evolving and audit risk rises with volume.
Common use cases
- Educational use — demonstrating the underlying concept
- Onboarding a colleague who needs the same calculation/conversion
- Verifying a number or output before passing it on
- Quick calculation during a typical workday
Frequently asked questions
- Do I owe tax if I just swap BTC for ETH?
- Yes. The IRS treats every crypto-to-crypto trade as two transactions: sell BTC for fair-market USD value, buy ETH at that same USD value. Section 1031 like-kind exchange treatment was eliminated for crypto by the 2017 Tax Cuts and Jobs Act. Track your cost basis carefully — every swap creates a taxable event.
- What about DeFi liquidity provision or staking rewards?
- Staking rewards and lending interest are typically taxed as ordinary income at fair-market value when received. When you later sell those tokens, you have a separate capital-gain calculation with the receipt-day price as your basis. DeFi liquidity-pool tokens are murky — current IRS guidance is incomplete; consult a crypto CPA.
- Does the wash-sale rule apply to crypto?
- As of tax year 2024, no. The wash-sale rule (which disallows a loss if you rebuy substantially identical securities within 30 days) applies to securities, not property. Since crypto is property, you can sell at a loss and rebuy the next day to lock in a tax loss. Congress has proposed closing this every year — check current rules before relying on it.
- What if I use crypto to buy a coffee?
- Technically a taxable event. You sold crypto for the dollar value of the coffee; if your basis was lower, you owe tax on the gain. The IRS hasn’t aggressively enforced this on tiny amounts but legally it’s no different from selling for cash. Most people use the de minimis argument informally.
- What records do I need?
- For each transaction: date acquired, date sold, cost basis (price paid + fees), proceeds (price received - fees), and the specific lot used (for specific-ID basis tracking). Exchanges generally provide year-end CSVs; for self-custody and DeFi, transaction history from on-chain explorers + a tracker tool. The IRS requires Form 8949 for each disposition.
- Can I gift crypto to avoid tax?
- Gifts up to $18,000 per recipient per year (2024) avoid gift-tax filing. The recipient inherits your cost basis (carryover basis) and your holding period, so they’ll owe tax when they sell. If you donate to a 501(c)(3) charity, you get a fair-market-value deduction and avoid the capital gain entirely — a popular strategy for highly-appreciated holdings.
Advertisement
Learn more
Guides about this topic
- Money & Business · GuideHow to Invest in Real Estate CrowdfundingFree side-by-side: Fundrise, RealtyMogul, and Arrived. Compare returns, lockups, fees, and tax treatment in your browser. Not financial advice.
- Money & Business · GuideHow to Save Money FastGenerate 15 real tactics to save money fast by automating cuts and raising income. Instant checklist, free and no sign-up required.
- Money & Business · GuideThe Best Side Hustles for BeginnersFilter honest side hustle ideas by immediate payout and long-term potential instantly. Identify real opportunities and skip the scams free online.
- Money & Business · GuideHow to Start Investing With $100Start investing with just $100: pick a broker, buy a low‑cost index fund, and automate your contributions. Free online guide with no sign‑up required.
- Money & Business · GuideHow to Make a Monthly BudgetBuild a budget in 20 minutes using zero-based rules. Create your monthly budget online for free instantly with no registration, tailored to your life.
- Money & Business · GuideHow to Pay Off Debt FastCompare snowball and avalanche debt payoff methods with real math—which saves dollars, which builds momentum. A free instant calculator, no sign-up needed online.
Explore more money & finance tools
- Scientific CalculatorSolve expressions with trigonometry, logarithms, sqrt, pi, and e instantly online. Use the free scientific calculator with history and DEG/RAD toggle.
- Amortization CalculatorFull amortization schedule for any fixed-rate loan. Principal vs interest split per payment, total interest, CSV export.
- Percentage Change CalculatorCalculate the percent change between two values with direction indicators and absolute delta instantly. Free, no-sign-up tool right in your browser for finances.
- CalculatorPerform quick add, subtract, multiply, and divide calculations with full keyboard support instantly online. Use this free, no-ads basic calculator in your browser with no downloads.
- Low-Buy Year TrackerLog every purchase, mark needs vs. wants, and monitor monthly budgets to curb lifestyle creep. Free, no-signup tool to track your spending in seconds.
- Subscription Fatigue AuditorList your subscriptions, mark each keep/review/cancel. Auto-flags low-use services and projects yearly savings if you act on the kill list.