CustomTradingPlatform .com
Log in Get started free
Home / Guides & research / Risk of ruin

Guide · Risk of ruin

How to Calculate Risk of Ruin

The short answer

Ruin is a function of risk per trade, win rate and payoff. At 2% per trade a normal losing run is survivable; at 10% it is not.

What risk of ruin measures

Risk of ruin is the probability that an account falls to a chosen floor — zero, or more usefully some level at which you would stop — before it grows. It combines win rate, payoff and position size into a single probability.

For fixed-fraction sizing with equal win and loss magnitudes, the classical form is:

RoR = ((1 − e) ÷ (1 + e))^u where e = edge, u = units of capital

with edge `e = 2p − 1` for win probability `p`, and `u` the account divided by the amount risked per trade.

A worked example

A strategy winning 55% of the time with 1:1 payoff, risking 2% per trade, so 50 units of capital:

e = 2(0.55) − 1 = 0.10
RoR = (0.90 ÷ 1.10)^50 = 0.0000? ≈ 0.005%

Effectively zero. Now hold the strategy constant and raise the risk to 10% per trade, which is 10 units:

RoR = (0.90 ÷ 1.10)^10 ≈ 13.5%

The strategy did not change. The edge did not change. Position size moved risk of ruin from negligible to better than one in eight.

What the formula assumes, and why it is a lower bound

  1. Trades are independent. They are not. Correlated positions and regime clustering both bunch losses together, which raises ruin.
  2. The win rate is known. It is estimated, from a finite sample, with error. Plugging in the point estimate ignores the chance that the true rate is lower.
  3. The edge is stable. Strategies decay. A formula assuming a constant edge understates the risk of one that is quietly eroding.

Where this goes wrong

Because every assumption fails in the same direction, the computed figure is a floor. A model saying 0.005% is telling you the risk is small under ideal conditions, not that it is small.

The useful way to read it

Do not use risk of ruin to reassure yourself about a number. Use it comparatively: hold the strategy fixed, vary the position size, and read off how fast the probability moves. That slope is the real output, and it is what makes the case for the 1–2% band better than any rule of thumb does.

The risk of ruin calculator shows the sensitivity directly.

A more useful variant: risk of a given drawdown

Total ruin is the wrong threshold for most people, because almost nobody trades an account to zero — they stop somewhere well above it, usually at the point where continuing stops feeling rational.

Substituting that level for zero gives a far more useful number. If you would stop at a 30% drawdown, then your effective capital is 30% of the account, not 100% of it, and the exponent in the formula falls accordingly:

risking 2% of a $50,000 account
stop-trading level at −30% → $15,000 at risk → 15 units, not 50
RoR(15 units, 10% edge) = (0.9 ÷ 1.1)^15 ≈ 4.2%

Four percent, against the 0.005% that assumed you would trade to zero. The second number is the honest one, because it is measured against the level at which you would actually stop.

The Monte Carlo version, and why it is usually better

The closed-form formula needs equal win and loss sizes and independent trades. Real records have neither. Resampling your own trades sidesteps both assumptions and takes about ten lines of code.

  1. Take your closed trades in R. The actual list, not a summary.
  2. Shuffle and replay them a few thousand times, applying fixed-fractional sizing to a starting balance each run.
  3. Count the runs that hit your stop-trading level. That proportion is your risk of ruin, computed from your distribution rather than an idealised one.

The result is usually worse than the formula suggests, because real trade distributions have fatter tails than the model assumes.

Sequence risk: the same trades, a different order

Ruin depends on the order of results, not only on their mix. A set of trades that is comfortably profitable overall can end an account if the losses cluster early, while the identical set in another order never threatens it.

same 100 trades, 55% win rate, 1:1, 5% risk
losses front-loaded → deepest drawdown 34%
losses back-loaded → deepest drawdown 11%

This is why expectancy alone does not tell you whether a strategy is survivable, and it is the strongest argument for position sizes that look too small in a good month.

What to do with the number

A single risk-of-ruin figure is close to useless in isolation, because every input is estimated and the model is optimistic. It becomes useful when it is used comparatively.

  1. Vary the position size and read off how fast the probability moves. That slope is the real output.
  2. Vary the win rate downward by a few points to see how sensitive the result is to an input you do not actually know.
  3. Use your stop-trading level, not zero. It is the only threshold you will actually act on.

What this depends on

MethodThe rule is stated precisely enough to run, and the same rule produces every figure quoted.
MeasuredWhere a number comes from our own testing it carries its sample size and its data vintage.
LimitsCosts, slippage and non-USD accounts change the arithmetic. See methodology.