How to Calculate Crypto Profit & ROI

Understanding your real profit — after fees — is the difference between thinking you made money and actually making money. This guide breaks down every formula you need, with real examples.

The crypto profit formula

At its simplest, crypto profit is just the difference between what you sold for and what you paid. But the real formula accounts for fees on both sides of the trade.

Formula
Gross Profit = (Sell Price − Buy Price) × Quantity
Total Fees = (Investment × Fee%) + (Exit Value × Fee%)
Net Profit = Gross Profit − Total Fees
ROI = (Net Profit ÷ Investment) × 100
Fee% is typically 0.1% per side on Bybit, OKX, and Binance for spot trading.

Calculate your profit instantly

Use our free calculator — enter buy price, sell price and investment to see exact profit and ROI.

Open Profit Calculator →

How to calculate ROI

ROI (Return on Investment) expresses your profit as a percentage of your initial investment. It lets you compare trades of different sizes on equal footing.

ROI Formula
ROI = ((Sell Value − Buy Value) ÷ Buy Value) × 100
A 10% ROI means you made $100 on a $1,000 investment, or $1,000 on a $10,000 investment.

One important distinction: ROI doesn't account for time. A 10% return in one week is dramatically better than 10% in one year. When comparing trading strategies, always consider the time period alongside the ROI figure.

Why fees matter more than you think

Most traders focus on price movement and ignore fees entirely. This is a mistake. On a typical spot trade with 0.1% maker fee on Bybit, you pay 0.2% total (entry + exit). That means your break-even price is already 0.2% away from your entry before you've made a single dollar.

$10,000 trade — 5% gain

Gross profit+$500
Entry fee (0.1%)−$10
Exit fee (0.1%)−$10.50
Net profit+$479.50
Real ROI+4.80%

$10,000 trade — 0.5% gain

Gross profit+$50
Entry fee (0.1%)−$10
Exit fee (0.1%)−$10.05
Net profit+$29.95
Real ROI+0.30%

The second example shows why scalping with small targets is difficult — fees eat a large percentage of small gains. A 0.5% move sounds profitable, but after fees you only keep 0.30% of your investment.

Pro tip: On Bybit and OKX, placing limit orders (maker orders) typically costs 0.02–0.05% instead of 0.1%. Over hundreds of trades this adds up to thousands of dollars in saved fees.

Step-by-step examples

Example 1 — Profitable BTC trade

BTC Long — Winner
Investment$5,000
Buy price$60,000
Sell price$68,000
Quantity0.0833 BTC
Exit value$5,666.67
Total fees (0.1% × 2)−$11.67
Net profit+$655.00
ROI+13.1%

Example 2 — Loss trade with fee impact

ETH Long — Loser
Investment$2,000
Buy price$3,200
Sell price (stop hit)$3,040
Gross loss−$100
Total fees−$4.06
Net loss−$104.06
ROI−5.2%

Break-even price calculation

Your break-even price is the price at which you neither profit nor lose, accounting for both entry and exit fees.

Break-even formula (long trade)
Break-even = Buy Price × (1 + Entry Fee% + Exit Fee%)
Example: Buy at $60,000 with 0.1% fee each side → Break-even = $60,000 × 1.002 = $60,120

This means on a long trade at $60,000 you need price to reach at least $60,120 before you're actually in profit. For short trades, break-even is slightly below your entry price.

Crypto profit and tax

In most countries, crypto profits are taxable. The exact rules vary by jurisdiction, but here are the most common frameworks:

  • Capital gains tax — profit from selling crypto is taxed as a capital gain. Short-term (held less than 1 year) is often taxed at a higher rate than long-term.
  • Income tax — some countries (e.g. Germany for frequent traders) classify crypto trading income as business income rather than capital gains.
  • Cost basis methods — FIFO (first in, first out) is the most common method for calculating which coins you sold and at what cost.
  • Record keeping — most tax authorities require you to report every trade. Exchanges like Bybit and OKX provide transaction history exports.

Important: Tax laws vary significantly by country and change frequently. This is not tax advice. Consult a qualified tax professional in your jurisdiction for advice specific to your situation.

Tip: Tools like Koinly, CoinTracker, and TaxBit can automatically import your trade history from Bybit and OKX and calculate your tax liability. Most support CSV exports from major exchanges.

Common mistakes when calculating profit

  • Ignoring fees — the most common mistake. Always subtract both entry and exit fees from gross profit.
  • Confusing gross and net profit — headline "I made 5%" often means before fees and sometimes before taxes.
  • Not accounting for slippage — in volatile markets, your actual fill price may differ from the intended price, especially on market orders.
  • Comparing trades without normalising for size — use ROI% not absolute dollars to compare trades fairly.
  • Forgetting funding rates — on perpetual futures on Bybit and OKX, funding rates are charged every 8 hours and can significantly erode profits on long-held positions.
  • Not tracking losers accurately — traders often remember winners clearly and underestimate losses. Track every trade.

Frequently asked questions

How do I calculate profit on a crypto trade? +
Multiply the quantity you hold by the difference between sell and buy price: (Sell Price − Buy Price) × Quantity. Then subtract fees paid on both the entry and exit to get net profit.
What is a good ROI for crypto trading? +
Context matters enormously. A 20% annual ROI with consistent risk management is considered excellent by professional standards. Many retail traders chase 100%+ returns but rarely achieve them consistently. Focus on risk-adjusted returns — how much did you risk to achieve that gain?
How do exchange fees affect my profit? +
On a typical 0.1% taker fee exchange, you pay 0.2% total (entry + exit). On a $10,000 trade that's $20 in fees — negligible on big moves, but significant when targeting 0.5–1% gains. Using maker (limit) orders reduces fees to 0.02–0.05% per side on most major exchanges.
Does leverage affect my profit calculation? +
Yes. With leverage, your nominal position size is larger than your margin, so fees are calculated on the full position size — not just your margin. A 10x leveraged $1,000 position has $10,000 exposure, so fees are calculated on $10,000. Also factor in funding rates for perpetual futures positions held overnight.
How do I calculate break-even price for a crypto trade? +
For a long trade: Break-even = Buy Price × (1 + total fee%). For a 0.1% fee on each side: Break-even = Buy Price × 1.002. For a short trade: Break-even = Short Entry × (1 − total fee%). Our Profit Calculator shows break-even automatically when you enter your trade details.
Are crypto gains taxable? +
In most countries, yes. The US, UK, EU, and Australia all tax crypto capital gains. Rates and rules vary. Some countries have exemptions for small gains or long-term holdings. Always consult a local tax professional — this guide does not constitute tax advice.
BY
Trade on Bybit
Low fees · Up to $30,000 bonus
Sign Up Free →
OKX
Trade on OKX
Top 3 exchange · 300+ coins
Sign Up Free →
KO
Koinly · Crypto Taxes
20+ countries · 800+ integrations
Try Free →