Trading tools

Risk of Ruin: The Formula Every Systematic Trader Should Know

2 min read Reviewed by

Risk of ruin is the probability that your account falls to a level from which you stop trading - whether that's zero, a broker's margin floor, or simply the drawdown at which you'd give up. It's the single most useful number in systematic trading because it reframes the question from “how much could I make?” to “what's the chance I'm still here in five years?” And unlike most trading questions, it has a formula.

The classic formula

For the simplified case - every trade risks one fixed “unit”, wins and losses are equal in size, and trades are independent - the risk of ruin with win probability p (and loss probability q = 1 − p, with p > 0.5) is:

Risk of ruin = (q / p)N

where N is how many risk units your capital contains. Two levers jump out immediately: your edge (the q/p ratio) and your unit count N - which is set entirely by position sizing.

An illustrative example

Illustrative numbers only. Suppose a system wins 55% of the time with equal-sized wins and losses, so q/p = 0.45/0.55 ≈ 0.818.

  • Risking 5% per trade gives N = 20 units: 0.81820 ≈ 1.8% risk of ruin.
  • Risking 2% per trade gives N = 50 units: 0.81850 ≈ 0.004%.
  • Risking 10% per trade gives N = 10 units: 0.81810 ≈ 13%.

Same strategy, same edge - and the survival probability swings from near-certainty to a meaningful chance of ruin purely on sizing. This is the mathematical spine of the 1% rule: small units make N large, and N sits in the exponent.

What the simple formula leaves out

  1. Unequal wins and losses. Real systems have asymmetric payoffs; extended versions of the formula (or simple Monte Carlo simulation) handle this.
  2. Estimation error. Your 55% win rate is a backtest estimate. If the true rate is 52%, ruin probabilities jump sharply - which is why sample size in backtests matters so much before trusting any input.
  3. Correlated losses. The formula assumes independent trades. Losses that cluster - correlated positions, regime shifts - behave like one big unit, effectively shrinking N.
  4. Psychological ruin. Most traders abandon systems at a drawdown far shallower than zero. Compute ruin against your real quitting point, not the theoretical one.

Risk of ruin vs Kelly

The Kelly criterion answers a different question - what size maximises long-run growth - and full Kelly sizing accepts brutal drawdowns on the way. Risk of ruin is the constraint you check first: growth optimisation is meaningless if the path to it includes an unacceptable chance of not surviving. Practitioners often size well below Kelly precisely to keep ruin probability negligible; see Kelly and volatility scaling.

Common mistakes

  • Computing it once and never updating. Edge estimates drift; re-run the numbers as live data accumulates.
  • Using backtest win rates uncritically. Haircut your inputs - the formula is exquisitely sensitive to them.
  • Ignoring it because the strategy “feels” safe. Feelings don't exponentiate; formulas do.

This is why Nebula enforces hard risk caps on every system it builds: whatever the strategy logic, the per-trade unit stays small, which keeps N large and the ruin exponent working for you rather than against you.

Trading carries a high level of risk. Nothing here is financial advice; past performance does not predict future results.

Systems Library

Want the whole system, not just the tool?

76 complete trading systems, each tested on data it never saw, from £9.99. Buy 3 and save 15%.

See the library
Higher risk£29.99 Nebula Gold Breaker XAUUSD · M15 · Trend continuation
Unseen data+22.5%
240 test trades · worst drawdown 7.13% at 1% riskSimulated. Details
Higher risk£19.99 Nebula Callisto XAUUSD · M5 · Accumulation reversal
Unseen data+99.4%
276 test trades · worst drawdown 19.11% at 1% riskSimulated. Details
Higher risk£19.99 Nebula Halo EURUSD · H4 · Trend continuation
Unseen data+11.2%
Small sample: 83 test trades · worst drawdown 5.07% at 1% riskSimulated. Details

Start free. Deploy one system.

Download free for Windows Email me the download link
Capital at risk. Nebula is a tool, not financial advice.
Free includes one real deploy to MT5, one system, once. Paid plans from £29 a month.

Download Nebula free · What Nebula does · Funded and prop firm traders · Free trading tools · Reviews · Discord · YouTube · About · Contact

  • Free tier, no card: build, test and make one real deploy before you pay anything
  • Runs on your own PC or Mac: your MT4/MT5 account stays with your broker
  • 14-day cooling-off on any purchase before activation, in line with UK consumer law
  • A real person answers: Ross, the founder, via contact or Discord
  • Real reviews · Nebula on Trustpilot

Reviews on Trustpilot: Nebula & tools (Orion RFX) · private mentoring (Pip Surfing Society)

Official partnerNESAB Investments

Watch AI trade, right on your phone.

In NESAB, five AI models run nine simulated portfolios on live prices. Every decision is logged with its reason. Follow one or all of them.

20% off your first monthROSS20
Get NESAB

Use the code when you subscribe after the free 3 day trial.

Why we partnered ›

NESAB portfolios are simulated. Past or simulated performance does not guarantee future results.