# What is my crypto profit?

Computes the coins bought, the sale value, the fees, and the profit or loss and return on a crypto trade, from the amount invested and the buy and sell prices you type.

- Page: https://www.acalculator.org/finance/crypto-profit-calculator
- JSON spec: https://www.acalculator.org/finance/crypto-profit-calculator.json
- Version: d0404a104e71

## Default answer

Example with the default inputs (Amount invested $1,000.00, Buy price per coin $40,000.00, Sell price per coin $60,000.00, Buy fee 0%, Sell fee 0%): $1,000.00 invested at $40,000.00 a coin and sold at $60,000.00 gives $500.00 (50% return).

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| invest | Amount invested | The money you spent on the purchase, including the buy fee. |
| buy | Buy price per coin | The price of one coin when you bought, in dollars. |
| sell | Sell price per coin | The price of one coin when you sell, or the price you expect. |
| buyfee | Buy fee | The exchange fee on the purchase, as a percent of the amount invested. |
| sellfee | Sell fee | The exchange fee on the sale, as a percent of the sale value. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| profit | Profit or loss | What you get back after the sell fee, minus the amount invested. Negative for a loss. |
| roi | Return | The profit as a percent of the amount invested. |
| coins | Coins bought | The amount invested minus the buy fee, divided by the buy price. |
| value | Sale value | Coins × sell price, before the sell fee. |
| proceeds | You get back | The sale value minus the sell fee. |
| fees | Total fees | The buy fee plus the sell fee, in dollars. |
| breakEven | Break-even sell price | The sell price per coin at which the profit is exactly $0, after both fees. |

## Method

Coins = invested × (1 − buy fee) ÷ buy price; you get back = coins × sell price × (1 − sell fee); profit = you get back − invested; return = profit ÷ invested × 100.

## Assumptions

- Prices are what you type; nothing is looked up.
- Each fee is a percent of its trade: the buy fee of the amount invested, the sell fee of the sale value.
- Taxes and network (withdrawal) fees are not included. This is an estimate, not tax or investment advice.

## Worked examples

1. invest = $1,000.00, buy = $40,000.00, sell = $60,000.00 gives coins = 0.025, value = $1,500.00, profit = $500.00, roi = 50%, breakEven = $40,000.00. Source: IRS, Frequently asked questions on virtual currency transactions: basis is the amount spent including fees, and the gain is the amount received minus basis (https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions).
2. invest = $2,500.00, buy = $2,000.00, sell = $2,600.00, buyfee = 0.5%, sellfee = 0.5% gives coins = 1.24375, value = $3,233.75, proceeds = $3,217.58, fees = $28.67, profit = $717.58, roi = 28.70325%, breakEven = $2,020.15. Source: IRS, Frequently asked questions on virtual currency transactions, basis and gain (https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions).
3. invest = $500.00, buy = $0.62, sell = $0.41, buyfee = 1.5%, sellfee = 1.5% gives profit = -$179.20, coins = 794.354839, roi = -35.83996%, fees = $12.39. Source: IRS, Frequently asked questions on virtual currency transactions, basis and gain (https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions).

## FAQ

### How do I calculate crypto profit?

Work out the coins you bought: the amount invested, minus the buy fee, divided by the buy price. Multiply the coins by the sell price and take off the sell fee: that is what you get back. The profit is that minus the amount invested. $1,000 at $40,000 a coin buys 0.025 coins; at $60,000 they sell for $1,500, a $500 profit.

### How do exchange fees change the profit?

A fee on each trade takes a share of the money: a 0.5% buy fee leaves 99.5% of your money to buy coins, and a 0.5% sell fee leaves 99.5% of the sale value. On $2,500 bought at $2,000 and sold at $2,600, the two fees cost $28.67 and the profit is $717.58 instead of $750.

### What is the break-even price?

It is the sell price per coin at which you get back exactly what you invested, after both fees: buy price ÷ ((1 − buy fee) × (1 − sell fee)). With 0.5% fees each way, a coin bought at $2,000 has to reach $2,020.15 before you make any profit.

### Does this calculator use live crypto prices?

No. Every price is one you type, so the page works offline, never sends your numbers anywhere, and gives the same answer every time. Use the prices from your exchange’s trade history, or a price you expect.

### Does it work for any coin?

Yes. Bitcoin, Ether, XRP or any other coin or token works the same way: only the amount, the two prices and the two fees matter. Coins show with up to 8 decimals, the smallest unit of bitcoin.

### Is the profit taxable?

In the U.S. the IRS treats digital assets as property, so selling at a gain is usually a taxable capital gain. Your basis is what you spent, including fees. This calculator shows the gain before tax and is not tax advice.

## Sources

- Internal Revenue Service, Frequently asked questions on virtual currency transactions: basis includes fees; gains on property. https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions
- U.S. Securities and Exchange Commission, Investor.gov: Crypto assets. https://www.investor.gov/additional-resources/spotlight/crypto-assets
