Tested on IC Markets XAUUSD data only. Results and session behavior may differ on other brokers’ data.
Watch the lesson
Trending or Ranging? Reading Volatility with the Last Closed 4H ATR (11:24). Also on the free lessons page, with chapters. Education only. The video explains how the rules work; it is not personal advice.
The position size formula
The same arithmetic sits under every serious position size calculator:
- Money at risk = account balance × risk percent. Example: $10,000 × 0.5% = $50.
- Stop distance = how far your stop sits from the planned entry, in pips, points, or dollars of price.
- Value of that distance per lot = stop distance × the value of one pip (or point) on 1.00 lot.
- Position size in lots = money at risk ÷ value of that distance per lot.
Always round down to your broker's volume step (often 0.01 lots). Rounding up quietly risks more than you chose. Spreads, slippage and gaps can still make the actual loss larger than the planned amount, so treat the result as a plan, not a cap that the market must obey.
If you size from volatility, use ATR position sizing to turn a multiple of ATR into the stop distance, then come back to this formula for the lot size. Risk-reward ratio is a separate question: it compares the planned stop with the planned target, and it does not replace position size.
Lot size calculator forex: USD-quoted majors
For USD-quoted major pairs such as EURUSD and GBPUSD, one standard lot is 100,000 of the base currency, and 1 pip is 0.0001. On that contract, 1 pip is worth about $10 per standard lot when USD is the quote currency. A "point" or pipette is 0.00001, so 1 pip = 10 points and 1 point is worth about $1 per standard lot.
Example (illustrative): account $10,000, risk 0.5% = $50, stop 42 pips on EURUSD. Value of the stop per lot = 42 × $10 = $420. Lot size = $50 ÷ $420 = 0.119, rounded down to 0.11 lots. This matches the EURUSD worked example in the ATR position-sizing guide.
USDJPY and other pairs where USD is the base, not the quote, have a different pip value. This calculator does not cover those pairs, metal crosses other than XAUUSD, or index CFDs. Read your broker's contract specification before you size a live idea.
Gold lot size calculator (XAUUSD)
Gold has no single agreed "pip." This site uses the same convention as the gold pip value and lot size guide: 1 pip = $0.10 of price, 1 point = $0.01, and 1 standard lot = 100 troy ounces, so $10 per pip per lot (and $1 per point per lot). A $1.00 move is $100 per standard lot.
The gold form of the formula is: position size = money at risk ÷ (stop distance in dollars of price × $100 per lot). If your stop is 20 pips, that is $2.00 of price, and the distance is worth $200 per lot. Tested on IC Markets XAUUSD data only. Results and session behavior may differ on other brokers' data. Always check the contract size, digits and minimum volume in your platform; 100 ounces per lot is common but not universal.
Worked examples (illustrative)
Forex major. Account $10,000, risk 0.5% = $50, EURUSD stop 42 pips. Lots = 50 ÷ (42 × 10) = 0.119, rounded down to 0.11. Planned risk at 0.11 lots = 0.11 × 42 × $10 = $46.20, just under the $50 cap.
Gold, XAUUSD. Account $5,000, risk 1% = $50, stop $12.00 of price (120 pips at $0.10). Money per lot = $12.00 × $100 = $1,200. Lots = $50 ÷ $1,200 = 0.0417, rounded down to 0.04. Check: 0.04 lots is 4 ounces; 4 × $12.00 = $48 at risk. This is the same arithmetic as the gold pip guide. If even 0.01 lots would risk more than you planned, the stop or the account does not fit; do not round up.
On-page position size calculator
The calculator below runs only in your browser. Nothing is sent to a server, and it does not place orders. Choose the instrument, enter the account, risk percent and stop distance, and pick pips or points. Outputs are rounded down to 0.01 lots. Figures are illustrative and use the conventions on this page.
Calculate a planned lot size
Forex convention used here: 1 pip = 0.0001, about $10 per pip per standard lot. 1 point = 0.00001, about $1 per point per lot.
If your account is not in USD, convert the dollar result at the current exchange rate, as the gold pip guide describes for AUD. The calculator does not convert currencies.
Common mistakes
- Using the same lot size on gold and on EURUSD. Gold's typical range in money terms is much larger, which is why the formula exists.
- Mixing pips and points. On gold in this guide, 20 pips is $2.00 of price; 20 points is $0.20.
- Assuming every gold broker uses 100 ounces per lot. Read the specification.
- Rounding up to a "cleaner" lot size and quietly exceeding the planned risk.
- Treating the planned risk as the maximum the market can take. Gaps and slippage can exceed it.
Tools for this guide: Apex Edge plans and pricing. For a free starting point, the Free Trend Check Dashboard shows trend bias across ten timeframes: claim it free with your email.
Frequently asked questions
How does a position size calculator work?
It divides the money you have chosen to risk by the value of your stop distance on 1.00 lot. The result is a lot size, which you should round down to your broker's step. The on-page calculator uses that formula and does not place orders.
How do I use this as a lot size calculator for forex?
Pick "Forex major (USD-quoted)", enter the account, risk percent and stop, and use pips for a 0.0001 move. The guide assumes about $10 per pip per standard lot on pairs such as EURUSD. It does not cover USDJPY or other non-USD-quoted pairs.
How do I use this as a gold lot size calculator?
Pick XAUUSD, then enter the stop in pips ($0.10 of price) or points ($0.01). The guide uses 1 standard lot = 100 oz and $10 per pip per lot. Tested on IC Markets XAUUSD data only. Check your broker's contract size.
Should I size from ATR or from a fixed pip stop?
Either can feed the same formula. If you size from volatility, compute the stop as a multiple of ATR first (see the ATR position-sizing guide), then enter that distance here. The calculator does not read ATR for you.
Why is the suggested size smaller than 0.01 lots?
The planned risk is smaller than the value of a 0.01-lot stop at that distance. Do not round up. Use a closer, still-meaningful stop, or treat the idea as too large for the account.
Keep reading
ATR position sizing: keeping risk equal across quiet and busy markets
How ATR position sizing works: the formula, worked examples for forex, gold and indices, and why equal-risk sizing matters.
How to calculate pips on XAUUSD: gold pip value and lot size
How to calculate pips on XAUUSD: the gold pip value formula, a standard-lot example ($0.10 pip = $10 per lot) and lot size from your stop distance.
Risk-reward ratio: the math, the break-even win rate and the limits
How to calculate risk-reward ratio, the break-even win rate for 1:1, 1:2 and 1:3, why R-multiples help, and why a big ratio on paper can mislead you.
ATR stop loss: how to size a stop by volatility
How an ATR stop loss works: the formula, choosing a multiplier, combining ATR with structure, and why a 4-hour ATR is steadier than the chart's own.
More in Risk management, or browse all guides by topic. Questions? Email contact@brainiosoftware.com.
Tested on IC Markets XAUUSD data only.
General information only. This guide is general education, not personal financial product advice or a recommendation to buy or sell anything. Indicator readings, alerts and screener results are not trade recommendations. Examples use illustrative numbers. TradingView is a third-party platform; we are not affiliated with or endorsed by TradingView. Education only. Not financial advice. Trading involves risk of loss. Read the full risk disclaimer.