P&L / Liquidation Calculator
Spot and futures unrealized P&L, leverage margin, liquidation price and risk-reward ratio in one place. Pick a coin to pull the live price.
Parameters
Live price
Isolated: position margin. Cross: available account balance. Leave blank to use notional ÷ leverage.
Funding rate (optional)
Results
Enter an entry price and quantity to calculate
How it is calculated
Spot
- Notional value = quantity × entry price
- Net P&L = (current price − entry price) × quantity − entry fee − exit fee
- ROI = net P&L ÷ cost basis
Futures
- Position margin = notional value ÷ leverage
- Net P&L = directional price P&L − entry/exit fees − funding fee
- The liquidation price is solved from "margin balance = maintenance margin"
- Break-even win rate = 1 ÷ (1 + risk/reward)
The liquidation price is an equivalent single-tier estimate. Exchanges also apply maintenance margin tiers, risk reserves and mark prices, so the actual liquidation price can differ slightly. This tool is for reference only and is not investment advice.
FAQ
- How is the liquidation price calculated?
- Take an isolated long as the example: margin balance + (price − entry price) × quantity − fees = maintenance margin rate × price × quantity. Solving for the price gives the liquidation price. Short positions mirror the formula. Higher leverage and a lower maintenance margin rate push the liquidation price closer to the entry price.
- Should I use isolated or cross margin?
- Isolated dedicates part of your balance to one position, so the loss stops at the liquidation price of that position. Cross uses the whole account balance, which survives longer but can drag the entire account down. In volatile markets isolated gets liquidated sooner, while cross can wipe out the whole account.
- Does 10x leverage put the liquidation price exactly 10% below the entry?
- No. 10x leverage only means the margin is 10% of the notional value. The maintenance margin rate shifts the liquidation price further, usually roughly 9% to 10% away from entry depending on the maintenance rate, fees and how the position is built.
- What win rate does a 2:1 risk/reward need?
- About 33%. The formula is 1 ÷ (1 + risk/reward). A higher risk/reward lowers the break-even win rate, but watch out for deep drawdowns during losing streaks.
- How should I set take profit and stop loss?
- Decide the maximum loss you can accept per trade first, divide it by the distance between entry and stop loss, and that gives your position size. Placing the stop at the point where the setup is invalidated is easier to execute than a fixed percentage.
