Work out how large a position to open so that hitting your stop loss costs only a fixed percentage of your account.
This calculator applies fixed-fractional risk management: you choose what percentage of your account you are willing to lose if your stop loss is hit, and it converts that into a position size. The distance between entry and stop loss is your loss per unit, so dividing your risk budget by that distance gives the quantity to trade.
Risk amount = Account balance × Risk %
Risk per unit = |Entry price − Stop-loss price|
Position size = Risk amount / Risk per unit
Position value = Position size × Entry priceIf the resulting position value exceeds your balance, the trade requires leverage equal to position value divided by balance. The calculation ignores fees and slippage, which add to the realized loss when the stop is hit.