Try the real TradingView setup for 7 days — $6.00 See the structured chart-analysis workflow in action before you subscribe. Eligibility and activation terms apply. Start trial

Trading

Lot Size & Margin Calculator (Forex / Gold)

Choose the instrument, enter your balance, risk %, stop-loss in pips and the price. Contract size and pip size can be changed for a custom instrument.

Free · works instantly · nothing is stored

Your numbers

The default numbers are only an example — replace them with yours.

Your result

Lot size
—
Money at risk—
Pip value per 1 lot—
Contract size (units)—
Margin needed—
Margin as % of balance—

How it is calculated

Money at risk = balance × risk %. Pip value per lot = contract size × pip size (for JPY / CAD / CHF pairs it is divided by the price). Lot size = money at risk ÷ (stop-loss pips × pip value), rounded down to 0.01. Margin = lots × contract size × price ÷ leverage (for USD-base pairs the price is not used).

Questions

Are the values exact for my broker?

They use standard contract sizes (Forex 100,000; Gold 100 oz). Brokers can differ — check your platform's contract specification.

Why is the lot size rounded down?

So that your real risk is never more than what you planned.

More calculators

Keep every trade on record

A journal shows whether you really follow your own rules. MT4/MT5 trades are recorded automatically; Indian-market trades take seconds to add.

For education only. Results are estimates, not investment advice or a promise of returns. Markets involve risk — you can lose money.

Ready to start?

Start a 7-Day Practical Trial for Just ₹199

Try TradingView Setup and MT5 Risk Manager yourself — no pressure, no rush. A disciplined, honest option before you commit to anything bigger.

Start ₹199 Trial Talk to us first
Risk disclosure

Educational tools only. No investment advice. No guaranteed returns. Trading involves risk. Yashdhan is not acting as a SEBI-registered investment adviser unless its legal status is explicitly updated.