Position size calculator
Decide what percentage of your account a single trade may cost at most. The calculator shows how many shares or option contracts that allows, how much capital it ties up and what happens if the price gaps through your stop.
From your account size, the risk you allow per trade and the distance to your stop, the calculator gives the number of shares or contracts. It also shows what a gap through the stop costs, because a stop is not a guarantee.
The calculator rounds down to whole shares or contracts. Commissions and the spread on entry and exit add to the risk. A stop does not protect against gaps.
Embed this calculator on your site
Paste the code into your page. The calculator runs in a frame, and the line below it names the source.
How the calculator works
Shares = (account × risk %) ÷ (entry − stop)
With a $25,000 account and 1 % risk you may lose $250 per trade. If the stop is $4 below the entry, that is 62 shares. The stop goes where your idea is wrong, for example below support or one to two ATR away. The share count follows from that, not the other way round. More in the wiki under position size.
For bought options
With a long call or long put the largest possible loss is the premium paid. Many traders still use a stop, for example at −50 % of the premium. The calculator shows both: how many contracts fit your risk if you stick to the stop, and how much you lose if the option expires worthless. One contract covers 100 shares, so a premium of $3.20 costs $320 per contract.
Why gaps belong in the picture
A stop is filled at the next tradable price. If the stock jumps past the stop overnight or after earnings, the loss is larger than planned. On November 5 some chip stocks closed 9 to 17 % lower in a single day. The calculator therefore shows what a gap to twice the stop distance would cost. If that number is too high for you, the position is too large. A worked example is in the Weekly on the risk-reward ratio.
Frequently asked questions
What percentage of risk per trade is common?
Many traders use 0.5 to 2% of the account. At 1% it takes 100 losses in a row to empty the account, and a streak of ten losses costs just under 10%.
Where do I put the stop?
Where the idea behind the trade stops being true, for example below support or one to two ATR away. Then you fit the position size to the stop.
How do I size an options position?
Divide your risk in dollars by the loss per contract down to your stop. Without a stop you count the full premium, premium × 100 per contract.
Does the calculator include commissions?
No. Commissions and the spread add to the risk. With small positions or options with a wide spread this can be noticeable.