Trading Position Size Calculator
Work out how many shares to buy so a stop-loss limits your loss to a chosen percentage of your account, with reward-to-risk ratio.
Results are mathematical estimates from the values you enter. They are not financial, tax or investment advice. Trading carries a risk of loss greater than planned when prices gap.
How to use this calculator
Enter your account size, the percentage you are willing to lose if the trade fails, your planned entry and stop-loss prices. The calculator gives the number of shares that keeps the loss at that level and the money you would commit. Add a target price to see the reward-to-risk ratio. Works for long trades (stop below entry) and short trades (stop above entry).
Formula
Money at risk = account × risk %. Risk per share = |entry − stop|. Shares = floor(money at risk ÷ risk per share). Position value = shares × entry. Reward-to-risk = |target − entry| ÷ risk per share.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewQasimACCA, CFA, Senior Financial Analyst
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Why size positions by risk?
It keeps any single losing trade to a small, planned share of your account, so a run of losses does not wipe it out.
How much should I risk per trade?
Many traders risk 0.5–2% of their account per trade. Lower risk means smaller swings in the account.
Is my loss guaranteed to stop at the stop price?
No. A stop order becomes a market order when triggered, and prices can gap past it, especially overnight or in fast markets.
Does this include commissions?
No. Subtract expected fees and spreads from the money at risk for a more conservative size.
What is a good reward-to-risk ratio?
Many traders look for at least 2 : 1, so one win covers two losses.
Can I use it for forex or crypto?
Yes, if you enter prices per unit and treat units like shares. For forex lots and leverage, check the contract size with your broker.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- U.S. Securities and Exchange Commission. (n.d.). Investor bulletin: Stop, stop-limit, and trailing stop orders. Investor.gov. View source
- U.S. Securities and Exchange Commission. (n.d.). Stocks. View source
- Bodie, Z., Kane, A., & Marcus, A. J. (2024). Investments (13th ed.). McGraw Hill. View source
- U.S. Securities and Exchange Commission. (n.d.). Build wealth over time through saving and investing. Investor.gov. View source