Forex Position Size Calculator: The Method Behind Every Lot Size

Most losing accounts are not lost on bad analysis. They are lost on good analysis sized wrongly. A forex position size calculator solves one narrow, unglamorous problem: given the money you are willing to lose on this trade and the distance to your stop, how many lots should you actually buy or sell? Get that number right and a run of losses is an inconvenience. Get it wrong and a single trade can undo a month of work.
What a forex position size calculator actually solves
A position size calculator does not tell you whether to take the trade. It converts a decision you have already made, how much of your account you are prepared to lose, into an order size your broker will accept. Three numbers go in: your risk in money, your stop distance, and the value of one pip on the instrument you are trading. Almost everything else on a forex calculator page, margin, swap costs, profit projections, compounding tables, sits downstream of that. The method is worth understanding before you hand it to a tool, so it comes first here.
The three inputs that decide your position size
Risk per trade, expressed in money
Percentage is how you decide. Money is how you calculate. A 10,000 dollar account risking 1 per cent is risking 100 dollars, and that 100 dollars is the number that goes into the formula. It is the maximum you accept losing if the stop is hit cleanly, which is a caveat worth holding on to: weekend gaps and slippage through fast news can take more than your stop implied.
Be precise about what you mean by account. If you already have positions open, size against equity rather than balance, because balance flatters you by ignoring what is currently underwater. On a funded or prop account, the number that matters is the drawdown limit, not the notional balance on the dashboard.
Stop distance, measured in pips
Your stop distance is decided by the chart, not by the size you want to trade. It belongs beyond the structure that would invalidate your idea: the far side of a swing high or low, the other side of a level, or a multiple of average true range.
The order of operations matters. Find the stop first, then size to it. Traders who work the other way round, deciding they want one lot and then placing the stop close enough to make the risk tolerable, are letting position size dictate their analysis. That is how you get stopped out by noise on a trade that later went exactly where you thought it would. If you are unsure where a level genuinely sits, multi-timeframe analysis is a better guide than the size you would like to trade.
A pip is 0.0001 for most currency pairs and 0.01 for pairs quoted in yen. If that distinction is shaky, our pip calculator guide covers it properly.
Pip value, the part most people get wrong
Pip value is what a one-pip move is worth in your account currency, for the size you are trading. A standard lot is 100,000 units of the base currency, a mini lot is 10,000, and a micro lot is 1,000.
When the quote currency matches your account currency this is easy. On EUR/USD with a dollar account, one pip on a standard lot is 0.0001 multiplied by 100,000, which is 10 dollars. A mini lot is one dollar per pip and a micro lot is ten cents.
When it does not match, you convert. One pip on a standard USD/CAD lot is 10 Canadian dollars; at an exchange rate of 1.3800 that is 7.25 US dollars. That rate moves through the day, which is why a live calculator quotes slightly different pip values at different times.
The formula, and a worked example on EUR/USD
The whole thing reduces to one line. Position size in lots equals your risk in money, divided by your stop distance in pips multiplied by the pip value of one standard lot.
Take a 10,000 dollar account risking 1 per cent, so 100 dollars, on a EUR/USD trade with a 25-pip stop. Pip value on a standard lot is 10 dollars. So 100 divided by 250 gives 0.40 lots, which is 40,000 units, or four mini lots.
Check it backwards, because you should always check it backwards. At 0.40 lots you are risking 4 dollars per pip, and 25 pips at 4 dollars is 100 dollars. Correct.
Always round down, never up. If the calculation returns 0.4667 lots, trade 0.46. Rounding up quietly pushes every trade over your stated risk. And notice that the size fell out of the stop rather than the other way round: widen the stop to 50 pips on the same 100 dollars of risk and the answer halves to 0.20 lots. Same risk, different trade, and that is the point of doing it this way.
When the quote currency is not your account currency
Same 10,000 dollar account, same 1 per cent, this time on USD/JPY with a 40-pip stop and the pair trading at 155.00 for the sake of the example.
One pip on a standard lot is 0.01 multiplied by 100,000, which is 1,000 yen. Converted at 155.00, that is 6.45 dollars. So 100 divided by 40 times 6.45 gives 0.3876 lots, and you trade 0.38.
Checking backwards: 0.38 lots is 2.45 dollars per pip, and 40 pips at 2.45 dollars is 98 dollars. Two dollars under budget, which is the correct side to land on. This conversion is the step people skip, and on a cross like EUR/GBP with a dollar account there are two conversions to make, not one.
Sizing gold, where most calculators go quiet
Gold is where the free tools thin out. EarnForex states plainly on its calculator page that the web form may not handle gold, silver or oil because contract specifications differ significantly between brokers. Babypips covers 28 currency pairs and no metals at all. Myfxbook does cover XAU/USD along with silver, platinum and palladium, which is one of the clearer reasons to prefer it if you trade gold.
The complication is not the maths, it is the vocabulary. A standard XAU/USD lot is 100 troy ounces at effectively every broker. What is not stable is what a pip means: some brokers call a 0.10 move one pip, others call a 0.01 move one pip. Same instrument, same stop, two pip counts that differ by a factor of ten. Feed the wrong convention into a calculator and your position size is wrong by the same factor.
The fix is to stop counting pips on gold and size in dollars of price movement instead. Say gold is trading near 3,350 and your stop sits 15 dollars below entry. A standard lot is 100 ounces, so a one dollar move is 100 dollars per lot, and a 15 dollar stop risks 1,500 dollars per standard lot. With 100 dollars of risk, 100 divided by 1,500 is 0.0667, so you trade 0.06 lots.
Checking backwards: 0.06 lots is six ounces, and six ounces moving 15 dollars is 90 dollars. Inside budget, and the answer holds whichever pip convention your broker uses.
This is not theoretical. A trader used to 0.40 lots on EUR/USD who carries that size across to gold with the same 15 dollar stop is risking 40 ounces times 15 dollars, which is 600 dollars, or 6 per cent of a 10,000 dollar account, with no conscious decision to change anything. Gold's daily range does not resemble a major currency pair's, and it is the position size that has to absorb that difference, because the stop cannot. Gold also behaves differently across the trading day, which changes how wide a sensible stop needs to be.
What risk per trade should you use
One per cent is the standard answer, and it is standard not because it is optimal but because it is survivable. Ten consecutive losses at 1 per cent of a compounding balance leaves you about 9.6 per cent down. Unpleasant, entirely recoverable, and you can keep trading your plan. The same ten losses at 5 per cent leaves you roughly 40 per cent down, and a 40 per cent hole needs a 67 per cent gain to climb out of. That asymmetry is the whole reason to keep risk small. A 20 per cent drawdown needs a 25 per cent gain to recover; a 50 per cent drawdown needs 100 per cent. Losses subtract in a straight line and recoveries have to compound.
A sensible working band is 0.5 to 2 per cent per trade. Below 0.5 per cent the account barely responds to a good run; above 2 per cent, variance rather than skill starts to shape your equity curve. Two adjustments matter. Count correlated positions as one risk unit: long EUR/USD and long GBP/USD at 1 per cent each is closer to a single 2 per cent bet against the dollar than to two separate trades. And set a daily loss cap, so a bad session ends before it becomes a bad month.
The free calculators, assessed fairly
Babypips and Myfxbook hold the top of these results because their tools are genuinely good and genuinely free, and there is no sense pretending otherwise.
Babypips runs the cleanest version. Choose your account currency from eight options, enter your balance, risk percentage and stop in pips, pick a pair, and it returns your amount at risk, the position size in units, and the equivalent in standard, mini and micro lots. No login, no friction. Its limits: currency pairs only, no metals, and the in-depth lesson walking through the calculation sits behind its Premium subscription.
Myfxbook is the more capable tool. It covers majors, minors, exotics and metals, applies the live exchange rate automatically when your account currency differs from the pair's quote currency, and sits inside a suite of more than a dozen calculators covering pip value, margin, leverage, drawdown, risk of ruin, compounding and swaps. You can save recurring setups as templates, though that needs an account, and the site is ad-supported. EarnForex deserves credit for candour: rather than quietly returning a wrong number for gold, it tells you its web form may not cope with commodity contract specifications and points you at its MetaTrader tool instead.
If all you need is a number, any of these will give you one. Where they stop is the same place: they are standalone calculators, disconnected from the trade itself. You type numbers in, copy a lot size out, and retype it into your platform. Nothing verifies that the stop you entered matches the level you actually identified, nothing knows what else you have open, and nothing records what happened next.
How the Risk Doctor calculator differs
Systemly's Risk Doctor is free on every tier and runs the same core arithmetic, because the arithmetic is not the differentiator. The context is. It sits inside the platform that produced the analysis, so instead of handing back a lot size in isolation it returns the lot size, the cash at risk, the outcome at each take-profit target, the breakeven point and the R-multiple. You see the shape of the whole trade, not just the volume field.
The second difference is where the numbers come from. Systemly does not read chart screenshots and does not do image analysis. It ingests raw OHLCV candle data and computes indicators and levels from the source candles. That matters for sizing more than it might appear, because a position size is only as good as the stop distance behind it, and a stop distance is only as good as the level it came from. A level estimated from pixel positions on a rendered chart is an approximation. A level taken from actual highs and lows is not.
The third difference is what happens afterwards. Every signal Systemly's own strategies produce is tracked to a definitive outcome, take profit or stop loss, with the full reasoning published alongside it. There is no headline win rate on the homepage, deliberately: the record is open and you can read it. Knowing the real distribution of outcomes for a strategy is what tells you whether your chosen risk percentage is sensible or wishful.
The honest trade-off: if you want an anonymous lot size in ten seconds with no account, Babypips is a shorter path and always will be. Risk Doctor is built for traders who want sizing wired into the analysis and the execution rather than living in a separate browser tab.
A correct lot size does not make a good trade
Position sizing is a defensive discipline. It controls what a wrong answer costs, not how often you are right. Size perfectly on setups that have no edge and you will simply lose money more slowly and more politely. The other half of the job is only taking trades worth the risk: stacking evidence rather than acting on a single signal, and understanding where liquidity sits so your stop is not parked exactly where the market is most likely to reach for it. Once the sizing method is comfortable, our guide to how to calculate lot size goes deeper on lots across pairs, metals and account currencies.
Frequently asked questions
How do I calculate position size?
Three numbers. Work out your risk in money by multiplying your account by your risk percentage, measure your stop distance in pips from your intended entry, and find the pip value for that pair in your account currency. Then divide: risk, divided by stop distance in pips multiplied by pip value per standard lot. A 10,000 dollar account risking 1 per cent, so 100 dollars, with a 25-pip stop on EUR/USD where a standard lot is worth 10 dollars per pip, gives 100 divided by 250, or 0.40 lots. Always round down.
What risk per trade should I use?
Between 0.5 and 2 per cent per trade, with 1 per cent as the sensible default. At 1 per cent, ten consecutive losses leave you roughly 9.6 per cent down, which is recoverable without changing anything. At 5 per cent, the same run leaves you about 40 per cent down and needing a 67 per cent gain to get level again. Use the lower end while testing a strategy or trading a funded account with a hard drawdown limit, and treat correlated positions as one risk unit rather than several.
Does the calculation change for gold?
The method is identical but the units are not. A standard XAU/USD lot is 100 ounces, so a one dollar move in the gold price is worth 100 dollars per lot. Because brokers disagree about whether a gold pip is 0.10 or 0.01, measure your stop in dollars of price movement rather than pips and divide your risk by the dollar risk per lot. That gives the same answer regardless of which convention your broker uses.
Should I size against balance or equity?
Equity, if you have open positions. Balance ignores unrealised losses on trades that are already running, so sizing against it overstates what you can afford as your open risk grows. With a flat account the two are the same number.
Work out your size before your next trade
Understanding the method is what stops you accepting a number you cannot sanity-check. Once you trust it, running it by hand every time is just friction. Open the Risk Doctor calculator, free on every tier, and get the lot size, the cash risk, the outcome at each target, the breakeven and the R-multiple in one place before your next entry.
Systemly.ai is not a licensed financial adviser and does not provide regulated financial advice. Trading carries a significant risk of loss and is not suitable for everyone. Past performance does not guarantee future results. Always do your own research and never risk more than you can afford to lose.