Position sizing and max loss: how much to buy, worked out in a spreadsheet

Size a stock position from the amount you're willing to lose, add up the risk across a portfolio, and see why a stop price is not a guarantee. Formulas and a hypothetical example.

By the Jordan team · · 3 min read

Most sizing mistakes start with the wrong question. "How many shares should I buy?" invites a round number. The more useful question is "how much am I prepared to lose if I'm wrong?", because the share count follows from it with one formula.

This guide works through that formula, then adds the risk up across a portfolio. The account, prices and tickers are hypothetical.

Step 1: Decide the risk amount

Pick the most you'd accept losing on one position, as a share of the account. Some traders use a fixed fraction such as 1%; the right number depends on you, and the sheet should hold it in a labeled cell so you can see what changing it does.

Input Value
Account value $50,000
Risk per position 1%
Risk amount =B1*B2 → $500

Step 2: Size the position from the exit price

You also need the price at which you'd accept being wrong and get out. The distance from entry to that exit is your risk per share:

Input Value
Entry price $40.00
Exit price $37.00
Risk per share =B4-B5 → $3.00
Shares =ROUNDDOWN(B3/B6, 0) → 166
Position size =B7*B4 → $6,640 (13.3% of the account)
Planned loss =B7*B6 → $498

Rounding down keeps the planned loss under the risk amount. Notice the result: a 1% risk with an exit 7.5% below the entry produces a position of about 13% of the account. A tighter exit allows a bigger position for the same risk; a wider one, a smaller position.

Step 3: Know what the planned loss doesn't cover

The planned loss assumes you sell at $37.00. Prices don't always trade through every level. If ACME opens at $34.00 after bad news, the exit fills there:

Loss after a gap = Shares × (Entry − Gap price) = 166 × (40 − 34)   → $996

That's twice the plan. Add a row for a gap scenario so the sheet shows it, especially before earnings or other scheduled news. For a position where the most you can lose must be fixed, an option's premium is the hard limit (see the options spread guide).

Step 4: Add up the portfolio

Sizing one position well isn't enough if you hold several. List each one with its planned loss:

Ticker Position Planned loss
ACME $6,640 $498
BOLT $3,000 $240
CORE $4,800 $400
Total $1,138 (2.3% of the account)

The total is the loss if every position hits its exit at once. That is not as unlikely as it sounds: positions in the same sector, or that all depend on interest rates, tend to fall together. If three positions really depend on one outcome, size them as one position.

Common mistakes

  • Sizing by feel, then setting the exit to fit. Decide the exit from the trade, then let the risk amount set the size.
  • Forgetting gaps. A planned loss is a plan, not a floor.
  • Counting related positions as separate risks. Check what your positions have in common before adding more.
  • Leaving out costs. Commissions and spreads add to every loss and subtract from every gain.

Frequently asked questions

How do I calculate position size from a stop price?

Divide the amount you're willing to lose by the distance between your entry and your exit price, and round down. With $500 of risk and a $3 distance, that's 166 shares.

What percentage of my account should I risk per trade?

There's no right answer for everyone, and this isn't advice on what to choose. Put the percentage in a labeled cell and look at what it implies: the position sizes, the planned losses, and the total if several positions go wrong together.

Does a stop order guarantee my maximum loss?

No. A stop becomes a market order when it triggers, so if the price gaps past it, the fill can be much worse. Model a gap scenario to see the real exposure.

Build this analysis in Jordan

Describe it in a sentence. Jordan brings in the data, writes the formulas and shows you every change before it lands.

Join early access

Keep reading