How the position size is calculated
Risk-based sizing starts from the loss you accept if the stop is hit, not from how much you want to buy. The calculator uses:
- Amount at risk = balance × risk %.
- Stop distance = |entry − stop| ÷ entry.
- Position size = amount at risk ÷ (stop distance + round-trip fees as a fraction).
- Margin = position size ÷ leverage.
Example: with 1,000 USDT, 1% risk (10 USDT), a long at 100 and a stop at 98 (2% away) and 0.05% fees each side, the position is about 10 ÷ 0.021 ≈ 476 USDT, or 4.76 coins. At 5x leverage that needs about 95 USDT of margin. Notice that leverage changes the margin, not the risk: the stop decides the risk.
For the full method, including how to choose a risk percentage, read our position sizing guide and risk management guide.