The formula
The idea is simple. First decide how many dollars you are willing to lose on the trade. Then divide that by how much you lose per share (or contract, or unit) if the stop is hit. The result is the largest position that keeps your loss within your limit.
Example 1: a stock
Account of $10,000, risking 1%, buying at $50 with a stop at $48. The risk amount is $100 and each share risks $2, so the size is 100 ÷ 2 = 50 shares (a $2,500 position).
Example 2: forex
Account of $10,000, risking 1%, buying EUR/USD at 1.0850 with a stop at 1.0820 (30 pips). The risk amount is $100. Each pip on a standard lot is $10, so 30 pips costs $300 per lot. The size is 100 ÷ 300 = 0.33 lots. Use the pip value calculator if your pair is not quoted in your account currency.
Example 3: a futures contract
Account of $25,000, risking 1% ($250). You buy E-mini S&P 500 futures with a stop 5 points away. Each point is worth $50 per contract, so a stop costs $250 per contract and the size is 250 ÷ 250 = 1 contract.
Why a wider stop gives a smaller position
The dollar risk stays the same, so a wider stop must be offset by fewer shares. With a $5 stop on the same stock as example 1, the size drops to 20 shares. Place your stop where the trade idea is wrong, then size from it. Never choose the size first and move the stop to fit.
Common mistakes
- Sizing by dollars instead of risk. "I always buy 100 shares" ignores how far away the stop is.
- Forgetting fees and slippage. Add them to the risk per unit. The position size calculator has a fees field.
- Ignoring gaps. Stops can fill worse than planned in fast markets or overnight, so keep your risk modest.
- Stacking correlated trades. Three trades in the same sector are closer to one big trade.
Do it in seconds
The position size calculator does this for stocks, crypto, futures and forex, shows leverage and reward-to-risk, and lists the size at other risk levels. If you are unsure what percentage to use, read how much to risk per trade.
Try it with your own numbers
Free calculators that do the math for you. No signup, and nothing leaves your browser.
Better stops, better sizing.
Your stop distance sets your position size. These indicators help you place the stop where the idea is invalid.
Keep reading
Last updated October 2026. For education only. Not financial advice.