Position size calculator

Position size = the money you accept to lose at the stop ÷ the distance from the entry to the stop. This calculator does it with the exchange's real quantity step, minimum order, fee, spread and slippage.

Risk-based sizing answers one question: how large can a position be so that, if the stop loss is hit, you lose only the share of your capital you chose? The size is the risk amount divided by the distance between the entry and the stop. A wide stop gives a small position, a tight stop a larger one, and the loss at the stop stays the same.

The result is rounded down to the coin's quantity step on the exchange you pick and checked against its minimum quantity and minimum order value, exactly as a Algonney bot sizes an order. It is also lowered so the margin and the entry fee fit your capital. On futures, the margin is the position value divided by the leverage; leverage changes the margin, not the loss at the stop.

Your numbers

Worked example

Example inputs

ExchangeBinance
MarketUSDT perpetual futures
CoinBTC
Capital (USDT)1000
Risk per trade (%)1
Entry price65000
Stop loss price63700
Leverage2

Result

Quantity (coins)0.007
Position value (USDT)455
Loss at the stop before fees (USDT)9.1
Margin (USDT)227.5
Entry fee at the taker rate (USDT)0.2275
Costs usedtaker fee 0.05 %, half spread 0.01 %, slippage 0.03 % (the same as a backtest on Algonney)

Calculated with Binance's symbol rules, fee rates and funding as stored on 2026-11-22. The example prices are inputs, not a forecast.

Fee rates used

Published standard fee rates of every enabled exchange (the symbol's own rate is used when the exchange gives one).

ExchangeMarketMakerTaker
BybitSpot0.1 %0.1 %
BybitUSDT perpetual futures0.02 %0.055 %
BinanceSpot0.1 %0.1 %
BinanceUSDT perpetual futures0.02 %0.05 %
OKXSpot0.08 %0.1 %
OKXUSDT perpetual futures0.02 %0.05 %