Home / Learn / Lot size calculator
Free tool

Lot size calculator for gold, forex and crypto

Turn your account size, risk and stop into a lot size before you place a trade. Works for XAUUSD, forex majors, JPY pairs and crypto CFDs, rounds down so you never risk more than you planned, and runs only in your browser.

New: the free trading strategy finder lists every strategy that suits your market and timeframe.

Your trade

Contract size and lot step (check your broker)

Result

Lot size (rounded down)–
Money you chose to risk
–
Risk at the rounded size
–
Stop distance
–
Pip value per 1.00 lot
–
Position value (notional)
–

Reward-to-risk levels

R multiplePriceMoney at that level

These are distances from your entry, not forecasts. Spread, commission, slippage and gaps can make a real loss bigger than planned.

Free with email

Risk plan: loss limits, losing streaks, presets and a printable plan

See how many losses in a row your size allows before a daily or maximum loss limit (handy for prop-firm style rules), what a losing streak does to the account, save your setups, and print a one-page plan to keep next to your chart.

  • Loss-limit check: daily and maximum loss, with a safety buffer
  • Losing-streak table: drawdown and the gain needed to recover
  • Save up to 12 presets on this device
  • Printable one-page risk plan

Free, no payment. We use your email as set out in our privacy policy. Sent by Space Tech Pty Ltd (Apex Edge), contact@brainiosoftware.com.

Education only. Not financial advice. Trading involves risk of loss. This calculator is general information. It uses the contract sizes and pip conventions shown on this page, which may differ from your broker. Check your broker's contract specification, lot step and margin rules before you trade. It does not place orders and nothing you type is sent to us.

How the lot size is worked out

  1. Money at risk = balance × risk percent (or the fixed amount you enter).
  2. Stop distance = |entry − stop|, or pips × pip size.
  3. Loss per 1.00 lot = stop distance × contract size, converted to your account currency.
  4. Lot size = money at risk ÷ loss per 1.00 lot, rounded down to your lot step.

Assumptions used

  • Forex majors: 100,000 units per lot, 1 pip = 0.0001. USD-quoted pairs (EURUSD, GBPUSD, AUDUSD, NZDUSD) are about $10 per pip per lot. For USDCAD and USDCHF the pip value is converted with the entry price.
  • JPY pairs: 100,000 units per lot, 1 pip = 0.01. USDJPY uses the entry price to convert; EURJPY and GBPJPY need the USDJPY rate.
  • Gold (XAUUSD): 100 oz per lot, 1 pip = $0.10 of price, so about $10 per pip per lot, the same convention as our gold pip value guide. Tested on IC Markets XAUUSD data only.
  • Crypto CFDs: default 1 coin per lot and a 0.01 lot step. Many brokers differ, so edit the contract size and lot step.
  • Account currency: USD by default. For another currency, enter how much 1 USD is worth in it.

Where the stop comes from

A calculator only sizes the stop you give it. Many traders place the stop beyond a recent swing or a zone, or a multiple of ATR away. The guides on ATR position sizing, ATR stop losses and the risk-reward ratio explain the ideas. On TradingView, Zone Map marks areas of interest and Smart MACD shows 4-hour ATR context, which some traders use when choosing a stop distance. The free Trend Check Dashboard reads trend direction across timeframes.

Questions

How do I calculate lot size for gold?

Divide the money you want to risk by the stop distance in dollars of price times 100 (ounces per lot). For example, risking $50 with a $12.00 stop: $50 ÷ ($12 × 100) = 0.0417, rounded down to 0.04 lots.

Why is the pip value different on JPY pairs?

A JPY pip is 0.01 and the profit or loss is in yen, so it is converted to your account currency with the USDJPY rate. At USDJPY 150, one pip on 1.00 lot is about $6.67.

What if the result is below 0.01 lots?

Even the smallest size would risk more than you planned. Do not round up. Use a closer, still sensible stop, or skip the trade.

Is my data sent anywhere?

No. The calculator runs in your browser. Presets and your last inputs are kept in your browser's local storage. Only the email you choose to submit for the free risk plan is sent to us.

Does this work for prop-firm accounts?

The loss-limit check counts how many full losses fit inside a daily and a maximum loss limit measured from the starting balance. Firms' rules differ, including trailing limits, so read your own rules carefully.

Read the trend before you size the trade

Claim the free Trend Check Dashboard for TradingView with your email. It reads trend direction across timeframes on one panel.