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.
Position Sizing Results
Trade breakdown
Potential reward and 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.
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.
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:
- Account equity: $25,000
- Risk percentage: 1%
- Entry price: $100
- Stop-loss price: $96
- Risk per share before costs: $4
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
- A stop order does not guarantee execution at the stop price.
- Market gaps can result in losses larger than the planned risk.
- Actual fees, spreads and slippage may differ from estimates.
- Short positions may have additional margin and borrowing requirements.
- Portfolio correlation and simultaneous open positions are not included.
- The calculator does not assess whether a stock or trading strategy is suitable.
Related S&P 500 Calculators
Explore more investment and trading tools on SP500.net.
Estimate the potential growth of an S&P 500 investment.
Explore historical S&P 500 investment performance.
Calculate compound annual growth rates.
Calculate the effect of compounding over time.
Estimate how long it may take to reach an investment target.
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
- Risk budget: Account equity × risk percentage / 100
- Long risk per share: Entry price − stop price
- Short risk per share: Stop price − entry price
- Position size: Available risk budget / adjusted risk per share
- Position value: Shares × entry price
- Potential reward: Shares × favorable price movement to target
These formulas are simplified stock-trading estimates. They do not replace broker margin calculations, portfolio risk analysis or professional financial advice.