A crypto profit calculator helps you determine how much you’ve made or lost on a cryptocurrency investment — accounting for your buy price, sell price, investment amount, and any trading fees. This guide walks through the exact formulas, example calculations for common scenarios, and links to the best free tools available.
Whether you’re calculating profit on a Bitcoin trade, figuring out your return on a DCA strategy, or working out taxable gains, the math is straightforward once you understand the formulas.
Crypto Profit Calculator Formula
The core formula for crypto profit:
Profit = (Sell Price × Amount Sold) − (Buy Price × Amount Bought) − Total Fees
And for percentage return:
ROI % = (Profit ÷ Total Investment) × 100
How to Calculate Crypto Profit: Step-by-Step Examples
Example 1: Basic Buy and Sell
You buy 0.5 BTC at $40,000 and sell at $60,000. Exchange fee is 0.1% each way.
- Investment: 0.5 × $40,000 = $20,000
- Buy fee: $20,000 × 0.1% = $20
- Sale proceeds: 0.5 × $60,000 = $30,000
- Sell fee: $30,000 × 0.1% = $30
- Profit = $30,000 − $20,000 − $20 − $30 = $9,950
- ROI = ($9,950 ÷ $20,000) × 100 = 49.75%
Example 2: Dollar-Cost Averaging (DCA)
You buy ETH three times at different prices, then sell everything:
| Purchase | Price | Amount (USD) | ETH Received |
|---|---|---|---|
| Month 1 | $2,000 | $500 | 0.25 ETH |
| Month 2 | $1,600 | $500 | 0.3125 ETH |
| Month 3 | $2,500 | $500 | 0.2 ETH |
| Total | Avg: ~$2,000 | $1,500 | 0.7625 ETH |
You sell all 0.7625 ETH at $3,200:
- Sale proceeds: 0.7625 × $3,200 = $2,440
- Profit = $2,440 − $1,500 = $940
- ROI = ($940 ÷ $1,500) × 100 = 62.7%
Example 3: Calculating a Loss
You buy 1,000 DOGE at $0.15 ($150 total), price falls to $0.08, and you sell.
- Sale proceeds: 1,000 × $0.08 = $80
- Loss = $80 − $150 = −$70
- ROI = (−$70 ÷ $150) × 100 = −46.7%
Crypto Profit Calculation Reference Table
| Buy Price | Sell Price | Investment | Profit/Loss | ROI |
|---|---|---|---|---|
| $30,000 | $60,000 | $1,000 | +$1,000 | +100% |
| $50,000 | $75,000 | $1,000 | +$500 | +50% |
| $2,000 | $3,500 | $1,000 | +$750 | +75% |
| $1.00 | $0.40 | $1,000 | −$600 | −60% |
Trading Fees and Their Impact
Fees eat into profits more than most beginners realise. Here’s the impact of a 0.1% fee on a $10,000 trade at different return levels:
| Exchange | Maker Fee | Taker Fee | Fee on $10k Trade |
|---|---|---|---|
| Binance | 0.08% | 0.10% | $8–$10 |
| Coinbase Advanced | 0.40% | 0.60% | $40–$60 |
| Kraken | 0.25% | 0.40% | $25–$40 |
| Bybit | 0.10% | 0.10% | $10 |
On a 5% trade gain ($500 profit on a $10,000 position), Coinbase’s $100 round-trip fee cuts your profit by 20%. Binance’s $20 cuts it by only 4%. Platform choice matters at scale.
Crypto Tax Calculation: What You Owe
In most countries, crypto profits are taxable. In the US:
- Short-term gains (held less than 1 year): taxed as ordinary income — up to 37% federal rate
- Long-term gains (held 1 year or more): taxed at 0%, 15%, or 20% depending on your income bracket
- Cost basis method matters: FIFO (first in, first out) is the default, but HIFO (highest in, first out) minimises gains — use tax software to optimise
Example: You buy 1 BTC at $30,000 and sell a year later at $80,000. Long-term capital gain = $50,000. At the 15% rate, you owe $7,500. If held under a year, at the 32% bracket, you’d owe $16,000.
Best Free Crypto Profit Calculator Tools
- CoinStats Calculator — Portfolio tracking + profit/loss calculator in one app
- CoinMarketCap ROI Calculator — Historical price lookups for “what if I bought X on Y date” scenarios
- Koinly — Crypto tax calculator that handles profit calculation across all exchanges and wallets automatically
- CoinTracking — Detailed trade history import, profit reports, tax documents
- Binance P&L Tool — Built-in profit/loss breakdown for Binance users
Frequently Asked Questions
How do I calculate crypto profit?
Subtract your total buy cost (plus fees) from your total sell proceeds (minus fees). Formula: Profit = (Sell Price × Coins Sold) − (Buy Price × Coins Bought) − All Fees. Divide by your initial investment and multiply by 100 to get your ROI percentage.
What is a good ROI for crypto?
There’s no single benchmark — it depends entirely on the asset, the timeframe, and market conditions. Bitcoin averaged around 200% annually from 2015–2025, though with massive year-to-year swings. For context, the S&P 500 averages ~10% per year. Many crypto investors target 2x–10x on altcoin positions, understanding that most will fail.
Do I have to pay tax on crypto profits?
In the US, yes — crypto is treated as property by the IRS, so selling at a gain triggers capital gains tax. The rate depends on how long you held the asset. Losses can offset gains. Most other countries have similar treatment. Keep detailed records of every trade, including dates and prices in your local currency.
How do I calculate profit on a DCA strategy?
Add up all your purchase amounts (total invested in USD), add up all the coins received across all purchases, then multiply total coins by your sell price. Subtract total invested and fees to get your profit. The example in the ETH DCA section above walks through this step by step.
Does the buy/sell fee affect my profit calculation?
Yes, always include fees. Round-trip fees (buy + sell) can range from 0.2% to 1.2% of trade value depending on the exchange. On larger trades, Binance or Bybit’s low fees save significantly compared to Coinbase. Use the fee table in this guide to estimate your true net profit.
What’s the difference between profit and ROI?
Profit is an absolute dollar figure (e.g., +$500). ROI (Return on Investment) is a percentage that shows the return relative to your original investment (e.g., +50%). Both matter — a $500 profit on a $1,000 investment (50% ROI) is far better than the same $500 profit on a $100,000 investment (0.5% ROI).
