Position Sizing Calculator
Find the number of shares that keeps planned loss within a chosen percentage of the account.
What it does
Position sizing turns a risk rule into a concrete number of shares. The trader first decides how much of the account can be lost on one trade, then sizes the position so that the stop loss distance matches that budget.
This tool takes the account balance, risk percent, entry price and stop price. It computes the dollar risk, the per share risk and the number of shares, along with the resulting position value.
The page opens with a 30,000 account, one percent risk, entry at 45 and a stop at 44.25. The dollar risk is 300, per share risk is 0.75, and the position is 400 shares worth 18,000.
The method assumes a one unit move in price changes profit or loss by one unit, which is true for ordinary shares. Forex, futures and options need contract specific adjustments.
A stop order does not guarantee execution at the stop price. Gaps and slippage can produce larger losses than the calculated risk.
How to use
- Enter the current account balance.
- Enter the percentage of the account you are willing to risk.
- Enter the planned entry price.
- Enter the stop loss price.
- Read the position size in shares as the main result.
- Check the position value and its share of the account.
Formula
- account
- Current trading capital.
- risk percent
- Maximum fraction of the account to lose on the trade.
- entry - stop
- Price risk per share.
Using the absolute difference allows the same formula for long trades, where the stop is below entry, and short trades, where it is above. The result should normally be rounded down to a whole number of shares.
Worked example
Example: 30,000 account at one percent risk
The page opens with account 30,000, risk 1 percent, entry 45 and stop 44.25.
- Compute dollar risk: 30,000 times 0.01 is 300.
- Find risk per share: 45 minus 44.25 is 0.75.
- Divide 300 by 0.75 to get 400 shares.
- Position value is 400 times 45, or 18,000.
- That is 60 percent of the account, but the planned loss is only one percent.
- The tool reports shares 400 and risk_amount $300.00.
Reference table
| Account | Risk | Entry | Stop | Shares |
|---|---|---|---|---|
| 30,000 | 1% | 45 | 44.25 | 400 |
Limits
- Assumes one price unit changes profit by one unit.
- Does not model gaps, slippage or commissions.
- Does not account for borrowing or margin requirements.
- Fractional share results may need rounding down.
Common mistakes
- Using buying power instead of account capital.
- Moving the stop closer simply to increase size.
- Expecting a stop to guarantee the calculated loss.
- Applying the share formula to futures or options without adjustments.
- Rounding up to more shares than the formula allows.
Try it yourself
Quick checks. Answers sit tucked under each question.
30,000 account, 1% risk, entry 45, stop 44.25. Shares?
400.
What is the dollar risk?
$300.
What is the position value?
$18,000, or 60 percent of the account.
Questions
What is position sizing?
Choosing a trade size so planned loss fits a risk budget.
What is the formula?
Account risk divided by the distance from entry to stop.
Does it work for short trades?
Yes, because the absolute price difference is used.
Can position value exceed the account?
Yes with a tight stop, though margin rules may apply.
Does a stop guarantee the loss?
No. Gaps and slippage can make the loss larger.
What risk percentage is common?
Many retail traders use one to two percent.
Sources
- Investopedia, position sizing practical example
- NYU Stern, evaluating absolute return managers and risk measures
- TradeCraft Consulting, fixed percentage risk model