Position Size Calculator: Risk per Trade, Stop Loss, and Shares

Position sizing translates a chosen account-risk budget, an entry price, and a stop price into a maximum number of shares. This calculator also accounts for estimated entry and exit slippage, round-trip fees, a maximum position-value cap, available capital, and a user-defined whole- or fractional-share increment. It supports structurally valid long and short setups, but it does not guarantee that a stop order will execute at the entered stop price.

Position Size Calculator

Enter a long setup with stop < entry < target, or a short setup with target < entry < stop. Use the total estimated round-trip commission and fixed fees.

Trade direction
Long
Inferred from entry, stop, and target
Risk budget
$250.00
Account balance x maximum risk percentage
Adjusted risk/share
$2.55
Price distance plus entered slippage
Final share quantity
97
Limited by risk budget
Position value
$4,850.00
Shares x planned entry price
Estimated planned loss
$248.35
0.99% of account
Net target profit
$721.65
Before taxes and financing costs
Net reward-to-risk
2.91 to 1
Target profit divided by planned loss
Estimated break-even exit
$50.06
Includes entered slippage and fixed fees
Estimated entry capital/notional
$4,852.44
Entry slippage plus half of round-trip fees
Unused risk budget
$1.65
Created by rounding or capital constraint
Stop distance
5.00%
Price distance divided by entry price

The position is sized to keep the modeled planned loss within the entered risk budget after slippage, fees, capital limits, and share rounding.

Risk and capital limits

Sizing limit Raw shares Dollar limit Interpretation
Risk budget97.6471$250.00Loss-based maximum before share rounding
Capital/notional99.9500$5,000.00Smaller of available allowance and account percentage cap

Adverse stop-fill scenarios

The table adds a gap beyond the planned stop equal to a percentage of the entry price. It is a sensitivity test, not a worst-case loss estimate.

Fill scenario Assumed exit price Estimated loss Loss as % of account Over risk budget
Gap scenarios load when JavaScript is available.

Published and last reviewed: July 29, 2026 | Author and reviewer: StockWin Editorial Team

Position-size formula

The core calculation separates the amount of the account placed at risk from the market value of the position. The first number is a loss budget. The second is the entry price multiplied by the share quantity. They are not interchangeable.

Risk budget = account balance x selected risk percentage

Price risk/share = absolute value of entry price - stop price

Adjusted risk/share = price risk/share + estimated entry slippage + estimated exit slippage

Risk-sized shares = (risk budget - round-trip fixed fees) / adjusted risk/share

CME Group's position-size lesson likewise starts with a stop location and the dollar or percentage amount of the account a trader is willing to risk. The StockWin calculator adds entered slippage, fixed fees, a capital cap, and explicit share rounding.

Default worked example

The default account is $25,000 with a 1% risk budget, so the maximum modeled loss budget is $250. The long entry is $50, the stop is $47.50, and the target is $57.50. The raw price distance to the stop is $2.50 per share.

Adding $0.02 of estimated entry slippage and $0.03 of estimated exit slippage produces $2.55 of adjusted risk per share. After subtracting $1 of fixed round-trip fees from the $250 risk budget, the risk formula permits approximately 97.6471 shares.

The separate position-value cap is 20% of the $25,000 account, or $5,000. With $10,000 entered as available capital, the account-percentage cap is the smaller limit. It permits approximately 99.9500 shares after entry slippage and half the fixed fees. The risk limit is smaller, so the calculator rounds down to 97 whole shares.

The 97-share position has a $4,850 planned market value. Its modeled loss is $248.35, or 0.99% of the account. Its net target profit is $721.65 and its net reward-to-risk ratio is 2.91 to 1. These are planning outputs, not expected-return or execution forecasts.

Risk budget versus position value

A common mistake is to say that a $5,000 position in a $25,000 account risks 20% of the account. That statement is only true if the position can become worthless and no earlier exit occurs. Under a stop-based plan, modeled risk is the loss between the effective entry and effective stop exit, plus costs. Position value is the notional exposure at entry.

A tight stop can generate a large risk-based share quantity because the denominator is small. That is why this calculator applies a separate maximum-position percentage and available-capital limit. A loss budget should not silently authorize a concentrated position.

FINRA's asset-allocation and diversification guide explains that diversification can reduce concentration risk. Position sizing does not replace portfolio-level diversification, liquidity analysis, or a limit on total exposure across correlated holdings.

How the capital limit works

The capital or notional constraint uses the smaller of two entered amounts:

  • Available capital or notional allowance: the amount the user is prepared and permitted to allocate to the setup.
  • Maximum position value: the entered percentage of total account balance.

The calculator estimates capital needed at entry using the share quantity, planned entry price, entry slippage, and half of the entered round-trip fixed fees. For a short setup, the same field should be treated as a notional-exposure allowance, not a statement of broker margin eligibility.

Long and short setup rules

A structurally valid long setup has a stop below entry and a target above entry. A structurally valid short setup has a target below entry and a stop above entry. The calculator infers direction from those relationships and rejects mixed arrangements.

For a long trade, adverse price movement is downward. For a short trade, adverse price movement is upward. The absolute entry-to-stop distance is therefore used in the share-size denominator for both directions.

Short selling has additional operational, borrowing, margin, recall, dividend, and potentially unlimited-loss risks that this calculator does not model. FINRA's short-interest overview explains that a short position begins with a sale of shares the investor does not own. FINRA's brokerage-account guide notes that short selling occurs in a margin account.

A stop price is not a guaranteed execution price

The stop input is necessary for planning, but it is not a promise about the final sale or purchase price. The SEC's stop-order bulletin explains that when a stop price is reached, a stop order becomes a market order and its execution price can differ significantly from the stop price in a fast-moving market.

The FINRA stop-order guide also warns that stop orders introduce distinct risks during volatility. A short-lived price move can trigger an order, and the completed trade cannot be undone merely because the price later recovers.

The adverse-gap table therefore recalculates loss if the exit occurs beyond the planned stop by 0.5%, 1%, or 2% of the entry price. Larger gaps remain possible. In an extreme event, a security can be halted, open far beyond the stop, or become difficult to trade.

Stop orders versus stop-limit orders

A stop order prioritizes becoming executable after its trigger but does not guarantee price. A stop-limit order adds a limit price but may not execute if the market moves through the permitted range. Neither trade-off belongs inside a simple share-size formula.

Investor.gov's order-types page stresses that available instructions and broker policies differ. The SEC's Trading Basics bulletin explains that a market order generally seeks prompt execution without guaranteeing the price, while a limit order controls price but does not guarantee execution.

Before treating a stop as part of a risk plan, verify which order types the broker supports, what price source triggers them, whether they work outside regular hours, and what happens during halts, gaps, or corporate actions.

Why slippage belongs in the denominator

Slippage is the difference between the assumed price and the price actually received. If a long entry is expected at $50 but fills at $50.02, risk begins $0.02 higher. If the planned stop is $47.50 but the exit fills at $47.47, another $0.03 of loss is added. Together they raise the modeled loss per share from $2.50 to $2.55.

The input is a scenario assumption, not a prediction. Estimate it from the security's liquidity, spread, order size, volatility, time of day, and order type. Use the ETF Bid-Ask Spread Cost Calculator to translate a quoted spread into dollars and basis points without confusing spread with all execution slippage.

Fees and break-even price

Round-trip fees reduce the loss budget available for market movement and reduce target profit. They also shift the estimated break-even exit. The calculator treats the entered fee as a fixed total across entry and exit.

Investor.gov's Understanding Fees guide advises investors to identify total purchase and sale costs and the price increase needed to break even. FINRA's fees and commissions guide notes that even firms advertising free trading can earn revenue in other ways.

Do not enter an ETF expense ratio as a fixed trade commission. Fund operating expenses are deducted within fund assets over time. Use the ETF Expense Ratio Calculator for that separate holding-cost question and the ETF Total Cost Calculator when expense ratio, spread, and commissions need to be viewed together.

Whole shares, fractional shares, and rounding

A position should be rounded down so rounding does not push modeled loss above the risk budget. Enter 1 for whole shares, 0.1 for tenths, 0.01 for hundredths, or the smallest increment actually supported by the broker and security.

The SEC's fractional-share bulletin explains that availability, order types, execution methods, minimums, fees, liquidity, voting, and transferability can differ among brokerage firms. A mathematical fractional result is not proof that it can be ordered or transferred.

Reward-to-risk ratio is not a probability

The net reward-to-risk output divides modeled target profit by modeled planned loss. A 2.91-to-1 ratio does not mean the trade is three times more likely to win, does not provide an expected return, and does not establish that the target is realistic.

Expected value requires a defensible probability distribution for wins, losses, partial exits, gaps, costs, and repeated decisions. This calculator intentionally does not invent those probabilities. It only tests whether entered prices and costs produce the displayed payoff geometry.

Stop placement should come before share quantity

Moving a stop closer solely to obtain more shares reverses the intended workflow. CME's position-size lesson says a stop should be placed at a logical level rather than at a random point that normal movement can easily reach. Once the stop is selected for a reason, size can be calculated from the resulting distance.

A volatility measure, support or resistance level, chart structure, event risk, or fundamental invalidation rule may inform a user's stop, but none guarantees a useful exit. The calculator does not recommend a stop location.

Account risk percentage is a user decision

The calculator does not prescribe 1%, 2%, or any other risk amount. The default is an example. A suitable limit depends on goals, time horizon, liquidity needs, loss capacity, open positions, leverage, experience, and the consequences of a sequence of losses.

FINRA's risk-tolerance guide describes risk tolerance as both the willingness and ability to accept investment risk and notes that it is individual. CME's trade-plan risk lesson suggests defining maximum trade loss, maximum day loss, leverage, and total exposure as part of a broader plan.

Portfolio heat and correlated positions

Sizing each trade at 1% does not mean total account risk is 1%. Five open positions can each have a modeled 1% stop loss. If they are driven by the same sector, index, currency, interest-rate exposure, or event, several stops can be reached together and gaps can magnify the result.

Portfolio heat is the sum of modeled open-position risks, but simple addition can still understate common-factor and gap risk. The calculator handles one setup at a time. Track total gross exposure, net exposure, sector concentration, correlation, margin use, and event timing separately.

Cash accounts, margin, and leverage

The available-capital input is not a margin calculator. In a cash account, purchases generally require full payment. In a margin account, a broker can lend funds against collateral, which increases purchasing power and the possibility of larger losses.

The SEC's margin-account bulletin explains that investors can lose more than the amount invested, face margin calls, and have positions sold by the firm without consultation in some circumstances. Broker house requirements can be stricter and can change.

Do not use this page to infer buying power, maintenance margin, borrowing cost, short-sale collateral, options risk, futures contract risk, or liquidation thresholds. Those depend on the product, broker, account, and current rules.

Short-position risk needs extra limits

For a long stock position, the price generally cannot fall below zero. A short position can rise without a fixed upper bound, so loss potential is not capped by the entry notional. Borrow availability, borrow fees, recalls, dividends owed, corporate actions, and buy-ins can also change the economics.

A buy stop intended to exit a short can fill above its trigger. FINRA's stop-order article explicitly discusses buy stops as a way traders may try to limit losses on short positions while still warning about execution risk.

ETF position sizing

The arithmetic can be applied to an ETF share price, but ETFs add fund and market-structure considerations. The market price can differ from net asset value, spreads can widen, and the underlying holdings can trade in different markets or time zones.

Use the ETF Premium/Discount to NAV Calculator to separate price-versus-NAV deviation from stop distance. The ETF Tracking Difference Guide addresses historical fund-versus-benchmark performance, which is also different from trade-level stop risk.

Illiquidity and large orders

The formula assumes the entered quantity can be executed near the assumed prices. That assumption can fail when displayed size is small, trading is halted, the order is large relative to normal volume, or the market is moving quickly.

The SEC's Trading Basics bulletin notes that a large market order can fill in parts at different prices. Test whether the position size itself could materially worsen execution. A risk-limited share count can still be too large for the security's available liquidity.

Overnight and event gaps

Earnings releases, regulatory decisions, economic data, court rulings, financing announcements, index changes, and unexpected news can move a security between trading sessions. A stop resting below a long position does not cap loss at that number if the next available trade is materially lower.

The fixed 0.5%, 1%, and 2% scenarios are small sensitivity checks. They are not stress tests for a security capable of double-digit gaps. Users should choose additional manual scenarios that reflect the asset and event calendar.

Position sizing does not measure investment quality

A carefully sized trade can still be based on weak evidence, a poor price, an unreliable security, or an unsuitable strategy. Position sizing changes the scale of an entered plan. It does not improve the underlying probability of success.

For a holding-period result that includes beginning value, ending value, dividends, contributions, and expenses, use the ETF Total Return Calculator. For income-specific analysis, use the Dividend Yield Calculator, Dividend Growth Calculator, and Dividend Reinvestment Calculator. Do not substitute a desired dividend income target for a trade-risk limit.

How to verify the calculation manually

  1. Multiply account balance by the selected risk percentage.
  2. Confirm the stop and target are on opposite sides of entry in the correct long or short order.
  3. Calculate the absolute entry-to-stop distance.
  4. Add estimated entry and exit slippage per share.
  5. Subtract round-trip fixed fees from the total risk budget.
  6. Divide the remaining budget by adjusted risk per share.
  7. Calculate the separate capital/notional share limit.
  8. Use the smaller raw share result.
  9. Round down to the broker-supported share increment.
  10. Recalculate total loss, including fees, to confirm it does not exceed the intended budget under the planned-fill assumption.
  11. Stress a worse exit price and review total portfolio exposure before entering an order.

What this calculator does not include

  • Live quotes, order-book depth, volume, volatility, or automatic ticker lookup.
  • A recommendation for entry, stop, target, risk percentage, or security.
  • A guarantee that any order will trigger, execute, or fill at the entered price.
  • Probability of profit, expected value, win rate, or strategy edge.
  • Partial fills, multiple entries, scale-outs, trailing stops, or stop changes.
  • Taxes, borrowing costs, margin interest, short-borrow fees, dividends owed, or foreign exchange.
  • Options, futures, forex, leveraged tokens, or contract multipliers.
  • Portfolio correlation, total open risk, sector concentration, or event exposure.
  • Broker eligibility, buying power, house margin, settlement, or liquidation rules.

Common position-sizing mistakes

  • Using position value as risk. Loss depends on effective entry, effective exit, quantity, and costs.
  • Ignoring fees and slippage. Both reduce the shares that fit inside a fixed budget.
  • Rounding up. Round down so the modeled loss does not exceed the intended limit.
  • Moving the stop to get more shares. Choose a defensible stop before calculating size.
  • Assuming the stop price is guaranteed. Market gaps and volatility can create a worse fill.
  • Ignoring a capital cap. A tight stop can otherwise create excessive notional exposure.
  • Forgetting portfolio heat. Several correlated positions can lose together.
  • Treating reward-to-risk as win probability. Payoff geometry does not establish an edge.
  • Using fractional precision the broker does not support. Confirm order and transfer rules.
  • Applying stock math to derivatives without a multiplier. This page is designed for share quantities.

For the broader ETF cost and execution workflow, start with the StockWin ETF Cost Calculators hub, then use the Bid-Ask Spread Calculator and ETF Total Cost Calculator before entering realistic slippage and fee assumptions here.

Primary sources and further reading

Frequently asked questions

What is the basic position-size formula?

Divide the dollar risk budget, after fixed round-trip fees, by the adjusted risk per share. Then apply a separate capital limit and round down.

Why does the calculator subtract fees before dividing?

Fixed round-trip fees are part of the planned total loss. Subtracting them from the budget prevents market loss plus entered fees from exceeding the selected amount under the planned-fill assumption.

Does the stop price guarantee my maximum loss?

No. A stop order can execute away from its trigger price, and a stop-limit order may not execute. Gaps, volatility, liquidity, and broker rules can produce a larger loss.

Can I use fractional shares?

Yes, if the broker and security support them. Enter the smallest supported share increment and confirm the broker's order, execution, fee, and transfer rules.

Can this calculate short-sale size?

It can calculate share geometry when target < entry < stop, but it does not model borrow availability, margin, borrow fees, dividends owed, recalls, or unlimited upside risk.

What if the capital limit is smaller than the risk limit?

The calculator uses the smaller raw quantity. The unused risk budget shows how much of the loss budget remains after the capital constraint and rounding.

Is a higher reward-to-risk ratio always better?

No. A ratio describes entered prices and costs. It does not measure probability, liquidity, strategy quality, or whether the target is realistic.

Should I always risk 1% per trade?

No. The default is only an example. Risk capacity and tolerance are individual, and total open exposure and correlated losses also matter.

Does the calculator include ETF expense ratios?

No. Expense ratios are ongoing fund costs, not fixed trade fees. Use the dedicated ETF cost calculators for holding-cost analysis.

Can the loss exceed the displayed gap scenarios?

Yes. The 0.5%, 1%, and 2% rows are sensitivity examples, not worst cases. A severe gap, halt, illiquidity, or short squeeze can create a much larger loss.

Important: This calculator is educational information, not investment, trading, brokerage, tax, legal, or risk-management advice. It does not recommend a security, position size, stop, target, order type, risk percentage, or trading strategy. Verify live prices, liquidity, fees, order behavior, account permissions, margin requirements, and current broker rules before acting.

Comments

Most Popular

한국거래소(KRX) 가이드: 코스피·코스닥·코넥스 구조와 확인 방법

RSI·MACD·스토캐스틱 사용법: 계산·신호·오류를 한눈에

코스피·코스닥 상장 요건: 7가지 심사 기준과 실제 절차