New

Complete Suite: all 11 tools. 5 new Premium desks inside.All 11 tools $557.98 one by one

$557.98 one by one $97 once Save $460.98Get the SuiteGet it

Stock position size calculator

Size a stock or ETF trade in shares from your risk and stop, with a cap on how much of the account it takes.

Updated 21 October 2026. Runs in your browser; nothing you type is uploaded.

Example: $25,000, 1% risk46 shares risks $248

Try a worked example

Direction

Risk per trade as

Share rounding

Rounds down to 1 share

$250.00 at risk

$5.40 a share away (4.00%)

Optional; 0 leaves it out

Of equity in one stock: $6,250.00

Charged on the entry and again on the exit

Long, $25,000 account, 1% risk

Buy 46 shares

A $6,210.00 position (24.8% of equity) that loses $248.40 (0.99%) at the stop

Position value

$6,210.00

24.8% of equity

Cap 25%: $6,250.00

Loss at the stop

$248.40

0.99% of equity; budget $250.00

46.30 shares by risk before rounding

Break-even price

$135.00

No commission

1R $140.40 · 2R $145.80 · 3R $151.20

Net profit at target

+$621.00

2.50 R net reward to risk

Target $148.50, commission included

Map stock and ETF structure on TradingView

Inspect 19 open-source Pine Script v6 indicators for order blocks, session sweeps and volume profile levels before sizing your shares.

Explore Pine Pro Library

Track realized R-multiples in TradeLens

Log your equity and options-underlying trades in a self-hosted journal with one-time ownership and zero monthly subscription.

See the TradeLens journal

Share this calculator

Post on XPost to Reddit
Embed or cite it on your site

Free on any site, blog, Notion page or Substack: paste this code to show the live calculator. The credit line is optional; keep it, edit it, add rel="nofollow" or remove it.

<iframe src="https://proea.app/embed/tools/stock-position-size-calculator" title="Stock position size calculator" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" style="display:block;width:100%;height:820px;border:0;border-radius:12px"></iframe>
<p style="font-size:12px">Stock position size calculator by <a href="https://proea.app/en/tools/stock-position-size-calculator?utm_source=embed&utm_medium=referral&utm_campaign=stock-position-size-calculator">ProEA</a></p>

Writing about it instead? Cite the method and link the page:

The math: shares = min( (risk $ − 2×comm) ÷ |entry − stop| , equity × maxAlloc% ÷ entry )

Read the full guide

Stock position size: why you need both a stop-loss risk cap and an allocation cap

In equities and ETFs, sizing strictly by stop-loss distance (shares = dollar risk ÷ |entry − stop|) works well on normal swing stops (3%–8% away from entry), but creates dangerous position concentration when your stop is tight (for example, a 0.4% intraday stop on SPY or a high-priced tech stock). A 1% account risk with a 0.4% stop implies putting 250% of your account equity into a single ticker — exposing you to overnight gap risk, halt risk, or margin calls if price gaps past your stop order.

Pairing your stop-loss risk rule with a maximum position allocation cap (commonly 10% to 25% of equity per position for swing portfolios, or 25% to 50% for active day traders) ensures your recommended share count is the smaller of the two limits:

Scenario ($25,000 equity, 1% = $250 risk)Entry / StopStop %Shares by risk aloneShares with 25% ($6,250) capActual $ risk at stop
Swing breakout (4% stop)$135.00 / $129.604.00%46 shares ($6,210)46 shares (risk binds)$248.40 (0.99%)
Tight pullback (2% stop)$135.00 / $132.302.00%92 shares ($12,420)46 shares (the 25% cap binds)$124.20 (0.50%)
Index ETF intraday (0.4% stop)$500.00 / $498.000.40%125 shares ($62,500)12 shares (the 25% cap binds)$24.00 (0.10%)

Whole or fractional shares, and where your 1R, 2R and 3R targets sit

Most exchange-routed limit and stop orders execute in whole shares, so rounding down (Math.floor) keeps your actual dollar loss at the stop at or below your planned risk budget. If your broker supports fractional share orders on smaller accounts, switch Share rounding to Fractional (0.01) to size high-priced equities without exceeding your risk percentage.

Once your share count is fixed, the calculator prints your commission-adjusted break-even price alongside the exact 1R, 2R, and 3R price targets. If you scale into or out of a stock across multiple fills, check your blended entry and break-even in the average down calculator, or sum the combined stop-loss exposure across all your open tickers in the open position risk calculator.

Method and privacy

Method: Risk shares = (dollar risk budget − round-trip commission) ÷ |entry − stop|, rounded down to whole shares or 0.01 fractional shares. When max allocation % > 0, shares are also capped at (equity × max allocation % ÷ entry). Actual loss at stop = shares × |entry − stop| + round-trip commission. Does not model overnight gap slippage or borrow fees.

Calculations run entirely in your browser — nothing you type is uploaded. Your last numbers stay in this browser so you can pick up where you left off; Forget them clears them. A link with your numbers carries them after the # sign, which browsers do not send to servers, and the page takes them out of the address before any analytics loads. Copy and download actions save your calculation locally. The site may record coarse tool actions under its privacy policy, without inputs, results, file contents or filenames.

Common questions

How do I calculate how many shares of a stock to buy?

Multiply your account equity by your risk percentage to find your dollar risk budget, subtract round-trip order commissions, and divide by the dollar distance between your entry price and stop-loss price (|entry − stop|). Round down to the nearest whole share so your loss at the stop stays within budget.

Why did the calculator cap my shares below my 1% risk budget?

When your stop-loss is very close to your entry price (for example, a 0.5% intraday stop), sizing by stop distance alone would put 200% of your account into a single stock. The max position allocation cap (default 25% of equity) limits the notional position size so one gap cannot wreck your portfolio.

Does this calculator work for short selling stocks and fractional shares?

Yes. Switch Direction to Short (Sell) when your stop-loss sits above your entry price, or switch Share rounding to Fractional shares (0.01) if your broker supports dollar-based fractional equity orders.

How are the 1R, 2R, and 3R stock target prices calculated?

One R per share equals your stop distance per share plus round-trip commission per share. For a long trade, 1R, 2R, and 3R add 1×, 2×, and 3× that per-share risk to your entry price; for a short trade, they subtract it.

Get this size on your TradingView chart

  • Prop Firm Challenge Toolkit (.pine) Your daily-loss limit and drawdown floor (static, trailing end-of-day or trailing intraday) on the TradingView chart, with a sizer that turns risk % and stop into a size. It uses the numbers you enter; it does not read your broker. $29 once.

Goes deeper

Limits and trading risk

These tools calculate from your inputs, supported historical records or explicitly labelled teaching examples. They do not verify a live account, predict future returns or confirm that a broker or prop-firm rule has been met. Missing costs, floating losses and changed market conditions can materially change outcomes. Trading can lose the capital committed to it; check the stated method and your account specifications.

Read the risk disclosure