Position Size Calculator

Shares to buy so that hitting your stop-loss costs a fixed percentage of your account.

Calculator

$
%
$
$

Below the entry for a long position, above it for a short.

Example Result

Your result will appear here

The calculated result will appear here after you press Calculate.

Estimates for planning only; not financial, tax or investment advice. See our Disclaimer.

About the Position Size Calculator

Position sizing turns a risk rule into a share count. You decide how much of the account one losing trade may cost — 1% of $20,000 is $200 — and where the stop-loss goes if the trade is wrong — $3 below a $55 entry, say. Dividing the first number by the second gives the position: $200 ÷ $3 = 66 shares, rounded down so the risk stays a ceiling. Whatever happens, a stop-out costs about $200, not whatever a round lot of 100 or 500 shares would have lost. Enter the account size, the risk percentage, the entry price and the stop price; the calculator returns the number of shares, the dollar risk and the value of the position, and warns when the position would be larger than the account. The notes below cover rounding, the stop distance, the 1% and 2% rules, and how a profit target turns the same numbers into a reward-to-risk ratio.

How to Use the Position Size Calculator

  1. 1

    Enter your total trading account size.

  2. 2

    Enter the percentage of your account you are willing to lose if the stop is hit.

  3. 3

    Enter your planned entry and stop-loss price (the stop above the entry for a short), then press Calculate.

Position Size Calculator Examples

By O.E. — Partner, chairman of the board and CEO of a metal products manufacturer for 21 years; the company exports to 45 countries.

Drafted with AI assistance; calculations checked against primary sources and tested with the site's own code. About FlowUtil

Last reviewed

Risk per trade → risk per share → shares

Risk per trade = account × risk % (20,000 × 1% = $200); risk per share = |entry − stop| (55 − 52 = $3.00); shares = risk per trade ÷ risk per share = 66.67, rounded down to 66; position value = shares × entry = $3,630 (18% of the account). The absolute value in the second step makes the formula work for short positions too: entering a stop above the entry (sell at $50, stop at $53) gives the same $3 risk per share.

Round down, not to the nearest: 66.67 shares is not a position. Rounding to 67 puts $201 at risk — a small overshoot, but the point of the exercise is that the risk is a ceiling. With low-priced stocks and tight stops the fractional part can be large, and rounding up could add several percent to the risk. The calculator rounds down and shows the risk at the stop ($198).

SymbolMeaning
Risk amountAccount size × Risk %
Risk per share|Entry − Stop|
SharesRisk amount ÷ Risk per share, rounded down
Position valueShares × Entry price

Long, short and a stop that is too tight

  1. 1A standard setup: $20,000 account, 1% risk, buy at $55 with a stop at $52.

    200 ÷ 3 = 66.67 → 66

    66 shares · $198 at the stop · $3,630 position (18% of the account)

    If the stop is hit the loss is $198 plus commissions.

  2. 2A small account at 2%: $5,000 account, 2% risk, entry $10, stop $9.

    100 ÷ 1

    100 shares · $1,000 position

    A 2% rule on a small account produces round numbers but doubles the damage of a losing streak: ten straight losses cost about 18% of the account at 2% and 10% at 1%.

  3. 3A short sale: $20,000, 1%, sell short at $50 with a stop at $53.

    |50 − 53| = 3; 200 ÷ 3 → 66

    66 shares

    The direction of the trade does not change the arithmetic.

  4. 4A stop so tight the position outgrows the account: $20,000, 1%, entry $55, stop $54.50.

    200 ÷ 0.50 = 400; 400 × 55 = 22,000

    400 shares · $22,000 position in a $20,000 account — warning shown

    The risk rule is satisfied on paper, but the trade cannot be placed without margin, and a 10% overnight gap through the stop would lose $2,200, not $200. Either widen the stop to a level the stock can plausibly hold, or cap the position at what the account can buy: 20,000 ÷ 55 = 363 shares, which risks $181.50 — the calculator shows that cap.

The stop distance sets the size, not your conviction

Same $200 of risk, same $55 entry. A tighter stop buys a bigger position for the same risk — which tempts traders to tighten stops for size rather than for the stock's behaviour, and tight stops get hit by ordinary noise. Place the stop where the trade idea is proven wrong (below a support level, below a recent low, or at a multiple of the stock's average daily range), then let the formula set the size. The size is the output, never the input.

Stop atRisk per shareSharesPosition valueShare of account
$52.00$3.0066$3,63018%
$53.50$1.50133$7,31537%
$54.50$0.50400$22,000110%
$49.50$5.5036$1,98010%

The 1% and 2% rules — and adding a target

Risking 1% of the account per trade is a common convention; 0.5% is conservative, 2% aggressive, and anything above that assumes a win rate most traders do not have. The arithmetic of recovery is the reason: a 10% drawdown needs an 11% gain to recover, a 25% drawdown needs 33%, a 50% drawdown needs 100%. At 1% per trade, a run of ten losses — unremarkable over a long career — costs under 10%; at 5% per trade the same run costs 40%. The percentage also caps how many positions you can hold with real diversification: five open trades at 2% each put 10% of the account at risk at once if they are correlated.

Position sizing fixes the downside; the upside comes from the target. Example 1 with a target of $64: potential gain 66 × (64 − 55) = $594 against a $198 risk, a reward-to-risk ratio of 3:1. Over many trades, the win rate needed to break even is 1 ÷ (1 + R): 25% at 3:1, 50% at 1:1. The Risk vs Reward Calculator works the ratio and the break-even win rate from the three prices.

What the calculator leaves out

  • Commissions, spread and slippageThe real loss on a stop-out is a little more than the risk amount. Rounding down and placing stops with some room allows for it.
  • GapsA stop is an instruction, not a guarantee. A stock can open far below the stop price.
  • Correlated positionsEach trade is sized alone; total exposure across open trades is yours to watch.
  • Margin interestOn positions larger than the cash in the account (Example 4) — see the Margin Interest Calculator.
  • Not adviceA sizing tool, not investment advice; the risk percentage and the stop are your decisions.

Frequently Asked Questions

How is position size calculated?

Risk per trade (account × risk %) divided by risk per share (entry − stop), rounded down. $200 ÷ $3 = 66.67 → 66 shares.

What percentage of my account should I risk per trade?

1% is a common convention; 0.5% is conservative and 2% aggressive. The lower the percentage, the longer a losing streak you can survive.

Should I round the number of shares up or down?

Down. Rounding up puts more than the chosen amount at risk. The calculator rounds down and shows the risk at the stop.

What if the position is bigger than my account?

The stop is too tight for the account size. Widen it to a sensible level, or cap the shares at what the account can buy (account ÷ entry price), which lowers the risk below your limit. The calculator warns and shows that cap.

Does the stop distance matter more than the risk percentage?

For the share count, yes: halving the stop distance doubles the position. Set the stop by the chart, not by the size you want.

Can I use this for short positions?

Yes. Enter the stop above the entry; the calculator uses the distance between them.

Does it include commissions or slippage?

No. Expect the real loss on a stop-out to be slightly above the risk amount.

Does it work for ETFs, options or forex?

For anything priced per unit with a stop price, yes. For forex and futures, the risk per unit depends on contract size and pip value, so adjust the entry and stop to a per-unit basis first.