PublicSoftTools
Beginner10 min read·PublicSoftTools Team·July 2026

How to Calculate Crypto Profit, ROI, and Leverage

Knowing whether a trade actually made money is less obvious than it sounds once fees, leverage, and short positions enter the picture. This guide breaks down how to calculate crypto profit and ROI, how leverage multiplies both gains and losses, and how the liquidation price is worked out — all with simple examples you can reproduce.

Profit vs ROI — Two Different Numbers

Profit is the dollar amount you gained or lost. ROI (return on investment) expresses that gain as a percentage of what you put in. They answer different questions. A $500 profit sounds identical whether it came from a $1,000 stake or a $50,000 one — but the first is a 50% ROI and the second is 1%. When comparing trades, ROI is the honest measure because it accounts for how much capital was tied up.

The basic spot calculation is:

A Simple Spot Example

You buy 0.5 ETH at $2,500 (a $1,250 investment) and sell at $3,000, paying 0.1% fees per side. Gross profit is 0.5 × ($3,000 − $2,500) = $250. Fees are roughly 0.1% of $1,250 plus 0.1% of $1,500 ≈ $2.75. Net profit ≈ $247, an ROI of about 19.8%. On spot with no leverage, the ROI simply mirrors the price move minus fees.

How Leverage Changes Everything

Leverage lets you control a position larger than your capital. If you put up $1,000 of margin at 5× leverage, you control a $5,000 position. The price move is applied to the full $5,000, but the profit or loss lands on your $1,000 — so both are multiplied by the leverage.

Open a 5× long on Ethereum with $1,000 margin at $2,500 and exit at $3,000. Your position is $5,000, buying 2 ETH. The 20% price rise produces $1,000 of gross profit. After ~$11 in fees, net profit is about $989 — an ROI near 99% on your margin. A 20% price move nearly doubled the capital, because 5× leverage amplified it.

LeveragePrice move needed for +50% ROIPrice move that wipes margin
1× (spot)+50%−100%
+25%−50%
+10%−20%
10×+5%−10%

Liquidation Price — The Downside of Leverage

The same amplification works against you. At 5× leverage, a move of roughly 1/5 = 20% against your position wipes out the entire margin, and the exchange closes the trade. That price is the liquidation price. A simple isolated-margin estimate is:

For the 5× long entered at $2,500, liquidation sits near $2,500 × (1 − 1/5) = $2,000. In practice exchanges liquidate slightly earlier because of maintenance margin and funding, so treat the estimate as a conservative guide and keep a buffer above it.

Shorting: Profiting When Price Falls

A short profits from a falling price. The calculation reverses the move: profit comes from (entry − exit) instead of (exit − entry). Everything else — leverage, fees, ROI — behaves the same, and the liquidation price sits above your entry rather than below. Modelling a short before entering shows exactly how much room you have before liquidation.

Do Not Ignore Fees

Fees look trivial per trade but compound with leverage and frequency. A leveraged position pays fees on the full notional, not just your margin, and both entry and exit are charged. A trader flipping a 10× position several times a day can hand a meaningful slice of profit to the exchange. Always enter your real fee tier — 0.1% is a common taker fee, but makers and high-volume accounts often pay less.

Frequently Asked Questions

Should I enter my margin or the full position size?

Enter your margin — the capital you actually put up. The calculator multiplies it by leverage to get your exposure. Entering the leveraged size and then applying leverage again double-counts.

Is the liquidation estimate exact?

No. It ignores maintenance margin and funding, so exchanges liquidate a little earlier. Use it to understand roughly how much adverse movement you can survive, and never plan a trade that only holds to the exact estimated price.

Why is my ROI lower than the price move times leverage?

Fees. Gross ROI is close to price move × leverage, but entry and exit fees on the full notional shave it down — more so at high leverage.

Calculate Any Trade's Profit and ROI

Enter entry, exit, investment, leverage, and fees to get net profit, ROI, total fees, and the estimated liquidation price — for long or short positions.

Open the Crypto Profit Calculator

Before you open a leveraged trade, size it properly first with the Position Size Calculator so a losing trade costs only what you intend to risk.

Educational purposes only. Not financial advice. Leverage magnifies losses as well as gains and can result in losses exceeding your deposit.