All calculators

Position Size Calculator for Stop-Based Risk

Your account and risk limit

The most you plan to lose on this one trade if the stop fills at the stop price.

Your prices

Long positions only: the stop must be below the entry.

Added to the risk on each share, so it can lower the share count.

A price below the stop where the order might fill if the stock opens lower.

Position size
20 shares
worth $1,000 (10% of the account), risking about $100.00 if the stop fills at the stop price

A stop does not guarantee the exit price. If the stock gaps down, a stop order becomes a market order and can fill well below the stop, so the loss can be larger than planned. See Order types and Risk and diversification.

How it works: risk per share is the entry minus the stop plus any costs allowance; shares are the risk budget divided by that, rounded down to whole shares. Educational illustration only, not a recommendation of any trade or sizing rule.

What position sizing means

Position sizing answers one question before a trade: how many shares? A common rule-based approach starts from the loss you are willing to accept, not from how much you like the idea. You choose a small share of the account to risk, pick the price where you plan to exit if you are wrong (the stop), and let those two numbers set the share count. The position's value and the money at risk are different numbers, and this calculator shows both.

How the calculator works

The risk budget is the account size times the risk percentage. Risk per share is the entry price minus the stop price, plus any allowance you add for commissions or slippage. Dividing the budget by the risk per share gives the share count, rounded down to whole shares so the planned loss never goes over the budget. If you set a maximum position as a percentage of the account, the calculator also works out how many shares that cap allows and uses the smaller number. The optional target gives a reward-to-risk ratio from prices alone.

Worked example (hypothetical)

The defaults repeat the example in our Risk and diversification lesson:

Limits of this model

This is an educational illustration, not a recommendation of any trade, security or sizing rule. The risk percentage is your own choice, and the calculator stores nothing you type.

Learn investing basics

For educational purposes only. This material does not provide investment advice.