Crypto Profit Calculator

Calculate the net profit or loss of your cryptocurrency investment, including the exchange fees paid on buying and selling.

When should you use this calculator?

This calculator helps you estimate the real return of a cryptocurrency trade, taking into account the fees most exchanges charge on both buying and selling.

How it is calculated

The calculation happens in three steps. First, the units acquired are obtained by deducting the buy fee from the invested amount before dividing by the buy price: units = (invested amount ∑’ buy fee) · buy price. Second, the gross sale value is those units multiplied by the sell price, from which the sell fee is subtracted to get the net sale value. Finally, the net profit is the net sale value minus the originally invested amount, and the percentage return is that profit divided by the invested amount.

Practical example

A numeric example: investing €1,000 at a €30,000 buy price per unit, with a 0.5% buy fee, you acquire 0.03316667 units (with €995 net invested after deducting €5 in fees). If the price rises to €45,000 and you sell with a 0.5% fee, the gross sale value is €1,492.50, from which €7.46 in sell fees are deducted, leaving a net value of €1,485.04. The net profit is €485.04 and the return is 48.50%, with a total of €12.46 paid in fees across both trades.

Common mistakes

This calculator assumes a single buy and sell operation. If you bought the same cryptocurrency across several trades at different prices - the strategy known as DCA, or dollar-cost averaging - you should first work out your weighted average buy price (the total amount invested divided by the total units acquired) and enter that average as the single buy price in the calculator, instead of any individual purchase's price.

A common mistake is ignoring the effect of fees, which crypto exchanges usually charge as a percentage of each trade and which apply to both buying and selling: with frequent trades or large amounts, total fees can noticeably reduce the real return compared to the apparent one. Another frequent mistake is using the price of the most recent purchase instead of the weighted average price when there have been several purchases, which distorts the calculation of the real gain.

Legal and tax context

Profits from selling cryptocurrency are usually taxed as a capital gain, though the exact taxation varies by country of tax residence. In Spain, for example, those gains are included in the savings tax base and taxed between 19% and 28% depending on the total gain. It's worth checking the tax rules that apply in your country before treating the net result of a trade as definitive.

Practical tips

The result of this calculator is a mathematical estimate and does not constitute tax or investment advice. Cryptocurrencies are a highly volatile asset, with price swings far larger than most traditional investments, so the return of a past trade says nothing about future ones: only invest what you can afford to lose, and consider diversifying instead of concentrating your savings in a single asset.

Other calculators you may find useful

If you found this calculator useful, you might also want to check out:

Frequently asked questions

How is the return on a crypto investment calculated?

The invested amount is subtracted from the net sale value (after buy and sell fees), and the result is divided by the invested amount to get the percentage return.

Do I have to pay taxes on crypto gains?

In most countries, yes: gains are treated as capital gains and taxed when you sell or exchange the cryptocurrency. In Spain they are declared between 19% and 28% depending on the amount. Check the rules in your own country.

What if I bought in several separate trades?

Work out your weighted average buy price (total amount invested divided by total units) and enter it as a single buy price in the calculator.

Does this calculator work for any cryptocurrency?

Yes, it works the same way for Bitcoin, Ethereum or any other cryptocurrency, since it only depends on the amounts and prices you enter, not the specific asset.

How do fees affect the real return?

Fees are charged on both buying and selling, usually as a percentage of each trade. In this guide's example, a 0.5% fee on each trade lowers the return from 50% (fee-free) to 48.50% net, an effect that grows with the number of trades.

How do I calculate my average buy price if I bought several times?

Add up the total invested across all purchases and divide it by the total units acquired across all of them. That weighted average price is what you should enter as the single buy price in the calculator.

Why can the return in currency and in percentage give different impressions?

A €485 profit may look modest in absolute terms, but it represents a 48.50% return on the amount invested; the percentage is the figure that lets you fairly compare trades of different sizes.

Do I need to declare crypto losses the same way as gains?

In most countries, yes: capital losses on cryptocurrency can generally offset capital gains from the same tax year or following years, within the limits set by your country's tax rules.

Does this calculator work for any cryptocurrency?

Yes, it works the same way for Bitcoin, Ethereum or any other cryptocurrency, since it only depends on the amounts and prices you enter, not on the specific asset.

What's the difference between the sell price and the current market price?

If you haven't sold yet, you can use the current market price as the "sell price" to estimate an unrealized (paper) gain or loss; the result will differ from what you'd actually get if you sold, since the price can change before you execute the trade.