Crypto Profit & Average Cost Calculator
Fee (optional)
Coins for an amount
Coins
- Fee paid
Average cost (DCA)
New average
- Coins added
- Total coins
Profit at a sell price
Profit
- Cost
- Proceeds
- Return
- %
- Result
Target sell price
Sell price
- Price move
- %
Gain to break even
Gain needed%
Your inputs are saved in the address. Bookmark the page (Ctrl+D) to come back to them.
Crypto is usually bought by amount rather than by count, so you end up holding something like 0.0035 BTC and working out your average and return by hand gets fiddly.
The five calculators below share their average price, holding, price, amount and fee boxes, so a value typed once carries through to the rest. They work in any quote currency, whether you trade against dollars, stablecoins or another coin. The trading fee starts at 0 because every exchange charges differently.
How it works
When you buy by amount, the coins you receive are amount ÷ (price × (1 + fee rate)). The calculator treats the fee as coming out of the amount you spend, so a 1,000 order with a 0.1% fee buys slightly less than 1,000 worth of coins. Some exchanges add the fee on top of the order or deduct it from the coins instead, which can change the last few decimal places.
Your new average is weighted by quantity: (old average × old coins + new price × new coins) ÷ total coins. A fixed amount buys more coins when the price is low, which is why regular buying (dollar-cost averaging) pulls the average toward the cheaper purchases. The average is based on prices only, like the figure most exchanges display; fees are left out of it.
Return is measured against what you paid: cost = average × coins × (1 + fee), proceeds = sell price × coins × (1 − fee), and return = (proceeds − cost) ÷ cost × 100. With the fee at 0 this is simply (sell price − average) ÷ average × 100.
The target sell price inverts that formula: average × (1 + fee) × (1 + target return) ÷ (1 − fee). Enter a negative target such as −15 to get a stop-loss price that caps the loss at that level after fees. Because of fees, even a 0% target sits slightly above your average.
Recovering from a drawdown of L% takes a gain of L ÷ (100 − L) × 100 percent. Crypto swings make 80% or 90% drawdowns a real possibility, and getting back to even from those takes +400% and +900%.
Trading fees depend on the exchange, the trading pair, your volume tier and any promotions, and tax treatment of crypto differs from country to country and changes over time. Neither is built in, so check your exchange's fee page and local tax guidance. All arithmetic is exact decimal math; results are shown to two decimal places, and values below 0.01 keep three significant digits instead of rounding to zero.
Worked examples
- Coins for an amount
Spending 500 at a price of 100,000, with a 0% fee included, gets you 0.005 coins. 0 of what you spend goes to the fee. - Coins for an amount
Spending 2,000 at a price of 2.5, with a 0.1% fee included, gets you 799.2007992 coins. 2.00 of what you spend goes to the fee. - Average cost (DCA)
You hold 1.5 coins at an average of 2,400. Putting in another 900 at 1,800 (fee 0%) adds 0.5 coins, for 2 in total at a new average of 2,250. - Profit at a sell price
Selling 4,200 coins bought at an average of 1.85 for 2.6 each, with a 0.1% fee on each trade, your cost was 7,777.77 and you receive 10,909.08. Result: Gain, 3,131.31 (40.26%). - Target sell price
With an average price of 2,250 and a 0.1% fee, a return of 30% after fees means selling at 2,930.86, a 30.26% move from your average. - Target sell price
With an average price of 2,250 and a 0.1% fee, a return of -20% after fees means selling at 1,803.6, a -19.84% move from your average. - Gain to break even
A coin that is 85% below where you bought it has to climb 566.67% from here to get back to even.
Reference table
| Average price \ Target return | -30% | -10% | 10% | 20% | 50% | 100% | 200% |
|---|---|---|---|---|---|---|---|
| 0.5 | 0.35 | 0.45 | 0.55 | 0.6 | 0.75 | 1 | 1.5 |
| 2 | 1.4 | 1.8 | 2.2 | 2.4 | 3 | 4 | 6 |
| 150 | 105 | 135 | 165 | 180 | 225 | 300 | 450 |
| 3,000 | 2,100 | 2,700 | 3,300 | 3,600 | 4,500 | 6,000 | 9,000 |
| 90,000 | 63,000 | 81,000 | 99,000 | 108,000 | 135,000 | 180,000 | 270,000 |
Reference table
| Amount spent \ Coin price | 0.5 | 2 | 200 | 2,500 | 100,000 |
|---|---|---|---|---|---|
| 100 | 200 | 50 | 0.5 | 0.04 | 0.001 |
| 500 | 1,000 | 250 | 2.5 | 0.2 | 0.005 |
| 1,000 | 2,000 | 500 | 5 | 0.4 | 0.01 |
| 5,000 | 10,000 | 2,500 | 25 | 2 | 0.05 |
| 10,000 | 20,000 | 5,000 | 50 | 4 | 0.1 |
FAQ
Why is my exchange showing a different average price?
Exchanges differ in whether they fold fees into the average and how they treat coins you deposited from another wallet, earned from staking or received in an airdrop. This calculator uses purchase prices and quantities only, so adjust for those yourself if they apply.
What fee should I enter?
Use the rate on your exchange's fee page for your trading pair and account tier. Maker and taker orders are often charged differently, and promotions can bring the fee to zero. If you pay no fee, leave it at 0.
Does this include tax on crypto gains?
No. How crypto gains are taxed depends on where you live and the rules change, so no tax rate is built in. Check your local tax authority or a tax professional for current guidance if you need an after-tax figure.
If a coin drops 80%, why does it need more than an 80% rise?
The percentages start from different prices. A coin at 100 that falls 80% is at 20, and an 80% rise from 20 only reaches 36. Getting back to 100 means multiplying 20 by five, a 400% gain.
How do I work out a stop-loss price?
In the target-price calculator, enter a negative return such as −10 or −25. The result is the sell price at which you lose exactly that percentage after fees. Targets of −100% or below are not possible because the price would be zero or less.
Are tiny quantities like 0.00012 coins handled exactly?
Yes. Calculations use exact decimal arithmetic, so very small quantities and prices far below one unit are kept in full. On screen, results are rounded to two decimal places, and values below 0.01 keep three significant digits instead of turning into 0.