Ad Space — Top Banner

Crypto Profit/Loss Calculator

Calculate cryptocurrency profit or loss including buy and sell fees.
Enter price, quantity, and fees to see net gain, ROI, and tax cost basis per trade.

Crypto Profit/Loss

Cryptocurrency profit and loss calculation tracks the financial outcome of buying and selling digital assets, accounting for purchase price, sale price, fees, and the impact on your tax liability.

Core formulas: Gross Profit / Loss = (Sell Price − Buy Price) × Quantity Net Profit / Loss = Gross Profit − Buy Fees − Sell Fees Return on Investment (ROI) = Net Profit ÷ Total Cost Basis × 100 Total Cost Basis = (Buy Price × Quantity) + Buy Fees

Tax calculation: Capital Gains = Net Profit (if positive) Short-Term Capital Gain = held less than 1 year → taxed at ordinary income rate (10–37%) Long-Term Capital Gain = held 1 year or more → taxed at 0%, 15%, or 20% (2025 US rates)

What each variable means:

  • Buy Price — the price per coin/token at the time of purchase (spot price on the exchange).
  • Sell Price — the price per coin/token at the time of sale.
  • Quantity — the amount of cryptocurrency bought and sold (can be fractional, e.g., 0.00345 BTC).
  • Fees — exchanges charge 0.1–1.5% per transaction (Coinbase: 0.5–4%; Binance: 0.1%; Kraken: 0.16–0.26%).
  • Cost basis — the IRS-recognized total amount you paid, including fees, used to calculate taxable gain.
  • Holding period — determines short-term vs. long-term capital gains tax treatment.

Worked example: You bought 0.5 ETH at $2,400 per ETH ($1,200 total), paid $15 in exchange fees. 14 months later, you sell 0.5 ETH at $3,800 per ETH ($1,900 total), paid $20 in fees.

Cost basis = $1,200 + $15 = $1,215 Gross proceeds = $1,900 − $20 = $1,880 Net profit = $1,880 − $1,215 = $665 ROI = $665 ÷ $1,215 × 100 = 54.7%

Tax (long-term, held 14 months, 15% capital gains rate): Tax owed = $665 × 0.15 = $99.75 After-tax profit = $665 − $99.75 = $565.25

Important: Every crypto-to-crypto trade is also a taxable event in the US (e.g., swapping ETH for SOL). Keep records of every transaction, including the date, price, and fees.


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.