How to Calculate Position Size
Position sizing is arguably the most important risk management decision a trader makes. It determines how many shares, contracts, or units to allocate to a single trade based on your account equity and the maximum loss you are willing to accept. Without a disciplined position sizing framework, even a strategy with a positive edge can lead to ruin through oversized bets or uncontrolled drawdowns.
The core idea is simple: define how much money you are comfortable losing on a trade before you enter it, then work backward to determine a share count under that nominal risk budget. Gaps and execution costs can produce larger losses. This approach decouples your position size from the stock price and instead ties it directly to risk, which means you take smaller positions on volatile setups and larger positions on tighter, lower-risk entries.
This example uses a hypothetical 1% risk budget. On a $10,000 account, that gives $100 of nominal price risk before costs. The percentage is an illustrative input, not a recommended allocation for your account.
The Position Sizing Formula
The risk-based position sizing formula has two steps:
Step 1
Dollar Risk = Account Size x Risk Percentage
Example: $10,000 account x 1% risk = $100 nominal risk budget
Step 2
Position Size = Dollar Risk / (Entry Price - Stop Loss)
Example: $100 / ($50 - $47) = $100 / $3 = 33 shares
The denominator, often called "risk per share," is the distance between your entry price and your stop loss. A wider stop means fewer shares; a tighter stop means more shares. This is what makes the formula self-adjusting: high-volatility stocks with wide stops automatically result in smaller positions, while low-volatility stocks with tight stops allow larger allocations.
Always round down to the nearest whole share (or use fractional shares if your broker supports them). You never want to accidentally exceed your risk budget because of rounding. The calculator above handles this automatically.
For short trades, the formula works identically. Your stop loss is above your entry price, so the risk per share is still the absolute distance between the two levels. Whether you are going long at $50 with a stop at $47 or shorting at $50 with a stop at $53, the risk per share is $3.00 in both cases.
Position Sizing Methods
The fixed-percentage method used in the calculator above is the most popular approach, but several other methods exist. Each has trade-offs depending on your trading style, account size, and risk appetite.
Fixed Dollar Amount
Risk the same dollar amount on every trade regardless of account changes. Simple but does not scale with account growth or drawdowns. For example, always risking $100 per trade.
Fixed Percentage (1-2% Rule)
Risk a fixed percentage of your current account balance on each trade. This is the method used in the calculator above and is the industry standard for retail and professional traders.
ATR-Based Sizing
Use the Average True Range (ATR) indicator to set your stop loss distance, then apply the fixed percentage formula. ATR measures recent volatility, so your stop loss adapts to current market conditions rather than using an arbitrary distance.
Half-Kelly Criterion
The Kelly Criterion calculates the mathematically optimal bet size based on your win rate and average win/loss ratio. Half-Kelly uses 50% of the Kelly output to reduce volatility. Formula: Kelly% = (Win Rate x Avg Win - Loss Rate x Avg Loss) / Avg Win.
In practice, many algorithmic trading systems combine multiple methods and take the most conservative result. For instance, Tradewink calculates position size using all three methods (fixed percentage, ATR-based, and half-Kelly) and uses whichever produces the smallest position. That comparison does not guarantee a loss limit: gaps, liquidity and execution costs can invalidate the assumed fill prices.
Common Position Sizing Mistakes
Even experienced traders make position sizing errors that erode returns or blow up accounts. Here are the most common pitfalls and how to avoid them.
Sizing based on conviction instead of risk
Buying more shares because you 'feel good' about a trade ignores the mathematical reality of drawdowns. Your largest losses will come from your highest-conviction trades if you size them too aggressively. Always let the formula determine size, not emotions.
Ignoring correlation between positions
Holding five tech stocks each sized at 2% risk means your total tech exposure could be 10% of your account. If the sector drops together, all five positions lose simultaneously. Consider sector and correlation limits alongside per-trade risk.
Not adjusting for volatility
A $3 stop on a $50 stock that moves $5 per day is a very tight stop. The same $3 stop on a stock that moves $1 per day is extremely wide. Always consider the stock's typical price movement (ATR) when setting stop distances and sizing positions.
Risking too much on small accounts
Small accounts often lead traders to risk 5-10% per trade in pursuit of meaningful dollar gains. This dramatically increases the probability of a drawdown that is psychologically or financially unrecoverable. Even with a $1,000 account, stick to 1-2% risk per trade and use fractional shares if needed.
Forgetting commissions and slippage
For active traders making dozens of trades per month, round-trip commissions and slippage can significantly erode edge. Factor in at least $1-2 per trade for commissions and a few cents per share for slippage when calculating your true risk and expected returns.
Illustrative research exercise · no account required
Worked example: a risk budget is not a loss guarantee
$10,000 × 1% = $100 planned risk. $50 entry − $47 stop = $3 per share. Floor($100 ÷ $3) = 33 shares.
Those 33 shares represent $1,650 of exposure and $99 of price risk at the assumed stop fill, before fees. A gap through the stop can cause a larger loss. This illustration assumes whole shares in a long stock position; it is not an options-contract or forex lot calculation.
Source: Investor.gov explains stop-order execution limits
What evidence would invalidate the idea before deciding how much exposure to consider?
Next, inspect a signal’s thesis, counter-case and invalidation. A broker connection is optional.
Explore signal evidenceRelated Resources
Position Sizing Guide
Kelly criterion, ATR-based, and risk-based sizing methods
Position Sizing (Glossary)
Definition, formulas, and common approaches
Risk Management Essentials
The 1% rule, portfolio heat, and drawdown limits
Stop-Loss (Glossary)
Automatic exit orders to limit downside risk
ATR Indicator Guide
How ATR sets stop distances and adjusts position size
Risk/Reward Calculator
Calculate R:R ratio and breakeven win rate
Frequently Asked Questions
What is position sizing in trading?
Position sizing determines how many shares or contracts to buy for a trade based on your account size, the percentage of capital you are willing to risk, and the distance between your entry price and stop loss. Proper position sizing ensures no single trade can cause catastrophic damage to your portfolio. It is the foundation of risk management and is used by virtually all professional traders.
What percentage should I risk per trade?
Most professional traders risk between 0.5% and 2% of their account per trade. The 1% rule is the most widely recommended guideline: never risk more than 1% of your total account balance on any single trade. Newer traders should start at 0.5% until they develop a consistent, proven edge. Even experienced traders rarely exceed 2% per trade because the risk of ruin increases exponentially beyond that threshold.
How do I calculate position size for stocks?
Use the formula: Position Size = (Account Size x Risk Percentage) / (Entry Price - Stop Loss Price). For example, with a $10,000 account risking 1%, entry at $50, and stop at $47: ($10,000 x 0.01) / ($50 - $47) = $100 / $3 = 33 shares. Always round down to avoid exceeding your risk limit.
What is the difference between position sizing and lot sizing?
Position sizing and lot sizing are closely related concepts used in different markets. Position sizing determines the total number of shares or dollar amount for a stock or crypto trade. Lot sizing is the forex equivalent, where a standard lot is 100,000 units of the base currency, a mini lot is 10,000 units, and a micro lot is 1,000 units. Both concepts serve the same purpose: managing risk by controlling trade size relative to account equity.
Should I include commissions in position size calculations?
Yes, especially for smaller accounts or when trading frequently. Commissions reduce your net profit and increase your effective risk per trade. For example, if you risk $100 on a trade but pay $5 in round-trip commissions, your actual risk is $105 and your potential profit is reduced by $5. Our calculator includes an optional commission field under Advanced Options that accounts for round-trip costs when computing your net risk amount.