Work out how many shares, contracts or lots to trade so a stop-out costs exactly the amount you planned to risk.
Entry, stop and target
Size at other risk levels
Size is rounded down to whole shares or contracts (two decimals for forex lots, four for crypto), so the real risk can be slightly below your target. Slippage and gaps past your stop can make a loss bigger than planned.