Stock Position Size Calculator
Calculate a long stock trade's share count from the loss you choose and the distance between entry and stop. Percentage risk and dollar risk stay in sync, and the complete worked example is already calculated.
Shares to buy
500
Whole-share position using the $1,000 risk budget
- Risk budget
- $1,000.00
- Risk per share
- $2.00
- Planned risk at stop
- $1,000.00
- Unused risk budget
- $0.00
- Position value
- $25,000.00
- Capital exposure
- 25.00%
- Theoretical shares
- 500
- Binding limit
- Risk budget
Your numbers in the formula
Risk budget divided by entry-to-stop distance gives the unrounded share count. Whole-share mode rounds down so planned risk does not exceed the chosen budget.
$100,000.00 Γ 1.00% = $1,000.00
$1,000.00 Γ· ($50.00 β $48.00) = 500 shares
Check the formula and sources. Planned risk assumes an exit at the entered stop price; a stop order does not guarantee that execution price.
Borrowing to fund these shares?
Position sizing answers how many shares fit the stop-defined risk budget. Margin is a separate calculation with borrowing cost and maintenance risk.
Carry the entry price and share count into the stock margin calculator to estimate cash required, broker loan, interest, break-even, and margin-call price.
Estimate margin for this positionHow to calculate stock position size
Choose the planned account risk
Enter either a percentage or a dollar risk budget. Editing one updates the other from account value, so a 1% risk on a $100,000 account displays the same $1,000 budget.
Enter the planned entry and stop
The difference is risk per share. An entry at $50 and stop at $48 creates $2 of planned risk for each share, before gaps, slippage, commissions, and tax.
Read the lower valid share count
The calculator divides the risk budget by risk per share. If an optional cash cap is present, it also divides that cap by entry price and uses the lower share count.
Check exposure and rounding
Whole-share mode rounds down. The result separately shows position value, capital exposure, planned risk, theoretical shares, and any budget left unused by rounding.
Position size formula
This page uses fixed-fractional stock sizing: first convert the chosen account percentage to dollars, then divide that risk budget by the price distance from entry to stop. A cash cap can only reduce the result.
Risk budget = account value Γ risk percentage
Shares = risk budget Γ· (entry price β stop price)
Position value is not the same as planned risk
A $25,000 position can have $1,000 of planned stop-defined risk when each of 500 shares risks $2. Capital exposure shows how much of the account is tied to the stock; planned risk shows the loss only if an exit occurs at the entered stop. Keeping both visible prevents a small stop distance from disguising a concentrated position.
A stop price is not a guaranteed maximum loss
The SEC explains that reaching a stop price normally turns a stop order into a market order. In a fast market or overnight gap, the execution price can be materially worse. A stop-limit order controls the acceptable execution price but may not execute at all. The result is therefore a plan at the entered stop, not a promise about the largest possible loss.
Whole shares and fractional shares
Whole-share mode always rounds down. Fractional mode reports up to six decimals without implying that the broker accepts that increment. The SEC notes that fractional availability, eligible securities, order types, execution timing, fees, liquidity, voting, and transfer rules can differ by broker.
What this stock risk calculator deliberately excludes
It models one long stock position from numbers you enter. It does not fetch prices, choose a stop, recommend a risk percentage, size short sales or derivatives, model portfolio correlations, predict returns, save a trade plan, or send calculator inputs to the server.
Worked position-sizing examples
The default reproduces Fidelity's published share-count example; the other cases show rounding and the optional cash cap.
- Fidelity example. A $100,000 account at 1% creates a $1,000 risk budget. With $2 risk per share, $1,000 Γ· $2 gives 500 shares.
- Wider stop. Fidelity also shows the same $1,000 budget divided by $5 risk per share, producing 200 shares. More risk per share means fewer shares at the same account risk.
- Whole-share rounding. A $1,000 budget with $3 risk per share gives 333.333 theoretical shares. Whole-share mode returns 333 shares, plans $999 of risk, and leaves $1 unused.
- Cash cap. Risk sizing may allow 500 shares at $50, but a $10,000 cash cap allows only 200 shares. The binding limit changes from risk budget to available cash.
- Exposure check. The default 500 shares at $50 create a $25,000 position, or 25% of the $100,000 account, even though planned loss at the entered stop is 1%.
Verified against Fidelity's published position-sizing example
Fidelity's Learning Center publishes the risk budget, formula, and expected share counts. Running those same figures through CalcStocks produces the same results:
- Risk budget. Fidelity: 1% of $100,000 trading capital is $1,000. CalcStocks: $1,000 risk budget β match.
- Formula. Fidelity: risk per trade Γ· risk per share = position size. CalcStocks uses the same order of operations β match.
- $2 per-share risk. Fidelity: $1,000 Γ· $2 = 500 shares. CalcStocks: 500 shares β match.
- $5 per-share risk. Fidelity: $1,000 Γ· $5 = 200 shares. CalcStocks: 200 shares β match.
Fidelity Learning Center β Exit Strategy presentation — the first-party source for every expected figure above; see pages 3 and 6.
Checked 28 July 2026. Fidelity supplied the public educational example; it has not reviewed or endorsed CalcStocks. Its percentages are examples, not a universal rule or a recommendation.
Position size and stock risk questions
The calculation, the result, stop-order limits, fractional shares, and what this tool does not decide for you.
Calculate shares
How do I calculate stock position size?
Choose a dollar risk budget, then divide it by the risk per share. Risk per share is entry price minus stop price for a long stock trade. A $1,000 budget and $2 entry-to-stop distance produce 500 theoretical shares.
What does risk per trade mean?
It is the loss you plan for if this one position exits at the exact stop price. It is not the position's purchase value and it is not a guaranteed maximum loss, because real execution can occur above or below the entered stop.
How do I convert a risk percentage into dollars?
Multiply account value by the percentage expressed as a decimal. For example, 1% of $100,000 is $1,000. The percentage and dollar fields on this page stay synchronized so either can be the value you type.
Can I enter a fixed dollar risk instead of a percentage?
Yes. Edit the dollar risk budget directly and the percentage updates from account value. The calculator remembers which risk field you edited last and preserves that value when another input changes.
Read the result
What is the difference between position value and amount at risk?
Position value is shares multiplied by entry price. Planned risk is shares multiplied by the entry-to-stop distance. A $25,000 stock purchase can therefore show $1,000 of planned stop-defined risk, while the full position remains exposed to larger moves.
What is unused risk budget?
It is the chosen dollar budget minus planned risk after the share count is rounded or cash-capped. Whole-share sizing commonly leaves a small amount unused because part of a share cannot be purchased in that mode.
What does capital exposure mean?
It is position value divided by account value. FINRA describes concentration risk as amplified loss potential from placing a large portion of holdings in one investment or market segment. The calculator reports exposure but does not prescribe a limit.
Why did the cash cap reduce my share count?
Risk sizing can produce a position larger than the cash you intend to commit, especially when the stop is close to entry. When a cash cap is entered, the calculator uses the lower of risk-sized shares and cash-capped shares.
Stops and execution
Is the entered stop price a guaranteed selling price?
No. The SEC explains that a stop order normally becomes a market order when triggered, and the execution price can differ significantly in a fast market. The calculator therefore calls the output planned risk at the stop price.
Can my loss be larger than the planned risk?
Yes. A gap, rapid price move, limited liquidity, delayed trigger, fees, or an order that does not execute can make the realized loss larger. The result is arithmetic under the entered prices, not a guarantee.
What happens if the stock gaps below my stop?
A triggered stop order may execute near the next available market price rather than at the stop. If that price is lower, actual risk per share is larger than the entry-to-stop distance used by the calculator.
What is the difference between a stop and a stop-limit order?
A stop order generally becomes a market order when triggered, so execution is likely but the price is not guaranteed. A stop-limit order controls the acceptable price, but the SEC warns that it may not execute if the market moves through the limit.
Does the calculator choose where I should place a stop?
No. It only calculates from the price you enter. Stop selection is a separate decision involving the security, strategy, volatility, liquidity, time horizon, and tolerance for loss.
Scope and privacy
Does every broker support fractional shares and stop orders?
No. SEC investor bulletins note that availability, eligible securities, order types, execution practices, minimums, and platform restrictions can vary. Check the current agreement and order ticket at the broker that will execute the trade.
Does this include commissions, slippage, taxes, or dividends?
No. Those values do not change the basic share-count formula and differ by broker, account, security, and taxpayer. Their omission means actual cash required and realized loss can differ from the displayed plan.
Can I use this for short selling, options, forex, crypto, or futures?
No. This page models one long stock position in shares. Short sales, option contracts, forex lots, crypto leverage, and futures tick values have different sizing and loss mechanics and need separate tools.
Does this calculator include margin or leverage?
No. The optional cash cap assumes the position cannot exceed the cash amount you enter. If borrowing is involved, use the linked stock margin calculator to model cash contribution, loan, interest, and maintenance requirements separately.
Does CalcStocks fetch prices, save my inputs, or send them to a server?
No. You enter every number and the calculation runs locally in the browser. There is no ticker lookup, account connection, portfolio storage, cookie identifier, or server request containing the calculator inputs.
Is the result investment advice?
No. It is transparent arithmetic using your assumptions. It does not assess whether the stock, entry, stop, account risk, position concentration, or strategy is appropriate for you.
Why might my broker show a different executable share quantity?
Available cash, settled funds, buying power, minimum order size, fractional increments, current quote, fees, security restrictions, and margin rules can all change what an order ticket accepts. The broker's live order controls.
Other stock calculators
Keep each next calculation separate: model borrowing and margin risk, or compare a defined option payoff.
Stock Margin Calculator
Size a margined stock position from cash, shares, or position value. See buying power, loan interest, break-even, and the estimated margin-call price.
Options Profit Calculator
Four strategies in one tool β long call, long put, covered call and cash-secured put β with breakeven, max profit and loss, and a payoff chart.
Method, primary sources, and limitations
Built and maintained by CalcStocks as a browser-only arithmetic tool. The formula is shown, the default is checked against a first-party published example, and no outside expert review or endorsement is claimed.
- Fidelity Learning Center β Exit Strategy β the risk-per-trade divided by risk-per-share formula and worked 500-share and 200-share examples.
- Investor.gov β Stop, Stop-Limit, and Trailing Stop Orders β the primary source for why a stop trigger is not a guaranteed execution price.
- FINRA β Concentrate on Concentration Risk β why the position's share of account value is shown separately from stop-defined planned risk.
- Investor.gov β Fractional Share Investing β the primary source for broker-specific availability, order, execution, fee, liquidity, and transfer differences.
Educational estimate for one long stock position. Whole-share mode rounds down; fractional mode is an arithmetic estimate only. Planned risk assumes an exit at the entered stop price and excludes gaps, slippage, commissions, taxes, dividends, liquidity, portfolio correlation, short positions, derivatives, margin, and broker restrictions. Nothing here is investment, legal, or tax advice.