Finance, Investing and Stock Market
Stock Position Size Calculator
Work out how many shares a risk plan allows: from your account equity, the percentage you are willing to risk on one trade, the entry price and the stop-loss price — for long and short positions. The result is risk-planning arithmetic, not investment advice, and no outcome is guaranteed.
Calculation History
Your recent calculations on this device. Stored only in your browser, never uploaded.
No calculations yet on this device.
How to Use
Enter your account equity, the percentage of it you are willing to risk on this one trade, the entry price and the stop-loss price, then choose long or short and add any fees. Choose a currency (display label only). Press Calculate to see the maximum amount at risk, the suggested number of whole shares, the position value and the potential loss if the stop-loss is reached.
Formula and Methodology
Maximum amount at risk = account equity x risk percentage / 100. Long position: risk per share = entry price - stop-loss price. Short position: risk per share = stop-loss price - entry price. Suggested shares = maximum amount at risk / risk per share, rounded DOWN to whole shares, because you cannot buy part of a share in this calculation and rounding up would risk more than the planned amount. Position value = suggested shares x entry price. Percentage of the account allocated = position value / account equity x 100. Potential loss at the stop-loss = suggested shares x risk per share + fees. For a long position the stop-loss must be below the entry price; for a short position it must be above it — a stop on the wrong side is rejected. This is risk-planning mathematics, not investment advice, and no outcome is guaranteed.
Examples
Press "Try an example" in the calculator above to fill in these values.
- Equity
- 10000
- Risk
- 1
- Entry
- 50
- Stop
- 48
- Fees
- 0
- Direction
- long
- Currency
- USD
Tips
The share count is always rounded down: rounding up would put more money at risk than the percentage you chose.
A stop-loss closer to the entry price means less risk per share, so the same risk amount allows more shares — and a larger position value.
Frequently Asked Questions
Because buying one more share than the calculation allows would risk more than the amount you planned. Rounding down keeps the risk at or below your chosen percentage.
In a long position you buy first and profit if the price rises, so the stop-loss sits below the entry price. In a short position you sell first and profit if the price falls, so the stop-loss sits above the entry price. A stop on the wrong side cannot protect the trade, so the calculator rejects it.
No. It only turns your own risk percentage, entry price and stop-loss into a share count. Whether the trade is worth taking is a decision the tool cannot make for you.