Crypto Profit Calculator
Calculate profit or loss on any crypto transaction with FIFO, LIFO, or average cost basis — and see after-tax proceeds.
Interactive Crypto Profit Calculator
Result
Use this free crypto profit calculator to compute profit or loss on any cryptocurrency transaction. Supports FIFO, LIFO, and average cost basis with long-term vs. short-term tax treatment.
How to use this crypto profit calculator
Enter the amount sold, sale price, average cost basis, and holding period. The calculator returns realized gain/loss, federal and state tax, and net after-tax proceeds. Toggle the cost basis method in advanced settings to compare FIFO, LIFO, and average cost outcomes.
Worked example: 0.5 BTC sold at $110K, held 2 years
A long-term holder selling 0.5 BTC at $110,000 per BTC, with an average cost basis of $45,000, held for 2 years (long-term):
- Gross proceeds: $55,000
- Cost basis: $22,500 (0.5 × $45K)
- Realized gain: $32,500
- Holding period: Long-term (>1 year)
- Federal capital gains (15% bracket): $4,875
- State tax (5%): $1,625
- Total tax: $6,500
- Net after-tax proceeds: $48,500
- Effective tax rate on gain: 20%
The same sale held for less than 1 year (short-term) at the 24% federal bracket:
- Federal tax: $7,800 (24% × $32,500)
- Total tax: $9,425
- Net after-tax: $45,575
Holding for over 1 year saved $2,925 in tax on this transaction.
Cost basis method comparison
For a position built from multiple buys:
| Buy | Date | Amount | Price |
|---|---|---|---|
| 1 | 2024-01-15 | 0.1 BTC | $42,000 |
| 2 | 2024-06-01 | 0.2 BTC | $68,000 |
| 3 | 2025-02-10 | 0.2 BTC | $98,000 |
Selling 0.2 BTC at $110,000 in 2026:
FIFO: Sells the earliest 0.2 BTC (buy 1 of 0.1 + half of buy 2). Average cost basis = (0.1 × $42K + 0.1 × $68K) / 0.2 = $55,000. Gain = 0.2 × ($110K - $55K) = $11,000.
LIFO: Sells the latest 0.2 BTC (buy 3 fully + 0 of buy 2). Cost basis = 0.2 × $98K = $98,000. Gain = 0.2 × ($110K - $98K) = $2,400.
Average cost: All 0.5 BTC for $44,400 (total invested). Average cost = $88,800 per BTC. Gain = 0.2 × ($110K - $88.8K) = $4,240.
In a rising market, FIFO produces the largest gain; LIFO produces the smallest. The choice affects current tax and remaining position cost basis.
Tax treatment in the US
Cryptocurrency is taxed as property by the IRS. Each disposal — selling for USD, trading crypto-to-crypto, or spending crypto — triggers capital gains tax:
- Short-term (<1 year): ordinary income rates (10-37% federal)
- Long-term (>1 year): preferential rates (0%, 15%, 20% federal)
State tax varies from 0% (Texas, Florida) to 13.3% (California). High earners may also owe 3.8% Net Investment Income Tax.
Reported on Form 8949 and Schedule D of Form 1040.
Tracking transactions across exchanges
Modern crypto portfolios span multiple platforms:
- Centralized exchanges (Coinbase, Kraken)
- Self-custody wallets (Ledger, Trezor)
- DeFi protocols (Uniswap, Aave)
- Cross-chain bridges
Manual tracking via the calculator works for simple cases. For complex portfolios, dedicated tools like CoinTracker or Koinly aggregate across exchanges via API and produce tax forms automatically.
Tips for crypto tax planning
- Hold for long-term when possible. The rate difference (15-20% long-term vs. 24-37% short-term) is substantial. Even a few weeks of additional holding can save thousands on large sales.
- Harvest losses. Selling positions at a loss offsets gains. Up to $3,000 of net losses can offset ordinary income; remaining losses carry forward.
- Track cost basis carefully. Without accurate records, you may overpay tax. Maintain transaction logs with dates, amounts, and prices.
- Consider specific identification. For high-volume traders, specific ID lets you choose which lots to sell, optimizing the tax outcome.
- Account for state tax. State income tax can add 5-13%. Texas and Florida residents have a structural advantage.
Common mistakes
- Forgetting crypto-to-crypto trades. Every BTC → ETH or token swap is taxable. Many traders miss these.
- Using the wrong cost basis. FIFO, LIFO, and average cost produce different gains. Consistency matters.
- Ignoring fees. Transaction fees add to cost basis for buys and reduce proceeds for sells.
- Not reporting staking or airdrops. Income from staking, airdrops, and interest is taxable as ordinary income at receipt.
- Missing the wash sale rule. Currently applies to securities, not crypto — but proposed legislation would extend it. Be aware of pending changes.
Related Tools
- Bitcoin DCA Calculator – Project bitcoin accumulation through DCA.
- Crypto Tax Calculator – Estimate total crypto tax liability.
- BTC to USD Calculator – Convert BTC to USD at any price.
- Bitcoin Mining Calculator – Estimate mining profitability.
- Percentage Calculator – Quick percentage math for any scenario.
| Holding period | Tax rate (federal) | Notes | Examples |
|---|---|---|---|
| Less than 1 year (short-term) | Ordinary income (10-37%) | Same as W-2 wages | Frequent trades, swing trades |
| 1+ year (long-term) | 0%, 15%, or 20% | Preferential long-term capital gains rates | Long-term holds, retirement accounts |
| Income tax bracket under $47K (single) | 0% LTCG | Lower-income taxpayers | Lower-income long-term holders |
| Income $47K-518K (single) | 15% LTCG | Most middle and upper-middle income | Most US households |
| Income above $518K (single) | 20% LTCG | Plus 3.8% NIIT for high earners | High-income households |
| State tax | 0-13.3% | Varies by state; 9 states have no income tax | California 9.3%, Hawaii 7.25%, others vary |
Compare your options
Two methods, three minutes. The honest trade-off table.
This crypto profit calculator
- + FIFO, LIFO, and average cost basis methods.
- + Long-term vs. short-term capital gains distinction.
- + After-tax net proceeds calculation.
- − Manual transaction entry required.
CoinTracker / Koinly
- + Automatic transaction import from exchanges and wallets.
- + Comprehensive tax form generation (Form 8949, Schedule D).
- − $50-300/year subscription.
- − API access required for full automation.
Exchange tax reports (Coinbase, Kraken)
- + Free for users of that exchange.
- + Basic gains/losses for that platform.
- − Limited to one exchange's transactions.
- − Often misses transfers, DeFi, and self-custody wallets.
Who actually uses Crypto Profit Calculator?
Five concrete situations pulled from real sessions, with the exact inputs people paste in.
Profit/loss calculations across multiple buys and sells.
Enter each buy and sell transaction. The calculator applies FIFO, LIFO, or average cost basis and shows realized gain/loss for tax reporting.
Track per-trade profit and overall portfolio returns.
Log each trade with entry price, exit price, and fees. The calculator shows per-trade profit, percentage gain, and after-tax net proceeds.
See the tax impact of a hypothetical sale.
Enter a hypothetical sale amount and the calculator returns capital gains, tax owed, and net after-tax proceeds. Useful for sell decisions.
Realized vs. unrealized gains summary.
The calculator distinguishes between realized gains (sold positions) and unrealized gains (still held), useful for portfolio tracking.
Aggregate P&L across multiple platforms.
Log transactions from different exchanges and wallets. The calculator aggregates them into a single P&L view.
A crypto profit calculator with multiple cost basis methods and after-tax projections
Calculating crypto profit and loss requires tracking purchases, sales, exchanges, and fees across multiple wallets and platforms. This tool accepts transaction logs and applies FIFO, LIFO, or average cost basis to compute realized gains and losses. Long-term vs. short-term gains are distinguished for accurate tax treatment. Use it to plan sales, prepare tax filings, or track portfolio performance.
FIFO, LIFO, and average cost basis
Switch between cost basis methods to see how each affects reported gains. FIFO is IRS default; LIFO often produces smaller gains in rising markets; average cost simplifies multi-buy accounting.
Long-term vs. short-term distinction
The calculator distinguishes between short-term (<1 year) and long-term (>1 year) holdings, applying the correct federal tax rate to each. State tax can be added in advanced settings.
Net proceeds after taxes and fees
Output shows gross proceeds, capital gains, federal tax, state tax (if added), and net after-tax proceeds. Useful for sell decisions and cash flow planning.
No exchange linking, manual entry
All transactions are entered manually. No API connections, no account creation, no exchange linking. Privacy is preserved for sensitive financial data.
What you only get here: a free crypto profit calculator with FIFO/LIFO/average cost basis and long-term vs. short-term tax treatment — without exchange linking or a subscription.