TurokTrading
Risk Management · 8 min read

How to Calculate Position Size in Stock Trading

The arithmetic that separates traders who survive from traders who don't — explained in five minutes, with the math worked out and a free calculator at the end.

Most retail traders blow up their accounts not because they pick bad stocks, but because they have no idea how many shares to buy. They size positions emotionally — too small when they're scared, too large when they're confident — and the resulting variance does what variance always does. It eats them alive.

Position sizing fixes this. It's the single most important risk management discipline in trading, and it can be reduced to one formula on the back of a receipt.

The Position Size Formula

Here it is, in its entirety:

Position size (shares) = (Account size × Risk %) ÷ (Entry price − Stop-loss price)

Three inputs, one output. The formula tells you how many shares to buy so that if your stop-loss is hit, you lose only the predefined percentage of your account you're willing to risk on the trade.

That last sentence is the entire point. Position sizing isn't about maximizing returns — it's about controlling the maximum loss on any single trade. Once you've capped that, the rest of the math takes care of itself.

A Worked Example

Let's say you have a $25,000 trading account. You've decided — wisely — to risk no more than 1% of your account on any single trade. That's $250 of maximum risk per position.

You're looking at a stock currently trading at $80. Your analysis says if it breaks below $76, your thesis is wrong and you should be out. So your stop-loss is $76.

Plug it in:

Sixty-two shares at $80 is a $4,960 position — about 20% of your account. If the trade goes against you and stops out, you lose $248. If it works, your upside is whatever your exit plan dictates.

Notice what just happened. The position size adjusted itself based on how tight your stop is. A tighter stop means you can buy more shares for the same dollar risk. A wider stop means fewer shares. The formula does the work for you.

Why 1%?

The 1% rule is conventional wisdom for a reason: it lets you survive losing streaks. Even a system with a 60% win rate will hand you 6, 8, sometimes 10 losing trades in a row eventually. At 1% risk per trade, ten losses in a row costs you about 10% of your account — painful but recoverable.

At 5% risk per trade, ten losses in a row costs you about 40%. Now you need a 67% gain just to get back to breakeven. That's how accounts die.

Some traders use 0.5% (more conservative, slower growth, smaller drawdowns). A few experienced ones use 2% (faster growth, bigger drawdowns, requires real discipline). Anything above 2% per trade is gambling. Below 0.5% and the math becomes hard to scale unless your account is large.

The Three Mistakes Almost Everyone Makes

Mistake 1: Ignoring the formula entirely

The most common version. A trader sees a stock they like, buys "however much feels right" — usually whatever round number they have spare cash for — and sets a stop somewhere arbitrary. The position size has no relationship to their account size, the volatility of the stock, or the distance to the stop. Sometimes they get away with it. Eventually they don't.

Mistake 2: Using the same number of shares every time

"I always buy 100 shares." If you're trading a $5 stock, 100 shares is $500. If you're trading a $400 stock, 100 shares is $40,000. These are not the same trade. Position size in shares should vary; what stays constant is dollar risk.

Mistake 3: Setting the stop based on position size

This one's subtle. A trader decides they want to buy 200 shares, then sets the stop wherever it makes the dollar risk acceptable — even if that stop has no relationship to the chart. The order is backwards. The stop should come from your analysis (a level the price shouldn't violate if you're right). The position size is then derived from the stop.

What About Slippage and Gaps?

The formula assumes your stop fills at exactly the price you set. In reality, stops can slip — especially on small-cap stocks, during news events, or on overnight gaps. A stop at $76 might fill at $74.50 if the stock gaps down through it.

You can partially defend against this in two ways. First, give yourself a small buffer: if your real risk tolerance is $250, size as if it's $200, leaving room for slippage. Second, avoid holding positions through scheduled events (earnings, FOMC) where overnight gaps are likely.

You can't eliminate gap risk entirely on stocks that trade only during market hours. That's part of the cost of doing business. The 1% rule already builds in some margin for it.

Position Sizing for Short Trades

The formula is identical, but the entry is below the stop instead of above. If you short a stock at $50 with a stop at $52, your per-share risk is $2 (the stop is higher than your entry because losses on a short happen when price rises). Everything else is the same.

Scaling In and Scaling Out

Some traders prefer to enter in tranches — buy a third at one price, a third lower, a third lower still. This is a more advanced approach and the math gets more complex. The simple version: treat the average entry price as your "entry" for position sizing purposes, and use the stop you'd hold across the entire position. Better yet, calculate each tranche independently and sum the share counts.

Use the Calculator

The position-size calculator on our home page does this math for you in real time. Plug in your account size, risk percentage, entry, and stop, and it returns the share count plus the total position cost.

→ Open the position size calculator

The Bottom Line

Position sizing is the closest thing trading has to a free lunch. It costs nothing to implement, it's mathematically sound, and it neutralizes the single biggest cause of account death: the catastrophic single trade. If you only adopt one risk management practice, make it this one.

The traders who last in this game aren't the ones with the best stock picks. They're the ones who, after a string of losses, still have an account left to trade with.

Frequently Asked

What's the difference between position size and position value?

Position size is the number of shares. Position value is shares × price — the total dollars deployed. Risk is neither of these; it's the dollar amount you'd lose if your stop hit.

Should I use 1% of cash or 1% of total account value?

Total account value, including current positions. The risk is to your equity, not your free cash.

Does this formula work for options?

Not directly. Options have non-linear payoffs and the "stop-loss" concept is more nuanced. The principle of capping dollar risk per trade still applies — you just calculate it differently for options.

What if my position size comes out larger than my account?

That happens when the stop is very tight relative to the entry — common on low-priced stocks. Either widen the stop (if technically justified), accept a smaller-than-1% risk, or skip the trade. Don't use margin to force the formula to work.


Disclaimer Educational content only. Not financial advice. Trading involves substantial risk of loss.