Position Size Calculator: Size Any Trade by Risk

A position size calculator turns one risk decision into an exact trade size. You give it three inputs: your account size, the percent you will risk, and your stop-loss distance. It returns how many lots or units to trade so a losing trade costs exactly that percent, instead of a round number you picked by feel.
Most traders spend hours on the entry and about four seconds on the size. They find a clean setup, then type in whatever lot number feels normal. That single habit blows more accounts than any bad entry does, because size, not direction, decides how much a loss actually hurts.
A position size calculator fixes that. It works backward from the one number you control before the trade even opens: how much you are willing to lose. This guide walks through the formula, the step-by-step method, a worked example sized from a real Smart Money Concepts (SMC) stop (the structure-based approach built on order blocks and liquidity), and the mistakes that quietly drain accounts.
What is a position size calculator?
A position size calculator is a tool that tells you exactly how large a trade to open so that hitting your stop-loss costs a fixed, pre-decided amount. You feed it three inputs: account balance, risk per trade (as a percent), and the distance to your stop. It returns the number of lots or units.
The logic flips how beginners think. You do not pick a lot size and hope the risk is acceptable; you pick the risk first, and the size falls out of it. That is why the same trader might trade 0.4 lots on one setup and 1.2 on the next: the dollar risk is identical, only the stop distance changed. Free utilities like the myfxbook or babypips calculators do the arithmetic well. What they skip is where the stop comes from, which is where SMC traders have an edge.
The position size formula
The whole calculator is one line of math. In plain terms: the cash you will risk, divided by what one unit of stop distance costs you.

Written out:
Position size (lots) = (Account balance × Risk %) ÷ (Stop-loss distance in pips × Pip value per lot)
Read it piece by piece. The top line, account balance × risk %, is your risk amount, the cash you accept losing if the stop hits (a $10,000 account at 1% is $100). The bottom line is the cost of the trade being wrong: stop distance in pips, times the pip value of one lot for that instrument. Divide the cash you will risk by the cost per pip of your stop, and you get the size that keeps the loss exactly where you set it. For anything that is not forex, swap "pip value" for the value of one point of the contract you trade.
How to calculate position size step by step
You can size any trade in under a minute with five steps. Do them in order, because the stop distance has to come from the chart, not from a round number you find comfortable.
- Set your risk amount. Multiply account balance by your risk percent. Example: $10,000 × 1% = $100. This is the most you will lose on the trade.
- Place your stop on the chart, then measure it. Put the stop where your idea is invalidated. For SMC, that is beyond the structure (below the order block, under the swept low). Measure the distance from entry to stop in pips.
- Find the pip value for the instrument. For pairs quoted in USD, one pip is about $10 per standard lot, $1 per mini lot, $0.10 per micro lot. Other instruments differ, so confirm with your broker.
- Divide. Position size = risk amount ÷ (stop in pips × pip value). Example: $100 ÷ (25 × $10) = 0.4 lots.
- Round down, never up. If the math gives 0.47 lots, trade 0.4. Rounding up quietly pushes you over your risk limit.
That is the entire process. The only judgement call is step 2, where the stop goes, and that is a chart decision, not a math one. Everything after it is mechanical, which is exactly why a calculator (or a panel that does it for you) removes the emotion.
A worked example: sizing from an SMC stop
Here is the method on a real setup. Say you are long EUR/USD on a retest of a bullish order block (a zone where institutional orders likely sit), with your stop tucked below the liquidity sweep that set up the move. That structure, not a fixed pip count, decides your stop distance.
| Input | Value |
|---|---|
| Account balance | $10,000 |
| Risk per trade | 1% = $100 |
| Entry | Retest of bullish order block |
| Stop | Below the swept low → 25 pips |
| Pip value (EUR/USD, standard lot) | $10 |
| Position size | $100 ÷ (25 × $10) = 0.4 lots |
Now change one thing. If the nearest valid structure sits further away and your stop is 50 pips, the size halves to 0.2 lots, still $100 at risk. That is the core habit: the stop is dictated by the chart, and the size adjusts to it. Deciding where a stop belongs relative to structure and imbalance is its own skill; see what is a fair value gap for how SMC traders read those zones. Sizing just translates that stop into lots.
How much should you risk per trade?
Risk 0.5-1% of the account per trade, not the 5% that hype accounts push. The reason is math, not caution. Losing streaks are normal even with a good edge, and the size of your risk decides whether a streak is a rough patch or an account-ending event.
Prop-firm challengers feel this hardest: a 5% daily loss limit means one 5%-risk trade can end the account on a single stop. Sizing small is not timidity. It is what keeps you in the game long enough for the edge to show. For the full breakdown, see how much to risk per trade and the honest drawdown math on risk management.
Position size in forex, gold, indices and crypto
The formula never changes, but the bottom of it, the value of one pip or point, does. That is why the same $100 risk and the same stop distance produce a different size on gold than on EUR/USD. Below are rough per-standard-lot figures; treat them as a starting point and confirm the exact contract with your broker.
| Instrument | One move of… | Approx. value per standard lot* |
|---|---|---|
| EUR/USD, GBP/USD (USD-quoted) | 1 pip (0.0001) | ~$10 |
| USD/JPY (JPY-quoted) | 1 pip (0.01) | ~$9, varies with rate |
| XAUUSD (gold, 100 oz) | $1.00 price move | ~$100 |
| Indices (US100, US30 CFD) | 1 index point | broker-defined ($1-$10+) |
| Crypto (BTC/USD) | $1 price move | contract-size dependent |
*Illustrative, per standard lot. Contract sizes and point values vary by broker and account currency, so always confirm before sizing.
The takeaway: a good calculator does not make you memorise these. You tell it the instrument, it applies the right per-point value, and you get lots or units directly. That is also where a chart-native tool beats a web widget: it already knows the symbol you are on. See our forex position size calculator and lot size calculator for forex walkthroughs for pair-specific examples.
Common position sizing mistakes
Most sizing errors are not math mistakes. They are habits that skip the risk-first logic. These are the ones that show up again and again in blown accounts.
Pros
- Size chosen AFTER the stop, from a fixed risk %
- Stop placed at structure, then measured in pips
- Risk taken from current equity, consistently
- Result rounded DOWN to stay under the limit
- Per-instrument pip/point value confirmed with the broker
Cons
- Trading the same fixed lot on every setup regardless of stop
- Widening the stop to 'fit' a lot size you already picked
- Ignoring that gold and indices are not $10 a pip
- Rounding up 0.47 to 0.5 and quietly over-risking
- Sizing off balance while a floating loss shrinks real equity
The through-line: pick the risk, let the stop come from the chart, and let the size come from the math. When any of those three gets reversed (size first, stop bent to fit), the risk stops being fixed, which is the one thing sizing was supposed to guarantee.
From calculator to one-click sizing on MT5
A calculator gives you the number; you still have to switch windows, type the lots, and place the order before price moves. Smart Trade Assistant closes that gap. It is an MT5 panel that sizes the trade by risk (eight methods, including percent of balance, equity, or free margin) straight from your stop line on the chart, then opens the order from the same window.
You drag your stop to the structure, set the risk percent once, and the lot size is calculated and ready, with no separate calculator to open and nothing to fat-finger. For prop-firm challengers watching a daily limit, that is the difference between a disciplined size and a rushed one.
FAQ
How do you calculate position size?
Decide the cash you will risk (account size times risk %), then divide it by your stop-loss distance times the value of one pip (or point) for the instrument. The result is how many lots or units to trade so a stop-out costs exactly your planned risk.
How much should I risk per trade?
Most consistent traders risk 0.5-1% of the account per trade, not 5%. At 1%, a rough 10-trade losing streak costs about 10% and is survivable. At 5% it costs roughly 40%, which is very hard to recover from. Lower risk keeps you in the game.
Does position size depend on the stop-loss?
Yes, directly. A wider stop means a smaller position for the same cash risk; a tighter stop means a larger one. That is the point of sizing by risk: the dollar loss stays fixed while the size adjusts to where your stop actually sits.
What is the position size formula?
Position size = (account balance times risk %) divided by (stop-loss distance in pips times pip value per lot). For non-forex instruments, swap pip value for the value of one point of the contract you trade.
Can a calculator size trades for gold or crypto too?
Yes, but the per-point value differs by instrument, so the same stop distance gives a different size. Always confirm the contract size and point value your broker uses for that symbol before you trust the number.
Frequently asked questions
How do you calculate position size?
Decide the cash you will risk (account size times risk %), then divide it by your stop-loss distance times the value of one pip (or point) for the instrument. The result is how many lots or units to trade so a stop-out costs exactly your planned risk.
How much should I risk per trade?
Most consistent traders risk 0.5-1% of the account per trade, not 5%. At 1%, a rough 10-trade losing streak costs about 10% and is survivable. At 5% it costs roughly 40%, which is very hard to recover from. Lower risk keeps you in the game.
Does position size depend on the stop-loss?
Yes, directly. A wider stop means a smaller position for the same cash risk; a tighter stop means a larger one. That is the point of sizing by risk: the dollar loss stays fixed while the size adjusts to where your stop actually sits.
What is the position size formula?
Position size = (account balance times risk %) divided by (stop-loss distance in pips times pip value per lot). For non-forex instruments, swap pip value for the value of one point of the contract you trade.
Can a calculator size trades for gold or crypto too?
Yes, but the per-point value differs by instrument, so the same stop distance gives a different size. Always confirm the contract size and point value your broker uses for that symbol before you trust the number.