Crypto Leverage Calculator
Calculate crypto leveraged position size, liquidation price, and risk from margin and leverage.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Crypto Leverage Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Position Size = Margin x Leverage | Liquidation (Long) = Entry x (1 - 1/Leverage + MMR)
Worked example โ Position: 0.2 BTC ($10,000) | Liq Price: $47,250 | 1% Move = $100 profit (10% ROI)
Formula
Position Size = Margin x Leverage | Liquidation (Long) = Entry x (1 - 1/Leverage + MMR)
Position size equals your margin deposit multiplied by the leverage ratio. Liquidation price for longs is calculated by subtracting the initial margin rate and adding the maintenance margin rate from the entry price. For shorts, the formula is reversed.
Worked Examples
Example 1: 10x Long Bitcoin Position
Problem:A trader deposits $1,000 margin on a Bitcoin long at $50,000 with 10x leverage. Maintenance margin rate is 0.5%.
Solution:Position size: $1,000 x 10 = $10,000 Units: $10,000 / $50,000 = 0.2 BTC Initial margin rate: 1/10 = 10% Liquidation price: $50,000 x (1 - 0.10 + 0.005) = $47,250 Liquidation distance: 5.5% from entry 1% move PnL: $10,000 x 1% = $100 (10% ROI on margin)
Result:Position: 0.2 BTC ($10,000) | Liq Price: $47,250 | 1% Move = $100 profit (10% ROI)
Example 2: 5x Short Ethereum Position
Problem:A trader shorts ETH at $3,200 with $2,000 margin and 5x leverage. Maintenance margin rate is 0.5%.
Solution:Position size: $2,000 x 5 = $10,000 Units: $10,000 / $3,200 = 3.125 ETH Initial margin rate: 1/5 = 20% Liquidation price: $3,200 x (1 + 0.20 - 0.005) = $3,824 Liquidation distance: 19.5% from entry 5% move PnL: $10,000 x 5% = $500 (25% ROI on margin)
Result:Position: 3.125 ETH ($10,000) | Liq Price: $3,824 | 5% Move = $500 profit (25% ROI)
Frequently Asked Questions
What is leverage in crypto trading?
Leverage in crypto trading allows you to control a position much larger than your actual capital by borrowing funds from the exchange. When you trade with 10x leverage, you deposit one thousand dollars as margin and control a ten-thousand-dollar position. This amplifies both profits and losses by the leverage multiple. If the price moves one percent in your favor with 10x leverage, your return on margin is ten percent. However, if it moves one percent against you, you lose ten percent of your margin. Exchanges offer leverage ranging from 2x to 125x on crypto perpetual futures, though anything above 20x is considered extremely high risk. The borrowed funds are not free and you pay funding rates or interest for holding leveraged positions over time.
How is liquidation price calculated?
Liquidation occurs when your losses consume your initial margin minus the maintenance margin requirement. For a long position, the liquidation price equals the entry price multiplied by one minus the initial margin rate plus the maintenance margin rate. For a short position, it equals the entry price multiplied by one plus the initial margin rate minus the maintenance margin rate. For example, with 10x leverage on a long position at fifty thousand dollars with a 0.5% maintenance margin rate, the initial margin rate is ten percent, and the liquidation price is approximately forty-seven thousand seven hundred fifty dollars, which is a 4.5% decline from entry. Higher leverage means the liquidation price is closer to your entry price, giving you less room for the trade to move against you before your position is forcibly closed.
What is the difference between cross margin and isolated margin?
Cross margin uses your entire available account balance as collateral for all open positions, meaning your liquidation price is further from entry but your entire account is at risk if the trade goes wrong. Isolated margin dedicates only the specific margin amount to each position, limiting your maximum loss to that margin amount but bringing the liquidation price closer to entry. Most professional traders prefer isolated margin because it provides clearer risk boundaries and prevents a single bad trade from wiping out the entire account. Cross margin can be useful when you have strong conviction in a trade and want maximum room before liquidation. Many exchanges default to cross margin, so traders must actively switch to isolated margin mode. Understanding this distinction is critical because a cross-margin liquidation can drain funds you intended for other positions or as a safety buffer.
What leverage is appropriate for crypto trading?
For most crypto traders, leverage between 2x and 5x provides a reasonable balance between amplified returns and manageable risk. Bitcoin trades can reasonably use up to 5x to 10x leverage due to its relatively lower volatility compared to altcoins. Altcoin positions should generally use no more than 3x to 5x leverage because their higher volatility means liquidation can happen very quickly. Professional traders managing large portfolios rarely exceed 3x effective leverage across their entire book. Using 50x or 100x leverage means a one to two percent adverse move liquidates your entire position, and crypto regularly moves two to five percent within hours. Exchange marketing promotes high leverage as a feature, but statistics consistently show that the vast majority of traders using high leverage lose their capital within months. Start with the lowest leverage possible and increase only as your risk management skills improve.
How do funding rates affect leveraged positions?
Funding rates are periodic payments exchanged between long and short traders in perpetual futures contracts, typically every eight hours. When funding is positive, long traders pay short traders, and when negative, shorts pay longs. These rates can significantly erode profits on leveraged positions held over time. At a typical positive funding rate of 0.01% per eight hours, a ten-thousand-dollar position costs one dollar per period, or three dollars per day. While this seems small, with 10x leverage on a one-thousand-dollar margin, that three dollars per day compounds to ninety dollars per month, representing a nine percent monthly cost of carry. During bull markets, funding rates can spike to 0.1% or higher per period, making long positions extremely expensive to maintain. Traders must factor cumulative funding costs into their profit calculations and consider whether the expected price move will exceed the total funding paid.
What is the difference between leverage and margin?
Margin is the actual capital you deposit as collateral for a leveraged trade, while leverage is the multiplier applied to that margin to determine your total position size. If you deposit one thousand dollars of margin and use 10x leverage, your position size is ten thousand dollars. The margin represents the maximum amount you can lose on the trade in isolated margin mode. Initial margin is the amount required to open the position, while maintenance margin is the minimum amount that must remain in the position to prevent liquidation. The initial margin rate is simply the inverse of the leverage multiplier, so 10x leverage requires ten percent initial margin and 5x leverage requires twenty percent. Understanding this relationship is important because exchanges often display positions in terms of margin and leverage, and you need to quickly calculate your actual exposure and risk.
How do trading fees impact leveraged trades?
Trading fees have a disproportionately large impact on leveraged trades because fees are calculated on the total position size, not just your margin. With a standard taker fee of 0.06% on a crypto exchange, opening a ten-thousand-dollar position costs six dollars. Closing the position costs another six dollars. The total round-trip fee of twelve dollars on a one-thousand-dollar margin represents a 1.2% cost before any price movement. At 20x leverage on a twenty-thousand-dollar position with the same margin, fees total twenty-four dollars or 2.4% of margin. This means the price must move at least 0.12% in your favor just to break even on a 20x leveraged trade. Many new traders overlook fee impact and are surprised that even trades where the price moves in their favor can result in losses after fees. Using limit orders instead of market orders typically halves your fee rate on most exchanges.
What happens during a liquidation event?
When your position reaches the liquidation price, the exchange forcibly closes your trade to prevent the loss from exceeding your margin deposit. The liquidation engine sells your position at market price, and any remaining margin after covering losses and fees is returned to your account in isolated margin mode. In practice, liquidation often results in slightly worse prices than the liquidation price due to market impact and the speed of execution. Some exchanges use a partial liquidation system that reduces your position size in steps rather than closing everything at once, which can save portions of your position in temporary dips. Exchanges also charge a liquidation fee, typically 0.5% to 1.5% of the position value, which further reduces your remaining margin. During extreme market volatility, liquidation cascades can occur where one group of liquidations pushes prices further, triggering more liquidations in a chain reaction.
Can I add margin to prevent liquidation?
Yes, most exchanges allow you to add margin to an open position to lower your liquidation price and prevent forced closure. This is sometimes called topping up margin or adding collateral. Adding margin to a long position pushes the liquidation price lower, giving the trade more room to recover. However, adding margin to a losing trade is a dangerous practice if done without a clear plan because it increases your total risk exposure on a trade that is already going against you. It can turn a small, manageable loss into a much larger one if the market continues moving adversely. Professional traders generally prefer to set their position size and margin correctly before entering the trade and accept the stop loss or liquidation level rather than adding margin reactively. If you do add margin, set a firm maximum total margin limit for the position and honor it.
How does leverage differ between crypto exchanges?
Different crypto exchanges offer varying maximum leverage levels, margin modes, and fee structures that significantly affect your trading experience. Binance Futures offers up to 125x leverage with both cross and isolated margin modes and a tiered fee structure starting at 0.02% maker and 0.04% taker. Bybit provides up to 100x leverage with advanced order types and a similar fee structure. OKX offers up to 125x leverage with a portfolio margin mode for sophisticated traders. dYdX, a decentralized exchange, offers up to 20x leverage with no KYC requirements but higher gas costs. Regulatory environments also differ as exchanges serving US customers through regulated entities like Coinbase or Kraken offer much lower maximum leverage, typically 5x to 10x. When comparing exchanges, look beyond maximum leverage at factors like insurance fund size, historical liquidation performance, fee discounts, and the reliability of the matching engine during high-volatility periods.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎCrypto Tax Lot Calculator
Calculate capital gains using FIFO, LIFO, HIFO, and specific identification for crypto trades.
๐งฎCrypto Airdrop Tax Calculator
Calculate tax liability on crypto airdrops based on fair market value at time of receipt.
๐งฎCrypto Loss Harvesting Calculator
Identify crypto positions with unrealized losses for tax-loss harvesting opportunities.
๐งฎCrypto Position Size Calculator
Calculate optimal crypto position size from account balance, risk percentage, and stop loss.
๐งฎCrypto Dollar Cost Average Calculator
Calculate DCA results for any crypto from start date, frequency, and amount.
๐งฎCrypto Portfolio Allocation Calculator
Build a crypto portfolio allocation from risk tolerance, market cap tiers, and sector exposure.
๐งฎCrypto Whale Alert Calculator
Calculate at what trade size you become a whale relative to order book depth.
๐งฎCrypto Exchange Fee Comparison Calculator
Compare trading fees across Binance, Coinbase, Kraken, and Bybit for your volume tier.