Crypto Profit Calculator

The Crypto Profit Calculator works out the profit or loss on a crypto trade, in cash and as a return, before you decide to close or price it. You set the direction and the coin, then enter your buy price, sell price, quantity and any fee per trade. It returns your net profit or loss, your ROI, and the cost basis behind them, for any coin, long or short.

Prices as of —
Advanced options
Profit / Loss
+$5,000.00
+33.33% ROI · 0.5 BTC · Long
Gross P/L
+$5,000.00
Fees
ROI
+33.33%
Cost basis
$15,000.00

Trade in profit: +$5,000.00 (+33.33%) selling 0.5 BTC at $40,000.00.

Show the math
+$5,000.00 = ($40,000.00 − $30,000.00) × 0.5 BTC
eToro
Rated 78/100 by InvestinGoal
  • Minimum deposit: $50
Visit eToro
Reviewed by Filippo Ucchino Founder, InvestinGoal

These results are estimates for educational purposes only and are not financial, investment or tax advice.

What is a crypto profit calculator?

A crypto profit calculator is a tool that computes the profit or loss on a crypto trade, the money you make or lose between buying a coin and selling it, together with the return that profit represents on the capital you put in. The profit and loss on a trade is the price gap between your buy and your sell, scaled by how much of the coin you held and reduced by any fees: (sell price − buy price) × quantity − fees. The ROI is that net profit expressed as a percentage of your cost basis, the amount the position tied up.

Two things about crypto make the figure less obvious than it looks. Quantity is fractional, so you can hold 0.5 BTC or 1,000 XRP and the profit scales with a decimal rather than a round number of shares. And the price you were quoted is rarely the price you netted, because a fee is charged on the buy and again on the sell. The calculator above takes your buy price, sell price, quantity and fee, pre-filling the sell field with a published price for the coin you choose, and returns the profit in cash and as a percentage. Pricing a trade this way is part of the wider discipline of crypto trading, where the number that matters is the one left after costs.

Why is the crypto profit calculator important for trading?

The crypto profit calculator is important for trading because it turns a price move into the exact money and return a trade makes or loses, before you decide to close it or price a new one, which is what the decision actually rests on. A move described only as "Bitcoin went from $30,000 to $40,000" is not a result until it is scaled by your quantity and cut by your fees, and two trades on the same move can settle very different amounts once size and fee schedules differ. Knowing the net profit and the ROI in advance lets you set a target in money rather than in price alone, and weigh one coin or one entry against another on the same footing.

Traders reach for the figure at the moment of decision. You use it after you have bought, to judge whether the current price is worth selling into; you use it to test what a different sell price would return; and you use it to check what a fee actually costs you before it quietly eats the gain. Quantifying the outcome first, in cash and after costs, is part of disciplined online trading, where a planned exit is one you have measured and a hopeful one is not.

How do you use the crypto profit calculator?

To use the crypto profit calculator, set the direction and the coin, then enter your buy price, sell price, quantity and any fee per trade, and the tool returns your profit or loss, your ROI and the cost basis behind them.

The steps to use the crypto profit calculator are listed below:

  1. Choose your direction. Select Long (buy → sell) if you bought expecting the price to rise, or Short (sell → buy) if you sold first expecting it to fall; this sets how the result is read.
  2. Pick your coin. Choose the coin from the dropdown; this is what pre-fills the sell price with the latest published figure to start from.
  3. Enter your buy price. This is the price per coin you paid to open the trade, and it sets your cost basis.
  4. Enter your sell price. This is the price per coin you sold at, or are considering selling at; it is pre-filled from the latest published price but always yours to overwrite.
  5. Enter your quantity. Type how much of the coin you held, fractions included, since the profit scales directly with this figure.
  6. Add your fee per trade. Enter the percentage your exchange charges, and the tool applies it to both the buy and the sell.

The result updates when you press Calculate, shown in green for a profit and red for a loss, with the "Prices as of" date beneath it so you know how fresh the pre-filled price is. If you think in cash rather than in coins, open Advanced options and use Invest amount instead of quantity, and the tool converts your amount into a quantity at the buy price. Prices and results are in US dollars, the currency the published crypto prices are quoted in.

What formula does the crypto profit calculator use?

The formula the crypto profit calculator uses is the sell price minus the buy price, multiplied by the quantity of coin, minus the fees charged on both legs, with the ROI taken as that net profit over the cost basis.

net P/L=(sellbuy)×quantityfees

In this formula, buy and sell are the prices per coin at which you opened and closed the trade; quantity is how much of the coin you held, and can be fractional; and fees are your fee percentage applied to both the buy value and the sell value, since an exchange charges on each leg. For a short trade the same formula holds, with the sell being your opening price and the buy your closing price, so you profit when the price falls. The ROI divides the net profit by the cost basis, the capital plus the entry fee that the position tied up.

Filling in a no-fee long trade: +$5,000.00 = ($40,000.00 − $30,000.00) × 0.5 BTC.

The formula assumes the same fee percentage on the buy and the sell, and it excludes slippage, withdrawal and network fees, so it is the trading result rather than the final cash landed.

What is an example of a crypto profit calculation?

An example of a crypto profit calculation is a long BTC trade that returns +$4,825.00 net after a 0.5% fee, worked out as follows:

  1. Gross P/L = ($40,000.00 − $30,000.00) × 0.5 BTC = +$5,000.00, the raw move before fees.
  2. Fees = 0.5% × ($15,000.00 + $20,000.00) = $175.00, charged across the $15,000.00 buy and the $20,000.00 sell.
  3. Net P/L = $5,000.00 − $175.00 = +$4,825.00, the profit after both fees.
  4. Cost basis = $15,000.00 + $75.00 entry fee = $15,075.00, the capital the trade tied up.
  5. ROI = $4,825.00 ÷ $15,075.00 = +32.01%.

This matches the tool's headline result, +$4,825.00, with the sub-line +32.01% ROI · 0.5 BTC · Long. The same arithmetic runs on any coin and any unit price: buy 1,000 XRP at $0.30 and sell at $0.60 with no fee and the gross profit is +$300.00 on a $300.00 cost basis, a +100.0% ROI. Small prices, larger quantities, the same formula.

How do you read the crypto profit calculator's result?

You read the crypto profit calculator's result by taking the headline figure as the money the trade made or lost, shown green when it is a profit and red when it is a loss, before you decide whether to sell or hold. When you entered a fee, the headline is the net figure, and the supporting cards break out the gross P/L, the fees and the net so you can see exactly how much the costs took. The sub-line, for example +32.01% ROI · 0.5 BTC · Long, restates the result as a return on your capital next to the size and direction, so the percentage and the cash are read together.

The ROI is the number to weigh when comparing trades, because a $4,825 profit means one thing on a $15,000 stake and another on a $150,000 one, and only the percentage puts them on the same scale. Use the result to judge whether the current price is worth selling into: a positive net figure is a realised gain if you close now, while a larger one on paper is not yours until you do. Because the sell price starts from a published default, the result carries a "Prices as of" date, and if that feed is stale the tool still calculates but flags the figure as delayed, so treat a pre-filled price as a starting point and type the price you actually dealt at.

How do exchange fees affect a crypto profit calculation?

Exchange fees affect a crypto profit calculation by taking a cut on both legs of the trade, once when you buy and once when you sell, so a single fee percentage is applied twice and always lowers the net result below the gross. Exchanges usually quote a maker/taker fee, a slightly lower rate for orders that add liquidity to the book and a higher one for orders that remove it, and the published fee schedules of major venues such as Binance, Coinbase and Kraken put the standard range at roughly 0.01% to 0.60% per trade for most retail tiers. The calculator applies your fee to the buy value and the sell value together.

Adding a 0.5% fee per trade to the winning BTC example shows the drag directly:

No fee0.5% per trade
Gross P/L+$5,000.00+$5,000.00
Fees$0.00−$175.00
Net P/L+$5,000.00+$4,825.00
ROI+33.33%+32.01%

A $175.00 fee barely dents a $5,000.00 move, but the impact is not fixed, it scales with how far the price travelled. On a thin move, or a fast in-and-out trade, the same 0.5% charged twice can turn a small paper gain into a real loss, because the price has to travel far enough just to cover both fees before any profit begins. That break-even distance is why the net figure, not the gross, is the one that decides a trade, and why comparing crypto trading fees across exchanges matters as much as picking the coin.

What are the limits of the crypto profit calculator?

The crypto profit calculator returns an estimate of the trading profit or loss on a single buy-and-sell, and it is only as accurate as the buy price, sell price, quantity and fee you enter. It prices the one trade you describe, not the running value of your portfolio, so it is a realised or hypothetical result for that position rather than a live account balance. Beyond the fee percentage you type, it does not model slippage, the gap between a quoted price and your filled price, nor withdrawal or network fees, spreads, or funding costs on leveraged positions, each of which sits between the figure here and the cash that actually lands.

The pre-filled sell price is a convenience, not a guarantee: it is a published default you should overwrite with the price you dealt at, and if the feed is more than 60 minutes old the tool marks it as delayed rather than blanking it, because crypto prices move fast. The result is also a pre-tax figure, so any tax owed on a gain is not included here and is covered separately below. Crypto is highly volatile and prices can fall as well as rise, so treat this as an educational estimate that prices a trade on paper, not as financial advice on whether to take it.

How is a crypto profit calculation taxed?

A crypto profit calculation is taxed as a capital gain in the United States, because the IRS treats cryptocurrency as property rather than currency (Notice 2014-21), so selling, swapping or spending a coin at a profit is a taxable disposal. The figure this calculator shows is the profit before any tax, and the rate that applies depends chiefly on how long you held the coin. This is general US federal information, not tax advice, and it does not cover your state or country.

The holding period sets the treatment. A coin held one year or less produces a short-term gain, taxed at your ordinary income rate, while a coin held more than one year produces a long-term gain, taxed at the lower 0%, 15% or 20% rate that applies to your income. Losses can generally offset gains, and from the 2025 tax year US brokers of digital assets report proceeds to the IRS on Form 1099-DA. Because none of this is modelled in the trading result above, treat the profit here as the pre-tax starting point and set aside for the tax separately.

What is the difference between a long and a short crypto profit calculation?

The difference between a long and a short crypto profit calculation is the order of the two prices in time, not the arithmetic: a long trade buys first and sells later, so it profits when the price rises, while a short trade sells first and buys back later, so it profits when the price falls. Both use the same formula, (sell − buy) × quantity − fees, and the Direction toggle simply relabels which price is your entry and which is your exit.

AttributeLong crypto tradeShort crypto trade
Order in timeBuy first, sell laterSell to open first, buy back to cover later
You profit whenThe price risesThe price falls
Your entry priceThe buy priceThe sell price
Your exit priceThe sell priceThe buy (cover) price
Formula(sell − buy) × quantity − fees(sell − buy) × quantity − fees

Worked as a short, you open by selling 0.5 BTC at $40,000 and cover by buying it back at $30,000: the gross profit is still +$5,000.00, because the price dropped $10,000 while you were short. Set the direction to Short so the result is worded correctly, and be clear which price is your entry, since getting the two the wrong way round flips a profit into a loss even though the numbers are identical.

Which calculators are related to the crypto profit calculator?

The calculators related to the crypto profit calculator sit in the same crypto workflow, from the quick per-coin figure to averaging your entry and annualising a longer hold. The calculators related to the crypto profit calculator are listed below:

  • Crypto calculator: the all-in-one crypto hub that bundles the quick profit, position size and average-buy calculations in one view, with this page as the deep version of its Profit tab.
  • Bitcoin calculator: the same profit and ROI math focused on BTC, for when you are pricing a Bitcoin trade specifically.
  • XRP calculator: the profit and ROI math focused on XRP, with its small unit price and large quantities handled cleanly.
  • Crypto staking calculator: projects the rewards you earn by staking a coin, the yield side of crypto returns that a trade profit does not capture.
  • Percentage gain calculator: expresses the same result purely as a percentage gain or loss between two prices, without coins or fees.
  • DCA calculator: works out the average entry price of buying in steps over time, which becomes the buy price you bring into this trade.
  • CAGR calculator: annualises the return on a coin held over several years, turning a total gain into a yearly growth rate.

FAQ

Can I use the amount I invested instead of the quantity of coins?

Yes. Open Advanced options and enter your Invest amount in cash instead of a coin quantity, and the calculator converts it into a quantity at your buy price. Putting $3,000 into Bitcoin at a $30,000 buy price becomes 0.1 BTC; selling at $45,000 then shows a +$1,500.00 profit and a +50.0% ROI. Use whichever input matches how you think about the trade.

Where does the sell price come from, and why is it pre-filled?

The sell price is pre-filled from InvestinGoal's published price feed for the coin you pick, with the "Prices as of" date shown under the result. It is only a default. Because you are usually pricing a trade you have already made, every price field stays editable, so type in the exact price you dealt at. If the feed is unavailable, the fields still work and you enter the prices yourself.

Is my crypto profit realized or unrealized before I sell?

This calculator prices a realized, or hypothetical, profit on a single buy-and-sell, not the running value of your portfolio. Until you actually sell, a gain on paper is unrealized and can still disappear if the price moves against you. Enter the price you did sell at, or the one you are weighing up, and the tool prices that specific trade rather than your holdings as a whole.

Can you lose more than you invested when trading crypto?

With a plain spot trade, no: the most you can lose is what you put in, because a coin can fall toward zero but not below it, capping your loss at the cost basis. With leverage or crypto derivatives it is different, since a margin position can be liquidated and lose more than your initial stake. This calculator prices a spot buy-and-sell, so its worst case is losing your full cost basis.

Why is my calculated profit different from what my exchange shows?

Small differences are normal. Your exchange may charge a different fee on each leg than the single percentage entered here, round amounts differently, or fill your order at a price that drifts from the quote through slippage. The published price used to pre-fill the sell field can also differ from your executed price. Enter your actual dealt prices and fee to bring the two figures closer.

These figures are educational estimates; crypto prices are highly volatile and can fall as well as rise. This is not investment, financial or tax advice.

Select your language

English (United States) country flag English (United States)