English edition
QTFX.NET

The gold, forex & index CFD desk for the QTFX Markets app

App & account

Lot Size Calculator Guide: Pip Value, Position Size and Margin Formulas

Use the lot size calculator on this page to work out pip value, the position size that fits your risk, and the margin a trade might require. Below the tool, every formula is explained in plain words with worked examples, so you understand what the numbers mean rather than just copying them.

Updated: 6 min readQTFX Desk
Lot size calculator concept: a 3D calculator icon in a cinematic render
Lot size calculator concept: a 3D calculator icon in a cinematic render

Key takeaways

  • A standard lot is 100,000 units of the base currency; mini is 10,000 and micro is 1,000.
  • On most pairs a pip is 0.0001; on JPY pairs it is 0.01. Gold and indices are usually measured in points.
  • Pip value equals pip size times position size, converted into your account currency.
  • Position size equals money at risk divided by stop distance times pip value per lot.
  • Contract sizes and margin requirements vary by instrument and account, so confirm details in the app.

Pip, position size & margin calculator

Pip value per lot—
Pip value for your size—
Amount at risk—
Suggested position size—
Estimated required margin—

Educational estimate for USD accounts using common contract conventions (FX 100,000 units, XAUUSD 100 oz with 0.1 pip, XAGUSD 5,000 oz with 0.01 pip). Always confirm the contract specification and margin shown in the QTFX Markets app before trading.

01How to Use the Lot Size Calculator

The lot size calculator above has three modes. Each answers a different question you should ask before placing a trade:

  1. Pip value (pip calculator): “If price moves one pip, how much does my position gain or lose?” Enter the instrument, the lot size and your account currency.
  2. Position size (position size calculator): “How many lots can I trade so that hitting my stop loses only my planned amount?” Enter account balance, risk percentage and stop distance in pips or points.
  3. Margin: “How much of my balance will be set aside to open this trade?” Enter the lot size, price and leverage applicable to your account.

The results are estimates for planning. Actual values depend on the instrument's contract specification, current prices and the conditions shown in your trading account. In QTFX Markets you can check instrument details and quotes with spreads before placing an order.

02Lots explained: standard, mini and micro

In forex, position size is expressed in lots, which is exactly what a lot size calculator returns. A lot is a fixed number of units of the base currency, the first currency in a pair.

Lot typeVolumeUnits of base currencyApprox. pip value on EUR/USD
Standard1.00100,00010 USD
Mini0.1010,0001 USD
Micro0.011,0000.10 USD

So buying 0.25 lots of EUR/USD means buying 25,000 euros against the dollar, and each pip is worth about 2.50 USD. For CFDs on gold, indices and commodities, one lot represents a contract size that varies by instrument; gold is commonly 100 troy ounces per lot, but you should always check the specification shown in the app.

Trader's desk with a keyboard, where position size is worked out
Trader's desk with a keyboard, where position size is worked out

03Pip vs point: what is being measured

  • Pip: the standard unit of movement in currency pairs. For most pairs it is the fourth decimal place (0.0001). For pairs quoted against the Japanese yen it is the second decimal place (0.01).
  • Pipette or fractional pip: many platforms quote an extra decimal, so EUR/USD might show 1.08525. The last digit is a tenth of a pip.
  • Point: on gold, indices and oil, traders usually talk about points, meaning a one-unit move in the quoted price, or sometimes the smallest price increment. Because usage varies, define it clearly for each instrument you trade.

Hypothetical example: EUR/USD moves from 1.0850 to 1.0875, a rise of 25 pips. USD/JPY moves from 150.20 to 150.65, a rise of 45 pips. Gold moves from 2,000.00 to 2,012.50, a move of 12.50 in price. All figures are illustrative only.

Our guide to major currency pairs explains base and quote currencies in more detail, and the XAUUSD guide covers how gold is quoted.

Download QTFX Markets on Google Play to check instrument details and quoted spreads, then apply your calculated lot size on a demo account before trading live.

Get it on Google Play

04Pip value formula with worked examples

In plain words: pip value equals the pip size multiplied by the number of units, expressed in the quote currency, then converted to your account currency if needed.

Example 1: quote currency is USD

EUR/USD, 1 standard lot, USD account. Pip size 0.0001 × 100,000 units = 10 USD per pip. No conversion needed.

Example 2: JPY pair

USD/JPY, 1 standard lot, USD account. Pip size 0.01 × 100,000 = 1,000 JPY per pip. To convert to USD, divide by the USD/JPY rate. At a hypothetical rate of 150.00, that is about 6.67 USD per pip.

Example 3: gold CFD

Assume a contract of 100 ounces per lot. A 1.00 move in the gold price × 100 ounces = 100 USD per lot. A 0.10 lot position would therefore change by about 10 USD for each 1.00 move. Contract sizes can differ, so check the specification before relying on this.

All rates and contract sizes above are hypothetical examples, not current prices or QTFX conditions.

05Position size formula

Position sizing turns your risk rule into a lot size. In plain words: lots equal the amount you are willing to lose, divided by the stop distance in pips multiplied by the pip value of one lot.

  1. Decide the amount at risk: account balance × risk percentage.
  2. Measure the stop distance from entry to stop loss.
  3. Find the pip (or point) value for one lot of the instrument.
  4. Divide step 1 by (step 2 × step 3).
  5. Round down to the nearest volume step the platform allows.

Hypothetical example: balance 2,000 USD, risk 1% = 20 USD. You plan to buy GBP/USD with a 40-pip stop. Pip value per standard lot is about 10 USD. Lots = 20 ÷ (40 × 10) = 0.05 lots. If you widen the stop to 80 pips, the size halves to 0.025, which rounds down to 0.02.

Notice that the stop is chosen first, based on the chart, and size adjusts to it; the lot size calculator simply automates these five steps. Our stop loss placement guide and risk management plan explain how to choose those inputs.

Open notebook with chart sketches beside a laptop showing currency pairs, flat vector
Open notebook with chart sketches beside a laptop showing currency pairs, flat vector

06Margin formula

Margin is the amount of your balance set aside as a deposit to keep a leveraged position open. In plain words: required margin equals the notional value of the position divided by the leverage (or multiplied by the margin percentage).

Hypothetical example: buying 0.10 lot of EUR/USD at 1.0800 has a notional value of 10,000 euros, about 10,800 USD. With an illustrative leverage of 1:100 (a 1% margin requirement), required margin is about 108 USD. At 1:20 it would be about 540 USD. These ratios are examples only; the leverage and margin that apply to you depend on the instrument, your account and your region.

Lower margin does not mean lower risk: your profit or loss still depends on the full notional size. See how leverage works and margin level and margin calls for the full picture.

07Common calculation mistakes

  • Mixing pips and points on gold or indices, which can make a position ten times larger than intended.
  • Forgetting currency conversion when the quote currency differs from the account currency.
  • Ignoring the spread when measuring stop distance; your exit is filled at the bid or ask, not the mid price.
  • Rounding up lot sizes instead of down, quietly increasing risk on every trade.
  • Using a fixed lot size regardless of stop distance, which makes risk vary wildly from trade to trade.

CFDs are complex, leveraged products and losses can exceed what a calculation suggests if prices gap or slip; only trade money you can afford to lose. Product availability depends on your region and local law.

Questions readers ask

How do I calculate lot size for forex?

Multiply your account balance by the percentage you are willing to risk, then divide that amount by your stop distance in pips multiplied by the pip value of one standard lot. For example, risking 20 USD with a 40-pip stop on a pair worth 10 USD per pip per lot gives 0.05 lots. Round down to the nearest allowed volume.

What is the pip value of 0.01 lot?

On pairs where the US dollar is the quote currency, such as EUR/USD or GBP/USD, a micro lot of 0.01 is worth about 0.10 USD per pip. On other pairs the value depends on the quote currency and the exchange rate used to convert it into your account currency, so a calculator gives the most accurate estimate.

How is pip value calculated for gold?

Gold is usually measured in price points rather than forex pips. Multiply the price move by the contract size. If one lot is 100 ounces, a 1.00 move equals 100 USD per lot and 10 USD for 0.10 lot. Contract sizes can differ between providers and accounts, so confirm the specification in the trading app.

Does lower margin mean lower risk?

No. Margin is only the deposit needed to open a position. Your profit or loss depends on the full position size, so a trade that needs little margin can still produce large losses. Position size relative to your account and stop distance is what determines risk, which is why sizing by risk is more important than margin alone.