Position Size Calculator with Risk/Reward

How many shares can you buy so that, if your stop is hit, you lose no more than a set percentage or dollar amount of your account? Enter your account size, risk per trade, entry and stop. Add a target price to see the risk/reward ratio (R multiple), the reward in dollars and the break-even win rate. Works for long and short stock trades.

$
%
The most you are willing to lose on this trade if the stop is hit.
$
The most you are willing to lose on this trade if the stop is hit.
$
$
Long: the stop is below your entry.
Risk/reward (optional)
$
Leave blank to skip. Long: above your entry; short: below it.

Results update as you type. The page URL always contains your inputs, so you can bookmark or share it.

Results

Risk/reward ratio

Targets at other reward : risk levels

Position value vs. account size

Position size at other risk levels

How it's calculated

Risk limit (B) = account size × risk % ÷ 100 (or the fixed $ amount you enter) Risk per share (r) = |entry price − stop price| Shares = B ÷ r, rounded DOWN to a whole share Position value = shares × entry price Position % of account = position value ÷ account size Loss if stopped = shares × r (never more than B)

Risk/reward ratio (with a target price)

Risk per share (r) = |entry − stop| Reward per share (w) = |target − entry| R multiple = w ÷ r (risk : reward = 1 : w÷r) Break-even win rate = r ÷ (r + w) = 1 ÷ (1 + R multiple) $ risk = shares × r $ reward = shares × w (shares = the position size above)

Worked examples

1. Risking 1% of a $25,000 account

Risk limit = 25,000 × 1% = $250.00. Buying at $50 with a stop at $48 risks $2 a share, so shares = 250 ÷ 2 = 125 shares. The position is worth $6,250.00, which is 25% of the account, but only $250.00 (1%) is lost if the stop is hit. Load this example

2. Rounding down

$10,000 account, 1% risk = $100.00. Entry $23.40, stop $22.75: risk per share = $0.65, and 100 ÷ 0.65 = 153.846, rounded down to 153 shares. Position value $3,580.20 (35.80% of the account); loss at the stop $99.45, just under the $100 limit. Load this example

3. A short trade

$50,000 account, 0.5% risk = $250.00. Selling short at $80 with a stop above at $82.50 risks $2.50 a share: 250 ÷ 2.50 = 100 shares sold short, a $8,000.00 position. Load this example

4. A tight stop can need more money than you have

$5,000 account, 2% risk = $100.00. Entry $40, stop $39.80: only $0.20 of risk per share, so the formula gives 500 shares, a $20,000.00 position, 400% of the account. Without margin that isn't possible; with cash alone you could buy at most 5,000 ÷ 40 = 125 shares, risking $25.00. The calculator flags this with a warning. Load this example

5. A fixed dollar risk

Risking a flat $150 per trade, entry $12.50, stop $11.90: 150 ÷ 0.60 = 250 shares, a $3,125.00 position. Load this example

6. Risk/reward: a 3R long trade

Example 1 with a target of $56: risk = $2 a share, reward = $6, so the R multiple is 6 ÷ 2 = 3.00R (risk : reward 1 : 3). Break-even win rate = 2 ÷ (2 + 6) = 25.00%. With the 125 shares from example 1: $250.00 at risk for a possible $750.00. Load this example

7. Risk/reward on a short trade

$25,000 account risking 1% ($250.00). Sell short at $120, stop at $125, target $110: risk $5, reward $10, so 50 shares, 2.00R, break-even win rate 5 ÷ 15 = 33.33%: $250.00 risk, $500.00 reward. Load this example

8. Reward smaller than risk

Buy at $20, stop at $18, target $21: risking $2 to make $1 is 0.50R. Trades like this need to win more than 66.67% of the time just to break even before costs. Load this example

Frequently asked questions

How do I calculate position size for a stock trade?

Decide how much you are willing to lose if your stop is hit (for example 1% of a $25,000 account = $250). Divide that by the distance between your entry and stop (entry $50, stop $48 = $2 a share). $250 ÷ $2 = 125 shares. Round down if it is not a whole number.

What is the 1% rule in trading?

A rule of thumb often cited in trading education: limit the loss on any single trade to about 1% of your account (some use 2%). It caps the planned loss if the stop is hit, not the size of the position. It is a convention, not a guarantee or a recommendation; this calculator works with whatever percentage you choose.

Why is my position so much bigger than the amount I am risking?

Because you only lose the distance to your stop, not the whole position. In example 1, a $6,250 position risks $250 because the stop is $2 below a $50 entry. The tighter the stop, the bigger the position for the same risk.

How do I calculate the risk/reward ratio?

Risk per share is the distance from entry to stop; reward per share is the distance from entry to target. Divide reward by risk. Entry $50, stop $48, target $56: risk $2, reward $6, so the trade is 1:3 risk/reward (3R). Enter a target price above to have it calculated, along with the dollar reward for your position size.

What is a good risk/reward ratio?

There is no single good number, because a ratio only means something together with how often trades reach the target. Before costs, a 1:2 trade breaks even at a 33.3% win rate and a 1:1 trade at 50%. A 1:3 ratio with a 20% win rate still loses money. This calculator shows the arithmetic; it can't tell you how often a trade will work.

What is the break-even win rate?

The share of trades you would need to win for wins and losses to cancel out, if every win made exactly the planned reward and every loss cost exactly the planned risk: risk ÷ (risk + reward). At 1:3 that is 25%. Commissions and slippage push the real break-even point higher.

What does R multiple mean? Is 1:3 the same as 3:1?

R is the amount you risk on a trade (entry to stop). A result expressed in R is a multiple of that risk: a 3R target makes three times what you risk, and hitting the stop is −1R. "Risk/reward 1:3" and "reward/risk 3:1" usually describe the same trade written in a different order, which is why this page labels both and also shows the R multiple.

Does this work for short selling?

Yes. Choose "Short": the stop must be above your entry (and a target below it), and the risk per share is stop minus entry. Short selling is typically done in a margin account and is subject to margin rules, and your broker sets the collateral it requires; this calculator doesn't model that.

Is the loss at my stop guaranteed to be the maximum?

No. The calculation assumes you exit exactly at the stop price. Prices can gap past a stop (for example overnight or on news), and a stop order may fill at a worse price. Commissions are also not included.

What if the position is bigger than my account?

Then you would need margin (borrowed money) to open it. This calculator assumes no margin, shows a warning, and tells you the largest number of shares you could buy with cash, along with the dollar risk at that size.

Can I use this for options, futures or forex?

Not directly. It assumes one share moves one dollar for each dollar the price moves, which is true for stocks and ETFs. Options and futures contracts have multipliers, and forex uses lots and pip values.

Spotted an error?

Accuracy matters more than anything else here. If a number, formula or explanation on this page looks wrong, please email a correction. The email opens with this page's link, including your current inputs, already filled in. What to include in a report.

More calculators

Disclaimer: InvestorMath calculators give educational estimates, not financial, investment or tax advice. Results depend entirely on the assumptions you enter; real returns vary and are not guaranteed, and past performance does not predict future results. Check important decisions with a qualified professional.