Ultra Calculator
    Crypto

    Crypto Profit Calculator

    Profit before tax = (sell price × quantity − sell fee) − (buy price × quantity + buy fee). Take tax off any profit for the after-tax figure, and divide by what you paid for the ROI. Buying 0.5 coins at 35,000 and selling at 42,000 with 0.1% fees leaves 3,461.50 before tax.

    Last updated by Ultra Calculator

    Crypto Profit

    How to calculate it

    P = (S × Q − Fs) − (B × Q + Fb), where Fb = B × Q × b and Fs = S × Q × s; ROI = P ÷ (B × Q + Fb) × 100; break-even = B × (1 + b) ÷ (1 − s)
    P
    profit before tax
    S
    sell price per coin
    B
    buy price per coin
    Q
    quantity of coins
    Fb
    buy fee
    Fs
    sell fee
    b
    buy fee rate as a decimal (0.1% = 0.001)
    s
    sell fee rate as a decimal

    Estimated tax = P × the tax rate when P is positive, and nothing on a loss. If you enter a long-term rate, it is used instead of the main rate when the date sold is after the first anniversary of the date bought. The break-even price is the sell price at which the sale value after its fee exactly covers the coins and the buy fee.

    Worked example

    Bitcoin held for over a year

    0.5 BTC bought at 35,000 and sold at 42,000, with 0.1% fees each way: 38.50 in fees leaves 3,461.50 before tax, a 19.76% ROI. Bought on 1 September 2024 and sold on 6 October 2025, it was held more than a year, but with no long-term rate entered the 20% rate applies: 692.30 of tax leaves 2,769.20. The break-even sell price is 35,070.07.

    You enter
    Buy Price per Coin$35,000.00
    Sell Price per Coin$42,000.00
    Quantity0.5
    Buy Fee0.10%
    Sell Fee0.10%
    Tax Rate on Gains20.00%
    Date Bought1 September 2024
    Date Sold6 October 2025
    The calculator returns
    Profit after Fees and Tax$2,769.20
    ROI after Tax15.81%
    Profit after Fees, before Tax$3,461.50
    ROI before Tax19.76%
    Profit before Fees and Tax$3,500.00
    Total Fees$38.50
    Estimated Tax$692.30
    Tax Rate Used20.00%
    Break-even Sell Price$35,070.07
    Price Change20.00%
    Cost of Coins (before Fee)$17,500.00
    Sale Value (before Fee)$21,000.00
    Fees as % of Cost0.22%
    Days Held400 days
    Held More Than a YearYes
    ResultProfitable

    How to use this calculator

    1. Enter the Buy Price per Coin, the Sell Price per Coin and the Quantity.
    2. Enter the Buy Fee and Sell Fee your exchange charged, as percentages.
    3. Enter your Tax Rate on Gains, or leave it blank to see the result before tax.
    4. In the US, add a Long-Term Tax Rate and the Date Bought and Date Sold, so the lower rate is used for coins held more than a year.
    5. Read the profit after fees and tax, the ROI and the Break-even Sell Price.

    Frequently asked questions

    How do I calculate crypto profit?

    Multiply the sell price by the quantity and take off the selling fee, then subtract what you paid: the buy price × quantity plus the buying fee. For 2 ETH bought at 2,000 and sold at 2,200 with 0.25% fees, that is 4,389 − 4,010 = 379 before tax.

    How is crypto taxed in the UK?

    You may need to pay Capital Gains Tax when you dispose of crypto, which includes selling it, swapping it for another token, spending it or giving it away (gifts to a spouse, civil partner or charity do not count). You only pay if your total gains for the tax year are above the tax-free allowance (£3,000 for 2026 to 2027), and transaction fees count as allowable costs. The rate is 18% on gains within your basic rate band and 24% above it, and holding longer does not lower it.

    How is crypto taxed in the US?

    The IRS treats digital assets as property. Gains on assets held for more than one year are long-term and, for most people, taxed at 0%, 15% or 20% depending on income. Gains on assets held for a year or less are taxed as ordinary income.

    Does holding for more than a year change the tax?

    In the US it can. The IRS counts the holding period from the day after you bought up to and including the day you sold, and a gain on an asset held for more than one year is long-term. A coin bought on 17 June 2024 and sold on 17 June 2025 was held exactly a year, so the gain is short-term; sold on any later day, it is long-term. Enter your long-term rate and both dates, and the calculator applies this test. In the UK the Capital Gains Tax rate is the same however long you held, so leave the long-term rate blank.

    What is the break-even price?

    It is the sell price at which you neither gain nor lose once both fees are paid: the buy price × (1 + buy fee) ÷ (1 − sell fee). With 0.1% each way on a 35,000 purchase, that is 35,070.07, because the sell fee rises with the sell price.

    How do I handle several purchases at different prices?

    Work out an average buy price first: the total paid for the coins ÷ total coins, leaving fees out so they are not counted twice. In the UK, HMRC asks you to pool each type of token and use its average cost, with special rules for tokens bought on the same day as a sale or within 30 days after it.

    Learn more

    Fees on both sides of a trade

    You pay one fee to buy and another to sell, each a percentage of the trade at the time. On a small price move they can take a large share of the profit: 0.5% each way costs about 1% of the trade value before you see any gain.

    Profit, ROI and price change

    Price change compares only the two prices. ROI compares your profit after fees with everything you paid, including the buying fee, so on a winning trade it is lower than the price change whenever you pay fees: 19.76% against 20% in the first example.

    Risk

    Crypto prices can move sharply in either direction, and the FCA warns that you should be prepared to lose all the money you put in. In the UK, crypto losses are unlikely to be covered by the Financial Services Compensation Scheme.

    • Checking what a trade made after the exchange took its fees
    • Working out the sell price you need just to cover fees
    • Estimating how much tax to set aside after selling
    • Seeing how much a higher-fee exchange would have cost on the same trade
    • Checking the profit on a planned sell price before you place the order

    Counting exactly a year as long-term

    The US test is more than one year. A coin bought on 1 March 2023 and sold on 1 March 2024 was held exactly a year, even though that is 366 days, so the gain is short-term. Counting days can mislead you, so the calculator checks the dates instead.

    Ignoring allowances and other gains or losses

    In the UK, only total gains above the yearly tax-free allowance are taxed, and losses can reduce gains. The calculator taxes the whole profit of this one trade on its own.

    Entering the total spent as the price

    Buy and sell prices are per coin. If you type the total you spent into the price box, the calculator multiplies it by the quantity again.

    Leaving out withdrawal or network fees

    Only the buy and sell fees are included. If you paid to withdraw or move coins, add that cost yourself.

    • Enter the price you plan to sell at to see the profit before you place the order.
    • In the US, enter your income tax rate as the main rate and your long-term rate separately, and the dates you bought and sold will pick the right one.
    • Keep a record of each trade's date, price and fees, which you will need if you have to report gains.

    Methodology and sources

    The calculator multiplies each price by the quantity, charges the buy and sell fees as percentages of those amounts and takes the total cost (including the buy fee) away from the sale value after its fee. Tax is the rate you enter × the profit; if you also enter a long-term rate, it is used when you sold after the first anniversary of the day you bought, which is the IRS test for holding more than a year. No tax is charged on a loss, and allowances and your other gains and losses are ignored. ROI divides the profit by the total cost, and the break-even price solves for the sell price where the sale after its fee exactly covers the cost. It covers one purchase and one sale, so for several purchases enter the average price. The result is an estimate, not tax or investment advice.