Finance and Budgeting

Position Size Calculator

Enter your account size, risk percent, entry price and stop price to see the share count.

Your numbers

The share of the account you accept losing if the stop is hit.

Below the entry for a long trade, above it for a short.

More options

Result

Position size (long)

100 shares

$5,000.00 at $50.00

Amount at risk
$250.00
Risk per share
$2.50
Shares
100
Position value
$5,000.00
Position as a share of the account
20%
Loss if the stop is hit (with fees)
$250.00
Gain if the target is hit (after fees)
$750.00
Reward to risk ratio
3 to 1
How this was calculated
  1. Amount at risk = $25,000.00 x 1% = $250.00.
  2. Risk per share = |entry - stop| = $2.50.
  3. Shares = (amount at risk - fees) / risk per share = 100, rounded down to whole shares.
  • Arithmetic only, not investment advice. It assumes the stop fills at its price. Gaps, slippage, spreads, taxes and margin rules can make real losses larger.

Calculated using SumPanda.com · https://sumpanda.com/position-size-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the position size calculator

  1. Enter your account size and the percent of it you accept risking on one trade.
  2. Enter your entry price and your stop price. A stop below the entry means a long trade, and above the entry means a short.
  3. Optionally enter a target price and the fees for the round trip.
  4. Read the number of shares, the position value, the loss if the stop is hit and the reward to risk ratio.

Formula

Amount at risk = account size x risk percent

Risk per share = |entry - stop|

Shares = (amount at risk - fees) / risk per share, rounded down

Reward to risk = |target - entry| / risk per share

This is only arithmetic that turns a risk limit into a share count. It does not say whether a trade is a good idea.

Worked example

With a $25,000 account risking 1%, the amount at risk is $250. An entry at $50 with a stop at $47.50 risks $2.50 a share, so you buy 100 shares, a position of $5,000, which is 20% of the account.

A target of $57.50 would give $750 of gain for a 3 to 1 reward to risk ratio. A stop at $47 risks $3 a share and gives 83 whole shares, or 83.3333 with fractional shares. Subtracting $10 of fees gives 96 shares at the original stop.

Why size by risk

Sizing a position by how much you could lose, rather than by how many shares you feel like buying, keeps any one loss to a known share of your account. A wider stop means fewer shares, and a tighter stop means more. The calculation is the same for a stock, an exchange traded fund or any asset you can buy in units.

What can go wrong

A stop order does not guarantee the exit price. A price can gap past it, and the loss will be larger than the plan. Spreads, slippage, taxes and margin requirements also matter. If the position costs more than your account, it needs borrowed money, which this tool flags. It is arithmetic only and is not investment advice or a recommendation to trade.

Related tools

Work out a gain or loss in the stock profit calculator, find the average cost of several buys in the stock average calculator, and compare returns with the ROI calculator.

Assumptions and limits

  • The stop fills at the stop price. Gaps and slippage can make the real loss larger.
  • Fees are a flat amount for the whole trade and are subtracted from the amount at risk.
  • Shares are rounded down by default so that the risk never exceeds your limit.
  • This is arithmetic, not investment advice.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

How do I calculate position size?

Multiply your account by the percent you will risk, then divide by the distance between your entry and your stop.

What percent of my account should I risk?

That is a personal decision. This tool does not suggest a figure. It just converts the percent you choose into a share count.

Does it work for short positions?

Yes. If the stop is above the entry the tool treats the trade as a short and uses the same risk math.

Why does the tool round down to whole shares?

So the risk never exceeds your limit. You can untick the box to see fractional shares.