1. Calculators
  2. Trading & Risk Management

Position Size Calculator for Stocks

Turn your account balance, the risk you accept per trade and your stop-loss into a number of shares. Size by capital instead, or check how much money an existing position puts at risk.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

Size the position from the loss you accept if the stop-loss is hit. The stop decides the distance; the risk decides the number of shares.

Fills the latest price and a stop two ATRs below it. You can change any value afterwards.
Position
$
$
Below the entry: where you sell if the trade fails.
Risk per trade as
$
Your account value (equity), including cash and open positions.
%
The share of the account you lose if the stop is hit.

Results

Shares to buy108 sharesExact size 108.70 shares, rounded down to a whole share
Position value
$5,227.20
Share of the account
20.9%
Position value ÷ balance
Risk per share
$2.30
A 4.75% stop distance
Actual risk if stopped
$248.40
0.99% of the account
Risk you set
$250.00
1.00% of the account

You can lose $250.00 and each share loses $2.30 if the stop is hit, so the position is 108 shares. Because the stop is 4.75% away, risking 1.00% of the account means putting 20.9% of it into this one stock.

Position value as a share of the account, by stop distance

0%50%100%150%200%0.5%3%5.5%8%10.5%13%15.5%18%Whole accountYour stop

Same $250.00 at risk. A tight stop puts a large part of the account in one position; above the 100% line you would need margin.

Shares at different risk levels

Same entry and stop ($2.30 risk per share). Your setting is outlined.

Risk per tradeMoney at riskSharesPosition valueShare of account
0.5%$125.0054$2,613.6010.5%
1%$250.00108$5,227.2020.9%
2%$500.00217$10,502.8042.0%
3%$750.00326$15,778.4063.1%

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the position size calculator

The page has three tools. By risk is the classic method for traders: it finds the number of shares that loses a fixed amount if the stop-loss is hit. By capital sizes from a budget, with a cap on how much of the account any one stock can take. Risk per trade works the other way round, from a number of shares to the money at risk.

  1. Choose long or short. For a long trade the stop sits below the entry; for a short sale it sits above.
  2. Enter the entry price and the stop-loss price. Put the stop where the trade idea is proven wrong, such as below a support level, not where the loss feels comfortable. Our stop-loss calculator helps place it from a percentage or from the stock’s ATR.
  3. Enter the account balance and the risk. Risk can be a percentage of the account or a fixed dollar amount.

The result is the number of shares, rounded down so the loss never exceeds your limit, together with the position value, its share of the account and the actual dollar risk after rounding.

The position sizing formula

Money at risk = Account balance × Risk %
Risk per share = |Entry price − Stop price|
Shares = Money at risk ÷ Risk per share, rounded downThe position value is Shares × Entry price. The actual risk is Shares × Risk per share, which is at or slightly below the money at risk because of the rounding.

Sizing by capital is simpler:

Shares = min(Capital, Balance × Maximum %) ÷ Share price, rounded downThe maximum percentage is your own limit for a single position, such as 10% or 20% of the account.

A worked example

You have a $25,000 account and accept a loss of 1% on any trade, which is $250.00. You plan to buy at $48.40 with a stop at $46.10, so each share can lose $2.30.

$250.00 ÷ $2.30 is 108.70 shares. Rounded down, you buy 108 shares, a position worth $5,227.20, or 20.9% of the account. If the stop is hit you lose $248.40.

A short sale works the same way. Selling short at $30 with a stop at $31.25 and $400 at risk gives 320 shares, worth $9,600.00.

The stop decides the size, not the other way round

The money at risk stays fixed; the stop distance changes how much stock that money buys. For the same $25,000 account risking 1% with an entry at $48.40:

Stop price Risk per share Shares Position value Share of account
$43.60 $4.80 52 shares $2,516.80 10.1%
$46.10 $2.30 108 shares $5,227.20 20.9%
$47.90 $0.50 500 shares $24,200.00 96.8%

All three trades lose about the same money if they fail. The tight stop simply needs a much larger position to make that loss possible, which is why the chart on the “By risk” tab rises so steeply on the left. A stop placed very close to the entry also gets hit more often by ordinary price noise, so a tighter stop is not automatically a safer trade.

Choosing the risk per trade

The percentage you risk sets how fast the account shrinks in a losing streak. With the example entry and stop:

Risk per trade Money at risk Shares Position value
0.5% $125.00 54 shares $2,613.60
1% $250.00 108 shares $5,227.20
2% $500.00 217 shares $10,502.80

Losing streaks are normal even for a profitable strategy. At 1% per trade, ten losses in a row cost about 9.6% of the account; at 3% they cost about 26%. Sizing by a percentage also scales automatically: after losses the dollar risk shrinks, after gains it grows. A fixed dollar amount keeps the risk constant instead. The risk of ruin calculator shows how the choice affects the odds of a deep drawdown.

Sizing by capital and position limits

Long-term investors often size by money rather than by a stop: put a set amount into each stock, but never more than a fixed share of the account. In the example, $6,000 is more than the 20% cap allows, so the calculator limits the budget to $5,000.00 and buys 103 shares. With $3,000 the cap does not bind and the position is 61 shares.

A 20% cap means the account holds at least five positions; a 5% cap, at least twenty. The limit protects against a single company’s bad news, which a stop-loss cannot always do, because shares can open far below the stop after an earnings report.

Checking the risk on a position you already hold

The Risk per trade tab answers the reverse question. Holding 150 shares bought at $48.40 with a stop at $46.10 puts $345.00 at risk, which is 1.38% of the account. To bring that down to 1% with the same stop, you would hold 108 shares.

What this calculator does not include

  • Gaps and slippage. A stop-loss becomes a market order when triggered. If the stock opens below the stop, the fill and the loss can be much worse than planned.
  • Commissions and spreads, which add to the loss on every trade. See the trading cost calculator.
  • Margin costs and limits. When the position is larger than the account, the calculator warns you but does not check your broker’s buying power or margin interest. The leverage and margin calculator covers that.
  • Correlation. Five positions in the same sector, each risking 1%, can behave like one position risking 5%.
  • Fractional shares. The calculator rounds down to whole shares; some brokers allow fractions.

Frequently asked questions

How do I calculate position size for a stock trade?
Divide the money you are willing to lose by the distance from your entry to your stop-loss, and round down to whole shares. Risking 1% of a $25,000 account ($250.00) with an entry at $48.40 and a stop at $46.10 gives 108.70 shares, so you buy 108 shares.
How much should I risk per trade?
There is no single right figure. Many active traders keep the loss on any one trade between 0.5% and 2% of the account, because a run of losses at that rate leaves the account largely intact. The calculator's Risk per trade tab shows what ten losses in a row would do at any rate you choose.
Is risk per trade the same as position size?
No. Position size is how much stock you hold; risk per trade is what you lose if the stop is hit. In the example, $250.00 of risk becomes a position worth $5,227.20, because the stop is only 4.75% below the entry.
What if the position size is larger than my account?
That happens when the stop is very close to the entry. Buying the full size would need margin, borrowed money from your broker. You can use fewer shares (and risk less than planned), widen the stop and size down, or use margin and accept the costs and risks that come with it.
Does this work for forex or futures?
The logic is the same, but the units differ. For currency pairs, use the forex lot size calculator, which converts pip values into lots for any pair and account currency.

Related calculators

All calculators →

Check the numbers for real companies

All stocks →

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.