How to Calculate Risk Per Trade Based on Account Equity

Quick Answer

To calculate risk per trade based on account equity, pick a fixed percentage of your current equity (most traders use 0.5% to 2%), multiply it by your live equity balance to get your dollar risk amount, then divide that dollar figure by the distance (in pips or points) between your entry and stop-loss to find your position size. Recalculating from equity — not the static balance you deposited — keeps your risk proportional as your account grows or shrinks, so a losing streak automatically shrinks your position sizes and a winning streak lets them grow. This equity-based approach is the standard method taught in professional risk management frameworks and is how most rules-based and automated trading systems size positions.

If you trade XAUUSD (gold), forex pairs, or any leveraged instrument, the single most important number in your trading plan is not your entry signal — it's how much of your account you put behind each trade. Traders who skip this step tend to oversize positions after a win and undersize them after a loss, which is backward. This guide walks through the exact formula, worked numeric examples using round account sizes, how to translate a dollar risk figure into a lot size on gold, and the mistakes that quietly wreck otherwise sound trading plans.

Why Equity, Not Balance, Should Drive Your Risk Calculation

Your account has two numbers that matter: balance and equity. Balance is what your account showed after your last closed trade. Equity is balance adjusted in real time for the floating profit or loss of any open positions. If you have three open trades and two are underwater, your equity is lower than your balance right now — and that's the number your next position-sizing decision should be based on.

Using stale balance figures creates a dangerous lag. Imagine your balance is $10,000 but you already have two open trades down a combined $600. Your real equity is $9,400. If you size a third trade off the $10,000 balance figure, you're effectively risking more than your intended percentage of what you actually have left. This compounding effect is exactly how accounts blow up faster than traders expect — not from one bad trade, but from several trades sized against a number that no longer reflects reality.

Equity-based sizing is also what allows compounding to work in your favor over time. As your account equity compounds, your dollar risk per trade grows proportionally too, without you needing to manually adjust anything — provided you recalculate before every trade rather than setting a fixed lot size once and forgetting about it.

Equity vs. Balance vs. Free Margin

A third figure, free margin, sometimes confuses new traders. Free margin is equity minus the margin currently locked up by open positions — it tells you how much you could still commit to new trades, not how much you're risking. For position-sizing math, equity is the correct base figure, because it reflects your true, current account value including unrealized gains and losses.

The Core Formula for Risk Per Trade

The calculation has three inputs and one output:

VariableWhat It MeansExample Value
Account EquityCurrent real-time account value (balance +/- floating P&L)$8,500
Risk PercentageThe share of equity you're willing to lose on this one trade1%
Stop-Loss DistanceDistance in pips/points between entry and stop35 pips
Result: Dollar RiskEquity x Risk % = maximum dollar loss if stopped out$85

Written as a formula: Dollar Risk = Account Equity x Risk Percentage. Then: Position Size = Dollar Risk / (Stop-Loss Distance x Value Per Pip/Point). Every professional position-sizing model, whether used by discretionary traders or coded into an automated MQL5 Expert Advisor, reduces to some version of this two-step process. The percentage you choose is the only truly subjective input — everything downstream of it is arithmetic.

Step-by-Step Worked Example

Let's walk through a complete calculation using round numbers so the math is easy to follow and easy to replicate with your own account figures.

Step 1: Confirm Current Equity

Say your MetaTrader terminal shows equity of $12,400 right now (not the $12,000 you deposited three weeks ago — the $400 reflects an open floating gain on another position). You always use the live number shown in the terminal, which you can check directly in the MetaTrader 5 terminal or MetaTrader 4 equivalent.

Step 2: Choose Your Risk Percentage

You decide on 1.5% risk per trade, a moderate figure appropriate for a trader with a validated strategy and realistic expectations.

Step 3: Calculate Dollar Risk

$12,400 x 0.015 = $186. This is the maximum amount you are willing to lose if the trade hits your stop-loss, full stop.

Step 4: Determine Stop-Loss Distance

Your technical analysis on the chart puts your stop 40 points away from entry (on XAUUSD, many brokers quote gold with a point value where 1 pip = 10 points, though this varies by broker — always confirm your broker's specification).

Step 5: Solve for Position Size

If your broker's XAUUSD contract has a pip value of roughly $10 per standard lot (1.00 lot) at a 1-pip stop, then for a 4-pip stop-loss distance: $186 / (4 pips x $10) = 4.65, meaning roughly a 0.46-lot position when working in tenths, or more precisely calculated to two decimal lot places depending on your broker's minimum lot increment. The exact multiplier depends on your broker's contract specification and current gold price, so always verify pip value with your broker's dealing terms before finalizing size — the math above illustrates the method, not a universal constant.

The output — your lot size — is the only number you actually place in the trade ticket. Everything before it is the reasoning that gets you there, and it takes seconds once you've built a habit of running it before every entry.

Setting Your Risk Percentage: How Much Is Reasonable

There is no universally "correct" risk percentage, but decades of trading literature and professional risk frameworks converge on a narrow band for a reason: percentages outside it either grow accounts too slowly to matter or expose them to ruin within a handful of losing trades.

Risk Per TradeConsecutive Losses to Halve AccountTypical Trader Profile
0.5%~139 tradesConservative, capital preservation focus, small daily setups
1%~69 tradesStandard professional benchmark, most retail and prop guidelines
2%~34 tradesModerate-aggressive, higher conviction selective strategies
3%+~23 trades or fewerAggressive, generally discouraged for sustained use

Most experienced gold traders settle somewhere between 0.5% and 2% per trade, adjusting based on strategy win rate, the number of concurrent open positions, and personal tolerance for equity swings. A selective strategy that only takes one or two high-conviction setups a day — the kind that trades gold on higher timeframes rather than scalping every intraday wiggle — can often justify a slightly higher per-trade risk than a system firing dozens of trades a week, simply because fewer, more filtered trades mean fewer chances for consecutive losses to stack up. Comparing scalping approaches against slower gold trading timeframes is a useful first step before you even get to the risk math.

Translating Dollar Risk Into XAUUSD Lot Size

Gold trades in dollars per ounce, and its point value differs from standard forex pairs, which is where many traders miscalculate. On most MT4/MT5 brokers, one standard lot (100 oz) of XAUUSD moves roughly $1 in value for every $0.01 move in price, though contract specifications vary by broker and account type — always check your specific broker's contract size before trading, a step covered in more detail when you research broker spreads on gold.

A Second Worked Example: Smaller Account

Consider a $2,500 account risking 1% per trade: $2,500 x 0.01 = $25 dollar risk. If your stop-loss on a gold trade is $8.00 away from entry (an 800-point stop on a broker quoting 2 decimal places), and a mini lot (0.10) moves roughly $1 per $0.10 price change, you would size down to a fraction of a mini lot — frequently under 0.03 lots on smaller accounts, which is precisely why EA selection and broker minimum lot increments matter so much for traders starting with limited capital. Some brokers won't let you size that precisely, which is itself a reason to widen your stop or choose a broker offering micro-lot increments.

Why You Should Never Guess Pip Value

Never estimate pip or point value from memory across brokers — contract sizes, quote precision (2 vs. 3 decimal places), and margin requirements on XAUUSD differ enough between brokers that a formula that works on one account can misfire on another. Most MT4 and MT5 platforms display this directly in the contract specification window, and the official MetaTrader 4 platform help documentation explains how to check it for any symbol.

Comparing Position-Sizing Methods

Equity-percentage sizing isn't the only method traders use, and it's worth understanding the alternatives to see why it's generally preferred for anyone trading gold over a meaningful stretch of time.

MethodHow It WorksMain Drawback
Fixed Lot SizeSame lot size every trade regardless of stop distance or equityRisk swings wildly as stop distance or account size changes
Fixed Dollar AmountSame dollar risk every trade (e.g., always risk $100)Doesn't scale with account growth or drawdown; punishes small accounts
Equity PercentageRisk scales automatically with current equity and stop distanceRequires recalculation before every trade (or automation to do it)

Fixed-lot and fixed-dollar approaches are simpler to execute manually, which is exactly why undisciplined traders default to them — but they ignore how much your account has actually changed since you started. Equity-percentage sizing is more arithmetic upfront but is the only method of the three that automatically protects a shrinking account and automatically capitalizes on a growing one, which aligns directly with sound drawdown control principles. If you want a deeper breakdown of how drawdown and risk-per-trade interact over a full sequence of trades, see our guide on how drawdown actually works.

Adjusting Risk as Your Equity Changes

The entire point of equity-based sizing is that it self-adjusts, but that only works if you actually recalculate before each trade rather than setting a lot size once at the start of the month.

During a Winning Streak

If your $10,000 account grows to $11,500 after a run of winners, your 1% risk figure automatically rises from $100 to $115 per trade on the next setup. You don't need to manually decide to "risk more" — the math does it for you, proportional to the capital you actually have.

During a Drawdown

The more important case: if that same account falls to $8,700 after a losing stretch, your 1% risk drops from $100 to $87. This is the mechanism that protects capital during a rough patch — smaller dollar risk on a smaller account means it takes proportionally more consecutive losses to do the same percentage of damage, buying you time and reducing the emotional pressure to "win it back" with an oversized trade.

Recalculation Frequency

Most manual traders recalculate before every single trade, since gold can move enough in a session to meaningfully change equity if other positions are open. Automated systems that size positions programmatically, including EAs built for XAUUSD, typically pull the live equity value from the platform before every order is placed, which removes the temptation to skip the math when you're busy, tired, or emotionally invested in a setup.

Common Mistakes That Undermine Equity-Based Risk Calculations

Even traders who understand the formula in theory make consistent errors applying it in practice.

Sizing Off Balance Instead of Equity

Covered above, but worth repeating because it's the single most common error: checking your balance tab instead of your equity tab before calculating, especially when multiple trades are open simultaneously.

Rounding Stop Distance Loosely

A "roughly 30-pip stop" that's actually 38 pips changes your position size by more than 25%. Precision in your stop-loss distance matters as much as precision in your risk percentage.

Increasing Risk Percentage After Losses

This is the classic revenge-trading trap: raising your risk percentage from 1% to 3% after two losses to "make it back faster." It moves you further from your original risk plan exactly when discipline matters most, and it's the single fastest way to turn a manageable drawdown into an account-ending one.

Ignoring Correlated Open Positions

If you have two open gold-related positions that would both lose on the same market move, your effective risk is the combined exposure, not each position's risk calculated in isolation. Traders who also hold multiple EAs or strategies should think about this at the portfolio level — our piece on diversification across multiple EAs covers how correlated risk compounds across strategies, not just within one.

Forgetting Leverage and Margin Calls

Position sizing based on risk percentage is about controlling loss on a stopped-out trade, not about margin. It's still possible to oversize relative to available margin even while correctly calculating a 1% risk trade, particularly on a highly leveraged account, so check margin requirements separately.

Confusing Guaranteed Systems With Risk Management

Any product or "signal service" that claims a fixed risk percentage guarantees profit, or promises returns without loss potential, should be treated with skepticism. The CFTC's advisory on trading system fraud and the FTC's guidance on investment scams are worth reading before trusting any claim that removes risk from the equation entirely — no position-sizing formula, however precise, eliminates the possibility of loss.

How Rules-Based and Automated Systems Apply This Formula

Manually recalculating dollar risk and lot size before every trade is workable for traders placing a handful of setups a week, but it becomes error-prone under time pressure or emotional stress — exactly the conditions where mistakes are costliest. This is one of the practical reasons traders use rules-based automation for gold: a system can pull live equity, apply a fixed risk percentage, measure the stop-loss distance from the entry logic, and calculate lot size the same way, every single time, without hesitation or override.

Golden Viper EA, for example, uses risk-based lot sizing tied to account equity rather than a static lot figure, with three selectable risk modes — Conservative, Normal, and Aggressive — so the trader chooses their risk appetite once and the system applies it consistently across every XAUUSD setup on the H4 timeframe. It does not use martingale, grid, or position-averaging tactics to recover losses, which are the position-sizing anti-patterns most associated with blown accounts. The EA's live results are published transparently through a verified Myfxbook track record, using the same verification standards described in Myfxbook's account verification process, alongside an MQL5 signal subscription option for traders who prefer to copy trades directly. If you're weighing whether automated equity-based sizing is worth adopting over manual calculation, our guide on whether automated gold trading is genuinely profitable walks through the tradeoffs. You can review the product directly at Golden Viper EA.

What Automation Does and Doesn't Solve

Automating the calculation removes arithmetic error and emotional override, but it does not remove market risk. A correctly sized position can still lose; equity-based sizing controls how much you lose relative to your account, not whether a given trade wins. Traders new to EA-based gold trading often want to understand realistic outcomes before committing capital, and understanding how much capital is sensible to start with is a useful companion question before position-sizing math even becomes relevant.

Building Your Own Risk-Per-Trade Routine

A repeatable routine beats a memorized formula, because routines survive stressful trading sessions and memorized math doesn't. A simple version: before every trade, glance at live equity in your terminal, multiply by your fixed risk percentage, note the dollar figure, measure your stop-loss distance from your entry logic, and divide to get lot size — in that exact order, every time, with no skipped steps regardless of how confident you feel about the setup. Writing this sequence on a sticky note next to your monitor, or building it into a spreadsheet that takes your equity and stop distance as inputs, removes the temptation to eyeball it. Traders backtesting a strategy before going live should also confirm their position-sizing logic behaves as expected across historical data — see our walkthrough on backtesting on MT5 for how to verify sizing consistency before risking real capital, and consider connecting your account to Myfxbook so your actual risk-per-trade history is tracked and auditable over time rather than just assumed.

Trading gold and other leveraged instruments carries real risk of loss, and no position-sizing formula, risk percentage, or automated system eliminates that risk — it only manages it. Past performance, whether from manual trading or an automated strategy, does not guarantee future results. Only trade with capital you can genuinely afford to lose, and treat every claim of guaranteed or risk-free returns as a red flag rather than a selling point.

Frequently Asked Questions

What percentage of equity should I risk per trade?

Most experienced traders risk between 0.5% and 2% of current equity per trade. Conservative traders and those trading smaller or newer accounts often stay at 0.5% to 1%, while more experienced traders with validated strategies sometimes use up to 2%. Going meaningfully above that shortens how many consecutive losses your account can absorb before serious damage occurs.

Should I calculate risk based on balance or equity?

Always use equity, not balance. Equity reflects your account's real-time value including any floating profit or loss on open positions, while balance only updates when a trade closes. Sizing off balance while other trades are open can cause you to risk more than intended.

How do I find my dollar risk amount for a trade?

Multiply your current account equity by your chosen risk percentage. For example, $6,000 equity at 1% risk equals $60 of dollar risk — the maximum you're willing to lose if the trade hits your stop-loss.

How does stop-loss distance affect position size?

A wider stop-loss means a smaller position size for the same dollar risk, and a tighter stop allows a larger position size for that same dollar risk. This is why the stop-loss distance and position size are calculated together, never independently.

Why does XAUUSD position sizing feel different from forex pairs?

Gold's pip and point value calculations differ from standard forex currency pairs because of how brokers quote XAUUSD contracts and price gold in dollars per ounce. Contract size and quote precision vary by broker, so always confirm the exact pip value for XAUUSD in your specific broker's contract specifications rather than assuming it matches a forex pair.

Is a fixed lot size ever acceptable instead of percentage-based risk?

A fixed lot size can work temporarily on a very stable, unchanging account, but it stops reflecting reality as soon as equity moves meaningfully in either direction. Over time, percentage-of-equity sizing is the more resilient and self-correcting method for most traders.

How often should I recalculate my risk per trade?

Ideally before every single trade, since equity can shift between setups if you have other open positions or if the market has moved since your last calculation. Automated systems handle this recalculation on every trade by design.

Does risk-per-trade calculation account for spread and commission?

The core formula calculates risk based on your stop-loss distance, and spread effectively widens your realized entry price, so it's worth padding your stop-loss distance slightly to account for spread and any commission cost, especially on gold where spreads can widen during volatile news periods.

Can I use the same risk percentage across multiple open trades?

You can, but if those trades are correlated (for example, multiple long gold positions opened at similar levels), your effective combined risk is higher than any single trade's percentage suggests. Consider your total open risk across all correlated positions, not just each trade in isolation.

Does an automated EA calculate risk per trade the same way as manual traders?

A well-built automated system applies the same underlying formula — equity multiplied by a chosen risk percentage, divided across the stop-loss distance — but does it programmatically and consistently on every trade. Golden Viper EA, for instance, uses risk-based lot sizing across its Conservative, Normal, and Aggressive modes so the same equity-percentage logic applies uniformly rather than depending on manual recalculation each time.

Myfxbook Verified

Automate Your Risk & Money Edge

+€1,485Net · 6-mo (verified)
56%Win Rate (51/91)
24/5Automated
Starting at $199 one-time
Get Lifetime Access →
✓ Instant download✓ Full feature access✓ MT4 & MT5 compatible
DC

Daniel Cole

Daniel Cole writes about MetaTrader 4/5, Expert Advisors, and automated XAUUSD gold trading for Golden Viper EA.

Myfxbook VerifiedLive since Jan 2026Public track record

Let Golden Viper EA trade gold for you

Automated XAUUSD trading for MT4 & MT5, verified live on Myfxbook. One-time $199, lifetime access.

Get Lifetime Access — $199