Free stock position size calculator. Get the number of shares to buy from your account size, risk percent, entry and stop loss, with position value and risk per share.
A stock position size calculator tells you exactly how many shares to buy so that a single losing trade cannot damage your account. It takes four plain inputs, your account size, the percentage of that account you are willing to risk on this one trade, your planned entry price, and your stop loss (the price where you admit the trade is wrong and get out), and it returns the number of shares that keeps your loss inside your chosen limit. The calculator above does this math for US stocks in dollars, using real tickers like AAPL, SPY, and MSFT. This page explains every input, every output, and the discipline behind them, so you stop guessing share counts and start sizing every position the same deliberate way.
Most traders pick a share count out of habit. They buy 100 shares because it is a round number, or they spend a fixed dollar amount like $10,000 no matter what the trade looks like. Both methods ignore the one thing that actually matters: how much you lose if the trade goes against you. A position size calculator flips the process around. Instead of starting with shares, you start with the largest dollar loss you are willing to accept, then work backward to the share count that produces exactly that loss at your stop. This is called risk-based sizing, and it is how disciplined traders keep every trade roughly the same size in risk terms, even when one stock trades at $30 and another trades at $600.
The idea rests on a simple truth. You cannot control whether a trade wins. You can only control how much you lose when it fails. By fixing your loss in advance and letting the share count float to fit, you make your account durable. A string of losses becomes a series of small, planned dents instead of one account-ending crater. That is why professionals talk about position sizing far more than they talk about entries.
The calculator above uses four inputs. Understanding each one is the difference between a number you trust and a number you blindly copy.
From those four numbers, the calculator returns five outputs. Read them together, because each one checks a different part of the trade.
The core formula is short. Shares to Buy equals Amount Risked divided by Risk per Share, where Amount Risked equals Account Size multiplied by Risk Per Trade percent, and Risk per Share equals the absolute difference between Entry and Stop Loss. Written plainly: decide your dollar loss, measure your per-share loss, divide the first by the second.
Notice what controls the answer. Your account size and risk percent set a fixed dollar budget, say $500. That budget does not change from trade to trade. What changes is the risk per share, driven entirely by where your stop sits. A tight stop close to your entry means a small loss per share, so your $500 buys many shares. A wide stop far from your entry means a large loss per share, so the same $500 buys far fewer shares. This is why two traders with identical accounts can correctly hold wildly different share counts on the same stock. The one with the wider stop simply holds less. The calculator enforces this automatically so you never oversize a trade just because you feel confident.
Your risk per share assumes you exit at your stop price. In fast markets or on a gap down at the open, the stock can trade straight through your stop and fill much lower. That means your real loss can exceed the amount risked the calculator shows. Size with that reality in mind, especially around earnings and news.
Account Size is $50,000 and Risk Per Trade is 1 percent, so Amount Risked is $500. You plan to buy AAPL at an Entry of $230.00 with a Stop Loss at $224.00. Risk per Share is $230 minus $224, which is $6.00. Shares to Buy is $500 divided by $6, which is 83.3, rounded down to 83 shares. Position Value is 83 multiplied by $230, which is $19,090. Position as percent of account is $19,090 divided by $50,000, about 38 percent. Your actual amount risked is 83 multiplied by $6, which is $498, comfortably inside your $500 limit.
Account Size is $25,000 and Risk Per Trade is 0.5 percent, so Amount Risked is $125. You buy the SPY ETF (a fund that tracks the S&P 500 index) at an Entry of $580.00 with a Stop Loss at $575.00. Risk per Share is $5.00. Shares to Buy is $125 divided by $5, which is exactly 25 shares. Position Value is 25 multiplied by $580, which is $14,500. Position as percent of account is 58 percent. Even though you are risking only $125, the position controls more than half your account, a reminder that low risk-per-trade does not mean a small position value.
Account Size is $100,000 and Risk Per Trade is 1 percent, so Amount Risked is $1,000. You want to buy a volatile stock at an Entry of $50.00, but because it swings hard you place a wide Stop Loss at $44.00. Risk per Share is $6.00. Shares to Buy is $1,000 divided by $6, which is 166.6, rounded down to 166 shares. Position Value is 166 multiplied by $50, which is $8,300, only about 8 percent of the account. The wide stop shrank the share count and the position value, exactly as it should. Compare this to a $1 stop on the same stock, which would have allowed 1,000 shares and a $50,000 position. Same risk budget, very different exposure, all decided by stop distance.
This table fixes the amount risked at $500 and a $100 entry price, then shows how the share count and position value change as your stop distance changes. It makes the trade-off concrete: tighter stops buy more shares but leave less room for the stock to breathe.
| Risk per Share | Shares to Buy | Position Value at $100 entry | Position as percent of $25,000 account |
|---|---|---|---|
| $0.50 | 1,000 | $100,000 | 400 percent (requires margin) |
| $1.00 | 500 | $50,000 | 200 percent (requires margin) |
| $2.00 | 250 | $25,000 | 100 percent |
| $5.00 | 100 | $10,000 | 40 percent |
| $10.00 | 50 | $5,000 | 20 percent |
The top two rows above show a real trap. A very tight stop keeps your dollar risk at $500 but pushes position value past your entire account. Even a small adverse gap on a huge position can blow past your intended loss. A sensible rule is to cap any single position at a set share of your account, for example 20 to 25 percent, and take the smaller of that cap or the risk-based share count.
Volatility is how much a stock moves on an average day. A quiet stock might drift 1 percent daily, while a hot small-cap can swing 8 percent or more. If you place the same tight stop on both, the volatile stock will stop you out on normal noise before your idea has a chance to work. The fix is to widen your stop to sit outside the stock's normal daily range, often measured with the Average True Range (ATR), a common indicator of typical daily movement. When you widen the stop, the calculator automatically cuts your share count, so your dollar risk stays fixed even though the trade needs more room. This is the correct behavior. You should hold fewer shares of a wild stock than of a calm one, and the position size calculator makes that adjustment for you the moment you enter a realistic stop.
You can be right on direction and still lose your account if you size wrong. Imagine risking 10 percent per trade. A run of six losing trades, which happens to every trader eventually, cuts your account by roughly half. Recovering from a 50 percent loss requires a 100 percent gain, a brutal hill to climb. Now risk 1 percent per trade. That same six-loss streak costs about 6 percent, an ordinary drawdown you barely notice. Nothing else in trading, not your entry signal, not your indicator, protects you like small consistent position sizing. It is the one setting that keeps you in the game long enough for your edge to show up.
A calculator gives you the right number, but a journal is what proves you actually used it. When every trade is sized to the same 1 percent risk, your results become comparable. A winning trade and a losing trade carry similar weight, so your win rate and average result finally mean something. If you review your journal and see trades where the real loss was double your planned amount risked, you learn something concrete: your stops are getting run, or you are oversizing on conviction. That feedback loop, plan the size, log the trade, review the gap between plan and reality, is how sizing turns from a formula into a habit. Recording your account size, risk percent, entry, stop, and the resulting shares on every trade builds a track record you can trust and improve.
Getting the share count right is only half the discipline. The other half is doing it the same way on every trade and reviewing whether you actually held the line. Use the calculator above to size your next US stock trade by risk, then log the entry, stop, and share count in your OneTradeJournal so you can see over time whether your real losses stay inside the plan. Consistent sizing plus honest journaling is what keeps a trading account alive long enough to learn. This page is educational only and is not financial or tax advice.
Free forex position size calculator. Get the exact lot size to trade from your account balance, risk percent and stop loss in pips. Standard, mini and micro lots.
Master position sizing for trading success. Learn fixed risk, Kelly criterion, volatility-based sizing for Nifty, Bank Nifty, and stock trading.
Track IPO timeline from bid dates to listing. Calculate allotment date, refund date, and expected listing date for upcoming IPOs.
Calculate probability of profit for options strategies. Estimate win rates for Nifty and Bank Nifty options using delta-based probabilities.
Free trading expectancy calculator. Enter win rate and risk-reward to see expected profit per trade and edge per ₹100 risked. Test your system instantly.
Calculate absolute returns on your investments. Simple point-to-point return calculation for stocks, mutual funds, and trading positions in India.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
Yearly ₹2,499 · No broker credentials
Shares to trade for a fixed dollar risk per trade.