cryptocurrency calculators

Crypto Profit/Loss Calculator

Find out exactly how much you gained or lost on a crypto trade by entering your buy price, sell price, and the number of coins. Use it after closing a position to assess trading performance.

About this calculator

Crypto profit or loss is calculated using the formula: P&L = (sellPrice − buyPrice) × amount. The difference between your sell price and buy price represents the per-coin gain or loss; multiplying by the number of coins traded scales this to your actual position size. A positive result means you made a profit; a negative result indicates a loss. This calculation gives a raw dollar P&L figure and does not account for trading fees, taxes, or slippage — all of which reduce real-world returns. For a complete picture, subtract any exchange fees from your profit figure. This formula applies equally to spot trades, and the same logic underpins more advanced P&L calculations for margin and futures positions.

How to use

Imagine you bought 10 Ethereum at $2,000 each and later sold all 10 at $2,800. Enter 2000 in 'Buy Price', 2800 in 'Sell Price', and 10 in 'Amount'. The calculator computes: P&L = ($2,800 − $2,000) × 10 = $800 × 10 = $8,000 profit. If instead you sold at $1,700, the result would be ($1,700 − $2,000) × 10 = −$300 × 10 = −$3,000, meaning a $3,000 loss. This figure is before any exchange trading fees are deducted.

Frequently asked questions

How do I calculate profit or loss on a cryptocurrency trade?

Subtract your buy price from your sell price to find the per-coin gain or loss, then multiply that figure by the number of coins traded. The formula is P&L = (sellPrice − buyPrice) × amount. A positive result means a profitable trade; a negative result means a loss. Keep in mind this is your gross P&L — you should also deduct exchange fees (typically 0.1%–0.5% per trade) to find your net profit.

What happens if I bought crypto in multiple batches at different prices?

When you buy the same asset at different prices over time, you need to calculate a weighted average buy price across all batches. For example, buying 5 ETH at $2,000 and 5 ETH at $2,400 gives an average cost of $2,200. Use this blended buy price in the formula to get an accurate overall P&L. Tax authorities often require you to track each lot separately using methods like FIFO (first-in, first-out) or specific identification.

Does this crypto profit calculator account for trading fees and taxes?

No — the formula P&L = (sellPrice − buyPrice) × amount calculates gross profit or loss only, without deducting fees or taxes. Exchange fees reduce your effective sell price or increase your effective buy price, so for accurate net profit you should factor those in manually. Crypto gains may also be subject to capital gains tax, which varies by country and holding period. Always consult a tax professional for jurisdiction-specific advice on reporting crypto income.