Position Size Calculator

Calculate exactly how many shares to buy based on your account size, risk tolerance, and stop loss distance. Works for stocks, options, crypto, and forex.

Trade Setup

Conservative (0.5%)Aggressive (3%+)

Results

Position Size

33 shares

Dollar Risk

$100.00

Position Value

$1,650.00

% of Account

16.5%

Calculation Breakdown

  • Direction: Long
  • Risk per share: |$50.00 - $47.00| = $3.00
  • Dollar risk: 1% of $10,000 = $100.00
  • Shares: $100.00 / $3.00 = 33 shares (rounded down)
  • Position value: 33 x $50.00 = $1,650.00

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 the number of shares that limits your loss to that amount. 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.

Professional traders and institutional desks almost universally use some form of risk-based position sizing. The most common rule of thumb is the 1% rule: never risk more than 1% of your total account on any single trade. For a $10,000 account, that means your maximum acceptable loss per trade is $100. From there, the math is straightforward.

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 maximum loss

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.

Pros: Easy to implement, predictable loss per trade
Cons: Does not adapt to account growth, underutilizes capital as account grows

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.

Pros: Scales with account, automatically reduces size during drawdowns
Cons: Requires recalculating for each trade as account fluctuates

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.

Pros: Adapts to volatility, avoids stops that are too tight or too wide
Cons: Requires technical analysis knowledge, ATR changes over time

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.

Pros: Mathematically optimal for long-term growth, accounts for edge quality
Cons: Requires accurate win rate and payoff data, full Kelly is too aggressive for most traders

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. This ensures you never exceed your risk budget regardless of which model has the best estimate of current conditions.

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.

How Tradewink Automates Position Sizing

Tradewink is an AI-powered autonomous trading agent that handles position sizing automatically on every trade. When a trading signal is generated, the system runs through a multi-layered sizing pipeline before any order is submitted to your broker.

First, the system calculates position size using three independent methods: risk-based (your configured risk percentage), ATR-based (adapting to the stock's current volatility), and half-Kelly (using your historical win rate and payoff ratio). The most conservative result is selected, ensuring you never over-allocate on any single trade.

Beyond basic sizing, Tradewink also applies regime-adjusted scaling. When the AI detects a volatile or transitioning market regime (using hidden Markov model analysis of SPY), it automatically reduces position sizes. In choppy, mean-reverting markets, size is reduced further to account for the lower probability of trend continuation.

For accounts under $1,000, the system activates micro-account mode with fractional share support, a 3% maximum risk cap, 25% concentration limits, and minimum order sizes of just $1. This lets small accounts trade with the same disciplined sizing framework as larger portfolios.

All of this happens in milliseconds before your trade is routed to your connected broker. You get institutional-grade position sizing without needing to calculate anything manually.

Related Resources

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.

Let AI size your trades automatically

Tradewink uses ATR-based, risk-adjusted, regime-aware position sizing on every trade. Connect your broker and let AI handle the math.

Start Free