A strategy can make money in the long run and still empty the account before the long run arrives. Risk of ruin is the probability of that happening. It depends on the strategy's edge, but above all on how much you risk on each trade. Here you will see how it is calculated and why position size matters more than it seems.
What risk of ruin is
Risk of ruin is the probability that an account falls to a level from which you can no longer keep trading. That level can be zero, the point where the broker closes positions for lack of margin (the stop out) or a limit you set yourself, such as losing half your capital.
The key point is that an edge is not enough. If you risk too much on each trade, a normal losing streak can wipe out the account before the edge has time to show.
The classic formula
For the simplest case (every trade wins or loses the same fixed amount and trades are independent) there is a well-known formula:
Risk of ruin = ((1 − edge) ÷ (1 + edge)) units
where edge = win rate − loss rate, and units = capital ÷ amount risked per trade.
An example with made-up figures: a strategy wins 55% of the time and wins as much as it loses. Its edge is 0.55 − 0.45 = 0.10, and the ratio comes to 0.9 ÷ 1.1 ≈ 0.818.
| Capital in risk units | Risk per trade | Risk of ruin |
|---|---|---|
| 5 | 20% of starting capital | ≈ 37% |
| 10 | 10% | ≈ 13% |
| 20 | 5% | ≈ 1.8% |
| 50 | 2% | ≈ 0.004% |
With a 50% win rate and wins equal to losses there would be no edge, and the risk of ruin would be 100% in the long run, whatever you risk. When wins and losses are not equal the formula gets more complex; what matters is the expectancy per trade, which combines win rate and risk-reward ratio.
The deciding factor: how much you risk per trade
The table shows the core idea: with the same strategy, going from risking 10% to risking 2% of capital takes the probability of ruin from 13% to practically zero. You cannot choose your edge; you can choose your position size. To turn a risk percentage into an actual lot size, see how to calculate gold lot size.
With percentage risk: ruin as a maximum drawdown
If you always risk a percentage of the current balance, in theory you never reach zero: each loss is a little smaller than the last. That is why, in practice, ruin is defined as a specific drop, for example losing 50%. How many losses in a row it takes to get there:
| Risk per trade | Losses in a row to −50% |
|---|---|
| 1% | 69 |
| 2% | 35 |
| 5% | 14 |
| 10% | 7 |
In reality losses do not have to come all in a row, but the table gives a sense of the margin each risk level leaves you. Recovering is also harder than falling: after losing 50%, you need a 100% gain to get back to where you started, as we explain in what is drawdown.
Losing streaks are more likely than they look
With a 50% win rate, the probability of losing the next ten trades in a row is 1 in 1,024. That seems remote, but over 1,000 trades the probability that a streak of ten losses shows up at some point is close to 40%. It is the difference between "it happens to me on the next trade" and "it happens at some point". Risk per trade has to be set to survive the streak that will almost certainly come, not the average.
How to estimate it with your own data
Real trades do not always win or lose the same amount, so the classic formula falls short. The practical way is Monte Carlo analysis:
- Take the list of results from a backtest or an account, as a percentage of the balance.
- Shuffle it thousands of times to create different sequences.
- Count in how many of them the account falls below the level you consider ruin.
That percentage is an estimate of the risk of ruin at your position size. If it is too high, the most direct fix is to lower the risk per trade.
Limits
- It assumes the edge holds. If the strategy stops working, the real risk is higher than calculated.
- It assumes independent trades. If losses tend to come together, long streaks are more likely.
- Some risks sit outside the formula. Price gaps, broker margin changes or technical failures do not show up in a probability calculation.
Frequently asked questions
What is risk of ruin in trading?
It is the probability that an account falls to a level from which you can no longer keep trading: zero, the broker's stop out or a maximum drawdown you set, such as 50%.
How is risk of ruin calculated?
In the simple case of equal wins and losses, with the formula ((1 − edge) ÷ (1 + edge)) raised to the number of risk units that fit in the capital. With real, variable results, the practical approach is to estimate it with Monte Carlo analysis.
How much should I risk per trade?
There is no figure that suits everyone: it depends on the strategy and how much drawdown you can accept. What the calculations show is that risk of ruin falls very quickly as risk per trade comes down, and many traders use between 0.5% and 2% of capital per trade.
Can a profitable strategy blow up the account?
Yes. If risk per trade is high, a normal losing streak can empty the account before the strategy's edge shows.
Does zero risk of ruin mean I cannot lose?
No. It is a calculation with assumptions (a stable edge, independent trades) and it does not capture price gaps or market changes. You can always lose some or all of your capital.
The figures in this article are made-up mathematical examples to explain the concept and do not correspond to any real strategy or to AUREUM. Leveraged gold trading, which on MetaTrader 5 brokers is usually done with CFDs, carries a high level of risk and you can lose some or all of your capital. Past or simulated results do not guarantee future results. This content is educational and is not financial advice.
AUREUM: automated rules on gold, with its backtest published
Software that runs two strategies on XAU/USD in your own MetaTrader 5 account, where every trade opens with its loss and profit limits already calculated. Its 2024–2026 backtest, with both strategies together, is published with its drawdowns: a maximum drawdown of 22.35% across 345 trades. It’s a simulation, not a live account, and trading leveraged CFDs can lose you money.
See the full report →