i What this calculator does
Quick answer: Calculate the position size that matches your risk percentage. With the default inputs (a R50,000 rand account, 1% risk, a USD/ZAR buy at 18.10 with the stop at 17.95), it returns recommended position size of 3,333.33 units.
A position size calculator automates the standard risk-based sizing formula: it takes your account balance, chosen risk percentage, and stop-loss distance, and returns exactly how large a position to open. This removes manual calculation from a step that directly determines how much of your account is at stake on any single trade.
Because it's calculated the same way every time, it also removes the inconsistency that creeps in when position size is estimated by feel rather than worked out precisely.
This calculator is for educational purposes only. Results are estimates and may vary depending on market conditions, spreads, commissions, platform settings, and exchange rates. It should not be considered financial advice.
📋 ON THIS PAGE
- Lot size calculator: sizing from a stop in pips
- How to read the result
- From units to lots, and checking a size you already have
- Contract size, account currency and costs
- A worked example in rand
- Common results
- How the calculation works
- The South African angle
- Why these two calculations are naturally connected
- How a combined tool typically works
- Why manual calculation is error-prone
- Built-in platform calculators versus standalone tools
- What moves the result most
- Assumptions and limitations
Lot size calculator: sizing from a stop in pips
If you think in pips rather than prices, this version sizes the position from the stop distance in pips and the pip value.
How to read the result
The verdict line under the result says: "This scenario uses a relatively low percentage of account equity as risk." That sentence is recomputed on every run. It is a reading of the numbers, not a recommendation.
If the rand at risk on this trade is more than 2% of the account, the position is too large for the stop, whatever the chart says. For the reasoning, read Leverage and Margin Limits for South African Traders.
From units to lots, and checking a size you already have
The result is in units of the instrument. For forex, divide by the lot size your broker uses: a standard lot is 100,000 units of the base currency, a mini lot 10,000 and a micro lot 1,000, so 14,000 units is 0.14 standard lots. For index and gold CFDs, contract sizes differ by broker, which the index and gold position size calculator handles.
To check the risk of a size you already hold, work backwards: risk = size × distance from entry to stop, plus costs. If that is more than your chosen risk, reduce the size rather than moving the stop. This page replaces the separate lot size calculator, which did the same calculation.
Contract size, account currency and costs
The size is only as accurate as three inputs that differ between brokers. Contract size: one forex lot is usually 100,000 units of the base currency, but one gold lot is often 100 ounces and index CFDs are quoted per point at a value the broker sets, so check the contract specification before converting units into lots.
Account currency: if the stop distance is priced in dollars and the account is in rand, the risk must be converted at the current rate, and a move in USD/ZAR changes the rand value of the same stop. Costs: the spread is paid on entry and slippage can add to it on exit, so a stop that is hit can cost more than the stop distance. Enter expected costs in the trading costs field, and size down further for markets that gap.
A worked example in rand
Hypothetical example. A trader with a R50,000 rand account risks 1% on a USD/ZAR buy at 18.10, with the stop at 17.95. The risk is R500 and the stop is 15 cents away, so the size is R500 ÷ 0.15 = 3,333 units, about 0.03 standard lots, a position worth about R60,333.
Move the stop further away, to 17.80, and the same R500 risk allows only 1,667 units: a wider stop means a smaller position, not more risk. A spread of 2 cents paid on entry would leave R433 of the budget for the stop distance, cutting the size to about 2,889 units, which is why costs belong in the trading costs field.
Common results
What the calculator returns as the stop-loss price changes, with every other input at its default (rand account, account equity 50,000, risk percentage 1, entry price 18.10, trading costs 0).
| Stop-Loss Price | Stop Distance | Recommended Position Size |
|---|---|---|
| 18.05 | 0.05 | 10,000.00 units |
| 18.00 | 0.10 | 5,000.00 units |
| 17.95 | 0.15 | 3,333.33 units |
| 17.90 | 0.20 | 2,500.00 units |
| 17.80 | 0.30 | 1,666.67 units |
| 17.60 | 0.50 | 1,000.00 units |
⬇ Download this chart (PNG) · Free to reuse with the credit “Source: TradeAnswers, Position Size and Lot Size Calculator” (CC BY 4.0).
How the calculation works
There are seven inputs to fill in: Account Currency, Trade Direction, Account Equity, Risk Percentage (%), Entry Price, Stop-Loss Price and Trading Costs.
The formula is Risk Amount = Equity × Risk% | Position Size = Risk Amount ÷ Stop Distance. The calculation is 50,000 × 1.00% = 500.00 → ÷ 0.15 = 3,333.3333 units. The breakdown also lists account equity, risk percentage, entry price and stop-loss price.
The South African angle
Gold and the major indices are quoted in dollars and traded by South Africans in rand accounts, so the rand value of a point moves with the exchange rate even when the instrument does not. Spreads on rand pairs at retail brokers are wider than on the majors, typically 20 to 60 points on USD/ZAR, and that spread is part of the distance a trade must travel before the risk arithmetic starts working for you.
Why these two calculations are naturally connected
Position sizing and margin calculations share a direct, natural connection. Once you've calculated an appropriate position size based on your risk percentage and stop-loss distance, you almost immediately need to know the corresponding margin requirement to confirm your account has sufficient available capacity for that specific position.
How a combined tool typically works
A combined calculator typically takes your account balance, risk percentage, stop-loss distance, and leverage setting as combined inputs, then outputs both the recommended position size and its corresponding margin requirement together, removing the need to manually transfer the position size output from one calculator into a separate margin calculator as a second, additional step.
Why manual calculation is error-prone
Correctly sizing a position requires combining your account balance, risk percentage, stop-loss distance, and the specific instrument's pip or point value into a single calculation. Performing this manually under the time pressure of an actual trading decision introduces genuine risk of simple arithmetic errors, especially for traders newer to this calculation or trading during the compressed timeframes of day trading.
Even a small calculation error can meaningfully distort your actual risk exposure relative to your intended risk percentage, undermining the consistent, disciplined risk management this calculation is specifically designed to support in the first place.
Built-in platform calculators versus standalone tools
Many trading platforms, including MetaTrader, include built-in position size calculation functionality directly within the order placement interface, while standalone position size calculator tools also exist as separate web tools or spreadsheet templates, sometimes offering additional features like saving common calculations for repeated use across similar trade setups.
Either option achieves the same fundamental purpose. The specific choice between built-in and standalone tools is largely a matter of personal workflow preference rather than one being inherently superior to the other for most practical purposes.
What moves the result most
With every other input at its default, Recommended Position Size (3,333.33 units) is most sensitive to the two prices that set the stop distance: moving the Entry Price from 18.1 to 18.28 moves the result to 1,510.57 units, −54.7%, and moving the stop from 17.95 to 17.77 has almost the same effect. The table tests each input on its own, so it shows where a small error in an input matters most.
| Input | Changed from | Changed to | Recommended Position Size | Effect |
|---|---|---|---|---|
| Entry Price | 18.1 | 18.28 (+1%) | 1,510.57 units | −54.7% |
| Stop-Loss Price | 17.95 | 17.77 (−1%) | 1,517.45 units | −54.5% |
| Risk Percentage (%) | 1 | 1.1 (+10%) | 3,666.67 units | +10.0% |
| Account Equity | 50,000 | 55,000 (+10%) | 3,666.67 units | +10.0% |
Assumptions and limitations
It assumes the stop is filled at its level and that the pip value is correct for the current exchange rate. Gaps and slippage can make the loss larger than the planned risk, and several open positions on the same driver add up to more risk than any single size shows.
Key Takeaways
- It assumes the stop is filled at its level and that the pip value is correct for the current exchange rate.
- There are seven inputs to fill in: Account Currency, Trade Direction, Account Equity, Risk Percentage (%), Entry Price, Stop-Loss Price and Trading Costs.
Spotted an outdated figure? If a rate, limit or formula in this calculator no longer matches its source, email us the page and the source. A material correction is dated on the Updates Log.
Frequently asked questions
What risk percentage should I use per trade?
Some traders use the 2% rule as an upper limit per trade, though the right figure depends on strategy win rate, risk-reward ratio, and personal risk tolerance. Newer traders, or those still building confidence in a strategy's genuine edge, often start more conservatively at 0.5-1%, while more experienced traders with a longer, well-understood track record sometimes use slightly higher figures within that same general range. What matters most is choosing a figure you can apply consistently across many trades, including through an inevitable losing streak, rather than picking a number that only feels comfortable when things are going well.
Does this calculator account for trading costs like spreads and commissions?
This calculator works from the risk implied by your entry and stop-loss price distance, which doesn't automatically include spread, commission, or overnight financing costs. In practice, these costs mean your realised risk on a losing trade is very slightly higher than the raw calculation suggests, since the position typically also has to overcome the spread before reaching breakeven. For most swing and position trades this difference is small enough not to materially change your sizing decision, but for very short-term or high-frequency strategies where costs represent a larger proportion of each trade's typical move, pad your risk calculation slightly to account for them rather than treating the raw price-based figure as the complete picture. A simple practical adjustment many traders use is treating their stop-loss distance as slightly wider than the technical level alone would suggest, which naturally builds a small buffer for costs directly into the position size calculation without needing a separate cost-adjustment step.
Should I size positions differently for different strategies?
Many experienced traders do exactly this, rather than applying one fixed risk percentage universally across every setup they trade. A higher-conviction strategy with a longer track record and well-understood statistical edge might reasonably use a somewhat larger risk percentage than a newer, less-proven approach still being evaluated. Similarly, strategies with meaningfully different win rates and risk-reward profiles will naturally suit different position sizing given the same fixed risk percentage, since a lower win-rate strategy needs a larger risk-reward ratio to justify the same risk-per-trade level. What matters most is that whatever sizing rule you choose per strategy is applied consistently within that strategy, rather than varying trade to trade based on how confident a specific setup happens to feel in the moment, since that kind of subjective, mood-driven variation is one of the more common ways position sizing discipline quietly breaks down over time.
How does position size interact with multiple correlated open trades?
Position sizing calculated per trade, in isolation, doesn't automatically account for the fact that opening several correlated positions simultaneously, several major USD pairs at once, for example, effectively multiplies your real exposure to a single underlying driver, in this case broad USD strength or weakness. Each individual position might be sized correctly on its own terms, yet the combined portfolio can carry meaningfully more risk than any single position's calculation would suggest, since a single adverse move in the shared underlying factor affects all the correlated positions at the same time. Being aware of which instruments in your portfolio tend to move together, and treating them as a combined risk exposure rather than entirely independent trades, is a reasonable addition to standard per-trade position sizing, especially for traders who frequently hold several positions at once.
How do I calculate position size using entry and stop price step by step?
Start with your account balance and your chosen risk percentage for this trade, and multiply them to get a Rand risk amount, a R15,000 account risking 1.5% gives R225. Next, take the absolute difference between your entry price and your stop-loss price to get your risk-per-unit figure; if you're entering at 145.20 and stopping at 142.80, that's a distance of 2.40. Divide your Rand risk amount by this risk-per-unit figure to get your position size in units: R225 ÷ 2.40 gives roughly 93.75 units. For forex, this units figure can be converted into a lot size by dividing by 100,000 for standard lots, while for shares or index CFDs, the units figure often represents the position size directly, subject to your broker's minimum increment. Sanity-checking the result by multiplying it back: 93.75 units × 2.40 risk-per-unit should return you very close to your original R225 risk figure, and if it doesn't, that usually points to an arithmetic slip somewhere in the sequence worth double-checking before placing the trade. The key insight worth internalising is that this entire calculation is really just "how many units can I hold such that, if price moves against me by exactly my stop distance, I lose exactly my intended Rand risk amount and no more" everything else is just the arithmetic needed to answer that one question precisely rather than by rough estimation.
What's the difference between fixed fractional and fixed dollar position sizing?
Fixed fractional sizing, which is the approach this calculator uses by default, risks a consistent percentage of current account balance on every trade, meaning the Rand amount at risk grows as the account grows and shrinks as it shrinks. Fixed dollar (or fixed Rand) sizing instead risks the same Rand amount on every trade regardless of account balance, only updating that fixed figure periodically and deliberately rather than automatically with every trade. Fixed fractional sizing has the mathematical advantage of never risking your entire account down to zero, since each loss only ever takes a percentage of whatever remains, while fixed dollar sizing can in theory reach zero balance if losses persist, since the risked amount doesn't shrink alongside a declining balance. This distinction becomes especially relevant during a losing streak, where fixed fractional sizing automatically reduces the Rand amount at risk on each subsequent trade as the balance declines, providing a built-in protective mechanism that fixed dollar sizing simply doesn't have. In practice, fixed fractional is the more commonly recommended default for exactly this reason, though some traders use a hybrid, fixed fractional most of the time, switching to a temporarily fixed, unchanging Rand amount during a specific evaluation period where they deliberately don't want position size to react to short-term account fluctuations. See Should I Use a Fixed Fractional or Fixed Amount Risk Approach? for a fuller comparison of these two philosophies.
How does consistent position sizing affect long-term account survival?
Position sizing is frequently described as the single most important factor in long-term trading survival, ahead of entry timing or even overall strategy selection, because it directly controls how quickly a losing streak, which will eventually happen to any strategy, can damage an account. A trader risking 1% per trade needs roughly 69 consecutive losing trades to halve their account, a scenario that would almost certainly trigger a strategy review long before it happened. A trader risking 10% per trade needs only about 7 consecutive losses to reach the same 50% drawdown, a streak that's plausible even for a strategy with a perfectly reasonable long-run win rate, given how normal streaks of that length are within ordinary statistical variance. This is the core mathematical reason conservative, consistent position sizing tends to outperform more aggressive sizing over a long enough horizon, even when the aggressive approach occasionally produces spectacular short-term results, the aggressive approach also carries a meaningfully higher chance of a catastrophic drawdown severe enough to end the trading account entirely, an outcome from which no amount of subsequent good decisions can recover. Remember too that this relationship compounds in the other direction as well: a conservative position sizing approach not only survives losing streaks better, it also recovers from them more easily, since a smaller drawdown requires a proportionally smaller percentage gain to return to breakeven than a larger one does. See What Is Position Sizing and How Do I Calculate It? and What Is the 2% Rule and Should I Follow It Strictly? for more on why this specific benchmark has become so widely used.
Want to embed this calculator on your site?
Embed this calculator
Free to use on your own site. Copy the code below and paste it where you want the calculator to appear.
<iframe src="https://www.tradeanswers.co.za/embed/position-size-calculator.html"
width="100%" height="870" style="border:0;max-width:520px"
title="Position Size Trading Calculator - TradeAnswers" loading="lazy"></iframe>
<p><a href="https://www.tradeanswers.co.za/position-size-calculator.html">Position Size Calculator</a> by <a href="https://www.tradeanswers.co.za/">TradeAnswers</a></p>
