Skip to content
Finance Lessons

Risk of Ruin

The Risk-of-Ruin Formula

The classic risk-of-ruin formula: edge, odds, and units of risk; why ruin falls exponentially in the units of capital you hold; and several worked derivations and examples.

12 min Updated Jun 7, 2026

We have an edge (expectancy) and we know bet size matters. Now we put a number on survival. The risk-of-ruin formula turns three ingredients — your edge, your payoff odds, and how many units of risk your bankroll holds — into a single probability of going broke. Its most important lesson is geometric: ruin doesn’t fall linearly as you build capital, it falls exponentially, which is why a little extra cushion buys a huge amount of safety. We’ll derive it, work several examples, and meet the units-of-risk idea that makes it usable.

Before you read — take a guess

You have a fixed positive edge and bet a fixed fraction. If you DOUBLE the number of betting units in your bankroll (e.g. by halving your bet size), what happens to your risk of ruin?

Units of risk: the right way to count a bankroll

Analogy. Don’t count your bankroll in dollars — count it in lives, like a video game. If each bet risks one life and you have 20 lives, you can survive a long unlucky streak before “game over.” A bigger dollar account that bets huge per trade might have only 3 lives; a smaller account betting tiny might have 50. Survival is about lives, not dollars.

Definition. A unit of risk is the amount you put at risk on one bet (one R, from last lesson). Your bankroll’s units of capital is N=bankrollrisk per bet.N = \frac{\text{bankroll}}{\text{risk per bet}}. This single number — how many losing bets in a row it takes to wipe you out — is what the risk-of-ruin formula actually depends on. Edge sets the lean of the walk; NN sets how far the walls are from the start.

Worked example. A 50,000accountrisking50,000 account risking 1,000 per trade has N=50000/1000=50N = 50\,000 / 1\,000 = 50 units. The same account risking 5,000pertradehas5,000 per trade has N = 10units.Samedollars,sameedgefivetimesfewer"lives,"and(wellsee)avastlyhigherriskofruin.Positionsizingisthechoiceofunits. Same dollars, same edge — five times fewer "lives," and (we'll see) a vastly higher risk of ruin. Position sizing *is* the choice ofN$.

Counting a bankroll in units of risk.

Pick the right option for each blank, then check.

Units of capital N equals the . A larger N means . Risk of ruin depends on N rather than on raw dollars because survival is about .

The classic formula

The cleanest version is for an even-money bet (win or lose one unit each time) with win probability pp and loss probability q=1pq = 1 - p.

Definition. For a bankroll of NN units, the probability of eventual ruin (touching 0 before growing without bound) is RoR=(qp)N=(1pp)N,\text{RoR} = \left(\frac{q}{p}\right)^{N} = \left(\frac{1-p}{p}\right)^{N}, valid when you have an edge (p>0.5p > 0.5, so q/p<1q/p < 1). If p0.5p \le 0.5 the ratio q/p1q/p \ge 1 and ruin is certain (RoR = 1) — no amount of capital saves a game with no edge against an unbounded horizon, the gambler’s-ruin result in disguise.

The geometry. q/pq/p is a number less than 1 (because you have an edge), and you’re raising it to the NN-th power. Raising a fraction to higher powers crushes it toward zero fast. That’s the exponential decay: each extra unit of capital multiplies your ruin probability by q/pq/p again.

Worked example 1. Even-money bet, win probability p=0.55p = 0.55, so q=0.45q = 0.45 and q/p=0.45/0.55=0.818q/p = 0.45/0.55 = 0.818.

  • With N=5N = 5 units: RoR=0.81850.366\text{RoR} = 0.818^5 \approx 0.366 — a 37% chance of ruin. Scary, for a real edge.
  • With N=10N = 10 units: RoR=0.818100.134\text{RoR} = 0.818^{10} \approx 0.13413%.
  • With N=20N = 20 units: RoR=0.818200.018\text{RoR} = 0.818^{20} \approx 0.0181.8%.
  • With N=40N = 40 units: RoR=0.818400.0003\text{RoR} = 0.818^{40} \approx 0.00030.03%.

Look at the pattern: each doubling of NN roughly squares the ruin probability (0.37 → 0.13 → 0.018 → 0.0003). Doubling your capital-in-units doesn’t halve ruin — it squares it. Capital is the exponential lever; edge only sets the base.

Risk of ruin collapses exponentially with units of capitalRisk of ruin: 1.8%
0%50%100%Units of capital (bankroll ÷ bet)Risk of ruin

The red curve is (q/p) raised to N. Slide the units of capital and watch ruin fall off a cliff — not linearly, but exponentially. A bigger edge bends the whole curve down toward zero faster, but for any fixed edge it is CAPITAL (more units, i.e. smaller bets) that buys survival. The marker tracks your chosen point on the curve.

An even-money system has win probability p = 0.60 (so q/p = 0.4/0.6 ≈ 0.667). With N = 10 units of capital, the risk of ruin is 0.667^10 ≈ 1.7%. Roughly what is it at N = 20 units?

Adding a payoff ratio: the general formula

Real systems don’t win and lose the same amount. The general fixed-fraction risk-of-ruin formula folds in the payoff ratio bb (average win ÷ average loss, in R) alongside win probability pp.

Definition (Kelly-based approximation). A widely used closed form expresses ruin in terms of the edge per unit risked and the fraction of bankroll risked per trade ff. With per-bet expectancy (in R) a=ERa = E_R and per-bet variance vv, and risking fraction ff of the bankroll per unit, the continuous approximation for ruin starting with the full bankroll is RoRexp ⁣(2aNv/ER)(schematically: ruin as edgeand as N).\text{RoR} \approx \exp\!\left(-\frac{2\,a\,N}{v / E_R}\right)\quad\text{(schematically: ruin} \downarrow \text{ as edge} \uparrow \text{and as } N \uparrow). The exact algebra varies by model, but every version shares the same two-handle structure: ruin falls as the edge grows and as the units of capital grow, and it falls exponentially in their product. You don’t need to memorize a specific closed form; you need the shape.

A cleaner practical handle — the Kelly link. If you bet a fixed fraction ff of your bankroll and your full-Kelly fraction is ff^*, then betting fraction-of-Kelly k=f/fk = f/f^* has an elegant long-run ruin (drawdown-to-a-fraction) relationship: the probability of your equity ever dropping to a fraction xx of its start is approximately P(ever drop to x)x(2/k)1.P(\text{ever drop to } x) \approx x^{\,(2/k) - 1}. So at full Kelly (k=1k=1) the chance of ever halving is (0.5)1=50%\approx (0.5)^1 = 50\% — full Kelly is brutal. At half Kelly (k=0.5k=0.5) it’s (0.5)3=12.5%\approx (0.5)^3 = 12.5\%. At quarter Kelly (k=0.25k=0.25) it’s (0.5)70.8%\approx (0.5)^7 \approx 0.8\%. Betting smaller fractions of Kelly slashes deep-drawdown (and ruin) probability super-linearly — the same exponential lever, viewed through Kelly.

Worked example. You bet half Kelly (k=0.5k = 0.5). Probability of ever suffering a 75% drawdown (dropping to x=0.25x = 0.25 of start): 0.25(2/0.5)1=0.253=0.0156\approx 0.25^{(2/0.5)-1} = 0.25^{3} = 0.0156, about 1.6%. At full Kelly the same 75%-drawdown probability is 0.25(2/1)1=0.251=25%\approx 0.25^{(2/1)-1} = 0.25^1 = 25\% — sixteen times worse. Halving your Kelly fraction barely dents your growth rate (it costs about 25% of the growth) but cuts catastrophic-drawdown risk by an order of magnitude. This is why nobody sane bets full Kelly.

Warning:

The formula assumes you know your edge

Every risk-of-ruin number is computed from an ASSUMED p, W, and L. If you’ve overestimated your edge — easy to do from a short, lucky backtest — your ‘true’ risk of ruin is far higher than the formula reports, and your ‘half-Kelly’ bet may secretly be full-Kelly or worse on the real edge. Treat the formula’s output as a best case, and bet smaller than it suggests to buy a margin of safety against estimation error.

Match each quantity to its role in the risk-of-ruin formula.

Pick a term, then click its definition.

Reading the formula like a risk manager

What it tells you to do

  • Add units, not just edge. A modest edge with deep capital (high NN) beats a strong edge run on a thin account. Survival is bought primarily with NN — i.e. by betting smaller fractions.
  • Bet a fraction of Kelly. Half or quarter Kelly costs little growth and slashes drawdown/ruin risk super-linearly. The standard professional default is half Kelly or less.
  • Stress the inputs. Recompute RoR with a pessimistic edge (say, 70% of your estimate) to see how fragile your survival is to being wrong.

When the simple formula breaks down

  • Non-stationary edge. If pp drifts (regime change, alpha decay), a static RoR is fiction. Real edges fade; the formula assumes they don’t.
  • Correlated bets. The formula assumes independent trades. If your positions move together (everything’s long tech), a “losing streak” is really one big correlated loss, and effective NN collapses.
  • Fat tails / gaps. A jump that blows through your stop means a single “loss” can be several R, shrinking NN unexpectedly — the next lessons (drawdowns, sequencing, Monte Carlo) handle exactly these real-world wrinkles the clean formula glosses over.
Where does the (q/p)^N formula actually come from?

It’s the gambler’s-ruin recurrence solved. Let rNr_N be the probability of eventual ruin starting from NN units, in an even-money game with win prob pp and loss prob q=1pq = 1-p. Condition on the next bet: with probability pp you go up a unit (to N+1N+1), with probability qq you go down (to N1N-1). So rN=prN+1+qrN1r_N = p\,r_{N+1} + q\,r_{N-1}. This is a linear recurrence; its characteristic equation px2x+q=0p x^2 - x + q = 0 factors as (pxq)(x1)=0(px - q)(x - 1) = 0, giving roots x=1x = 1 and x=q/px = q/p. The general solution is rN=A+B(q/p)Nr_N = A + B (q/p)^N. Apply the boundaries: ruin is certain at N=0N = 0 (so r0=1r_0 = 1) and impossible as NN \to \infty when p>qp > q (so r=0r_\infty = 0, forcing A=0A = 0). Then r0=B=1r_0 = B = 1, leaving rN=(q/p)Nr_N = (q/p)^N. The exponential-in-NN form isn’t a coincidence or an approximation — it falls straight out of the recurrence’s geometric root q/pq/p. The same machinery, with a finite upper barrier instead of infinity, reproduces the (ba)/b(b-a)/b fair-game result you met in lesson 1 (take p=q=1/2p = q = 1/2 and a target bb).

A trader bets full Kelly. Using the rule P(ever drop to fraction x) ≈ x^(2/k − 1), what is their approximate chance of ever halving their account (x = 0.5)?

Putting it together

The risk-of-ruin formula turns edge, odds, and capital into a survival probability. Count your bankroll in units of risk (N=N = bankroll ÷ risk-per-bet) — the number of consecutive losses you can absorb — because that, not raw dollars, is what the formula keys off. For an even-money edge the clean form is RoR=(q/p)N\text{RoR} = (q/p)^N: a fraction below 1 raised to the power of your units, which means ruin decays exponentially — each doubling of NN roughly squares (shrinks) the ruin probability. The general version folds in the payoff ratio but keeps the same shape: ruin falls as edge grows and as units grow, exponentially in their product. The cleanest practical handle is the Kelly link — deep-drawdown risk scales like x(2/k)1x^{(2/k)-1} — which is why half or quarter Kelly slashes catastrophe risk while barely denting growth. And every number assumes you know your edge, so bet smaller than the formula says, because the real wrinkles (drifting edge, correlation, fat tails) all make true ruin worse than the clean math admits.

Big picture

The risk-of-ruin formula — the whole picture

  • The risk-of-ruin formula
    • Units of risk
      • N = bankroll ÷ risk per bet
      • How many losses in a row you survive
      • Position sizing IS choosing N
    • The classic form
      • RoR = (q/p)^N for an even-money edge
      • q/p < 1 only when you have an edge
      • No edge → ruin certain
    • Exponential decay
      • Each extra unit multiplies ruin by q/p
      • Doubling N squares the ruin probability
      • Capital is the exponential lever
    • The Kelly link
      • Deep-drawdown risk ≈ x^(2/k − 1)
      • Full Kelly: ~50% chance of halving
      • Half/quarter Kelly slashes ruin cheaply
      • Formula assumes you KNOW the edge
Count capital in units of risk; ruin = (q/p)^N decays exponentially in those units; the Kelly link shows fractional betting slashes drawdown risk super-linearly.

Recap: the risk-of-ruin formula

Question 1 of 40 correct

A $40,000 account risks $2,000 per trade. How many units of capital does it have, and why does that number matter?

Check your answer to continue.

Next up — drawdown distributions — we stop treating the worst loss as a single number. Depth, duration, and the dreaded time under water are all random variables with their own distributions, and the same system run twice can hand you two very different worst-cases.

Mark lesson as complete