Trading Risk Calculator and Position Size Tool
Decide how many dollars one trade may lose, enter the entry and the stop, and the calculator returns how many whole shares fit that risk — plus the position value and, with a target, the reward-to-risk. Arithmetic only, not advice.
How the quantity is calculated
The distance between the entry and the stop is the risk per share. The amount you decided to risk, divided by that distance, is the quantity — rounded down to a whole share, which is why the actual risk is equal to or smaller than the amount you set. A stop below the entry means a long; a stop above it means a short.
What the calculator does not do
- It does not decide how much to risk — that number is yours
- It does not know your account size
- It ignores commissions, slippage and opening gaps
- Whole shares only, no fractional quantities
- Stocks and ETFs, not options
From the numbers to a plan
With a symbol, the button under the result opens a trade-plan draft that carries the entry, stop, target and risk. On the chart the stop and target become lines, the plan is saved, and when the trade closes the journal compares the result with the plan.
A worked example
Say one trade may lose $150. Long: entry $48.20, stop $46.10 — risk per share $2.10, and 150 ÷ 2.10 = 71.4, rounded down to 71 shares. The actual risk is $149.10 and the position value $3,422.20. With a target at $52.40 the reward is $4.20 per share, so reward-to-risk reads 1 : 2.0. Short: entry $120.00, stop $124.00 — $4.00 per share, 150 ÷ 4 = 37.5, so 37 shares, an actual risk of $148.00 and a position value of $4,440.00.
Turning a percentage rule into dollars
Many traders write their risk rule as a share of the account rather than a dollar amount. The calculator takes the dollar figure that rule produces: 1% of a $20,000 account is $200, 0.5% is $100, and 2% of $8,000 is $160. Which percentage, if any, is a personal rule — the calculator does not pick one and does not see your balance.
Risk calculator or position size calculator?
They are the same arithmetic asked from two ends. A stock risk calculator answers how much a trade loses if the stop is hit; a position size calculator answers how many shares fit a loss you already chose. This page does the second and shows the first: the actual risk after rounding sits next to the quantity, so the two numbers always agree.
FAQ
How is position size calculated from a fixed dollar risk?
Risk per share is the distance from the entry to the stop. Dividing the dollars you decided to risk by that distance gives the number of shares; the calculator rounds it down to a whole share.
Why is the quantity rounded down?
A fraction of a share cannot be bought as a whole share, and rounding up would risk more than the amount you set. Rounding down keeps the actual risk at or below that amount; the calculator shows the actual figure.
What is the difference between risk per share and risk per trade?
Risk per share is the price distance to the stop, in dollars per share. Risk per trade is the total you decided to lose if the stop is hit; the quantity is what connects the two.
What is reward-to-risk and how is it calculated here?
It compares the distance from the entry to the target with the distance from the entry to the stop. A target 10 above an entry with a stop 5 below reads 1 : 2.0. It is shown only when the target is on the opposite side of the stop.
How does the calculator handle a short?
A stop above the entry is read as a short. The risk per share is still the distance to the stop, and a valid target must be below the entry; everything else is calculated the same way.
What is a stock risk calculator?
A tool that turns an entry, a stop and the dollars you are willing to lose into a share quantity. This one also shows the position value, the actual risk after rounding and, with a target, the reward-to-risk.
How do I size a position with a 1% risk rule?
Work out 1% of the account in dollars — $200 on $20,000 — and enter that as the amount at risk. The calculator divides it by the distance to the stop and rounds down. The percentage is your rule; the calculator only does the division.
Does the calculator include commissions or slippage?
No. It assumes the stop fills exactly at the stop price. A fee, slippage or a gap through the stop makes the real loss larger than the figure shown.