XAUUSD Stop Loss Calculator: How to Size a Gold Trade From the Stop (2026 Guide)
The formula behind every gold lot-size calculator, worked at $600 and $10,000, plus where the stop goes on XAUUSD as volatility, spread and gaps rise.
An XAUUSD stop loss calculator does one division: the dollars you are willing to lose, divided by the stop distance in dollars per ounce times the ounces in one lot. On the common 100-ounce lot, every $1 move in gold is worth $100 per lot and $1 per 0.01 lot, so a $15 stop at 0.10 lots costs $150. Everything else on a calculator page (pips, points, leverage) is a way to get those three inputs right or to check the answer.
The hard parts are the inputs. Brokers disagree on what a gold "pip" is, the lot size printed on the ticket may not be 100 ounces, and gold's normal hourly range has more than tripled since 2017, so a stop that fit the chart two years ago now forces a far smaller position. This guide works the formula by hand, shows where the stop goes on a gold chart, and covers the spread, gap and minimum-lot problems that decide what a stop really costs.
How an XAUUSD stop loss calculator works
Set the money first. Pick the loss you accept on this trade, as a dollar amount, before you look at lot sizes. Most retail traders express it as a share of the account (1% of $10,000 is $100), and our risk management pillar guide covers how to choose that share and what losing streaks do at each setting.
Then measure the stop distance on the chart in dollars per ounce: entry price minus stop price for a long, stop minus entry for a short. A long at 3,973.02 with a stop at 3,949.33 has a distance of $23.69.
The formula is:
Lots = risk in dollars ÷ (stop distance in $ per ounce × ounces per lot)
On a 100-ounce lot with $100 at risk and a $15 stop: 100 ÷ (15 × 100) = 0.0667. Round down to the broker's lot step, usually 0.01, and you get 0.06 lots. Check it backwards: 0.06 lots is 6 ounces, 6 × $15 = $90 lost if the stop fills at its price. Rounding down keeps the real risk at or under the plan. Rounding up to 0.07 would put $105 at risk, and that small creep compounds across a hundred trades.
The same formula runs the other way when the lot is already open. Lots × ounces per lot × stop distance = dollars at risk. If you opened 0.50 lots by mistake and the stop is $12 away, that is 50 ounces × $12 = $600 on the line, and the fix is to cut the position before you touch the stop.
Bar chart of the gold position size, rounded down to 0.01 lots, that risks 100 dollars on a 100-ounce lot at different stop distances. A 5 dollar stop allows 0.20 lots. A 10 dollar stop allows 0.10 lots. A 15 dollar stop allows 0.06 lots. A 20 dollar stop allows 0.05 lots. A 30 dollar stop allows 0.03 lots. A 40 dollar stop allows 0.02 lots.
Contract size, points and pips: read your broker's symbol first
The formula only works if "ounces per lot" is right for your account. On most MetaTrader brokers one XAUUSD lot is 100 troy ounces, but some brokers and prop firms list 10-ounce or 1-ounce lots, and a few CFD platforms quote gold per ounce with no lots at all. In MetaTrader, right-click the symbol, open Specification, and read the contract size. If it says 100, use 100. If it says 10, a $1 move is worth $10 per lot and every lot size in this guide is ten times too small for your account.
Pips are where most gold sizing errors start. Gold is usually quoted to two decimals (3,973.02), so the smallest step, a point, is $0.01. What counts as a pip varies:
- Many traders and calculators call $0.10 a pip. On that convention a $23.69 stop is 237 pips, and one pip on a 100-ounce lot is worth $10.
- Some platforms call $0.01 a pip, which makes the same stop 2,369 pips.
- Some trading communities call $1 a "pip", which makes it 23.69 pips.
All three describe the same $23.69 of price. Do the math in dollars of price distance and the convention stops mattering. If a calculator asks for pips, find out which pip it means before you trust its output, because a factor-of-ten mix-up between $0.10 and $0.01 pips turns a 1% trade into a 10% trade.
Here is what a $1 move is worth at common sizes on a 100-ounce lot:
| Position | Ounces | Value of a $1 move | Loss on a $15 stop |
|---|---|---|---|
| 0.01 lot | 1 | $1 | $15 |
| 0.05 lot | 5 | $5 | $75 |
| 0.10 lot | 10 | $10 | $150 |
| 0.50 lot | 50 | $50 | $750 |
| 1.00 lot | 100 | $100 | $1,500 |
A full lot on a $15 stop risks $1,500, which is 15% of a $10,000 account on one trade. Platforms often default the ticket to 1.00 lot, so this row is the one to memorize.
Worked example: a $10,000 account risking 0.5%
A planning example posted on TradingView in late October 2026 shows the full sequence on a one-hour chart. The author's XAUUSD risk and lot sizing walkthrough uses a buy limit at 3,973.02 on a pullback, a stop at 3,949.33 and a target at 4,020.12, on a $10,000 account risking 0.5%, or $50.
Work it through:
- Stop distance: 3,973.02 − 3,949.33 = $23.69 (237 pips on the $0.10 convention).
- Lots: 50 ÷ (23.69 × 100) = 0.0211, rounded down to 0.02 lots.
- Real risk: 2 ounces × $23.69 = $47.38.
- Target distance: 4,020.12 − 3,973.02 = $47.10, so the reward is about twice the risk, and the trade wins $94.20 at 0.02 lots if the target fills.
The same author shows the comparison that matters. With a tighter $12 stop the formula allows 50 ÷ (12 × 100) = 0.0417, so 0.04 lots. Halve the stop and the lot doubles; the $50 risk is the same in both versions. The tighter version only makes sense if $12 below entry still sits beyond the price that proves the trade wrong. If it does not, the bigger lot just buys a higher chance of being stopped out by ordinary noise.
The post's other instruction is worth copying: round the lot down every time, and treat the stop as the input the chart decides, with the lot doing the adjusting.
Where to put the stop on a gold chart
The calculator takes the stop distance as given. Picking that distance is the actual decision, and it comes from the chart before any lot size exists.

Start with invalidation: the price at which your reason for the trade no longer holds. For a long on a pullback, that is usually just beyond the most recent swing low the pullback is supposed to respect. For a breakout long, it is back inside the range the breakout left. For a short, flip both. If you cannot name the price that would make the idea wrong, you do not have a stop yet, only a number.
Then add a buffer. Gold often pokes a few dollars through obvious swing lows before turning, and a level everyone can see tends to collect stops. A stop placed exactly on the low gets taken by those pokes. The buffer is how far beyond the level you go, and the next section uses ATR to size it.
Last, measure from your actual entry. A limit order at a pullback level gives a shorter distance than chasing the same idea at market after the bounce. Two traders with the same stop price can carry very different risk per ounce because one entered $8 closer to it.
How to tell the stop is in the wrong place:
- It sits at a round number (3,950.00) with nothing on the chart behind it.
- It was chosen so the lot size comes out to a size you wanted.
- It is inside the last hour's normal range, so ordinary movement would hit it.
Our guide to where to place a stop loss goes deeper on structure stops across markets. Gold's twist is that its normal range has grown so much that structure stops are wider than they used to be, which is the next problem.
Check the stop distance against ATR
Average True Range measures how far price normally moves per bar. It is the quickest sanity check on a stop: if your stop is smaller than one ATR on the timeframe you trade, normal movement will reach it often whether or not the idea was wrong.
A common volatility stop is 1.5 to 2 times ATR(14) placed beyond invalidation. In an r/technicalanalysis thread from a trader buying dips on the gold 5-minute chart, the top reply described the opposite habit to a fixed stop: "I always use a 1x ATR + spread stop once I enter, regardless of structure." Another reply put the sizing consequence plainly: "I prefer keeping dollar risk fixed and letting position size adjust because fixed stops rarely fit changing volatility for long."
How much gold's volatility has changed is the reason that advice matters now. An MQL5 author measured the median one-hour ATR(14) on XAUUSD for each year since 2017 on one broker's data. The median H1 ATR went from about $2.26 in 2017 to $5.85 in 2024, $10.05 in 2025 and $18.68 in 2026 through 13 November. Price rose too, but slower: the author puts hourly volatility at about 0.18% of price in 2017 and about 0.42% in 2026. The chart shows what a 2 × ATR stop on the one-hour chart costs at the smallest lot, 0.01, in each year.
Bar chart of what a stop of two times the median one-hour ATR on XAUUSD cost at a 0.01 lot each year, from one broker's data published on MQL5. 2017: 4.51 dollars. 2018: 4.46. 2019: 4.90. 2020: 10.75. 2021: 8.31. 2022: 9.05. 2023: 8.17. 2024: 11.70. 2025: 20.10. 2026 through 13 November: 37.36 dollars.
Read your own ATR on your own timeframe at the moment you trade; these are one broker's yearly medians, and gold's range shifts week to week. Two practical rules follow:
- If the structure stop is under 1 × ATR, widen it or skip the trade. A tight stop inside normal noise is a coin flip on your timing.
- If the structure stop is above about 3 × ATR, the entry is probably late. You are buying far from the level that invalidates the idea, and the reward rarely covers that distance.
Check ATR on the same timeframe you use for the stop. A $20 stop is wide on the 5-minute chart and tight on the daily, where the same author notes a 2 × ATR stop would have cost about 30% of a $600 account at the minimum lot.
The small-account problem: when 0.01 lot is already too big
The formula assumes you can trade any size. You can't. Brokers have a minimum lot, almost always 0.01, which on a 100-ounce contract is 1 ounce, so $1 per $1 of movement. When the formula returns less than 0.01, the honest answer is "this account cannot take this trade at this risk."

Run it on a $600 account risking 1%, which is $6. At 0.01 lot the widest stop that fits is $6. The MQL5 data puts the 2026 median 2 × ATR one-hour stop at $37.36, which is 6.23% of $600 at the minimum lot. To keep that stop at 1% risk, the author calculates you would need $3,736 of equity. Their formula, at the last hourly close in the data, asked for 0.0019 lots, a size no broker sells.
There are three ways out, and only two of them are safe:
- Skip the trade. If the stop the chart needs costs more than your risk limit at 0.01 lot, pass. This is the default.
- Trade a lower timeframe or wait for a tighter setup, where the structure stop is legitimately small. That means finding a different trade, so the original stop stays where the chart put it.
- Squeeze the stop until 0.01 fits. This is the trap. A $6 stop on a chart whose hourly bars move $18 is inside the noise, and the trade will be stopped on movement that says nothing about the idea.
There is also a fourth way people take without noticing: they accept the minimum lot and the bigger risk, telling themselves it is "only 0.01." On a $600 account a $37 stop is 6% of the balance per trade, and five losses in a row, which happen to any strategy, take nearly a third of the account. If you choose to go over your normal limit at the minimum lot, set a hard ceiling in writing (say 2%) and skip anything above it.
The MQL5 author flags one more small-account trap. MetaTrader counts broker bonus credit in equity, so a percent-of-equity calculator can show 1% risk while the real risk to your own cash is higher. Size from the cash balance when a bonus is on the account.
Spread: the cost the stop distance leaves out
A long gold position is closed at the bid, and its stop triggers when the bid reaches it. Your entry was at the ask. That gap, the spread, comes out of every trade before price moves, and the calculator above leaves it out.
The MQL5 data notes a typical spread of about 75 points, or $0.75, on that broker since 2020. Gold spreads differ by broker and account type, and they widen at the daily rollover and around major US data, so read yours from the platform at the hour you trade.
On a wide stop the spread barely registers. On a tight one it changes the trade. Take $100 of risk with a $3 stop:
- Without spread: 100 ÷ (3 × 100) = 0.33 lots.
- With a $0.75 spread: 100 ÷ (3.75 × 100) = 0.2667, so 0.26 lots.
- If you sized at 0.33 lots and ignored the spread, the stop-out costs 33 × $3.75 = $123.75, a quarter more than planned.
The adjusted formula is: Lots = risk ÷ ((stop distance + spread) × ounces per lot). Use it for any stop under about ten times the spread. For scalpers on the 1-minute and 5-minute chart, that is most stops.
Short positions have one extra wrinkle. A short is closed at the ask and its stop triggers on the ask, but most charts draw the bid. When the spread widens at rollover, the ask can touch a short stop while the bid line on your chart never gets there. Our stop loss in forex guide covers that bid-and-ask mechanic in detail, along with rollover and swap.
News and weekend gaps: when the stop fills past your price
A stop loss is an instruction to close at the market once a price trades. It does not promise that price. When gold jumps through your level with nothing trading in between, the order fills at the first available price beyond it, and your loss is bigger than the calculator said.
Two situations cause most of it on gold. The first is scheduled US data: the CPI release, the jobs report and Federal Reserve decisions can move gold several ATRs in seconds, with spreads widening at the same moment. A $15 stop on a 0.10 lot plans for $150. If price gaps $6 through the stop on the release, the fill costs $210.

The second is the weekly close. Spot gold trades nearly around the clock on weekdays and stops for the weekend. News that lands on a Saturday gets priced at Sunday's open in one jump. The TradingView author's rule is blunt: "Never hold full-size positions over the weekend: gaps can skip your stop loss entirely." They also re-confirm every level at the open, because the chart that justified Friday's stop may not exist on Monday.
What to do about it, in order of effectiveness:
- Close or cut positions before high-impact releases if your stop is tight relative to a typical release move.
- Size weekend holds smaller, so a gap twice your stop distance is still a loss you can absorb.
- Where your broker offers a guaranteed stop on gold, price its premium against your average stop-out. It is the only order type that removes gap slippage, and not every broker offers it on metals, so check yours.
None of these make a gap risk-free. They only cap how big a loss a gap can make.
Leverage and margin are not your risk
Calculators often show margin next to the lot size, and beginners read the margin as what they can lose. They are different numbers.
Margin is the deposit the broker holds to keep the position open. For EU retail clients, ESMA's CFD measures cap leverage on gold at 20:1, the same tier as non-major currency pairs and major indices, which means at least 5% of the position value as margin. Take 0.06 lots with gold near $4,000: 6 ounces is about $24,000 of gold, and 5% of that is $1,200 of margin. The risk at a $15 stop is $90.
The margin tells you how many positions the account can hold. The stop and the lot tell you what one trade can lose. Mixing them up runs both ways: some traders shrink a well-sized trade because the margin "looks big," and others open several full-margin positions because each one's margin seems affordable, then lose several stops at once.
The same ESMA measures require brokers to close positions when an EU retail account's margin falls to half the required minimum, and they add negative balance protection, so an EU retail account cannot go below zero. A margin close-out is a stop you did not choose, at a price you did not pick. If the calculator's sizing leaves the account close to that line, the position is too large regardless of where the stop sits. Rules differ outside the EU, and many US retail traders reach gold through futures instead of CFDs.
The futures version: GC and MGC
On COMEX, the standard gold future (GC) is 100 troy ounces and moves in $0.10 ticks worth $10 each, so $1 of price is $100 per contract, the same as a 100-ounce CFD lot. The Micro Gold future (MGC) is 10 ounces with the same $0.10 tick worth $1, so $1 of price is $10 per contract.
The formula is the same with "contracts" for "lots" and the contract's ounces for the lot's ounces. The difference is that futures do not come in fractions. With $100 of risk:
- MGC with a $10 stop: 100 ÷ (10 × 10) = 1 contract, risking exactly $100.
- MGC with a $15 stop: 100 ÷ (15 × 10) = 0.67, which rounds down to zero. The trade does not fit.
- GC with a $15 stop: one contract risks $1,500, fifteen times the budget.
That is the minimum-lot problem again with a bigger minimum. A trader with $100 to risk on MGC can only take stops of $10 or less, and with 2026's hourly ranges that rules out most swing setups. Futures also add exchange and clearing fees per contract, plus the overnight margin your broker sets, which change the calculator's answer at the edges. Check the contract specification page at CME and your broker's margin table before you size a live trade.
Build the calculator in a spreadsheet
Every gold calculator page runs the same few cells. Building it yourself means you know which inputs it uses and which pip it assumes.
Put the inputs in a column:
- B1: account cash balance (leave out bonus credit)
- B2: risk per trade as a decimal (0.01 for 1%)
- B3: entry price
- B4: stop price
- B5: spread in dollars
- B6: ounces per lot from your broker's symbol specification
Then the outputs:
- Stop distance:
=ABS(B3-B4) - Dollars at risk:
=B1*B2 - Lots:
=ROUNDDOWN(B8/((B7+B5)*B6),2), where B7 is the stop distance and B8 is the dollars at risk - Real risk at that size:
=B9*B6*(B7+B5), where B9 is the lots - Flag:
=IF(B9<0.01,"Too small for this stop - skip","OK")
Add one more row for the ATR you read off the chart and a check that the stop distance is at least one ATR. That row catches the squeezed stop before you click. Re-check the spread and ATR inputs each session; both change, and a calculator fed with last month's numbers gives last month's answer. Our 2% rule guide has a general position size calculator built on the same arithmetic if you trade other markets too.
Common mistakes with a gold stop loss calculator
- Mixing pip conventions. A calculator built on $0.01 pips fed with $0.10 pips is off by ten. Enter the stop as dollars of price.
- Assuming 100 ounces. Read the contract size in the symbol specification. A 10-ounce lot changes every answer by ten.
- Sizing the stop to fit the lot. The chart sets the stop; the lot absorbs the difference. Moving the stop to make 0.10 lots "work" is the most common way to blow through a risk plan.
- Ignoring the spread on tight stops. Below about ten times the spread, add it to the stop distance in the formula.
- Using last year's volatility. A stop that fit gold in 2024 sits inside 2026's normal hourly range on the data above. Read today's ATR.
- Sizing from equity that includes a bonus. Use the cash balance.
- Holding full size through releases and weekends. The calculator's number assumes the stop fills at its price, and gaps break that assumption.
- Rounding up. Always round the lot down to the broker's step.
FAQ
How do I calculate lot size for XAUUSD? Divide the dollars you are willing to lose by the stop distance in dollars per ounce times the ounces in one lot. On a 100-ounce lot, $100 of risk with a $20 stop is 100 ÷ (20 × 100) = 0.05 lots. Round down to your broker's lot step.
How much is 1 pip on XAUUSD? It depends on what your broker calls a pip. On the common $0.10 convention, one pip is worth $10 per 100-ounce lot and $0.10 per 0.01 lot. On the $0.01 convention it is $1 per lot. Avoid the ambiguity by sizing in dollars of price movement.
How much does gold move per $1 at 0.01 lot? On a 100-ounce contract, 0.01 lot is 1 ounce, so each $1 move in gold gains or loses $1. A 0.10 lot gains or loses $10 per $1 move.
What is a good stop loss for gold in pips? There is no fixed number. Put the stop beyond the price that invalidates the trade, check that the distance is at least one ATR on your timeframe, then size the lot to it. A $5 stop can be reasonable on a 1-minute chart and far too tight on a 4-hour chart.
Can I trade gold with a $100 account? You can open a 0.01 lot, but each $1 of movement is 1% of the account. A $10 stop, which is small for gold in 2026, risks 10% of the balance per trade. Most stops the chart needs will exceed any normal risk limit at that account size, which is a reason to paper trade or build the account first.
Why did my gold stop loss close at a worse price than I set? A stop becomes a market order when triggered. In a fast move, at a news release or at the weekly open, the first available price can be beyond your level, and the order fills there. Spread widening at rollover can also trigger a stop earlier than the chart suggests.
Does a stop loss calculator account for swap? Most do not. Overnight swap on gold is charged or paid per lot per night and varies by broker and direction. For positions held several days, add the expected swap to the risk figure or check it in the symbol specification.
Where the chart read fits
Every number in the calculator traces back to one decision on the chart: which swing point or level proves the trade wrong, and how far that is from your entry. Once that is set, the lot size is arithmetic you can check by hand.
Quant AI does that first read from a screenshot of a gold chart. It marks the trend, the swing highs and lows, and the support and resistance levels it finds, so you can see where a structure-based stop would sit before you size anything. The contract size, the spread, the ATR check and whether to take the trade at all stay with you, and no stop placement removes the risk of a loss, including a gap past the stop.