Liquidation & Profit Calculator
Liquidation price with leverage, profit after fees and the break-even price
Cryptocurrency prices are volatile and you can lose the whole amount. The figures are estimates: they do not include slippage, network delays or exchange limits. This is not financial or investment advice and not a recommendation to buy or sell. Full disclaimer
How to Use
Enter the two prices and your amount
Buy price, sell price, and either the quantity of coins or the money you put in — fill whichever you actually know, the other is derived.
Put in your real exchange fees
The default 0.1% is only a starting value — enter your exchange’s own. Two fees apply, one entering and one exiting, and on small moves they decide whether the trade was worth it.
Long or Short, and leverage only if you use it
Leave leverage at 1× for ordinary spot buying. Above 1× the tool also shows an estimated liquidation price — the level where the position is closed and the money is gone.
Read the break-even and the what-if table
Break-even is the price where fees are covered and you are at zero. The table below shows profit at ±10/25/50/100%, which is the fastest way to sanity-check a plan.
A quick habit worth building: before opening any position, look at the break-even price first. If the move needed just to cover fees already looks unlikely, the trade is not worth taking.
Optimization Guide & Technical Info
Crypto liquidation, profit and ROI calculator
Calculate the real profit or loss on a crypto trade, including buy and sell trading fees. Enter your buy price, sell price, and either the quantity or the amount invested to see your net profit, ROI percentage, and break-even price instantly.
Key Features
- Profit/Loss in dollars and ROI %
- Break-even price calculation
- Separate buy and sell trading fees
- Works from either quantity or investment amount
- 100% client-side — your numbers never leave your browser
For Specific Platforms
Binance, Bybit, OKX
enter the spot fee your account actually pays — it depends on your volume and on whether you pay in the exchange token, so the public page may not be your rate.
Futures
the taker fee is smaller but funding is paid every eight hours; on a position held for days it outweighs the fee.
Decentralised exchanges
add the network fee as a fixed cost — on a small trade it can exceed the whole spread.
P2P purchases
the price you paid is the P2P rate, not the market rate; using the market rate makes the profit look larger than it was.
How the Calculation Works
The tool works from the amount you actually spent, not from the price alone. It multiplies the buy price by the quantity, adds the entry fee, and treats the sum as the cost of the position. The same is done on the way out: the sell price times the quantity, minus the exit fee. What is left is the net profit, and dividing it by the cost gives the return.
Break-even is derived from that cost rather than from the buy price, which is why it always sits slightly above what you paid — the fees have to be earned back before the first cent is profit. With leverage the tool also reports the liquidation price, the point at which the position loses the margin that supports it. Everything runs in your browser; no trade of yours is sent anywhere.
Formulas and Algorithms
π = (S − B) · Q − Fb − Fs S — sell price, B — buy price, Q — quantity, F — the fee on each side.
ROI = π / M × 100% M — your own money in the trade: the amount you put in, or the position divided by the leverage.
BE = B · (1 + fb) / (1 − fs) The exit fee grows with the exit price, so break-even is not the cost plus a fixed fee — it is slightly higher.
L ≈ B · (1 − 1/k) k — leverage. Compare this price with the asset’s ordinary daily range before opening.
Real Scenarios
Before you sell
put in the price you are considering and see the net figure — the fee often turns a small gain into none.
After a series of buys
use the average price and the total quantity; the result is the position, not one purchase.
Choosing a target
read break-even first, then set the target above it — anything below is a loss whatever the chart says.
Sizing a leveraged position
check the liquidation price against the ordinary daily range of the asset before opening it.
Frequently Asked Questions
Q: How do I calculate crypto profit?
A: Crypto profit = (Sell Price − Buy Price) × Quantity − Fees. This calculator handles the math for you, including separate buy and sell fees.
Q: What is ROI in crypto?
A: ROI (Return on Investment) = (Net Profit / Total Cost) × 100%. It tells you the percentage return on your crypto investment regardless of the amount invested.
Q: How do trading fees affect crypto profit?
A: Trading fees are charged on both buy and sell transactions. A 0.1% fee on a $10,000 trade costs $10 each way ($20 total). Fees reduce your profit and increase the break-even price.
Q: What is break-even price?
A: The break-even price is the minimum sell price needed to cover your total cost including fees. It's calculated as: (Buy Price × Quantity + All Fees) / Quantity.