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.
Pre-set for the market you trade
Pip, point and tick values differ by instrument. These calculators start from each one's contract, with worked examples:
Quick questions
How do I calculate forex position size?
Divide the amount you are willing to risk by the cost of your stop per lot. With a $10,000 account risking 1% ($100) and a 30 pip stop on EUR/USD at $10 per pip per standard lot, the stop costs $300 per lot, so the size is 100 ÷ 300 = 0.33 lots.
Is forex position size the same as lot size?
Yes. In forex the position size is usually quoted in lots: 1.00 is a standard lot of 100,000 units, 0.10 a mini lot and 0.01 a micro lot. The formula is the same as for shares; only the unit and the pip value differ.
What do I need to calculate position size?
Three things: your account balance, the percentage you will risk, and the distance from entry to stop-loss. Everything else follows from those.
Better stops, better sizing.
Your stop distance sets your position size. These indicators help you place the stop where the idea is invalid.
Premium indicators come with a 7-day free trial on request: how the trial works.
Keep reading
Last updated November 2026. For education only. Not financial advice.
Related: what a lot is in forex, what an R-multiple is and futures tick values for the contract sizes used in the examples above.