Crypto Leverage Calculator
Estimate leveraged crypto position size, liquidation price, ROI, and profit/loss from entry price, leverage, and margin — with a full price-scenario ladder from -20% to +20% around entry.
Input
1x-125x, matching common exchange limits.
The capital you're putting up, before leverage is applied.
The exchange's minimum margin threshold that triggers liquidation. Check your exchange's tier table; 0.4-0.5% is typical for major pairs.
Leave blank to skip the single-exit P/L row and just see position size, liquidation price, and the scenario ladder.
Output
| Metric | Value |
|---|---|
| No data yet | |
| Price Change | Price | P/L | ROI on Margin |
|---|---|---|---|
| No data yet | |||
More ways to use this tool
REST API
curl -X POST https://api.iotools.cloud/v1/tool/crypto-leverage-calculator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"direction": "long",
"entryPrice": "45000",
"leverage": "10",
"margin": "1000",
"maintenanceMarginRate": "0.5",
"exitPrice": "48000",
"currency": "USD"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `crypto-leverage-calculator` tool (Crypto Leverage Calculator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.
Embed widget
<iframe
src="https://iotools.cloud/embed/crypto-leverage-calculator/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="Crypto Leverage Calculator — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>Drop this into your own page — free, no key required, just a link back.
| Cost per API/MCP call | From 5 credits |
|---|---|
| Need more credits? | View pricing |
Also available with
Guides
What this calculates
Leverage multiplies both your position size and your risk of liquidation. This tool takes an entry price, leverage multiple, and the margin (collateral) you're putting up, and works out your notional position size, estimated liquidation price, and profit/loss across a range of price outcomes — so you know your risk before you open the trade, not after.
How this tool works
- Choose Long (betting the price rises) or Short (betting it falls).
- Enter the entry price per unit.
- Set the leverage (1x-125x).
- Enter the margin — your own capital, before leverage is applied.
- Enter the maintenance margin rate — the exchange's minimum margin threshold that triggers liquidation (check your exchange's tier table; 0.4-0.5% is typical for major pairs).
- Optionally enter an exit price to see the P/L and ROI for that specific scenario.
The Position Summary table shows your notional position size, quantity, estimated liquidation price, and how far the price would need to move to get there — plus the exit-price P/L if you provided one. The Price Scenarios table shows P/L and ROI at seven price points from -20% to +20% around your entry, so you can see the whole shape of the trade at a glance rather than one number at a time.
The math
Position size is margin × leverage; quantity is position size ÷ entry price. Liquidation price uses the standard simplified isolated-margin formula:
- Long:
entry × (1 − 1/leverage + maintenance margin rate) - Short:
entry × (1 + 1/leverage − maintenance margin rate)
At any given price, P/L is quantity × (price − entry) for a long or quantity × (entry − price) for a short; ROI is that P/L as a percentage of your margin. A scenario price past the liquidation price is capped at a full loss of margin and flagged "Liquidated," since that's what actually happens on an exchange — you don't keep losing past 100% of your collateral.
This is an estimate, not a guarantee. Real exchanges also factor in unrealized funding payments, open orders, and their own rounding — treat the liquidation price here as directional, not exact to the cent, and always leave more margin buffer than the bare minimum.
Common uses
- Sizing a leveraged position before opening it, so the liquidation price is a known number instead of a surprise
- Comparing how liquidation risk changes across different leverage multiples for the same margin
- Sanity-checking an exchange's own liquidation-price display
- Seeing the full range of outcomes (P/L ladder) for a trade idea before committing capital
For a spot trade with no leverage, use the Crypto Profit/Loss Calculator instead.
Privacy
This tool runs entirely in your browser. Your numbers are never uploaded to a server.