To calculate position size, divide the exact dollar amount you are willing to risk by the distance between your entry price and your stop-loss price: Position Size = Cash at Risk ÷ |Entry Price − Stop Price|. For example, if you risk $100 on a stock entered at $150 with a stop-loss at $145 ($5 stop distance), your position size is exactly 20 shares ($100 ÷ $5). This mathematical formula guarantees that if the trade hits your stop-loss, you lose only your predetermined risk capital, regardless of market volatility.

Proper position sizing is the single most important mathematical safeguard in trading. Beginners often buy a fixed number of shares or allocate an arbitrary percentage of their capital to every trade. Professional risk management reverses that equation: you establish your risk parameter first, locate your structural invalidation level on the chart second, and allow the mathematical formula to dictate your position size.


The Core Position Sizing Formula

Every financial market—equities, crypto tokens, commodities, and currencies—operates on the identical fundamental risk formula:

Cash at Risk ($) = Account Balance ($) × Risk Percentage (%)
Stop Distance ($) = |Entry Price - Stop-Loss Price|
Position Size (Units) = Cash at Risk ($) ÷ Stop Distance ($)

By defining your risk in advance, your dollar loss remains constant whether your stop-loss is 0.5% away or 15% away. A tighter stop yields a larger unit size, while a wider stop yields a smaller unit size. In both cases, your total downside remains locked at your chosen risk budget.


The 4-Step Position Sizing Framework

Executing disciplined position sizing takes less than thirty seconds before entering any order. Follow these four sequential steps.

Step 1: Define Account Risk Capital

Determine the maximum percentage of your total account balance you will surrender if a trade fails. Standard institutional risk parameters recommend risking 1% to 2% of total liquid account equity per trade.

  • Hypothetical account balance: $10,000
  • Chosen risk parameter: 1.0%
  • Maximum cash at risk: $10,000 × 0.01 = $100.00

Never risk capital based on emotional conviction. Every setup can fail. If you risk 5% or 10% per trade, a normal statistical cluster of consecutive losses will decimate your account.

Step 2: Identify Structural Invalidation (Stop-Loss)

Never place your stop-loss at an arbitrary dollar amount or random percentage. Your stop-loss must sit at the exact price point where the chart pattern or market structure is invalidated.

For long setups, invalidation typically rests below a confirmed swing low, a key support floor, or an order block. For short setups, invalidation rests above a swing high or resistance ceiling.

Step 3: Measure the Stop-Loss Distance

Subtract your stop-loss price from your entry price (or vice versa for short sales) to determine the absolute distance per unit:

$$\text{Stop Distance} = |\text{Entry} - \text{Stop}|$$

Step 4: Compute and Verify Your Units

Divide your cash at risk from Step 1 by the stop distance from Step 3. You can verify your numbers instantly using our interactive Position Size Calculator.


Worked Examples Across Markets

Different asset classes use distinct denomination units. Below are three verified hypothetical examples across equities, crypto, and foreign exchange.

Example 1: US Equities (Shares)

  • Account Balance: $10,000
  • Risk Parameter: 1% ($100 at risk)
  • Entry Price: $150.00
  • Stop-Loss Price: $145.00 (below daily swing low)
  • Stop Distance: $150.00 − $145.00 = $5.00 per share
  • Position Size: $100 ÷ $5.00 = 20 shares
  • Total Position Capital: 20 shares × $150.00 = $3,000.00 (30.0% of account balance)

If price rallies to your target of $165.00 ($15 reward per share), your profit is $300.00, achieving a 1:3 risk-to-reward ratio. If price drops to $145.00, your loss is exactly $100.00 (1% of equity).

Example 2: Cryptocurrency (BTC / USD)

  • Account Balance: $5,000
  • Risk Parameter: 2% ($100 at risk)
  • Entry Price: $60,000.00
  • Stop-Loss Price: $58,500.00 (below 4-hour support shelf)
  • Stop Distance: $60,000.00 − $58,500.00 = $1,500.00
  • Position Size: $100 ÷ $1,500.00 = 0.066667 BTC
  • Total Position Capital: 0.066667 BTC × $60,000 = $4,000.00 (80.0% of account balance)

Because crypto exhibits elevated volatility, measuring exact stop distances prevents premature liquidations and runaway drawdowns.

Example 3: Forex (EUR/USD Standard Lots)

Forex trades in standardized contracts (lots), where one standard lot equals 100,000 units of base currency and one pip equals 0.0001 (for USD quote pairs, $10.00 per pip per lot).

  • Account Balance: $10,000
  • Risk Parameter: 1% ($100 at risk)
  • Entry Price: 1.0850
  • Stop-Loss Price: 1.0820
  • Stop Distance: 30 pips ((1.0850 − 1.0820) ÷ 0.0001)
  • Pip Value: $10.00 per standard lot
  • Risk Per Standard Lot: 30 pips × $10.00 = $300.00
  • Position Size: $100 ÷ $300.00 = 0.33 standard lots (or 3.3 mini lots)


Stop Distance vs Position Size Matrix

The following table demonstrates how your position size dynamically adjusts across a hypothetical $10,000 account risking 1% ($100) on a $100.00 asset as the stop distance changes.

Stop Distance ($) Stop Distance (%) Position Size (Shares) Total Position Value ($) Account Allocation (%) Cash at Risk ($)
$1.00 1.0% 100.00 $10,000.00 100.0% $100.00
$2.00 2.0% 50.00 $5,000.00 50.0% $100.00
$5.00 5.0% 20.00 $2,000.00 20.0% $100.00
$10.00 10.0% 10.00 $1,000.00 10.0% $100.00
$20.00 20.0% 5.00 $500.00 5.0% $100.00

Notice the critical insight: whether your stop is tight ($1.00) or wide ($20.00), your capital at risk never exceeds $100.00.


The Mathematics of Drawdown and Survival

Why is risking 1% to 2% universally recommended over 5%? The mathematical compounding of consecutive losses creates an asymmetrical recovery curve. When your account suffers drawdown, the percentage gain required to return to break-even grows exponentially.

The table below shows cumulative drawdown over losing streaks at 1%, 2%, and 5% risk per trade, calculated via the compounding formula:

$$\text{Drawdown} = 1 - (1 - \text{Risk})^N$$

Consecutive Losses 1% Risk Drawdown 2% Risk Drawdown 5% Risk Drawdown Required Gain to Break Even (from 5% risk)
1 loss 1.00% 2.00% 5.00% +5.26%
3 losses 2.97% 5.88% 14.26% +16.63%
5 losses 4.90% 9.61% 22.62% +29.23%
10 losses 9.56% 18.29% 40.13% +67.03%
15 losses 13.99% 26.14% 53.67% +115.84%
20 losses 18.21% 33.24% 64.15% +178.94%

At a 1% risk model, a harsh streak of 10 consecutive losses results in a manageable 9.56% drawdown. At 5% risk, that identical streak destroys 40.13% of your portfolio, demanding a +67.03% net return just to get back to zero.

To explore how win rates and reward ratios interact with your long-term expectancy, read our detailed guide on Risk-to-Reward vs Win Rate.


Four Common Position Sizing Mistakes

  1. Fixed Dollar Sizing: Allocating an identical dollar amount (e.g., "$2,000 per trade") regardless of stop distance. If setup A has a 2% stop and setup B has an 8% stop, setup B exposes you to 4x greater dollar risk.
  2. Moving Stop Losses Post-Entry: Widening your stop when price moves against you. This invalidates your sizing math and transforms a calculated risk into an unconstrained loss.
  3. Ignoring Spread and Slippage: Failing to account for bid-ask spread and execution slippage during high-volatility news events. Always add a small buffer below structural levels.
  4. Over-Leveraging on Small Stops: If your stop-loss is only 0.2% away, the formula may suggest a position size larger than your total equity. Without margin, you cannot execute that size; with margin, you incur borrowing fees and liquidation risk.

Where AI Fits into Technical Sizing

While mathematical formulas calculate position sizes, the accuracy of your sizing depends entirely on identifying objective structural levels on your chart. This is where artificial intelligence serves as an objective educational assistant.

The TradeVela AI mobile app processes candlestick charts through computer vision to:

  • Identify Support & Resistance Zones: Detect swing highs, swing lows, and consolidation ranges without human bias.
  • Locate Invalidation Levels: Highlight logical stop-loss zones based on pattern geometry (such as head-and-shoulders necklines or double-bottom bases).
  • Assess Risk-to-Reward Profiles: Automatically calculate whether a chart setup offers favorable asymmetry before you risk capital.

Pre-Trade Sizing Checklist

Before submitting your next market or limit order, confirm each of the following:

  • Account equity confirmed and maximum cash at risk calculated (1%–2%).
  • Structural invalidation point identified on the chart (not arbitrary).
  • Stop-loss distance measured in points, cents, or pips.
  • Position size calculated using Risk ÷ Stop Distance via our Position Size Calculator.
  • Take-profit target identified and checked with our Risk-to-Reward Calculator to confirm positive mathematical expectancy.
  • Total position value reviewed to ensure it respects leverage constraints.