Numbers & money · Free
Forex lot size calculator
Type your risk and your stop-loss and get the lot size for any forex pair, gold (XAU/USD), silver or index CFD – with pip value, margin and fees. Free, in your browser, no account.
- No account
- Runs on your device
- Phone & desktop
Find your lot size
Stays in your browser
Your position
Position size
This browser does not let the page save data (a private window?). Your trades stay only until you close this tab: back them up before you leave.

Your journal is empty
Add your first trade, import a CSV export from your platform, or explore the statistics with example trades first.
Equity curve
Breakdown
Trades
Trading involves risk of loss. The Trading Studio is a calculator and a journal, not investment advice: it gives no signals, forecasts or recommendations.
Your numbers stay on your device. The calculator runs in your browser, and the journal is saved in this browser’s storage, never uploaded. Back it up as a file whenever you like.
Trading involves risk of loss. The Trading Studio is a calculator and a journal, not investment advice: it gives no signals, forecasts or recommendations. Results depend on the numbers you enter and on your broker’s contract terms.
Calculate a forex lot size in three steps
Pick the pair
EUR/USD, a yen pair, gold or an index: contract size and pip size fill in by themselves and stay editable.
Risk and stop-loss
Type how much the trade may cost and where the stop goes. The distance shows in pips.
Read the lots
You get standard lots, the same size in units, mini and micro lots, the pip value and the margin at your leverage.
The position size formula
Position size = risk amount ÷ (stop distance × value of one unit). With a 10,000 account and 1 % risk, one trade may lose 100. Entry 50 and stop 48 means 2 per share, so the size is 50 shares. Commissions are part of the loss: with 1 per order (entry and exit), the budget left for the price move is 98, which gives 49 shares.
The size is always rounded down – to whole shares, to the lot step or to whole contracts – so the real risk shown under the result never exceeds the budget.
Lot size and pip value in forex
A standard lot is 100,000 units of the base currency, a mini lot 10,000 and a micro lot 1,000. For most pairs a pip is 0.0001; for yen pairs it is 0.01. The pip value of one lot is the pip size times 100,000, converted into your account currency: 10 USD for EUR/USD in a dollar account.
Example: 10,000 USD account, 1 % risk, stop-loss 50 pips away on EUR/USD. 100 ÷ (50 × 10) = 0.20 lots. Gold (XAU/USD) usually trades 100 ounces per lot, so a move of 1 dollar is worth 100 per lot. Index CFDs differ from broker to broker, which is why contract size and pip size stay editable.
Leverage and liquidation price in crypto
When you size a position from your stop-loss, leverage does not change your risk – it only changes how much margin the exchange holds. What it does change is the liquidation price. For an isolated USDT-margined position the estimate is:
- long: entry × (1 − 1 ÷ leverage) ÷ (1 − maintenance margin rate)
- short: entry × (1 + 1 ÷ leverage) ÷ (1 + maintenance margin rate)
At 50,000 with 10× leverage and 0.5 % maintenance margin, a long is liquidated near 45,226. Exchanges add fees and tiered rates, so treat it as an estimate and compare with the figure your exchange shows. If your stop-loss lies beyond that price, the calculator says so.
Futures: ticks and tick value
Futures move in ticks. The E-mini S&P 500 (ES) ticks in 0.25 points worth 12.50 USD each, so a 10-point stop is 40 ticks or 500 USD per contract. Contracts = risk ÷ (ticks × tick value + commission), rounded down. The list holds the common CME contracts and their micro versions; pick Custom for anything else and type tick size and tick value from the contract specifications.
Reward to risk and the break-even win rate
The reward-to-risk ratio compares the distance to the take-profit with the distance to the stop-loss. From it follows the share of trades that must win just to break even: 1 ÷ (1 + ratio).
| Reward to risk | Break-even win rate |
|---|---|
| 1 : 1 | 50 % |
| 1 : 1.5 | 40 % |
| 1 : 2 | 33.3 % |
| 1 : 3 | 25 % |
Fees move these numbers, so the calculator shows both: the ratio on the chart and the money you would make or lose after fees.
What a losing streak does to an account
Plain arithmetic, no advice: a fixed percentage risk shrinks with the account, and losses need larger gains to recover.
| Risk per trade | After 10 losses in a row | Gain needed to recover |
|---|---|---|
| 1 % | −9.6 % | +10.6 % |
| 2 % | −18.3 % | +22.4 % |
| 5 % | −40.1 % | +67.0 % |
| 10 % | −65.1 % | +186.8 % |
How the trading journal works
Switch to the Journal tab and add a trade in a few fields – symbol, direction, entry, exit, size and date – or send a calculated position there with one tap and close it later. Add a stop-loss to get the result in R, a setup and tags to compare your strategies, notes and a screenshot of the chart. Every figure updates the moment you save.
The journal statistics explained
- Win rate – winning trades divided by all trades.
- Profit factor – gross profit divided by gross loss; above 1 means the winners paid for the losers.
- Expectancy – the average net result per trade.
- Average R – the average result in multiples of the initial risk, for trades with a stop-loss.
- Max drawdown – the largest fall of the equity curve from a peak.
The breakdown shows the same figures per setup, tag, weekday, hour, direction and market, so you can see where your results come from.
Import trades from your platform
Export your trade history as a CSV file and import it: the Trading Studio recognizes exports from Myfxbook (for MetaTrader 4 and 5), NinjaTrader, Tradovate and TradingView’s list of trades, and matches the columns of any other file by their names. You check the matching and a preview before anything is saved; trades already in the journal are skipped. It never asks for a broker login or an API key.
Your data and your backup
The journal lives in this browser (IndexedDB) on this device. Use Back up to save everything, screenshots included, as one JSON file, and Restore backup to bring it to another browser or device. Export CSV gives you a spreadsheet. Clearing the browser’s site data deletes the journal, so keep a backup. The only request the calculator can make is the ECB rate button: it loads the European Central Bank’s daily euro reference rates through our server.
Embed this tool on your website
Write about trading or run a trading community? Give your readers this position size calculator with one copy and paste. It is free, shows no ads, sets no cookies and tracks nobody.
More Trading Studio pages
Frequently asked questions
How do I calculate the lot size for gold (XAU/USD)?
Pick XAUUSD: a lot is usually 100 ounces, so every dollar the price moves is worth 100 per lot. Lots = risk ÷ (stop distance in dollars × 100); for 100 of risk and a 10-dollar stop that is 0.10 lots.
What is the pip value of one lot?
The pip size times the contract size, in the quote currency: 10 USD for EUR/USD, 1,000 yen for USD/JPY. The calculator converts it into your account currency.
Is the Trading Studio free?
Yes. The calculator and the journal, with import, statistics, screenshots and backups, are free to use with no account and no subscription. Ads on the site pay for it.
Does it give trading signals or advice?
No. It does arithmetic on the numbers you enter and shows statistics of the trades you log. It makes no forecasts, suggests no trades and is not investment advice.
Where are my trades stored?
Only in this browser on this device, in its IndexedDB storage. Nothing is uploaded. Make a backup file to move the journal or to keep it safe when you clear your browser data.
How is the position size calculated?
The amount you are willing to lose is divided by what one share, lot, coin or contract loses between entry and stop-loss, fees included. The result is rounded down, so the real risk stays within your budget.
How accurate is the liquidation price?
It uses the standard isolated-margin formula with your leverage and maintenance margin rate. Exchanges add fees, funding and tiered margin rates, so it is an estimate: compare it with the price your exchange shows before you trade.
Can I import my MetaTrader history?
Yes, through a CSV file: connect the account to Myfxbook and export its trade history as CSV, or save the MetaTrader history report as a spreadsheet and export that as CSV. The importer recognizes both layouts and lets you check the columns.
Does it work on my phone?
Yes. The page is built for phones first: big numbers, one-hand fields and a result bar that stays in view. Once loaded, the calculator needs no connection.

