Skip to content
Menu

Position Size Calculator

By Chad Smith · Updated

On this page
  1. How to use it
  2. The formula
  3. Worked example
  4. What the result means
  5. Common mistakes
  6. Related lessons and tools

A position size calculator tells you how many lots to trade so that a losing trade costs only the amount you planned to lose. You enter your account balance, the percentage you are willing to risk, your stop loss distance and the instrument, and it returns the lot size. It is the most important calculation in risk management, because it links every trade to a fixed share of your account.

Position size calculator

USD
%
pips
USD

Not needed for this pair and account.

Position size
0.40 lots
Risk amount
USD 100.00
Pip value per standard lot
USD 10.00
Units
40,000
Mini lots
4.00
Micro lots
40.0

How to use it

  1. Enter your account balance in your account currency.
  2. Enter the percentage of the balance you want to risk on this trade, or a fixed money amount.
  3. Enter your stop loss distance in pips (or points for indices and metals).
  4. Choose the instrument. The calculator looks up the pip value for one standard lot and converts it to your account currency.
  5. Read the result in standard, mini and micro lots, and round down to the nearest size your broker allows.

The formula

Risk amount   = Account balance × Risk %
Position size = Risk amount ÷ (Stop loss in pips × Pip value per lot)

Pip value per lot (quote currency) = Pip size × Contract size
Example: 0.0001 × 100,000 = 10 units of the quote currency

When the quote currency is not your account currency, the pip value is converted at the current exchange rate. The pip value calculator shows that step on its own.

Worked example

This is an illustrative example with round numbers.

  • Account balance: 10,000 USD
  • Risk per trade: 1%, so the risk amount is 100 USD
  • Pair: EUR/USD, where one standard lot is worth 10 USD per pip
  • Stop loss: 25 pips
Position size = 100 ÷ (25 × 10) = 0.40 lots

If the stop is hit, the loss is 25 pips × 0.40 lots × 10 USD = 100 USD, which is exactly 1% of the account. If the stop were 50 pips instead, the same 100 USD risk would allow only 0.20 lots.

What the result means

The result is the largest position that keeps your loss at the stop equal to your chosen risk. It is not a recommendation to trade that size. It also does not check whether you have enough margin to open the trade; the margin calculator does that.

Position size depends on the stop, not the other way round. Place the stop where the trade idea is proven wrong, then let the calculator size the position. Moving the stop closer just to trade bigger defeats the purpose.

Common mistakes

  • Using the wrong pip value. Pairs quoted in JPY use a pip of 0.01, and gold, oil and indices each have their own contract size. A wrong pip value gives a wrong lot size.
  • Ignoring the account currency. A pip on USD/JPY is worth a fixed amount of yen, not dollars. The value in your account currency moves with the exchange rate.
  • Rounding up. If the result is 0.47 lots and your broker allows steps of 0.01, trade 0.47 or less, never 0.50.
  • Forgetting costs. The spread and commission are paid even if the stop is hit, so the real loss is slightly larger than the risk amount.
  • Risking a percentage of equity on several correlated trades. Three trades on pairs that move together act like one large trade. See correlation.
  • Changing the risk after losses. Raising the percentage to win back losses is how small drawdowns become large ones.

Trading with leverage magnifies both gains and losses, and you can lose money quickly. Sizing every trade from a fixed risk is the simplest way to keep any single loss small.

Frequently asked questions

What does a position size calculator do?

It tells you how large a trade can be so that, if your stop loss is hit, you lose only the amount you chose to risk. It turns a risk percentage and a stop distance into a lot size.

What percentage of my account should I risk per trade?

Many educators suggest a small fixed percentage, often between half a percent and two percent per trade. The right figure depends on your strategy, your losing streaks and your own tolerance, so test it on a demo account first.

Why does my lot size change when my stop loss changes?

The money at risk stays the same, so a wider stop needs a smaller position and a tighter stop allows a larger one. The calculator keeps the loss at the stop constant.

Does the calculator include spread and commission?

The standard formula measures risk from entry to stop only. Spread and commission add a little to the real loss, so leave a small buffer or use the cost of trade calculator to see the extra amount.

Can I use it for gold, indices and crypto CFDs?

Yes, as long as you enter the correct value per point for the instrument. That value differs between instruments and between brokers' contract specifications, so check the contract size on your platform.