Position size calculator

How big a position fits your risk per trade, for a BTCUSDT perpetual on Bybit, isolated margin.

Stop: 2.35% from entry

Liquidation at 10x: 9.67% from entry Entry 68,000 is the full width
Below the entry for a long, above it for a short.
The default of 0.055% (taker) is an assumption. Check Bybit’s fee table for your rate.

The liquidation check uses the risk tier 1 maintenance margin rate of 0.33%, for positions up to 300,000 USDT (Bybit data from 2026-11-18).

Position size

0.0625 BTC

Long 0.0625 BTC. If the stop at 66,400 is hit you lose 100.00 USDT, 1.00% of the account, plus about 4.62 USDT in fees.

The rest of the result
Position value 4,250.00 USDT
Margin required 425.00 USDT
Estimated fee, in and out 4.62 USDT
Loss at the stop, fees included 104.62 USDT
Liquidation price at 10x 61,424.4

The live account link is a plain link to Bybit. We earn nothing from it today. Leveraged trading can lose your entire margin.

How it is calculated

Start from the amount you accept losing if the stop is hit, then divide it by the loss on one unit:

risk amount = account size × risk per trade
quantity = risk amount ÷ |entry price − stop price|
position value = quantity × entry price
margin = position value ÷ leverage
fee, in and out = quantity × (entry price + stop price) × fee rate
  • Account size: The balance you size against, in USDT.
  • Risk per trade: The share of the account you accept losing if the stop is hit.
  • Stop price: The price at which your stop order closes the position. A stop below the entry means a long, a stop above it means a short.
  • Leverage: It does not change the quantity or the loss at the stop. It changes how much margin is locked and where the liquidation price sits.
  • Fee rate: Charged on the traded value when you open and again when you close. The default of 0.055% per side is an assumption for taker orders; Bybit’s fee table shows the rate for your account.

The last step is a check. At your leverage the liquidation price is 1 ÷ leverage minus the maintenance margin rate away from the entry (0.33% in risk tier 1, Bybit data from 2026-11-18). If that is closer than the stop, the stop never triggers, and the result says so.

What this leaves out: a stop can fill beyond its price in a fast market, funding is paid while the position is open, and the exchange has a minimum order size and a quantity step. Round the quantity down to the step your exchange accepts. Treat the result as an estimate.

Worked examples

Example 1: a long risking 1.00% of 10,000 USDT

Long. Account 10,000 USDT, risk per trade 1.00%, entry 68,000, stop 66,400, 10x leverage, fee rate 0.055% per side.

risk amount = 10,000 × 1.00% = 100.00 USDT
quantity = 100.00 ÷ |68,000 − 66,400| = 0.0625 BTC
position value = 0.0625 × 68,000 = 4,250.00 USDT
margin = 4,250.00 ÷ 10 = 425.00 USDT
fee = 0.0625 × (68,000 + 66,400) × 0.055% = 4.62 USDT
liquidation price at 10x = 61,424.4

The position is 0.0625 BTC. If the stop is hit the loss is 100.00 USDT plus 4.62 USDT in fees. The liquidation price of 61,424.4 is beyond the stop at 66,400, so the stop comes first.

Example 2: a short where liquidation comes first

Short. Account 4,000 USDT, risk per trade 2.00%, entry 68,000, stop 72,000, 25x leverage, fee rate 0.055% per side.

risk amount = 4,000 × 2.00% = 80.00 USDT
quantity = 80.00 ÷ |68,000 − 72,000| = 0.0200 BTC
position value = 0.0200 × 68,000 = 1,360.00 USDT
margin = 1,360.00 ÷ 25 = 54.40 USDT
fee = 0.0200 × (68,000 + 72,000) × 0.055% = 1.54 USDT
liquidation price at 25x = 70,495.6

The size works out to 0.0200 BTC, but at 25x the liquidation price is 70,495.6, and price reaches it before the stop at 72,000. The position would be liquidated before the stop. At 16x or less the stop comes first.

Common mistakes

Sizing by leverage

Leverage does not set the risk. Two positions with the same quantity and the same stop lose the same amount at the stop, whatever leverage each one uses.

Reading the margin as the risk

The margin is what is locked, not what is lost at the stop. In example 1 the margin is 425.00 USDT and the loss at the stop is 100.00 USDT.

Leaving out the fees

Fees are charged on the position value, not on the margin. In example 1 they add 4.62 USDT to a planned loss of 100.00 USDT.

A stop beyond the liquidation price

If liquidation comes first, the stop never triggers and the margin is lost instead of the amount you planned. Check the order of the two prices before you open.

Expecting the stop to fill at its price

Once triggered, a stop that closes at market takes the next available price. In a fast market that can be worse than the stop price, and the loss larger than planned.