Position Size Calculator

Calculate how many shares to buy or sell based on your account size, risk tolerance, entry price and stop-loss level. Estimate dollar risk, position value, potential reward and risk-to-reward ratio before planning a stock trade.

Long and short positions Risk-based sizing Whole and fractional shares Free calculator

Calculate Your Stock Position Size

Enter your account equity and planned trade details. The calculator estimates the maximum position size allowed by your selected risk budget.

Your account value before this trade.
Percentage of account equity at risk.
For a long trade, the stop is below entry.
Used to calculate potential reward and risk/reward.
Limits position value relative to account equity.
Combined estimated entry and exit fees.
Extra estimated adverse execution movement.

Position Sizing Results

Recommended position size
-
Shares
Maximum planned risk
$0
Based on account equity and risk percentage
Estimated risk at stop
$0
0% of account
Position market value
$0
0% of account equity
Risk per share
$0
Available risk remaining
$0
Enter your trade details to calculate a position size.

Trade breakdown

Account equity $0
Risk percentage 0%
Entry price $0
Stop-loss price $0
Stop distance $0
Estimated slippage allowance $0
Estimated round-trip fees $0
Estimated loss if stop is reached $0

Potential reward and risk/reward ratio

Potential gross reward
$0
Estimated reward after fees
$0
Risk/reward ratio
-

Target calculations are hypothetical and do not represent a prediction that the target price will be reached.

Compare Different Risk Percentages

See how changing your risk percentage affects the estimated share quantity while keeping the entry and stop-loss prices unchanged.

Risk percentage Risk budget Position size Position value Estimated stop risk

What Is Position Sizing?

Position sizing is the process of determining how many shares, contracts or other units to buy or sell in a trade. It connects the amount of capital in a trading account with the amount of money a trader is prepared to risk on an individual position.

Instead of choosing a share quantity arbitrarily, a trader can calculate a position size using account equity, a predefined risk percentage and the distance between the entry price and the planned stop-loss price.

The result is a position size that aims to keep the estimated loss at the stop within a chosen risk budget. It does not make a trade profitable or prevent losses.

Position Size Calculator Formula

The basic calculation starts by determining the maximum amount of money allocated to risk on the trade.

Risk Budget = Account Equity × Risk Percentage

For a long stock position, the risk per share is the entry price minus the stop-loss price. For a short position, it is the stop-loss price minus the entry price.

Risk Per Share = Absolute Value of (Entry Price − Stop Price)
Position Size = Risk Budget ÷ Risk Per Share

This calculator also allows for a slippage allowance and estimated round-trip fees. It subtracts the fixed fee allowance from the available risk budget and adds the per-share slippage allowance to the stop distance before calculating the share quantity.

Position Size Calculation Example

Consider a hypothetical stock trade with the following values:

The risk budget is $250. Dividing $250 by the $4 risk per share gives 62.5 shares. If only whole shares are allowed, the quantity is rounded down to 62 shares before considering additional costs or capital limits.

With 62 shares, the position value is $6,200 and the price-distance risk at the stop is $248, before fees and execution differences.

Why the Stop-Loss Distance Matters

Stop-loss distance has a direct effect on position size. A wider stop means that each share carries more potential loss, so fewer shares fit within the same risk budget. A tighter stop means that more shares can fit within that budget.

For example, with a $200 risk budget, a $2 stop distance allows 100 shares before costs. A $5 stop distance allows 40 shares. Both positions have the same planned price-distance risk.

The stop should be chosen according to the trade setup and market conditions, not moved artificially just to produce a larger position size.

Long Position vs. Short Position Sizing

Long stock positions

A long position is opened by buying shares with the expectation that their value will increase. Its stop-loss is normally below the entry price. The per-share price risk is calculated as entry price minus stop price.

Short stock positions

A short position is opened by selling borrowed shares with the expectation that their price will decline. Its stop-loss is normally above the entry price. The per-share price risk is calculated as stop price minus entry price.

Short selling has additional risks, including potentially substantial losses if the stock price rises. Borrowing costs, margin requirements, recalls and broker restrictions are not calculated by this stock position sizing tool.

What Is Risk Percentage Per Trade?

Risk percentage is the portion of account equity assigned as the maximum planned loss for a trade. For example, a 1% risk setting on a $25,000 account produces a $250 risk budget.

Some trading strategies use small fractions of account equity per trade, while others use different limits. There is no universally suitable risk percentage. It depends on the strategy, financial circumstances, portfolio concentration and tolerance for losses.

A selected percentage is a planning input, not a guarantee that the actual loss will remain within that amount.

Position Value vs. Amount at Risk

Position value and amount at risk are different measurements. Position value is the market value of the shares in the trade. Amount at risk is the estimated loss if the price reaches the planned stop-loss level.

A trader might hold a $6,000 stock position while risking only $200 at the stop. This is possible because the stop is placed below the entry price for a long position.

Position value is important for capital allocation and buying power. Risk amount is important for estimating the possible loss associated with the trade.

Understanding Risk-to-Reward Ratio

Risk-to-reward compares the amount potentially gained if a target is reached with the amount potentially lost if the stop is reached.

A hypothetical trade with $2 of potential reward per share and $1 of risk per share has a 2:1 reward-to-risk ratio. The optional target field in this calculator estimates this relationship using the selected entry, stop and target prices.

A higher potential reward relative to risk does not mean a trade is more likely to succeed. The probability of reaching the target and the probability of hitting the stop are separate considerations.

Why Include Fees and Slippage?

A trade can involve commissions, exchange charges and other transaction expenses. The price at which an order actually executes can also differ from the expected price. This difference is commonly called slippage.

The calculator includes an optional fixed round-trip fee estimate and an extra per-share slippage allowance. These inputs make the planned risk estimate more conservative, but they cannot predict actual execution costs.

Limitations of Position Sizing

Related S&P 500 Calculators

Explore more investment and trading tools on SP500.net.

S&P 500 Investment Calculator

Estimate the potential growth of an S&P 500 investment.

Historical Return Calculator

Explore historical S&P 500 investment performance.

CAGR Calculator

Calculate compound annual growth rates.

Compound Growth Calculator

Calculate the effect of compounding over time.

S&P 500 Millionaire Calculator

Estimate how long it may take to reach an investment target.

SPY vs VOO vs IVV Calculator

Compare popular S&P 500 ETFs.

Frequently Asked Questions

1. What is a position size calculator?

A position size calculator estimates how many shares or units to trade based on account equity, a chosen risk percentage and the distance between the entry and stop-loss prices.

2. How do I calculate how many shares to buy?

Multiply your account equity by your risk percentage to calculate the risk budget. Divide that amount by the difference between your entry and stop-loss prices. Account for fees and execution costs where possible.

3. What is a 1% risk rule?

A 1% risk setting means that the planned loss at the stop is intended to equal approximately 1% of account equity. For example, 1% of a $25,000 account is $250. It is a risk-management convention, not a universal recommendation.

4. Should I round my position size up or down?

Whole-share quantities are normally rounded down. Rounding up could cause the planned risk to exceed the selected risk budget. Fractional shares can be used where supported by the broker.

5. Does a larger stop-loss mean a smaller position?

Yes. A wider stop increases the estimated loss per share. For the same risk budget, the number of shares must decrease.

6. Can I use this calculator for short trades?

Yes. Select the short position option and enter a stop-loss price above the entry price. The calculator uses the difference between the stop and entry prices to estimate the risk per share.

7. Does this calculator include brokerage fees?

Yes. You can enter an estimated total round-trip fee. It is deducted from the risk budget before determining the number of shares. Actual fees may differ.

8. Can I lose more than the calculated risk amount?

Yes. A stock can gap beyond a stop price, and an order may execute at a worse price than expected. Slippage, liquidity and trading costs can also increase the actual loss.

9. What is the difference between risk and position value?

Position value is the total market value of the shares. Risk is the estimated amount lost if the stop is reached. These are different figures and should not be confused.

10. Does the calculator recommend which stock to buy?

No. It calculates a hypothetical position size from the numbers entered. It does not analyze securities, predict market movements or recommend trades.

Position Sizing Formula Reference

These formulas are simplified stock-trading estimates. They do not replace broker margin calculations, portfolio risk analysis or professional financial advice.