HeadroomDESK

BTC leverage and margin calculator

A BTC leverage calculator: how much margin a perpetual position ties up, with the opening fee, the most it can be at your balance, and the leverage your account really carries.

1 · Your position

Venue
BTC
USD
×
%
USD
USD

Margin and opening fee

–

Position value
–
Margin + opening fee
–
Leverage on your equity
–

3 · How it is calculated

Runs in your browser. Nothing you type leaves this page.

Margin is the position's value divided by the leverage you choose. This calculator adds the opening fee, finds the largest size your balance allows, and shows the leverage your whole account really carries, which is often far below the number on the slider.

Arithmetic on your inputs, not advice. A leveraged position can lose all the margin behind it; in cross margin, the whole balance.

What the number means, with a worked example

How to read this number: what it means, the formula in plain words, a worked example, the common mistake and the venue's rule. The full arithmetic and more examples follow.

How to read the result

The margin and opening fee, in five parts

What the number means

The amount that leaves your available balance when the position opens: the initial margin the venue holds against it, plus the opening fee. The tiles add the position's value and the leverage your whole account carries, which is what decides how a price move hits it.

The formula, in plain words

The position's value is its size times the price. Divide the value by the leverage you set to get the initial margin, and add the opening fee, the value times the fee rate. Leverage on equity divides the same value by your account equity.

margin + fee = value / L + value · fee rate leverage on equity = value / equity

Value is size × price (× the contract value on Delta); L is the leverage you set; the fee rate starts at the venue's taker rate.

One worked example

The calculator's starting inputs: 0.75 BTC at 60,000 on Binance, 20× leverage, opening fee 0.05% (Binance's taker rate), account equity 5,000 USD.

  1. Position value0.75 × 60,000 = 45,000.00
  2. Initial margin45,000.00 ÷ 20 = 2,250.00
  3. Opening fee45,000.00 × 0.05% = 22.50
  4. Margin + opening fee2,250.00 + 22.50 = 2,272.50 USD

Panel 2 shows 2,272.50 USD. Its third tile, leverage on equity: 45,000.00 ÷ 5,000 = 9.00×.

The common mistake

Reading the 20× setting as the account's leverage. The setting decides only how much margin is posted. The account carries the position's value over its equity, 9.00×: a 5% move against this position costs 2,250.00 USD, 45% of the equity.

Source and venue rule

  • Binance USDⓈ-M: maximum leverage from its Leverage & Margin brackets (at a value of 45,000.00, up to 150×) and the 0.05% taker fee from its fee page, read 2026-11-15.
  • Bybit: risk-limit tiers and the 0.055% taker fee, read 2026-11-15. Bybit also reserves an estimated fee to close inside initial margin: in its help-centre example, 800.00 + 21.56 = 821.56 USDT.
  • Delta Exchange India: no margin table is stored here, and the 0.05% fee is an editable default. Delta's maximum leverage for your size is in its contract details.

If you pay a different fee tier or use limit orders, type your own rate. The venue's order screen is the final word on cost.

The arithmetic

notional = size · contract_value · price initial margin = notional / leverage opening fee = notional · fee rate largest size = available / (contract_value · price · (1/leverage + fee rate)), rounded down to the size step leverage on equity = notional / equity Bybit fee to close = size · price · (1 ∓ 1/leverage) · taker rate (long −, short +)
contract_value
1 for Binance and Bybit (size in BTC); the BTCUSD contract value for Delta Exchange India
fee rate
the taker rate by default; enter your own if you pay a different tier or use limit orders
equity
your account balance plus open P/L
Bybit fee to close
Bybit reserves an estimated fee to close inside its initial margin, so its order screen shows the initial margin plus this amount. In Bybit's help-centre example, 800 + 21.56 = 821.56 USDT.

Leverage on equity is the number that decides how a price move hits your account. A position at 20× that uses a quarter of the account carries five times the account's value, not twenty.

Worked examples

Illustrative inputs, not market prices. Computed by the reference code the calculator is tested against.

Illustrative inputs. Amounts in USD.
InputsResult
0.75 BTC at 60,000.0, 20×, opening fee 0.05%value 45,000.00; margin 2,250.00; fee 22.50; total 2,272.50
1,000.00 available at 60,000.0, 10×, opening fee 0.05%, step 0.001 BTClargest size 0.165 BTC (rounded down)
Position value 45,000.00 on equity of 5,000.00leverage on equity 9.00×

What this does not cover

  • Bybit's reserved fee to close is shown; other buffers a venue adds to the order cost are not. The venue's order screen is the final word on cost.
  • The maximum leverage comes from the dated parameter table. Venues change their tiers.

When not to use this

Do not read the maximum leverage as a suggestion. It is the venue's outer limit, not a working level.

Related

Last reviewed (UTC).