MoneyFinancial Math

Crypto Profit
calculator.

Work out the profit on a crypto trade after the exchange fee on both the buy and the sell.

Before you rely on this result.This is an estimate for planning. Banks, lenders and other providers apply their own rules, fees and rounding, so confirm figures with them before you commit to a financial decision. Sources used on this page.

How it's worked out

Start with what the coins cost you. The cost basis is the price per coin times the number of coins, plus the buy fee. Then work out what you receive: the sell price times the coins, minus the sell fee.

cost basis\displaystyle \text{cost basis}=pbuy×q×(1+fbuy)\displaystyle {}= p_{\text{buy}} \times q \times (1 + f_{\text{buy}})
net proceeds\displaystyle \text{net proceeds}=psell×q×(1−fsell)\displaystyle {}= p_{\text{sell}} \times q \times (1 - f_{\text{sell}})

Here qq is the number of coins and ff is each fee as a fraction (0.5% is 0.005). Profit is net proceeds minus the cost basis, and the return is profit divided by the cost basis.

The break-even price is the sell price that brings the profit to exactly zero:

pbreak-even\displaystyle p_{\text{break-even}}=cost basisq×(1−fsell)\displaystyle {}= \frac{\text{cost basis}}{q \times (1 - f_{\text{sell}})}

This matches how the IRS treats a sale. Fees and commissions you pay to buy are part of your basis, and fees you pay to sell reduce the amount you realize (IRS virtual currency FAQs, Q8). If you enter the amount you spent instead of the coins, the tool divides it by the buy price times one plus the fee to find the coins.

Worked examples

Alex sells half a bitcoin

Alex bought 0.5 BTC at $45,000 and sells at $65,000, paying 0.5% on each trade. His cost basis is $22,612.50 and his net proceeds are $32,337.50, so the profit is $9,725.00, a 43.01% return. Without fees it would have been $10,000.00. The two fees cost $275.00, and they lift his break-even price to $45,452.26. A 25% return would need a sell price of $56,815.33.

He bought on January 15, 2026 and sells on October 27, 2026: 285 days, so the gain is short-term. With $60,000 of other income as a single filer, the federal estimate is $1,489.50. The same gain after January 16, 2027 would be long-term, with an estimate of $626.25, though the price on that date is unknown. Open this example in the tool

Priya puts $1,000 into ether

Priya spends $1,000 at $2,000 per coin with a 1% fee. That buys 0.49505 ETH, because the fee comes out of the same $1,000. Selling at $3,200 with another 1% fee returns $1,568.32, a profit of $568.32 or 56.8%. The price rose 60%, but her return is lower because both fees come out. Open this example in the tool

Sam sells at a loss

Sam bought 1,500 tokens at $3.20 and sells at $2.10, with 0.6% fees. He loses $1,697.70, or 35.2% of what he put in, and $47.70 of that is fees. In the US the loss can offset gains, then up to $3,000 of other income a year. As a single filer with $60,000 of income and no other trades, it would cut his 2026 federal tax by about $203.72, and $0.00 would carry forward. Open this example in the tool

Reading your result

The profit is in the currency of the prices you type. The return is profit divided by everything you paid, fees included, so it is always a little below the price change when you pay fees. On a coin bought at $100, fees of 1% each way put the break-even price at $102.02. At 0.1% each way it is $100.20.

In the US, the IRS treats crypto as property (Notice 2014-21). Selling it, spending it or swapping it for another coin is a sale, and the gain is taxed like a gain on shares. Held one year or less, the gain is short-term and taxed at your income tax rates, from 10% to 37%. Held more than one year, it is long-term, taxed at 0%, 15% or 20% (IRS Topic 409).

The count starts the day after you buy. So a sale on the one-year anniversary is still short-term, and the tool shows the first long-term date. In 2026, a single filer pays 0% on long-term gains while taxable income stays under $49,450 ($98,900 for a married couple filing jointly), from Rev. Proc. 2025-32. These limits change each year.

The tax estimate counts this trade alone, with the standard deduction and no state tax. If you made other trades this year, the gains and losses net against each other first. The capital gains tax calculator handles costs, state tax and other deductions.

Common mistakes

  • Ignoring the spread. Some apps show no fee but buy at a price above the market and sell below it. That gap is a cost too, so add it to the fee fields.
  • Leaving the buy fee out of the basis. It raises your basis and lowers your taxable gain. Your exchange's trade history lists each fee.
  • Treating a swap as tax-free. Trading one coin for another is a sale of the first coin at its market value on that day.
  • Mixing up lots. If you bought at several prices and sell only part, the gain depends on which coins you sell. Enter the price and amount of the lot you are selling.
  • Relying on the broker form alone. Brokers report gross proceeds on Form 1099-DA for sales from 2025, but basis only for coins bought from 2026 in the same account (IRS Form 1099-DA instructions). Keep your own records of what you paid.

Questions people ask

Add the buy fee to what you paid to get the cost basis, subtract the sell fee from what you receive to get net proceeds, and take the difference. With 0.5 BTC bought at $45,000 and sold at $65,000 and 0.5% fees each way, the profit is $9,725 rather than $10,000.

Sources