Free tool
Position Size Calculator for Stocks
Enter your account size, how much you are willing to lose on the trade, your entry and your stop. The calculator estimates a share size from your planned stop distance, before fees, spreads, slippage and gaps. A stop does not guarantee the planned loss. It runs in your browser; nothing is sent anywhere.
How position size is calculated
The formula is short:
Shares = Dollar risk / (Entry price – Stop price)
Dollar risk is the most you are willing to lose if the stop is hit. Many traders set it as a small percentage of the account; 1% is a common starting point, but the right number is your decision. Entry minus stop is your risk per share. For a short trade it is stop minus entry.
Example (hypothetical)
| Input | Value |
|---|---|
| Account | $5,000 |
| Risk per trade | 1% = $50 |
| Entry / stop | $4.20 / $4.00, so $0.20 risk per share |
| Shares | $50 / $0.20 = 250 shares |
| Position value | 250 x $4.20 = $1,050 (21% of the account) |
If the stop is hit, the loss is about $50 before fees and slippage. With a $4.70 target, the possible gain is $0.50 a share, which is 2.5 times the risk. Learn what that ratio means for your win rate in risk reward ratio explained.
Why a tighter stop means more shares
Position size and stop distance move in opposite directions. Halve the distance to your stop and the calculator doubles the shares, because each share now risks half as much. That is why a fixed share count (“I always buy 1,000 shares”) quietly changes your risk on every trade, while sizing from the stop keeps it the same.
What the calculator can’t account for
- Slippage and gaps. Small caps can jump past your stop, especially around halts and in pre-market. Your real loss can be larger than planned. See trading halts and LULD.
- Fees and spreads. A wide spread is a cost on every entry and exit. See the bid-ask spread.
- Cash account limits. In a cash account you can only trade with settled cash, so the position can’t be bigger than your settled balance. See settled cash and good faith violations.
- Liquidity. If a stock trades thinly, a position that looks fine on paper may be hard to get out of at your stop.
Check whether your sizing is working
A calculator sizes one trade. A journal shows what your sizing did across many: whether your losses really stayed near your planned risk, or slippage made them bigger. Start with the free trading journal template, or import your broker’s export into the Greenwick Journal ($49.99 once, runs offline). For the bigger picture, read position sizing and stops.
Frequently asked questions
How do I calculate position size for a stock trade?
Divide the dollar amount you are willing to lose by your risk per share (entry price minus stop price). Round down to whole shares. For example, risking $50 with a $0.20 stop distance gives 250 shares.
What is the 1% rule in trading?
It means risking no more than 1% of your account on a single trade, so a stop-out on a $5,000 account costs about $50. It is a common guideline, not a requirement; some traders use less, and the right amount depends on you.
Does position size change for short trades?
The formula is the same, but risk per share is stop minus entry, because the stop sits above the entry. Shorting usually requires a margin account and a borrow.
Why is my position capped in a cash account?
The calculator uses total account equity to calculate percentage risk, and the separate available-settled-cash amount to cap a new cash purchase. Enter cash available for this order after other commitments. The estimate excludes fees and does not verify your broker balance.
Educational tool only, not financial advice. Trading involves risk, and losses can exceed what you plan for when prices gap past a stop.
Adding to a position? Use the stock average calculator to see your new average price and how many shares it takes to average down.