Position Sizing Calculator

Find the number of shares that keeps planned loss within a chosen percentage of the account.

Finance and MoneyUpdated 2026-11-192 min read
Position Sizing Calculator
Current capital available for trading.
Fraction of the account willing to be lost on this trade.
Planned purchase price per share.
Price at which the trade is exited for a loss. May be above or below entry.
Position size in shares
...
Maximum dollar risk...
Risk per share...
Position value...
Position as percent of account...

What it does

Position sizing turns a risk rule into a concrete number of shares. The trader first decides how much of the account can be lost on one trade, then sizes the position so that the stop loss distance matches that budget.

This tool takes the account balance, risk percent, entry price and stop price. It computes the dollar risk, the per share risk and the number of shares, along with the resulting position value.

The page opens with a 30,000 account, one percent risk, entry at 45 and a stop at 44.25. The dollar risk is 300, per share risk is 0.75, and the position is 400 shares worth 18,000.

The method assumes a one unit move in price changes profit or loss by one unit, which is true for ordinary shares. Forex, futures and options need contract specific adjustments.

A stop order does not guarantee execution at the stop price. Gaps and slippage can produce larger losses than the calculated risk.

How to use

  1. Enter the current account balance.
  2. Enter the percentage of the account you are willing to risk.
  3. Enter the planned entry price.
  4. Enter the stop loss price.
  5. Read the position size in shares as the main result.
  6. Check the position value and its share of the account.

Formula

Shares = (account balance times risk percent) / (absolute value of entry minus stop)
account
Current trading capital.
risk percent
Maximum fraction of the account to lose on the trade.
entry - stop
Price risk per share.

Using the absolute difference allows the same formula for long trades, where the stop is below entry, and short trades, where it is above. The result should normally be rounded down to a whole number of shares.

Worked example

Example: 30,000 account at one percent risk

The page opens with account 30,000, risk 1 percent, entry 45 and stop 44.25.

  1. Compute dollar risk: 30,000 times 0.01 is 300.
  2. Find risk per share: 45 minus 44.25 is 0.75.
  3. Divide 300 by 0.75 to get 400 shares.
  4. Position value is 400 times 45, or 18,000.
  5. That is 60 percent of the account, but the planned loss is only one percent.
  6. The tool reports shares 400 and risk_amount $300.00.

Reference table

Position sizing example
AccountRiskEntryStopShares
30,0001%4544.25400

Limits

  • Assumes one price unit changes profit by one unit.
  • Does not model gaps, slippage or commissions.
  • Does not account for borrowing or margin requirements.
  • Fractional share results may need rounding down.

Common mistakes

  • Using buying power instead of account capital.
  • Moving the stop closer simply to increase size.
  • Expecting a stop to guarantee the calculated loss.
  • Applying the share formula to futures or options without adjustments.
  • Rounding up to more shares than the formula allows.

Try it yourself

Quick checks. Answers sit tucked under each question.

30,000 account, 1% risk, entry 45, stop 44.25. Shares?

400.

What is the dollar risk?

$300.

What is the position value?

$18,000, or 60 percent of the account.

Questions

What is position sizing?

Choosing a trade size so planned loss fits a risk budget.

What is the formula?

Account risk divided by the distance from entry to stop.

Does it work for short trades?

Yes, because the absolute price difference is used.

Can position value exceed the account?

Yes with a tight stop, though margin rules may apply.

Does a stop guarantee the loss?

No. Gaps and slippage can make the loss larger.

What risk percentage is common?

Many retail traders use one to two percent.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.