Leverage Calculator
Calculate your leveraged position size, liquidation price, profit and loss, ROI, and capital risk — for both long and short positions. Supports isolated and cross margin modes, TP/SL simulation, multi-scenario leverage comparison, and funding fee cost estimation.
What Is Leverage in Crypto Trading?
Leverage is a tool that allows you to control a position much larger than the amount of capital you actually deposit. When you trade with 10x leverage, a $1,000 deposit gives you $10,000 of market exposure. When the trade goes in your favor, your profits are calculated on the full $10,000 — not just your $1,000 margin. When it goes against you, so are your losses.
This amplification effect is what makes leverage both powerful and dangerous. It is one of the most misused tools in retail crypto trading — not because it is inherently bad, but because most traders use it without fully understanding the numbers behind it. Knowing your liquidation price, your real risk exposure, and the cost of holding a leveraged position are not optional — they are the minimum requirements for trading responsibly with margin.
How Leverage Works: A Simple Example
Suppose you open a long BTC position with $1,000 margin at 10x leverage. Your position size is $10,000. If BTC rises 5%, your position gains $500 — a 50% return on your $1,000 margin. If BTC drops 5%, you lose $500 — also 50% of your margin. If BTC drops 10% (ignoring maintenance margin), you lose 100% of your deposit. This is why leverage is called a double-edged sword.
Isolated Margin vs. Cross Margin
Understanding the difference between these two margin modes is critical before opening any leveraged position:
- Isolated Margin: Only the margin you allocate to this specific position is at risk. If the position is liquidated, you lose only what you put in for that trade — your remaining account balance is completely protected. This is the recommended mode for most traders because it caps your downside on any single trade.
- Cross Margin: Your entire account balance backs the position. The advantage is a lower liquidation price — the exchange uses all available funds to prevent liquidation as long as possible. The risk is that a single bad trade can wipe your entire account. Cross margin is used by advanced traders for specific strategies like hedging, where one position offsets losses from another.
What Is Liquidation Price?
The liquidation price is the market price at which your exchange forcibly closes your position because your margin is no longer sufficient to cover losses. Once this price is reached, you lose your entire deposited margin for that position. For isolated margin, the formula is:
Liquidation Price (Long) = Entry Price × ( 1 − 1 ÷ Leverage + Maintenance Margin % )
Liquidation Price (Short) = Entry Price × ( 1 + 1 ÷ Leverage − Maintenance Margin % )
Example: Entry at $65,000, 10x leverage, 0.5% maintenance margin:
- Long Liquidation: $65,000 × (1 − 0.1 + 0.005) = $58,825
- Short Liquidation: $65,000 × (1 + 0.1 − 0.005) = $71,175
At 10x leverage, BTC only needs to drop 9.5% from your entry for your long position to be liquidated. At 20x leverage, that distance shrinks to just 4.5%.
What Is Maintenance Margin?
Maintenance margin (MM) is the minimum percentage of the position value you must maintain as collateral to keep the position open. When your margin falls below this threshold, liquidation is triggered. Different exchanges set different MM rates: Binance and Bybit use 0.5%, OKX uses 0.3% for most pairs. Higher leverage tiers often have higher maintenance margin requirements — always check your exchange's fee and margin schedule before opening a position.
Key Considerations When Using Leverage
Leverage is not inherently wrong — but it demands discipline, preparation, and a clear understanding of the numbers. Here are the most important things to keep in mind before every leveraged trade:
1. Always Know Your Liquidation Price Before Entering
This sounds obvious, but a large percentage of retail traders do not check their liquidation price before opening a leveraged position. They focus on the potential profit and ignore the distance to liquidation. At 20x leverage, your liquidation is only 4.5% away from your entry. In a market that routinely moves 5–10% in a single hour during volatile sessions, this means a normal market fluctuation can wipe your position before any trend even develops. Always calculate the liquidation price first — and ask yourself whether a normal intraday wick could reach it.
2. Place Your Stop Loss Before Liquidation, Not After
Your stop loss must trigger before the liquidation price — not at it, and definitely not beyond it. If your stop loss is placed below your liquidation level for a long position, the exchange liquidates you before your stop order ever fires. You receive zero protection. A properly placed stop loss exits you with a controlled loss. Reaching liquidation means you lose 100% of your margin on that position.
3. Higher Leverage Means Higher Funding Costs
Funding fees in perpetual futures are calculated on the full notional value of the position — not on your margin. At 10x leverage, a $1,000 margin creates a $10,000 notional position. A 0.01% funding rate costs $1 per 8-hour interval, or $3/day, or $90/month. At 20x leverage on the same margin, funding doubles to $180/month. For positions held more than a few days, funding cost becomes a meaningful drag on your return that must be accounted for in your trade plan.
4. Size Your Position Based on Risk, Not on How Much You Want to Make
The most common leverage mistake is choosing position size based on a desired profit target. The correct approach is the opposite: determine how much of your capital you are willing to lose (typically 1–2%), set your stop loss based on chart structure, and then calculate the position size that makes your maximum loss equal to that dollar amount. If the required position size is too large or too small at the current leverage, adjust leverage — not risk tolerance.
5. Leverage ≥ 20x Requires a Specific Strategy — Not General Trading
Leverage above 20x reduces your liquidation distance to less than 5% from entry. At this range, normal market noise — not even a real trend reversal — can liquidate your position. Extreme leverage is occasionally used for very short-term trades with tight entries, near-zero holding time, and specific technical setups. It is not appropriate for most trades and should never be used without a hard stop loss in place.
Leverage Reference Table — Liquidation Distance & Risk
Use this table as a quick reference to understand how different leverage levels affect your liquidation distance and risk exposure before opening a position:
| Leverage | Liq. Distance (Long) | Position on $1,000 | 1% Price Move = ROI | Risk Level |
|---|---|---|---|---|
| 2x | ~49.5% | $2,000 | +2.0% | 🟢 Safe |
| 5x | ~19.5% | $5,000 | +5.0% | 🟢 Safe |
| 10x | ~9.5% | $10,000 | +10.0% | 🟡 Medium |
| 20x | ~4.5% | $20,000 | +20.0% | 🔴 High |
| 50x | ~1.5% | $50,000 | +50.0% | 🔴 Extreme |
| 100x | ~0.5% | $100,000 | +100.0% | 🔴 Extreme |
* Liquidation distance calculated at 0.5% maintenance margin (Binance/Bybit standard). Actual distance varies by exchange, pair, and margin tier.
How to Use the Leverage Calculator
This calculator gives you a complete picture of any leveraged position in seconds — from basic margin requirements to liquidation safety and multi-leverage comparison. Here is a full step-by-step walkthrough:
Step 1 — Select Position Direction and Margin Mode
Choose Long if you are buying (expecting price to rise) or Short if you are selling (expecting price to fall). Then select your margin mode: Isolated (only this position's margin is at risk) or Cross (full account balance backs the position). The liquidation formula changes depending on both selections — the calculator handles this automatically.
Step 2 — Choose Your Exchange Preset
Select your exchange from the preset dropdown to automatically fill in the correct maintenance margin rate: Binance (0.5%), Bybit (0.5%), or OKX (0.3%). If you are using a different exchange or a specific contract with a different MM rate, select Custom and enter the value manually in the Maintenance Margin field below.
Step 3 — Enter Capital, Leverage, and Entry Price
Enter the margin you are depositing for this position in the Capital /
Margin field. Enter your Leverage multiplier (e.g.,
10 for 10x). Enter the price at which you are opening the position
in Entry Price. The calculator instantly computes your full
position size, notional value, and liquidation price from these three inputs.
Step 4 — Add TP and SL Prices (Optional)
Enter your Take Profit and Stop Loss prices to activate the full TP/SL simulation. The calculator shows your gross PnL and ROI at the TP level, your dollar loss and risk percentage at the SL level, and your net PnL after funding costs are deducted. If you leave these fields blank, the calculator skips the simulation and shows only core position metrics.
Step 5 — Enter Funding Rate and Intervals (Optional)
For futures positions you plan to hold overnight or longer, enter the current Funding Rate (% per 8h interval — find this on your exchange's perpetual futures page) and the number of funding intervals you expect to be charged during your hold (3 = 1 day, 21 = 1 week). The calculator deducts the total funding cost from your TP profit to show you the true net return.
Step 6 — Read Your Complete Position Analysis
After clicking Calculate, the tool returns:
- Mini Chart — visual layout of Entry, Liquidation, TP, and SL levels
- Risk Warning — 🟢 Safe / 🟡 Medium / 🔴 High based on leverage
- Position Summary — position size, notional value, liquidation price and distance
- TP/SL Simulation — gross PnL, net PnL after funding, ROI, and risk % on capital
- Funding Fee Breakdown — total funding cost for your holding period
- Leverage Comparison Table — side-by-side 5x / 10x / 20x showing position size, liquidation price, liquidation distance, ROI at TP, and risk at SL
- Margin Mode Explanation — plain-English summary of isolated vs cross implications
Core Leverage Formulas Reference
All calculations in this tool are based on these standard formulas. Use them to verify results or run manual calculations:
Position Size (USD) = Capital × Leverage
Position Size (units) = Position Size (USD) ÷ Entry Price
PnL (Long) = ( Exit Price − Entry Price ) ÷ Entry Price × Position Size (USD)
PnL (Short) = ( Entry Price − Exit Price ) ÷ Entry Price × Position Size (USD)
ROI (%) = PnL ÷ Capital × 100
Liquidation (Long, Isolated) = Entry × ( 1 − 1 ÷ Leverage + MM% )
Liquidation (Short, Isolated) = Entry × ( 1 + 1 ÷ Leverage − MM% )
Funding Cost = Position Size (USD) × Funding Rate × Intervals
How Professional Traders Use Leverage Responsibly
The difference between a retail trader who blows up their account and a professional who uses leverage profitably is not luck — it is process. Here are the principles that separate disciplined leverage use from gambling:
- Start with 2x–5x and prove your strategy works first. No leverage strategy works over time if the underlying trade logic is flawed. Use low leverage to validate your approach before scaling up.
- Never use leverage without a stop loss. Without a stop loss, the only exit from a losing leveraged position is liquidation — which means 100% loss of margin. A stop loss gives you control.
- Calculate funding cost for any trade you plan to hold more than 24 hours. A trade that looks profitable at face value may be net negative after accounting for daily funding drag at high leverage.
- Use the leverage comparison table before every trade. Seeing 5x, 10x, and 20x side by side — with liquidation prices and risk amounts — makes the risk/reward trade-off concrete rather than abstract.
- Treat isolated margin as the default for directional trades. Cross margin is powerful but dangerous for traders without an explicit hedging strategy. Isolated margin ensures one bad trade cannot destroy your entire account.
Explore our complete suite of free crypto trading tools at All Tools — and always calculate before you open a leveraged position.