Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Position Sizing explained: formula, worked example and common mistakes

Decide how many shares to buy and how much capital to risk on a single trade. The most important risk management decision you'll make. Free, no sign-up, your numbers stay in your browser.

Updated

What is position sizing?

Position sizing is the discipline of deciding how many shares (or contracts, or units) to buy on a single trade, based on how much money you’re willing to lose if the trade goes against you. It is the single most important risk management decision a trader makes — far more important than entry timing, exit timing, or stock selection. A trader with mediocre stock-picking skills and disciplined position sizing will outperform a trader with brilliant stock picks and sloppy position sizing over any meaningful time horizon.

The core idea is to define risk in dollar terms before the trade, not in share count. Most amateur traders think in shares: “I want to buy 100 shares of XYZ.” Professional traders think in risk: “I’m willing to lose 500 on this trade if my stop loss gets hit.” The number of shares you buy is then derived from the risk amount and the distance from your entry to your stop loss. If you’re willing to risk 500 and your stop is 5 below your entry, you can buy 100 shares. If your stop is 1 below your entry, you can buy 500 shares. Same risk, very different position sizes.

The reason this matters is that it forces you to define your stop loss before entering the trade. Without a stop loss, you have no defined risk — you could lose your entire account on a single position if the stock gaps down. With a defined stop loss, your maximum loss per trade is the risk amount you chose, regardless of how bad the trade gets. This is the difference between speculative trading and disciplined trading.

The standard guideline for risk per trade is 1% of account capital for retail traders, and 0.5% or less for conservative traders. With a 100,000 account, 1% risk means you’re willing to lose 1,000 on a single trade if your stop loss is hit. Some aggressive traders go to 2%, but this is dangerous — a string of 5 losses in a row at 2% risk costs you 10% of your account, and recovering from a 10% loss requires an 11% gain on the remaining capital.

The other key principle is total portfolio risk — the sum of risk across all open positions. If you have 5 positions open, each risking 1% of capital, your total portfolio risk is 5%. If all 5 stop out on the same day (which happens during market crashes), you lose 5% of your account in a single session. Most risk managers recommend keeping total portfolio risk under 5-6% at any time, with individual position risk at 1% or below.

The position sizing formula

The standard position sizing formula based on fixed fractional risk is:

Position size (shares) = Risk amount ÷ (Entry price - Stop loss price)

Where:

  • Risk amount = Account size × Risk per trade (as a decimal, e.g. 0.01 for 1%)
  • Entry price = the price at which you plan to buy
  • Stop loss price = the price at which you’ll exit if the trade goes against you

Worked example: 100,000 account, 1% risk per trade, entry at 50, stop loss at 47.

Risk amount = 100,000 × 0.01 = 1,000
Risk per share = 50 - 47 = 3
Position size = 1,000 ÷ 3 = 333.33 shares

Round down to 333 shares (never round up — that exceeds your risk limit).

Total capital deployed = 333 × 50 = 16,650 (16.65% of account)
Maximum loss if stop hits = 333 × 3 = 999 (just under 1,000, as planned)

The interesting feature of this formula is that the position size shrinks as the stop loss gets further from the entry. A tight stop (49 instead of 47) lets you buy more shares at the same risk amount: 1,000 ÷ 1 = 1,000 shares. A wide stop (45 instead of 47) lets you buy fewer: 1,000 ÷ 5 = 200 shares. This means tight stops allow larger positions (more leverage on the upside) but require more precise entry timing. Wide stops allow smaller positions (less leverage) but give the trade more room to breathe.

Alternative formula: fixed amount per trade

Some traders prefer to risk a fixed amount rather than a percentage of account. The formula is the same:

Position size = Fixed risk amount ÷ (Entry price - Stop loss price)

The advantage of fixed dollar risk is that it stays constant as your account grows or shrinks, which prevents the “gearing” effect where percentage-based risk causes you to take bigger dollar risks after a winning streak (and smaller dollar risks after a losing streak). The disadvantage is that you have to manually increase the fixed amount as your account grows over time.

Capital deployment check:

After calculating position size, verify that the total capital deployed doesn’t exceed your account’s risk concentration limits. A common rule: never put more than 25% of account capital into a single position. In the worked example, 16,650 is 16.65% of a 100,000 account — under the 25% limit, so the trade is acceptable.

The calculator runs both calculations automatically — position size based on your risk parameters, plus the capital deployment check.

When to use a position sizing calculator (and when not to)

Use this calculator when:

  • You are entering a new position and need to know how many shares to buy based on your risk tolerance.
  • You are testing different stop loss placements — a tight stop vs. a wide stop — and want to see the impact on position size.
  • You are managing multiple open positions and want to verify your total portfolio risk is within limits.
  • You are comparing two trade setups and want to size each according to its risk profile (a setup with a tighter stop gets a larger position; a setup with a wider stop gets a smaller position).
  • You want to enforce discipline by calculating position size mechanically rather than emotionally.

When NOT to use this calculator:

  • If you don’t use stop losses, this calculator cannot help you. Without a stop loss, your risk per share is undefined (theoretically infinite), so the formula breaks down. Always define your stop loss before sizing a position.
  • If you trade with leverage (margin or options), the position sizing math changes. Use the Margin Call Calculator to understand margin risk, and consult a leverage-specific position sizing guide.
  • If you want to size positions based on volatility rather than dollar risk, use the ATR (Average True Range) method: position size = (Risk amount) ÷ (ATR × multiplier). This is more common in trend-following strategies.
  • If you want the mathematically optimal position size based on your win rate and payoff ratio, use the Kelly Criterion Calculator. Kelly sizing maximizes long-term growth but is more aggressive than fixed fractional risk.

Common mistakes people make

1. Risking too much per trade. The most common mistake. New traders often risk 5-10% per trade, which produces catastrophic drawdowns during losing streaks. A 5% risk per trade means 10 consecutive losses (which happens more often than people think) wipes out 40% of your account. Stick to 1% or below.

2. Not having a stop loss. Without a defined stop loss, you cannot calculate position size — your risk per share is undefined. Many traders use “mental stops” that they fail to execute when the time comes. Always place an actual stop loss order with your broker at the time you enter the position.

3. Moving the stop loss when the trade goes against you. This defeats the entire purpose of position sizing. The risk amount was calculated based on the original stop. If you widen the stop after entry, your actual risk exceeds your planned risk. Either take the loss at the original stop or close the position entirely.

4. Forgetting to recalculate after account growth. If you set your risk at 1% of 100,000 (1,000 per trade) and your account grows to 150,000, your 1% risk rises to 1,500 per trade. Traders who don’t recalculate get stuck under-sizing trades as their account grows, leaving returns on the table.

5. Ignoring total portfolio risk. Even if each individual position risks only 1%, holding 10 positions simultaneously means total portfolio risk is 10%. If the market crashes and all stops hit on the same day, you lose 10% of your account. Limit total portfolio risk to 5-6% by reducing individual position risk or closing some positions before opening new ones.

6. Sizing for the upside instead of the downside. Many traders size positions based on how much they want to make: “I want to make 2,000 on this trade, so I’ll buy enough shares that a 10% gain gets me there.” This is backward. Size for the downside: “I’m willing to lose 500, so I’ll buy enough shares that my stop loss costs me 500.” The upside takes care of itself if your strategy has positive expected value.

Frequently asked questions

What is the right risk per trade?

For most retail traders, 1% of account capital per trade is the right balance. Aggressive traders go to 2%, but this risks catastrophic drawdowns during losing streaks. Conservative traders use 0.5% or below. The key is consistency — pick a percentage and stick to it across all trades.

How do I calculate position size with a stop loss?

Position size = Risk amount ÷ (Entry price - Stop loss price). Risk amount is your account size multiplied by your risk per trade percentage. For example, with 100,000 account, 1% risk, entry at 50, stop at 47: position size = 1,000 ÷ 3 = 333 shares.

What is the difference between fixed fractional and fixed dollar position sizing?

Fixed fractional risks a percentage of your current account (so the dollar risk grows as your account grows). Fixed dollar risks a constant amount regardless of account size. Fixed fractional is more common because it automatically scales with your account, but fixed dollar prevents over-sizing after winning streaks.

What is total portfolio risk?

Total portfolio risk is the sum of risk across all open positions. If you have 5 positions, each risking 1% of account, your total portfolio risk is 5%. If all 5 stop out on the same day (which happens during market crashes), you lose 5% of your account. Keep total portfolio risk under 5-6%.

What does volatility-based position sizing do differently?

Volatility-based sizing (using ATR) adjusts position size based on how volatile the stock is. A volatile stock gets a smaller position; a stable stock gets a larger position. This is more sophisticated than fixed dollar risk and is preferred by trend followers. The fixed fractional method in this calculator is simpler and works for most traders.

How does Kelly criterion differ from fixed fractional sizing?

Kelly criterion calculates the mathematically optimal position size based on your win rate and payoff ratio. It typically produces larger position sizes than fixed fractional (often 5-15% of account per trade) and maximizes long-term growth — but at the cost of much larger drawdowns. Most traders use half-Kelly (half the Kelly-recommended size) for added safety.

Scaling out or selling in one go — what changes?

Scaling out (selling portions at different prices) reduces variance but caps your upside on big winners. Selling all at once is simpler but exposes you to giving back gains if the stock reverses. The choice depends on your strategy — trend followers typically scale out, swing traders typically sell all at once at a predefined target.

What if my calculated position size is too small to be worth the trade?

This usually means your stop loss is too wide or your risk per trade is too small. Either tighten the stop loss (if the stock's volatility allows it), increase your risk per trade (with caution — never above 2%), or skip the trade. A trade that doesn't justify the position size isn't a trade worth taking.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Position Sizing Calculator”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/position-sizing-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.