Crypto Profit Calculator
Compute Bitcoin, Ethereum, or any cryptocurrency profit/loss across one or many trades. Includes maker/taker fees, slippage, holding-period sensitivity, and a tax estimator for the United States and India (India treats crypto as a Virtual Digital Asset under Income Tax Act §115BBH at a flat 30%).
Inputs Explained
- Buy Price: Your average buy price per coin/token.
- Buy Quantity: Total coins or tokens purchased.
- Buy Fee %: Exchange fee paid on the buy.
- Sell Price: Current price or planned exit price.
- Sell Fee %: Exchange fee paid on the sell.
- Holding Period: Months between buy and sell — affects tax treatment in the US (>12 months = LTCG).
- Tax Jurisdiction: US (LTCG/STCG schedule) or India (flat 30% VDA tax).
How it Works
Gross profit = (sell − buy) × qty. Net profit subtracts both buy and sell fees. ROI = net profit ÷ initial cost (incl. buy fee). Annualized return = (1 + ROI)^(12/months) − 1. Tax estimate applies your selected jurisdiction's rate to net profit (positive only — losses don't reduce tax in India).
The Formula
Cost = qty × buy_price × (1 + buy_fee%) Proceeds = qty × sell_price × (1 − sell_fee%) Profit = Proceeds − Cost ROI = Profit / Cost Annualized = (1 + ROI)^(12/months) − 1 Tax (US) = LTCG_rate × profit if held > 12 months else marginal_rate × profit Tax (IN) = 30% × max(0, profit) (per §115BBH)
Last reviewed: May 2026
Crypto Profit Calculator
Buy/sell P&L · fees · ROI · multi-currency · tax estimate
Frequently Asked Questions
Crypto P&L = (Sell price − Buy price) × Quantity − Fees. Example: bought 0.5 BTC at $40,000 ($20,000 cost), sold at $50,000 ($25,000 proceeds), $50 in fees. Profit = $25,000 − $20,000 − $50 = $4,950. ROI = 4,950/20,000 × 100 = 24.75%. For multiple buys, calculate average cost first. Convert to your local currency at appropriate exchange rates if buying/selling across currencies. Track every transaction — exchanges don't always provide clean tax-ready records. The calculator handles multiple buys, sells, and fee structures with running P&L.
Crypto ROI = (Final value − Initial investment) / Initial investment × 100. Include all fees. Example: invested $10,000, current value $14,500 after $200 in fees. Net gain = $14,500 − $10,000 − $200 = $4,300. ROI = 4,300/10,000 × 100 = 43%. For ongoing positions, calculate ROI on realised + unrealised separately. Annualised ROI = (1 + ROI)^(1/years) − 1, useful for comparing across assets. Crypto can show extreme ROI swings — a 200% ROI in one year doesn't mean it'll repeat. The calculator handles cumulative ROI for portfolios.
Trading fees compound against you. Each round-trip trade typically incurs 0.1-0.5% fees on each side. Active trader doing 100 trades a year at 0.2% per side could lose 40% of capital just to fees. Even casual buying and selling costs more than people realise. Most exchanges show fees in transaction history — track them carefully. Fees are deductible from cost basis (raising it) and from proceeds (lowering them) for accurate P&L. Maker fees (limit orders) often lower than taker fees (market orders). Consider fees in your strategy. The calculator includes fee impact.
Crypto is taxable in most countries. In the US, every sale, swap, or use of crypto is a taxable event — gains taxed as capital gains (short-term ordinary rate if held under a year, long-term lower rate over a year). In India, crypto gains are taxed at flat 30% plus 4% cess, with no loss offset against other gains, plus 1% TDS on transactions above ₹10,000. UK has CGT with annual exemption. Track every transaction with date, amount, fiat value at the time, and fees. Tools like Koinly or CoinTracker help. The calculator handles country-specific tax estimation.
Cost basis is the original purchase price of crypto including fees, used to calculate gains or losses on sale. Example: bought 1 ETH for $2,000 plus $20 fee = cost basis $2,020. Sell for $3,500 with $30 fee = net proceeds $3,470. Gain = $3,470 − $2,020 = $1,450. For multiple lots, you can use FIFO (US default), LIFO, HIFO, or specific ID. Each method affects realised gains differently. Crypto-to-crypto trades also need cost basis tracking — swapping ETH for SOL is a taxable event in most jurisdictions. The calculator tracks cost basis across multiple transactions.
Average buy price = Total invested / Total quantity bought. Example: bought 0.1 BTC at $30,000 ($3,000), then 0.05 at $40,000 ($2,000), then 0.2 at $25,000 ($5,000). Total invested = $10,000. Total BTC = 0.35. Average = $10,000 / 0.35 = $28,571 per BTC. This is your effective cost basis. Including fees in invested amount makes average more accurate. For tax purposes in many jurisdictions, average is used for mutual funds; specific identification or FIFO for crypto. Always know your average price and total invested. The calculator handles multiple buys with fees.
When converting crypto back to fiat (or to another crypto), realised profit = Sell value (in fiat) − Cost basis − Fees. Example: bought 1 ETH for $2,000, sold for ₹3 lakh (after USD conversion). USD equivalent at sale ≈ $3,500 (assuming exchange rate). Profit = $3,500 − $2,000 = $1,500. In INR terms, that's the realised gain to be reported. Subtract any conversion fees and exchange spread. Crypto-to-crypto conversions are still taxable in most countries even if you don't touch fiat. The calculator handles cross-currency P&L with exchange rates.
Understanding the Crypto Profit Calculator
Worked Example
Asha bought 0.5 BTC at $40,000 with 0.25% fee. 14 months later sells at $65,000 with 0.25% fee. India tax resident.
- Cost: 0.5 × 40,000 × 1.0025 = $20,050
- Proceeds: 0.5 × 65,000 × 0.9975 = $32,419
- Net profit: $32,419 − $20,050 = $12,369
- ROI: 61.7% · Annualized: 51.6%
- India VDA tax: $12,369 × 30% = $3,711 (plus 4% cess; plus 1% TDS already paid on transfer)
- After-tax profit: ~$8,658
Comparison Table
| Buy → Sell | Profit | ROI | US LTCG (15%) | India VDA (30%) |
|---|---|---|---|---|
| $10k → $15k | +$5,000 | +50% | $750 | $1,500 |
| $10k → $30k | +$20,000 | +200% | $3,000 | $6,000 |
| $10k → $5k | −$5,000 | −50% | $0 (loss offsets) | $0 (no offset) |
| $10k → $100k | +$90,000 | +900% | $13,500 | $27,000 |
Excludes fees. India loss cannot offset other income or be carried forward (§115BBH).
Use Cases
- Trade journaling: log each entry/exit and track cumulative P&L.
- Tax planning: estimate annual liability before year-end.
- HODL vs sell decision: compute the rate of return required to justify holding.
- Multi-jurisdiction: compare tax bills if you're considering relocating (CH/DE/PT have favourable regimes).
Glossary
- ROI
- Return on Investment — profit ÷ initial cost, expressed as a %.
- Annualized Return
- Constant annual rate equivalent to your actual return over the holding period.
- LTCG / STCG
- Long-Term / Short-Term Capital Gains. US threshold is 12 months; India eliminated this distinction for VDAs.
- VDA
- Virtual Digital Asset — Indian tax-law term covering all cryptos and NFTs (§2(47A) IT Act).
- TDS
- Tax Deducted at Source — buyer must withhold 1% on crypto transfers > ₹50,000/yr in India.
Sources & References
- IRS Digital Assets — Official US tax guidance on cryptocurrency.
- India Income Tax Department — Section 115BBH and TDS provisions for VDAs.
- HMRC Cryptoassets Manual — UK Capital Gains Tax treatment for individual crypto holders.
- BaFin Germany — Regulatory reference for German crypto-tax framework.