Risk

How to calculate position size: forex, gold, crypto, stocks

9 min read

You have decided to risk 1% per trade. The hard part comes next: turning that 1% into a number of shares, lots, ounces or coins for this particular trade, with this particular stop. The formula takes one line. Getting it wrong usually happens in the units, and you only find out when a loss comes in at 0.6% or 1.4% instead of 1%.

This post works through the same calculation in stocks, forex, gold and crypto, with the arithmetic shown, and points out where each market breaks the simple version.

The one formula behind every market

Every position size calculation comes down to this:

position size = risk amount ÷ loss per unit at the stop

Three inputs feed it:

  • Risk amount: account balance × risk percentage. On a $10,000 account at 1%, that is $100.
  • Stop distance: entry price minus stop price, in price terms.
  • Loss per unit: what one share, one lot or one coin loses over that stop distance, in your account currency.

The order matters. The stop comes from the chart: the level where the trade idea is wrong. The size comes last, from the stop. If you pick the size first and then place the stop wherever the size allows, you have changed the trade to fit the money. It is an easy mistake to make without noticing.

How much to risk in the first place is a separate question, covered in risk of ruin in trading. This post assumes you already know your percentage.

Stocks: the simplest case

Stocks have no contract multiplier and no pip conventions, so the arithmetic is as plain as it gets.

$10,000 account, 1% risk, so $100. Buy at $48.20, stop at $46.70.

stop distance  = 48.20 − 46.70 = $1.50 per share
position size  = 100 ÷ 1.50 = 66.67 shares
round down     = 66 shares
loss at stop   = 66 × 1.50 = $99.00

The position is worth 66 × $48.20 = $3,181.20, about a third of the account. That surprises some people: 1% risk does not mean 1% of the account in the trade. It means 1% lost if the stop is hit. The position value depends entirely on how far away the stop is.

Always round down. Rounding 66.67 up to 67 shares puts $100.50 at risk. Trivial here, but the habit matters in markets where one step is a bigger share of the total.

Forex when your account currency is the quote currency

In forex, a pip is the fourth decimal place for most pairs (0.0001), and one standard lot is 100,000 units of the base currency. When the quote currency matches your account currency, as with EUR/USD on a USD account, one pip on one standard lot is worth exactly $10.

Buy EUR/USD at 1.0850, stop at 1.0820:

stop distance  = 1.0850 − 1.0820 = 0.0030 = 30 pips
loss per lot   = 30 pips × $10 = $300
position size  = 100 ÷ 300 = 0.333 lots
round down     = 0.33 lots (33,000 units)
loss at stop   = 0.33 × 300 = $99.00

This is the standard textbook example, and it is the reason "$10 a pip" gets treated as a universal constant. It only holds when the pair is quoted in your account currency.

Forex when it isn't: JPY, CAD and cross pairs

When the quote currency differs from your account currency, the pip value first comes out in the quote currency and has to be converted.

EUR/JPY uses a two-decimal pip (0.01). One standard lot moves ¥1,000 per pip. To get dollars, divide by USD/JPY. Assume USD/JPY is 150.00 and a 40-pip stop:

pip value      = ¥1,000 ÷ 150.00 = $6.667 per pip per lot
loss per lot   = 40 × 6.667 = $266.67
position size  = 100 ÷ 266.67 = 0.375 lots
round down     = 0.37 lots
loss at stop   = 0.37 × 266.67 = $98.67

USD/CAD is quoted in Canadian dollars: one pip on one lot is CAD 10. Assume USD/CAD is 1.3800 and a 25-pip stop:

pip value      = CAD 10 ÷ 1.3800 = $7.246 per pip per lot
loss per lot   = 25 × 7.246 = $181.16
position size  = 100 ÷ 181.16 = 0.552 lots
round down     = 0.55 lots
loss at stop   = 0.55 × 181.16 = $99.64

Here is what assuming $10 a pip does across four pairs, with the same 1% plan:

Pair Pip size Pip value per lot (quote currency) Conversion (example rate) USD per pip per lot Real risk if you assume $10
EUR/USD 0.0001 $10 none $10.00 1.00%
USD/CAD 0.0001 CAD 10 ÷ 1.3800 $7.25 0.72%
EUR/JPY 0.01 ¥1,000 ÷ 150.00 (USD/JPY) $6.67 0.67%
EUR/GBP 0.0001 £10 × 1.3000 (GBP/USD) $13.00 1.30%

The exchange rates are round numbers for the example, not quotes. Use the live rate when you size the trade. The last column is the point: one shortcut, and your "1%" quietly ranges from two-thirds of a percent to nearly a third more than planned, depending on the pair.

The position size calculator has a Quote to Account Rate field for this step. It multiplies, so enter the rate from the quote currency to your account currency: 1 ÷ 150.00 = 0.006667 for EUR/JPY, 1 ÷ 1.3800 = 0.7246 for USD/CAD, and the GBP/USD price itself (1.3000) for EUR/GBP. When the pair is quoted in your account currency, the field is ignored. If you trade mostly majors and crosses, the forex use-case page covers how pair-level results are reviewed afterwards.

Since June my 44 trades have included gold, EUR/JPY and USD/CAD, so I need every case in this post. I use the Tradexy position size calculator now, gold included. Until late October it could not size gold, so I used my broker's tool, and looking back while writing this post, my six gold losses from June to October came in at about two-thirds of the 1% I planned. The first gold loss sized with the calculator came in at 0.97%. One trade proves nothing, but it is much closer to the plan. I have also got one badly wrong: on a BTC trade I sized the position wrong by accident, and the risk ended up far from what I planned. It happened to win, which is the dangerous version, because it teaches nothing except luck.

Gold: a different contract

Gold breaks the forex template. XAU/USD is quoted in dollars per ounce, and at many brokers one standard lot is 100 ounces, not 100,000 units. Contract sizes are not universal, so check your broker's contract specification before you trust any lot figure. Brokers and platforms also disagree on what a "pip" is in gold, which is why working in price distance is safer.

The price level does not matter for sizing; only the distance does. Take a stop $8.50 below entry, on a 100-ounce contract:

loss per lot   = 8.50 × 100 oz = $850
position size  = 100 ÷ 850 = 0.1176 lots
round down     = 0.11 lots (11 oz)
loss at stop   = 0.11 × 850 = $93.50

That is about 0.94%, not 1%, because the 0.01-lot step is coarse relative to the risk. On a small account the step starts to decide the trade. With $2,000 at 1%, the risk amount is $20:

Stop distance Exact size Tradable size Loss at stop Actual risk
$8.50 0.0235 lots 0.02 lots $17.00 0.85%
$15.00 0.0133 lots 0.01 lots $15.00 0.75%
$25.00 0.0080 lots 0.01 lots (minimum) $25.00 1.25%

At a $25 stop the smallest possible trade already risks more than planned. The honest options are to skip the trade or to accept the larger risk knowingly. Tightening the stop until the minimum size fits is the size-first mistake again, wearing a disguise.

The position size calculator uses the common 100-ounce contract for gold and shows the result in ounces as well as lots, so you can check it against your broker's specification.

Crypto: leverage is not risk

On a linear perpetual like BTCUSDT, size in coins works the same way as shares. Take a stop $1,200 below entry and $100 of risk:

position size  = 100 ÷ 1,200 = 0.0833 BTC
round down     = 0.083 BTC (to the exchange's 0.001 step)
loss at stop   = 0.083 × 1,200 = $99.60

Leverage does not appear anywhere in that calculation. It decides how much margin you post, not how much you lose at the stop. At an illustrative entry of $60,000 the position is worth $4,980:

Leverage Margin posted Loss Rough liquidation distance
5× $996 $99.60 ~$12,000 (20%)
20× $249 $99.60 ~$3,000 (5%)
100× $49.80 $49.80, liquidated before the stop ~$600 (1%)

The liquidation figures are rough: entry divided by leverage, before the exchange's maintenance margin pulls them closer. The last row is where leverage does change your risk. At 100×, the position is liquidated roughly $600 away, before price ever reaches your $1,200 stop. Your stop no longer exists in practice, and the loss is whatever margin was posted, on a trade that may well have recovered. Leverage stays irrelevant to your risk only while liquidation sits clearly beyond the stop.

Costs belong inside the stop

Fees, spread and slippage are part of the loss at the stop, so they belong in the denominator, not on top of it.

On the crypto trade, assume a 0.05% fee per side (an assumption for the example; check your exchange's schedule). That is 0.10% of $60,000, or $60 per coin over the round trip:

loss per coin  = 1,200 + 60 = $1,260
position size  = 100 ÷ 1,260 = 0.0794 BTC
round down     = 0.079 BTC
loss at stop   = 0.079 × 1,260 = $99.54

On a wide stop, the cost is a few percent of the risk. On a tight stop it can be most of the error. Size a 5-pip EUR/USD stop as if costs were zero and you buy 100 ÷ 50 = 2.00 lots. Add an assumed 1 pip of spread and 0.7 pips of commission, and each lot really loses 6.7 pips, or $67. Two lots lose $134: 1.34%, a third more than the plan. The calculator has fee and slippage fields for this reason. Enter the round trip as a percentage of the entry price: 0.10% for the crypto example above, or 1.7 pips ÷ 1.0850 ≈ 0.016% for the EUR/USD one, rounded up to 0.02%.

I never checked. I log every stop-out as −1R, and all 33 of my losses since June say exactly that. Only while writing this post did I look at the money: the 27 of those losses with an account balance logged cost between about 0.5% and 1.04% of the account. Some losses came in well under 1% and a few just over it, and a journal that records every loss as −1R hides both.

Common mistakes

  • Sizing before setting the stop. The stop comes from the chart, the size from the stop.
  • Using $10 a pip for every pair. Only true when the pair is quoted in your account currency.
  • Assuming gold's lot size. Check the contract specification at your broker.
  • Rounding up. Every rounding step should make the loss smaller, never larger.
  • Reading leverage as risk. It changes margin and liquidation distance, not the loss at a stop that holds.
  • Letting the risk percentage drift. Sizing up after a run of losses to "win it back" turns a normal losing streak into a drawdown. Consistent sizing is what makes your R-multiples comparable from one trade to the next.

Before June I sized by feel. Most of my 1,900 trades from February 2025 to May 2026 were at 1% or 2%, but after a losing day I often went to 5% or 10% to win it back, and a few went much higher. I used 43 different risk levels, and my average trade made +0.02R. Since June my rule has been 1% per trade, and the calculation decides the size, not my mood. Over 44 trades that has averaged +0.32R. It is a small sample, so I treat it as a sign, not a verdict.

What this does not tell you

Position sizing controls the loss if the stop fills at your price. It does not cover gaps. A weekend gap, a news spike or a thin crypto order book can fill a stop well beyond its level, and the loss then exceeds the plan however carefully the size was calculated.

It does not account for correlation. Two trades at 1% each on EUR/USD and GBP/USD, in the same direction, behave more like one 2% trade than two independent 1% trades.

And it does not make a strategy profitable. It keeps every loss the same size, so your results measure the strategy instead of your mood on the day. Whether there is an edge underneath is a question for your trade log.

The takeaway

Set the stop from the chart. Work out the loss per unit in your account currency, costs included. Divide your risk amount by it, round down to the tradable step, then check the loss at the stop in money before you place the order. If that number is not your risk amount, give or take a rounding step, something in the units is wrong.

Weekly Insights

One email a week on measuring trading performance. No account required.

By subscribing you agree to receive Weekly Insights. You can unsubscribe anytime. See our Privacy Policy .

We use cookies to analyse site usage and, if you allow it, measure advertising effectiveness. Read our Privacy Policy .