← All articles

Risk ManagementOct 13, 2026·8 min read

Gold Position Size Calculator: Size Any XAUUSD Trade

Lot size on gold is the risk you can lose divided by the distance to the stop, times the ounces in the contract. Here is the formula, three worked examples, and a calculator.

TradyX Research Desk

XAUUSD education

A gold position size calculator answers one question: how many lots put your planned stop at the dollar loss you already accepted? The formula is small. Lots = risk in dollars ÷ (stop distance in price × ounces per standard lot). On the common 100-ounce XAUUSD contract, that is risk ÷ (stop × 100). You round down. You add the spread if you care about the cash loss matching the plan. Then you skip the trade if the result is below the minimum lot or above the maximum you wrote for the day.

The calculator on this page does that arithmetic. The examples are examples. They use a 1% risk figure so the steps are easy to follow. One percent is not a recommendation, and the prices are not a live stop. If your broker's contract size is not 100 ounces, change the ounces before you trust a single digit. The dialect of "pips" is explained in XAUUSD pip value. This page works in dollars of price so the dialect cannot sneak a factor of ten into the size.

The formula

Write it in the order you will use it at the desk.

  1. Decide the dollars at risk. Example method: account equity × risk percent. A $5,000 account at an example 1% risks $50. You can also set a fixed dollar risk. The percent is not magic. The dollar figure is what the formula eats.
  2. Measure the stop distance in price, not in a pip word you have not defined. Entry 2360.50, stop 2355.50, distance 5.00. That distance is where the trade idea is wrong, usually beyond a level, not a number chosen because it produces a size you like.
  3. Add the spread if you are including it. A 0.25 spread turns a 5.00 chart stop into a 5.25 cash distance. Use the spread on your platform at the session you trade. Do not borrow one.
  4. Divide. With 100 ounces per lot, lots = 50 ÷ (5.25 × 100) = 50 ÷ 525 ≈ 0.095.
  5. Round down to the lot step. If the step is 0.01, 0.095 becomes 0.09. Rounding up would risk more than the budget. Rounding down risks less. Less is the point of a risk limit.

The cash loss at the rounded size is lots × distance × ounces. For 0.09 lot, 5.25, and 100 ounces: 0.09 × 5.25 × 100 = $47.25, under the $50 budget. If you had rounded to 0.10, the loss would be $52.50, over the budget. The difference looks small until it is the third loss of the day.

Check the margin after the size, not before. A size that respects the stop can still be more margin than the account should use, especially if another gold position is already open. Position size controls the loss at the stop. It does not stop you from stacking three "one percent" trades that are the same idea. A daily loss limit does that second job. TradYX risk tools are built for both: the size of the trade and the point at which the day is over.

Example calculator

Size a gold trade from a dollar risk

Example only. It assumes your quote is US dollars per ounce and that loss equals price distance times ounces. Read the contract specification before you use a number on a live account.

Risk budget
$50.00
Distance used
$5.30
Rounded lots
0.09

Unrounded size 0.094 lots. Rounded down, cash risk is about $47.70 if the stop and spread both fill at these example inputs.

The widget defaults to a $5,000 account, 1% risk, a $5 stop, a $0.30 spread, 100 ounces, and a 0.01 lot step. Change every input to your broker. If the rounded lots print as zero, the honest message is that this stop does not fit this account.

Worked examples

Same formula, three account sizes. Each uses an example 1% risk and the 100-ounce assumption. Copy the steps, not the conclusion that 1% is your number.

$500 account. One percent is $5. Suppose the chart stop is $2.00 beyond entry and the spread you see is $0.25. Distance = 2.25. Lots = 5 ÷ (2.25 × 100) = 5 ÷ 225 ≈ 0.022. Round down to 0.02 if the step is 0.01. Cash risk ≈ 0.02 × 2.25 × 100 = $4.50. If the broker's minimum is 0.01, this trade can exist. If your real stop on the setup you like is $8, lots = 5 ÷ (8.25 × 100) ≈ 0.006, which is below a 0.01 minimum. You do not take 0.01 and "hope the stop is tighter." You skip, or you trade a setup whose invalidation is closer, on a timeframe where that closer stop is still honest. A $500 gold account is mostly a skipping account. That is arithmetic, not an insult.

$5,000 account. One percent is $50. Chart stop $5.00, spread $0.30, distance 5.30. Lots = 50 ÷ 530 ≈ 0.094, round down to 0.09. Cash risk ≈ $47.70. This is the size the widget is showing if you leave the defaults and the spread at 0.30. It is an illustration of the arithmetic on a stop you chose for a level, not a suggestion to short or buy anything at a $5 distance today.

$50,000 account. One percent is $500. Chart stop $8.00, spread $0.40, distance 8.40. Lots = 500 ÷ 840 ≈ 0.595, round down to 0.59. Cash risk ≈ 0.59 × 8.40 × 100 = $495.60. Notice the account is one hundred times the $500 example and the size is not one hundred times larger, because the stop distance changed. People scale lots with the account and keep a favorite stop. The formula scales lots with the account and with the stop. Ignore either input and the percent you think you risk is a fiction.

Run the three examples on your platform's calculator or order ticket in demo. If the ticket's "loss if stop is hit" disagrees with the formula, the contract size or the currency conversion is different from the assumption. Believe the ticket, then change the ounces in the widget until the two agree. That reconciled number is your number. The table in the pip article is only the starting assumption.

Rounding down and broker steps

Lot steps are part of the contract. Common steps are 0.01, sometimes 0.10, sometimes 1.00 on a futures-style ticket. The rule is one direction: round down. 0.019 with a 0.01 step is 0.01. 0.019 with a 0.10 step is 0.00, which means skip.

Do not keep a "round up if it is close" exception. Close is how a 1% rule becomes 1.4% on the trades where the stop was already the uncomfortable one. Those are the trades that hurt. The exception will not be applied to the comfortable trades. It will be applied to the ones you want to force.

If you trade more than one position on the same idea, size the idea, not the ticket. Two 0.09 entries in the same direction against the same daily level are 0.18 of one bet. Write the combined risk in the journal as one R budget. Otherwise a "disciplined" morning of three half-positions is a triple position with extra steps.

Some platforms show risk in the account currency after a conversion. If your account is not USD and gold is quoted in USD, the tick value on the specification is the line that already did or did not convert. Reconcile one demo trade, as above, and then stop converting by hand every click.

Adjusting for the spread

Spread is a cost in price. On a five-minute gold scalp it can be a large share of the stop. On an $8 swing stop it is smaller and still not zero. Add it when you size, or accept that every loss will be a little worse than the journal predicted and that every winner will need to travel further before it is a winner.

A practical rule: use the spread you see at the session you actually trade, not the tight spread from a screenshot taken at the overlap if you trade the Asia open. If the spread is jumping because a release is due, you are not "adjusting." You are in a window your session plan should already have marked as flat or as a different strategy. Sizing a news spike with the pre-news spread is how the formula gives you a comforting lot and the fill gives you a different loss.

Slippage is the cousin of spread. You cannot add a number you do not have. You can add a buffer you measured. Example of a buffer you must replace with your own: if your last ten stop-outs on this setup filled 0.20 beyond the stop on average, add 0.20 to the distance before you divide. If you have not measured it, do not invent 0.20 from this sentence. Start logging fills. Until then, a wider level-based stop is more honest than a fictional slippage constant.

The emotional adjustment is the one to refuse. After two losses, the same $5 stop suddenly "needs" to be $2 so the next trade can be bigger and make the money back. The distance shrank because you wanted size, not because the level moved. That is the sizing version of revenge trading. The formula does not know you are angry. You have to keep the stop on the level and let the lot fall out of the division. If the lot is too small to bother with, the correct output is no trade.

Put the dollar risk and the daily loss cap in the platform before the session, not in a note you will renegotiate at the third loss. The calculator is the sizing step. The guardrail is the decision that the calculator is not allowed to run again once the day's budget is gone.

FAQ

What is the gold position size formula?

Lots equal the dollars you are willing to lose, divided by the stop distance in price, divided by the ounces in one standard lot. With a 100-ounce contract that is risk ÷ (stop × 100). Round down to the broker's lot step.

How many lots of gold can I trade on a small account?

Only as many as the stop allows. A $500 account risking an example 1% has $5 of room. A wide gold stop can mean the honest size is smaller than the broker's minimum lot, in which case you skip the trade or widen the timeframe until the stop fits. You do not shrink the stop to fit the lot.

Should I include the spread in the stop distance?

Yes, if you want the cash loss to match the plan. Add the spread you actually see to the chart distance before you divide. A stop that ignores a wide gold spread is a smaller stop than the one you will pay.

Is 1% the correct risk per gold trade?

It is a common example, not a law. One percent of a small account may be less than the minimum lot can express. One percent of a large account can still be too much if your strategy's losing streaks are long. Pick a number, write it down, and review it from your journal rather than from a slogan.

Risk disclaimer: Leveraged XAUUSD trading can cause the loss of some or all of your capital. This article is education, not investment advice, and TradYX does not place trades or hold funds.

TradYX feature: Risk Discipline Tools

Set daily loss and position-size guardrails in TradYX

Built only for XAUUSD. You still decide whether to trade.

Create your account ↗