Stock Position Size Calculator

Risk-based position sizing for stocks and forex

Position sizing decides whether a single losing trade costs you 1% of capital or 20%. It is the most reliable defense against drawdowns and the difference between traders who survive long enough to compound returns and those who blow up an account on a single bad call.

Use this calculator before every trade — enter your portfolio value, the % you are willing to risk, the entry price, and the stop loss, and the tool tells you exactly how many shares to buy.

Enter Trade Parameters

$

Total capital available for trading (e.g., 50000)

%

Percentage of portfolio at risk on this trade. Most traders use 1%. Default: 1%

$

Price you plan to buy at (e.g., 100.00)

$

Price at which you exit if the trade goes against you. Must be below entry (e.g., 95.00)

This calculator implements the standard risk-based position sizing formula used by professional traders. Given your portfolio value, the percentage you are willing to risk per trade, an entry price, and a stop loss price, it returns the exact number of shares to buy so that the dollar loss at your stop equals (and never exceeds) your target risk.

Max Shares = (Portfolio × Risk %) ÷ (Entry − Stop Loss)

Step 1: Enter your total portfolio value (the capital you actively use for trading).

Step 2: Set your risk per trade. Default is 1%. Beginners should not exceed this. Professionals rarely go above 2%.

Step 3: Enter the entry price (the price at which you plan to buy) and the stop loss (the price at which you will exit if wrong).

Step 4: Click Calculate. The result tells you exactly how many shares to buy and what percentage of your portfolio that position represents.


Learn More

What Is Position Sizing in Stock Trading?

Position sizing is the most underrated edge in trading. While entry timing, stock selection, and stop loss placement get most of the attention, the single decision that determines how long you stay in the game is how much money you put on each trade. A trader with a 60% win rate can still go bankrupt with poor position sizing; a trader with a 40% win rate can compound capital steadily with disciplined position sizing.

A position sizing calculator answers one question: given a portfolio of $X, a willingness to risk Y% per trade, an entry price, and a stop loss, how many shares should I buy? The math is simple, but it is the discipline of running the calculation before every trade — not the math itself — that separates professional risk management from gut-feel sizing.

The Position Sizing Formula Explained

Max Shares = (Portfolio × Risk %) ÷ (Entry − Stop Loss)

The numerator (Portfolio × Risk %) is the maximum dollar amount you are willing to lose on this trade. The denominator (Entry − Stop Loss) is the dollar risk per share — the loss per share if the stop is triggered. Divide the two and you get the maximum number of shares that, at the stop, would deliver exactly your target dollar loss. With a $50,000 portfolio, 1% risk, $100 entry and $95 stop, max risk is $500, risk per share is $5, and the answer is 100 shares — a $10,000 position (20% of portfolio).

Notice how the position size in dollars (20% of portfolio) is much larger than the risk percentage (1%). That is the leverage of a tight stop: a small risk % can fund a meaningful position because most of the trade survives the stop. This is also why a wider stop forces a smaller position — the math forces you to size down when the trade idea has more uncertainty.

How Much Should You Risk per Trade?

The most common rule across professional traders is the 1% rule: never risk more than 1% of total capital on any single trade. The math is unforgiving — a streak of 10 consecutive losses at 1% per trade leaves you with about 90% of capital intact. The same streak at 5% per trade leaves you with 60% of capital, and the psychological damage from a 40% drawdown is what destroys most trading careers.

Conservative long-term investors often use 0.25–0.5% per individual stock pick within a diversified portfolio. Aggressive short-term traders sometimes go to 2%, but rarely beyond. Forex day traders frequently use 0.5–1% because the leverage available means the same risk % funds a much larger notional position. Whatever number you choose, the rule is to keep it consistent — varying risk per trade based on conviction is how disciplined sizing turns into reckless gambling.

Position Sizing for Forex and Other Asset Classes

A position sizing calculator forex traders use is structurally identical: replace shares with lots and replace dollar-per-share risk with dollar-per-pip × pip distance. For a $25,000 account, 1% risk equals $250 max loss. If your stop is 50 pips away on EUR/USD and a standard lot is $10/pip, your max position is 0.5 standard lots ($250 ÷ (50 × $10)). The 1–2% rule applies just as it does to stocks.

The same framework extends to options (size by max premium loss), futures (size by tick value × stop distance), and crypto (size by volatility-adjusted stop). Risk reward calculator workflows in any asset class share the same backbone: define maximum tolerable loss, then size the position so the stop honors that loss.

Frequently Asked Questions About Position Sizing

Position sizing is the process of deciding how many shares to buy in a single trade so that the maximum loss does not exceed a fixed percentage of your total portfolio. The standard rule is to risk no more than 1–2% of capital on any one trade. This calculator applies the formula: Max shares = (Portfolio Value × Risk %) / (Entry Price − Stop Loss).

Most professional traders use 1% per trade as the standard. Beginners should start with 0.5–1% to limit drawdowns while learning. Risking more than 2% per trade is considered aggressive — a streak of 5–6 losses can erode 10–15% of capital before a single profitable trade. Conservative long-term investors often use 0.25–0.5% per trade for individual stock selections within a diversified portfolio.

A wider stop loss (further from entry price) reduces the number of shares you can buy at the same risk %, because each share now carries more risk. A tighter stop loss allows you to hold more shares for the same dollar risk, but it also increases the chance of being stopped out by normal volatility. The right stop loss depends on the stock's volatility, support/resistance levels, and your time horizon — not on how many shares you want to own.

Yes. The same formula applies to forex: replace Entry/Stop Loss prices with the entry rate and stop rate, and "shares" becomes the position size in lots or units. For pip-based stops, divide your max risk in dollars by (pip distance × pip value per lot) to get position size in lots. The risk per trade rule (1–2%) is the same across asset classes.

Yes — for small positions, fees and slippage can significantly increase real risk. Subtract estimated round-trip costs from your max risk dollars before dividing by risk per share. Example: if you risk $100 per trade and pay $4 in commissions plus $2 in expected slippage, calculate position size with $94 instead of $100. For commission-free brokers and large-cap liquid stocks this adjustment is rarely material.

For a deeper dive, read our companion article: Position Sizing for Stocks: How Much to Buy and Why

Stock position size calculator — risk-based position sizing for stocks and forex

Manage Position Sizes Across Your Whole Portfolio

Worthmap is a portfolio manager and analyzer tool that tracks every position, applies risk limits across your whole book, and surfaces trades that violate your sizing rules — automatically.

Sign Up for Worthmap
Built & maintained by Worthmap · Last updated June 7, 2026
Educational use only. This tool provides estimates for informational purposes and does not constitute financial, investment, tax, or legal advice. Results are based on inputs you provide and mathematical models — they do not guarantee future performance. Always consult a qualified financial adviser before making investment decisions.