loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / trading / leverage-margin-calculatorlocal

Leverage and Margin Calculator

Margin, leverage, entry and exit in: position size, profit or loss, fees, return on margin and the move that wipes the margin.

leverage-margin-calculatorready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

trading tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

With leverage, margin times leverage is the position size, so profit and loss scale with it. This shows the result of a trade at an exit price, the fees on both sides and how far the price can move against you before the margin is gone.

02 // how to use it

  1. Choose long or short.
  2. Enter entry, exit, margin and leverage.
  3. Press Run.

03 // faq

What is return on margin?

Net profit divided by the margin you put up. At 10x, a 1% move is roughly a 10% return or loss.

Is liquidation exactly where margin hits zero?

No. Exchanges liquidate earlier because of maintenance margin. Use the liquidation price calculator.

04 // related tools

all 37 trading tools →