Home / Trading Tools / Position Size Calculator

Risk & position sizing

Position Size Calculator

Risking 1% of a $10,000 account with a 2% stop sizes the position at $5,000, and a 4% stop halves it to $2,500.

Size a trade from balance, risk and stop distance, for forex, stocks, crypto, futures and indices. Most calculators stop at the lot size. This one also prices the costs into the size, shows the margin it demands, and tells you what the trade does to your expectancy and drawdown.

Quick answer: the formula and one example

Position size = (balance x risk %) divided by (stop distance in pips x pip value per lot).

Example: a $10,000 account risking 1% accepts a $100 loss. A 50 pip stop at $10 per pip on a standard lot is $500 of risk per lot, so $100 divided by $500 is 0.20 lots.

Same $100 risk, different stops (USD-quoted pair, $10 per pip per lot, rounded down to 0.01 lot)
StopRisk per lotPosition size
10 pips$1001.00 lots
20 pips$2000.50 lots
30 pips$3000.33 lots
50 pips$5000.20 lots
75 pips$7500.13 lots
100 pips$10000.10 lots

By instrument: JPY pairs use a 0.01 pip, so the pip value changes with the price. For shares, size = risk amount divided by (entry price minus stop price). For gold, indices and crypto the value per point or per unit depends on the contract, so read your broker's contract specification first.

Always round down to your broker's lot step. Rounding up risks more than you chose. The calculator below does this sum with your spread and commission included.

The trade
Stop defined by
Costs, leverage, edge
The size
Position size
0.49 lots
48,733 units
Risk if stopped
$250
1.00% of balance
Stop distance50.0 pips
Notional exposure$56,774
Margin required$1,892
Effective leverage2.3 : 1
Round-turn cost$6.34
Cost as share of risk2.5% of risk
Risk / reward1 : 2.00
Profit at target, after costs$481
Break-even win rate33.3%
Expectancy at your win rate0.35R per trade
Losses in a row to −20%23 losses
USD account. Pip value $10 per standard lot. Spread and commission are subtracted from the risk budget before sizing.
Save this plan and it feeds your expectancy, drawdown and risk-of-ruin statistics. Create your account

The formula

Position size is the only variable that lets you fix the loss in advance. Choose the loss first, measure the distance to the stop, then divide.

risk amount = balance × risk %
stop distance = | entry − stop |
value per unit = pip value, or 1 per point
size = (risk amount − costs) ÷ (stop distance × value per unit)

The subtraction is the part most calculators leave out. If spread and commission come out of the same pot as the stop, the size that risks exactly 1% is smaller than the naive answer.

Worked example

A $25,000 account, 1% risk, long EUR/USD at 1.1650, stop 1.1600, target 1.1750, 0.6 pip spread, $7 per lot round turn.

risk amount25,000 × 1% = $250
stop distance0.0050 = 50 pips
value per pip$10 per standard lot
naive size250 ÷ 500 = 0.50 lots
cost-adjusted size250 ÷ 513 = 0.487 lots

Half a lot is 50,000 units of base currency: about $58,250 of exposure against $250 of accepted risk. The exposure is large, the loss is bounded, provided the stop is honoured.

What this one does that a lot-size calculator does not

Cost-adjusted

Spread and commission come out of the risk budget before the size is computed, not after.

Volatility stops

Define the stop as an ATR multiple and the size adjusts with conditions instead of your mood.

Margin and leverage

The size that is affordable on margin is not the size that is sane on risk. Both numbers are shown.

Edge, not just size

Break-even win rate, expectancy at your own hit rate, and how many losses in a row reach −20%.

Every market

Forex in pips including JPY pairs, and stocks, crypto, indices and futures in price units.

Assumptions this calculator makes

Account currency is USD
Non-USD accounts need the pip value converted at the current rate.
One standard lot is 100,000 units
Mini lots are 10,000 and micro lots 1,000 units.
JPY pip value uses the entry price
For JPY-quoted pairs a pip is 0.01, worth 1,000 ÷ price per lot.
Slippage is not modelled
A gap through your stop can produce a larger loss than calculated.
Expectancy assumes your inputs hold
It applies the win rate you typed to this trade's reward-to-risk, nothing more.
Nothing here is a forecast
The calculator quantifies one trade under your inputs. It does not predict profit.

Frequently asked

How much should I risk per trade?

Most systematic traders size between 0.25% and 2% of equity. The right number follows from your strategy's expectancy and drawdown profile, not from preference. Run it through the risk of ruin and drawdown calculators before committing.

Why is your lot size smaller than other calculators?

Because spread and commission are subtracted from the risk budget first. Set both to zero and the number matches the standard formula exactly.

Should position size change with volatility?

If the stop is volatility-based it already does. Choose the ATR multiple mode: a wider stop in volatile conditions gives a smaller size at the same risk. See ATR Calculator.

Why is margin different from risk?

Margin is collateral against the notional exposure. Risk is the loss you accept if the stop is hit. They are unrelated numbers, and a size that is affordable on margin can still be reckless on risk. See Margin Calculator.

Does it work for stocks and crypto?

Yes. Pick the market and the output becomes a share, coin or contract count. The arithmetic is identical, only the value per unit changes.

What if the size is below my broker's minimum?

Then the trade is too large for the account at that stop distance. Widen the account, tighten the stop, or skip the trade. Do not round the size up.

Related tools

All tools →
Risk/Reward Calculator Break-even win rate for a given ratio. Stop Loss Calculator Stop distance from risk and a fixed size. Pip Calculator Pip value for the pair you are sizing. Risk of Ruin Calculator Whether that risk level survives a losing run.

See also: Candlestick Pattern Cheat Sheet, Formations that look identical, Indicator guides: formulas, worked examples and tested results.

Create your account to see the custom crypto strategies and indicators.

Crypto strategies, crypto indicators, breakout signals and custom bots, in one account.

Create your account

Position size by account and stop

The formula needs three numbers. This table fixes the risk at 1% and the pip value at $10 per standard lot and shows how the size changes with the account and the stop. Double the stop and the size halves; double the account and the size doubles.

Lots on a USD-quoted pair for a 1% risk, by account size and stop distance. One pip on a standard lot is $10; sizes are rounded down to 0.01 lot.
Account10 pip stop20 pip stop50 pip stop100 pip stop
$1,0000.10 lots0.05 lots0.02 lots0.01 lots
$5,0000.50 lots0.25 lots0.10 lots0.05 lots
$10,0001.00 lots0.50 lots0.20 lots0.10 lots
$25,0002.50 lots1.25 lots0.50 lots0.25 lots
$100,00010.00 lots5.00 lots2.00 lots1.00 lots

To check any cell: a $10,000 account risking 1% is $100; with a 50 pip stop that is $2 a pip, which is 0.20 lots because one pip on a lot is $10.

Pip risk: what each pip is allowed to cost

Pip risk is the amount of money you let each pip of stop distance cost. It is the risk in dollars divided by the stop in pips, and the lot size follows from it.

pip risk = (account x risk%) / stop in pips
lots = pip risk / value of one pip per lot
Pip risk for a $10,000 account risking 1% ($100): the dollars each pip may cost, and the lot size that gives.
StopRisk per pipLots
10 pips$10.001.00
25 pips$4.000.40
50 pips$2.000.20
100 pips$1.000.10

A tighter stop lets each pip cost more, so the position is larger for the same dollar risk. That is why a tight stop does not mean a small loss: the loss is set by the risk you chose, not by the stop.

CFDs, indices and shares

The same formula works for any instrument once you know the value of one unit of price movement. For a CFD, use the value per point or per contract from your platform; for shares, the value per share is one.

contracts = risk in dollars / (stop distance x value per point)
Index CFD: $10,000 account, 1% risk = $100
entry 18,000, stop 17,950 = 50 points at $1 per point per contract
contracts = 100 / (50 x 1) = 2
Shares: entry $50, stop $48 = $2 risk per share
shares = 100 / 2 = 50

Contract sizes, point values and minimum sizes differ by broker and instrument, so read them from your platform before using a figure. Round the size down, never up.

Common questions

How is position size calculated?

Divide the amount you are willing to lose by the stop distance. Risking $100 with a stop 2% from entry gives a position of $5,000.

Why does a wider stop give a smaller position?

Because the amount at risk is fixed. A wider stop loses more per unit, so fewer units fit inside the same loss.

How much of my account should I risk per trade?

Many risk guides use 1% or less. At 1%, twenty losses in a row leave about 82% of the account; at 5% they leave about 36%.

How do I calculate position size for a CFD?

Divide the dollars you are willing to risk by the stop distance in points times the value of one point per contract. Risking $100 with a 50 point stop at $1 a point gives 2 contracts.

What is pip risk?

The money each pip of stop distance may cost you: the dollar risk divided by the stop in pips. $100 risked over a 50 pip stop is $2 per pip, which is 0.20 lots on a pair where a lot pays $10 a pip.

What position size should a $10,000 account use?

It depends on the stop, not the account alone. Risking 1% is $100: a 20 pip stop gives 0.50 lots, a 50 pip stop gives 0.20 lots and a 100 pip stop gives 0.10 lots on a USD-quoted pair.