Position Size Calculator

Calculate the optimal position size for your trades based on risk management.

Note

Important Financial Disclaimer

This calculator provides estimates based on standard financial formulas from verified references. Results are for informational and educational purposes only and should not be considered as professional financial, investment, or tax advice.

For important financial decisions such as loans, investments, mortgages, retirement planning, or tax matters, please consult with qualified financial advisors, certified financial planners, or licensed tax professionals who can review your specific situation.

Calculations may not account for all variables specific to your circumstances, local regulations, or current market conditions. Always verify results and consult professionals before making financial commitments.

Not a substitute for professional financial advice

Account & Risk

$
%

Trade Setup

$
$
$
$

Position Size

198 shares

$19,800.00 total position

Risk Amount
$1,000.00
Risk Per Share
$5.00
Potential Profit
$2,960.00
Potential Loss
$1,000.00
Risk/Reward Ratio
1:2.96
Break-Even Price
$100.05

Trade Analysis

% of Account39.6%
Return on Risk296.0%

What Is Position Sizing?

Position sizing is the practice of determining exactly how many shares, contracts, or units to buy or sell on a given trade so that the dollar risk of the trade stays within a predefined limit relative to your total trading capital. Rather than placing an arbitrary round lot — 100 shares, 1 contract — position sizing anchors every trade to the specific risk you are willing to accept, expressed as a percentage of your account.

Professional traders treat position sizing as the single most powerful lever in their risk-management toolkit. Even a strategy with a mediocre win rate can survive and grow when position sizes are disciplined; conversely, a strategy with an excellent win rate can be wiped out by a handful of oversized losing trades. The position size calculator on this page automates that discipline by computing the exact number of shares that keeps your dollar risk at or below your chosen threshold, factoring in round-trip commissions so your real exposure matches what you intend.

The concept applies equally to equity traders managing a stock portfolio, futures traders sizing contracts, and options traders estimating capital allocation. The math is the same: define your maximum acceptable loss in dollar terms, measure the per-unit risk from entry to stop loss, and divide one by the other. Commissions reduce the shares you can safely hold because they consume part of your risk budget before the market moves at all.

This calculator displays not just the share count but a full trade scorecard — position value as a percentage of account equity, the risk-to-reward ratio, potential profit and loss, break-even price, and return on risk. Each metric helps you pressure-test a trade setup before you commit capital.

Position Size Formula

The calculator uses a fixed-fractional position sizing model. Below is the core formula along with every derived metric the calculator displays.

Step 1 — Dollar risk budget: Multiply your account balance by the risk-per-trade percentage to find the maximum dollar amount you are willing to lose on this trade.

Step 2 — Risk per share: Take the absolute difference between entry price and stop-loss price. This is the worst-case per-share loss if the stop is hit.

Step 3 — Share count: Subtract round-trip commissions from the risk budget, then divide by risk per share. The result is floored to the nearest whole share because fractional shares are not always tradable and overstating the count would exceed your risk limit.

All subsequent metrics — position value, actual risk amount and percentage, potential profit and loss, risk-reward ratio, return on risk, percent of account, and break-even price — are derived from the share count computed above.

Position Size — Fixed-Fractional Model

Shares = floor( (Account × RiskPct/100 − Commission×2) ÷ |Entry − StopLoss| )

Where:

  • Account= Total account balance in dollars
  • RiskPct= Maximum risk per trade as a percentage of account (e.g., 2)
  • Commission= One-way commission per trade in dollars; multiplied by 2 for round trip
  • Entry= Price at which you enter the trade
  • StopLoss= Price at which your stop order is placed
  • Shares= Maximum shares to buy while staying within your risk budget

Derived Metrics: Risk, Reward, and Break-Even

Once the share count is established, every other metric follows directly. Understanding each one deepens your ability to evaluate a trade before you place it.

Position value is simply shares multiplied by entry price. It tells you how much capital you are deploying, not how much you risk losing — the two numbers are very different once a stop loss is in place.

Actual risk amount is recalculated from the floored share count: (shares × risk per share) + (commission × 2). Because the share count was floored, actual risk is usually a few cents below your stated risk budget. Actual risk percent is this amount divided by account balance.

Potential profit is calculated as: shares × (target price − entry price) − (commission × 2). Round-trip commissions reduce the profit side just as they do the loss side.

Potential loss mirrors actual risk amount: shares × risk per share + (commission × 2).

Risk-reward ratio is potential profit divided by potential loss. A ratio of 2.0 means you stand to gain $2 for every $1 you risk. Most professional traders require a minimum ratio of 1.5:1 to 2:1 before entering a trade.

Return on risk expresses potential profit as a percentage of your initial risk budget. This normalizes reward across trades with different risk amounts.

Break-even price is entry price plus (commission × 2) divided by shares. This is the price the stock must reach on exit just for you to recover your round-trip commission costs — a useful sanity check on tight setups.

How to Use the Position Size Calculator

Using the calculator effectively requires five inputs. Each one carries real consequences for the output, so it is worth understanding what you are entering and why.

Account Balance should reflect your current tradeable equity — the liquid capital available in the account for this strategy. If you trade multiple strategies from the same account, consider using only the sub-allocation for this strategy as the account balance.

Risk Per Trade (%) is the most personal parameter. Beginners often start at 1–2%. Swing traders with a proven edge may use up to 3%. Day traders with very tight stops and high-frequency entries sometimes use 0.25–0.5% per trade to accommodate multiple simultaneous positions. There is no universally correct figure — the right number is the one that keeps the largest anticipated drawdown within your psychological and financial tolerance.

Entry Price is your planned execution price. For a market order, use the current ask for a long or current bid for a short. For a limit order, use the limit price.

Stop Loss Price is the price at which you will exit if the trade moves against you. Set this based on technical analysis — below a key support level, below a moving average, or at a maximum allowed loss — not on how many shares you want to own.

Target Price is your planned profit exit. It determines the reward side of the risk-reward ratio and the potential profit calculation. A realistic target is anchored to a resistance level or a measured move, not wishful thinking.

Commission per Trade reflects one-way fees. Many brokers now offer zero-commission equity trading, in which case enter 0. For futures, options, or brokers that charge per trade or per contract, enter the actual one-way cost. The calculator doubles this figure to account for the opening and closing legs of the trade.

Risk Management Principles for Position Sizing

The mechanics of position sizing are straightforward, but applying them consistently requires understanding the broader risk-management framework in which they operate.

Fixed-fractional sizing (the model this calculator uses) means you risk a constant percentage of current equity on every trade. This has a mathematically elegant property: as your account grows, position sizes grow proportionally; as your account shrinks after losses, position sizes shrink automatically, slowing further drawdown. It is self-calibrating in a way that fixed-dollar sizing is not.

The 2% rule — risking no more than 2% of account equity per trade — is one of the most widely cited heuristics in trading risk management. It originates from the observation that a trader would need to lose 50 consecutive trades to lose their entire account, a statistical near-impossibility for a strategy with even modest positive expectancy. Most traders find this rule psychologically comfortable as well: a 2% loss on a $50,000 account is $1,000 — significant enough to feel, not catastrophic.

Maximum portfolio heat is the sum of all open positions' risk as a percentage of account equity. Even if each individual trade risks only 2%, holding ten simultaneous positions means 20% of your account is at risk if all stops are hit at once. Many risk managers cap total portfolio heat at 6–10% of equity regardless of the number of positions.

Correlation risk is another layer beyond single-trade position sizing. Two positions in the same sector, or in assets that move together during market dislocations, can both hit their stops in the same session. Treating correlated positions as a single position for risk purposes prevents concentration disguised as diversification.

Adjusting for volatility is an extension of fixed-fractional sizing. In high-volatility environments, the natural stop distance (in percentage terms) widens. A fixed-percentage risk budget will therefore reduce share count automatically — this is the model already embedded in this calculator. Some traders also scale position size inversely with the VIX or average true range to maintain consistent dollar volatility across changing market regimes.

Worked Examples

Default Setup: $50,000 Account, 2% Risk

Problem:

You have a $50,000 account and want to risk 2% on a trade. Entry is $100, stop loss is $95, target is $115, and commission is $5 per side.

Solution Steps:

  1. 1Dollar risk budget: $50,000 × 2% = $1,000
  2. 2Risk per share: |$100 − $95| = $5.00
  3. 3Round-trip commissions: $5 × 2 = $10
  4. 4Shares: floor(($1,000 − $10) / $5) = floor($990 / $5) = floor(198) = 198 shares
  5. 5Position value: 198 × $100 = $19,800 (39.6% of account)
  6. 6Potential profit: 198 × ($115 − $100) − $10 = 198 × $15 − $10 = $2,970 − $10 = $2,960
  7. 7Potential loss: 198 × $5 + $10 = $990 + $10 = $1,000
  8. 8Risk-reward ratio: $2,960 / $1,000 = 2.96 → 1:2.96
  9. 9Break-even price: $100 + $10 / 198 ≈ $100.05

Result:

Buy 198 shares at $100 for a $19,800 position. Maximum risk is $1,000 (2.0% of account) with a 1:2.96 risk-reward ratio and $2,960 potential profit.

Conservative 1% Risk on a $25,000 Account

Problem:

A swing trader with a $25,000 account prefers 1% risk per trade. Entry is $50, stop loss is $47, target is $60, and commission is $3 per side.

Solution Steps:

  1. 1Dollar risk budget: $25,000 × 1% = $250
  2. 2Risk per share: |$50 − $47| = $3.00
  3. 3Round-trip commissions: $3 × 2 = $6
  4. 4Shares: floor(($250 − $6) / $3) = floor($244 / $3) = floor(81.33) = 81 shares
  5. 5Position value: 81 × $50 = $4,050 (16.2% of account)
  6. 6Potential profit: 81 × ($60 − $50) − $6 = 81 × $10 − $6 = $810 − $6 = $804
  7. 7Potential loss: 81 × $3 + $6 = $243 + $6 = $249
  8. 8Risk-reward ratio: $804 / $249 ≈ 3.23 → 1:3.23
  9. 9Break-even price: $50 + $6 / 81 ≈ $50.07

Result:

Buy 81 shares at $50 for a $4,050 position. Actual risk is $249 (0.996% of account) with a strong 1:3.23 risk-reward ratio and $804 potential profit.

Larger Account with 3% Risk and Wide Stop

Problem:

A more experienced trader with a $100,000 account uses 3% risk. Entry is $200, stop loss is $190, target is $230, and commission is $10 per side.

Solution Steps:

  1. 1Dollar risk budget: $100,000 × 3% = $3,000
  2. 2Risk per share: |$200 − $190| = $10.00
  3. 3Round-trip commissions: $10 × 2 = $20
  4. 4Shares: floor(($3,000 − $20) / $10) = floor($2,980 / $10) = floor(298) = 298 shares
  5. 5Position value: 298 × $200 = $59,600 (59.6% of account)
  6. 6Potential profit: 298 × ($230 − $200) − $20 = 298 × $30 − $20 = $8,940 − $20 = $8,920
  7. 7Potential loss: 298 × $10 + $20 = $2,980 + $20 = $3,000
  8. 8Risk-reward ratio: $8,920 / $3,000 ≈ 2.97 → 1:2.97
  9. 9Break-even price: $200 + $20 / 298 ≈ $200.07

Result:

Buy 298 shares at $200 for a $59,600 position. Maximum risk is $3,000 (3.0% of account) with a 1:2.97 risk-reward ratio and $8,920 potential profit.

Tips & Best Practices

  • Set your stop loss based on the chart structure first — below a support level or setup low — then let the calculator tell you how many shares to buy.
  • If the resulting position value is more than 20–25% of your account on multiple simultaneous trades, consider reducing your risk percentage to control total portfolio heat.
  • Use the break-even price to check whether your target needs to be meaningfully above break-even to justify the trade; a target close to break-even signals a poor setup.
  • Re-run the calculator after significant account growth or drawdown to keep position sizes proportional to your current equity.
  • For volatile stocks or earnings plays, widen your stop to account for expected price swings — a tighter stop on a volatile name often results in being stopped out before the move happens.
  • Commissions matter more on small accounts and low-priced securities. Always enter the actual round-trip cost to avoid overstating how many shares you can safely trade.
  • A risk-reward ratio below 1.5:1 rarely justifies a trade unless you have a documented win rate above 60% in that specific setup.
  • Compare the return-on-risk percentage across several setups in your watchlist; the highest-quality trades will stand out numerically, not just visually.

Frequently Asked Questions

Rounding up would push the position to slightly more shares than the risk budget allows, causing you to risk more than your stated maximum. Flooring ensures the actual risk is always at or below your intended limit. In practice the difference is only a few cents, but disciplined position sizing demands that you never accidentally overshoot your risk budget, even by a small amount.
Most professional traders use 1–2% per trade as a baseline. Beginning traders often benefit from starting at 0.5–1% to reduce the emotional impact of losses while developing their strategy. A useful self-test is to calculate the dollar amount of a loss at your chosen percentage and ask whether that amount would cause you to deviate from your trading plan — if yes, reduce the percentage until it would not.
A technically valid stop loss should be placed at a price that, if reached, invalidates the reason you entered the trade — below a support level, below the low of a setup candle, or beyond a key moving average. Setting the stop loss based on how much you want to lose and then reverse-engineering the price is a common beginner mistake that often results in stops that are too tight to survive normal market noise. The stop should come first; the position size adjusts to the stop, not the other way around.
A risk-to-reward ratio of at least 1:2 is a common minimum threshold — meaning you expect to make at least $2 for every $1 you risk. A 1:3 ratio is considered favorable for swing trading, where setup frequency is lower. Day traders operating at high frequency may accept 1:1.5 ratios because their win rate is higher. The key insight is that even with a 40% win rate, a strategy with consistent 1:2 risk-reward ratios is profitable over time.
Yes. For a short position, your entry price is higher than your stop loss price, so the absolute difference |entry − stop loss| is still a positive number representing per-share risk. Enter your short entry price in the Entry Price field and your stop price (above entry for a short) in the Stop Loss field. The calculator uses Math.abs() on the difference, so it handles both long and short setups identically.
The percentage of account committed to a position can be large even when the percentage risked is small, because stop losses are typically close to the entry price. For example, risking 2% of a $50,000 account on a stock where the stop is 5% below entry requires deploying 40% of the account. High position value does not mean high risk as long as the stop is in place and respected. The metric to focus on is actual risk percent, not percent of account.
Round-trip commission is subtracted from your risk budget before dividing by risk per share. This ensures the commission cost is absorbed within your risk tolerance rather than added on top. With zero-commission brokers the effect disappears entirely. With high per-trade fees (common in futures or with some international brokers), the commission reduction can meaningfully reduce the number of shares you can safely buy, especially on low-priced securities with tight stops.

Sources & References

Last updated: 2026-06-05

💡

Help us improve!

How would you rate the Position Size Calculator?

Sources

  • Reserve Bank of India (RBI) — Financial regulations, lending rates, and monetary policy guidelines. rbi.org.in
  • Consumer Financial Protection Bureau (CFPB) — Consumer finance guidelines, mortgage and loan disclosure standards. consumerfinance.gov
  • Securities and Exchange Board of India (SEBI) — Investment and securities market regulations. sebi.gov.in
  • Investopedia — Financial formulas, definitions, and educational content. investopedia.com

For a complete list of all references used across the site, visit our full sources page.

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Fundamentals of Financial Management

by Brigham & Houston

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.