Skip to main content
Risk-of-Ruin Math

Ruin Probability Explained

Pomegra Learn

How Do You Calculate Ruin Probability?

Ruin probability calculation transforms your win rate, loss size, and position sizing into a single percentage that predicts account survival. The mathematics behind it comes from probability theory and is surprisingly tractable: you don't need advanced calculus, just algebra and an understanding of how compounding works in reverse. This section walks through the formulas, explains what each component means, and shows worked examples that demonstrate why position sizing matters far more than most traders realize.

The most practical calculation method uses the binomial ruin formula, which models trading as a sequence of independent wins and losses, each with a fixed probability. This is close enough to real trading for decision-making purposes, though real markets have autocorrelated returns and regime changes that pure binomial models don't capture.

Quick definition: Ruin probability calculation uses your historical win rate, average loss ratio, and position size to compute the percentage chance your account hits zero before reaching a profit target.

Key takeaways

  • The binomial ruin formula approximates how position size interacts with win rate and loss distribution to predict account destruction likelihood.
  • Calculating ruin probability requires three inputs: win rate, average loss per trade, and position size as a fraction of account — nothing else.
  • Ruin probability increases exponentially with position size, not linearly; 10% sizing is far more dangerous than twice as risky as 5% sizing.
  • Even low ruin risk probabilities (5%) can occur within surprisingly few trades when position sizes are aggressive relative to account volatility.
  • Practical ruin probability calculations simplify the mathematics by assuming fixed position sizing and independent trade outcomes, which are reasonable approximations for most traders.
  • Testing your ruin probability against live trading data reveals whether your edge is real or overfitted.

The Gambler's Ruin Foundation

The oldest ruin probability formula comes from gambling mathematics, where a gambler with finite capital repeatedly bets against an opponent with infinite capital. Each bet has a fixed win probability and fixed win/loss size. The question: what's the probability the gambler goes broke?

Ralph Vince adapted this formula for trading by recognizing that traders face the same situation: finite capital, repeated bets (trades), known win probability (from historical data), and position sizing (the bet amount). The mathematics is identical.

Simple Case: Equal Win and Loss Sizes

Start with the simplest scenario: every winning trade makes you $100, and every losing trade costs $100. Your account starts at $10,000. You have a 55% win rate. What's your ruin probability?

The formula for equal win/loss sizes:

Ruin Probability = [(1 - Win Rate) / (1 + Win Rate)]^(Account Size / Bet Size)

Worked example:

Win Rate = 0.55 (55%)
Loss Rate = 0.45 (45%)
Account = $10,000
Bet = $100 per trade

Ruin Probability = [(1 - 0.55) / (1 + 0.55)]^(10,000 / 100)
= [0.45 / 1.55]^100
= [0.2903]^100
≈ 0.0000000000000001 (essentially zero)

With a 55% edge and only $100 bets on a $10,000 account (1% position sizing), your ruin probability is infinitesimal. You'd face astronomical bad luck to lose it all.

Now increase the bet to $500 (5% position sizing):

Ruin Probability = [0.2903]^(10,000 / 500)
= [0.2903]^20
≈ 0.0000000000000001 (still zero)

Still safe. But increase to $1,500 (15% position sizing):

Ruin Probability = [0.2903]^(10,000 / 1,500)
= [0.2903]^6.67
≈ 0.00019 (0.019%)

The ruin probability is now measurable. And at $2,000 per trade (20% sizing):

Ruin Probability = [0.2903]^5
≈ 0.0002 (0.02%)

Still low with a 55% win rate, but notice how quickly the risk rises as position size grows. This exponential sensitivity is why position sizing is the primary control variable.

Realistic Case: Unequal Win and Loss Sizes

Real trading doesn't have equal wins and losses. A strategy might win $200 on average but lose $100, creating a 2:1 reward-to-risk ratio. This changes the calculation because the loss-per-trade becomes the scaling factor.

Formula for unequal win/loss sizes:

Ruin Probability = [(Loss Size / Win Size) × (Loss Rate)]^(Account Size / Loss Size)

Worked example:

Win Rate = 0.55 (55%)
Loss Rate = 0.45 (45%)
Win Size = $200 per winning trade
Loss Size = $100 per losing trade
Reward-to-Risk = $200 / $100 = 2:1
Account = $10,000
Position Size = 1% = $100 per trade risk

Ruin Probability = [(100 / 200) × 0.45]^(10,000 / 100)
= [0.5 × 0.45]^100
= [0.225]^100
≈ 0 (essentially zero)

With a 2:1 reward-to-risk and 55% win rate, even 1% position sizing gives negligible ruin risk. But this formula reveals a critical insight: the ratio of loss size to account size determines how many consecutive losses you can survive.

If you risk $500 per trade on a $10,000 account (5% sizing) and each loss costs $500, you can survive exactly 20 consecutive losses before ruin. On average, with a 55% win rate, you'll face roughly 9–10 consecutive losses within any 100-trade sequence. That's survivable. But if you risk $2,000 per trade (20% sizing), a 5-trade losing streak wipes out 10% of capital, and a 10-trade streak destroys half your account.

Decision tree

The Kelly Criterion Connection

The Kelly Criterion tells you the exact position size that maximizes long-term wealth while keeping ruin risk minimal. It's not just a position-sizing rule; it's the position size that makes ruin probability disappear mathematically. We'll explore it in detail in the next section, but the relationship to ruin calculation is important here.

If your position size exactly matches the Kelly Criterion percentage, your ruin probability becomes zero (in theory) because the formula is designed to keep your expected value positive and growing despite any losing streak. Most traders use fractional Kelly (50–75% of the Kelly amount) to reduce volatility while keeping ruin risk very low.

The Role of Trade Independence

The ruin probability formulas above assume trade independence: each trade outcome doesn't influence the next. In reality, this is approximately true for longer time-frame traders (weekly, daily) but breaks down for high-frequency scalping where market microstructure creates autocorrelation.

If your losing trades cluster (often the case when regime shifts occur), your ruin probability is higher than the formula predicts. If your trades are negatively correlated (a loss makes the next win more likely), ruin probability is lower. For practical position-sizing purposes, assume independence unless you have evidence otherwise.

Practical Ruin Probability Calculator

Most traders don't calculate ruin probability by hand. Here's what a simple calculation looks like using the binomial approximation:

Inputs:

  • Win rate: 0.52 (52%)
  • Average win: $250
  • Average loss: $125
  • Account: $50,000
  • Position size (risk per trade): $1,000 (2% of account)

Calculation:

Loss Rate = 1 - 0.52 = 0.48
Reward-to-Risk Ratio = 250 / 125 = 2.0
Consecutive Losses to Ruin = 50,000 / 1,000 = 50 losses

Using the simplified formula:
Ruin Probability ≈ [(Loss Rate) / (1 + Reward-to-Risk Ratio × Win Rate)]^50
≈ [0.48 / (1 + 2.0 × 0.52)]^50
≈ [0.48 / 2.04]^50
≈ [0.235]^50
≈ 0 (extremely small)

With 2% position sizing, a 52% win rate, and a 2:1 reward-to-risk ratio, ruin probability is negligible. Even a catastrophic drawdown won't destroy the account.

Ruin Probability vs. Drawdown

Don't confuse ruin probability with maximum drawdown. A 20% drawdown is common and survivable; ruin is 100% account loss. Ruin probability tells you the odds of reaching 100% loss. Maximum drawdown tells you the deepest loss you're likely to face given your edge and sizing.

A trader with 5% position sizing and a 52% win rate might experience a 30% drawdown (severe but recoverable) while having only 5% ruin probability. This distinction is important: monitor both metrics, but position sizing is primarily about ruin risk, not about minimizing drawdowns.

Backtested vs. Real-World Ruin Probability

A backtest showing 60% win rate, 2:1 reward-to-risk, and <1% ruin risk doesn't guarantee live results. Backtests suffer from:

  • Overfitting: The strategy is optimized for past data and breaks on forward data.
  • Slippage assumptions: Backtests assume entry/exit prices that don't reflect market impact or latency.
  • Survivorship bias: Only profitable periods are visible; losing periods are erased.
  • Regime shifts: Market conditions change, and historical correlations break.

Real-world ruin probability is usually 2–3x higher than backtested estimates. A backtest showing 1% ruin risk often means 2–5% real risk. This is why conservative position sizing (50–75% of Kelly) is essential: it provides a buffer for the unknowns.

Real-World Examples

Example 1: Mean-Reversion Strategy

  • Win rate: 54%
  • Average win: $300
  • Average loss: $200
  • Account: $25,000
  • Position size: $500 (2%)

Calculation:

Ruin Probability = [0.46 / (1 + (300/200) × 0.54)]^(25,000 / 200)
= [0.46 / (1 + 1.5 × 0.54)]^125
= [0.46 / 1.81]^125
= [0.254]^125
≈ 0 (vanishingly small)

This trader is extremely safe from ruin, even with realistic edge.

Example 2: Trend-Following Strategy

  • Win rate: 48%
  • Average win: $400
  • Average loss: $100
  • Account: $50,000
  • Position size: $2,000 (4%)

Calculation:

Ruin Probability = [0.52 / (1 + (400/100) × 0.48)]^(50,000 / 100)
= [0.52 / (1 + 4.0 × 0.48)]^500
= [0.52 / 2.92]^500
= [0.178]^500
≈ 0 (effectively zero)

Even with a sub-50% win rate, the high reward-to-risk ratio and 4% position sizing yield negligible ruin risk over 500 trades.

Example 3: Scalping Strategy (Dangerous)

  • Win rate: 55%
  • Average win: $75
  • Average loss: $100
  • Account: $10,000
  • Position size: $500 (5%)

Calculation:

Ruin Probability = [0.45 / (1 + (75/100) × 0.55)]^(10,000 / 100)
= [0.45 / (1 + 0.75 × 0.55)]^100
= [0.45 / 1.4125]^100
= [0.318]^100
≈ 0 (very small but nonzero)

At 5% position sizing with a slightly negative reward-to-risk (losses are bigger than wins), ruin risk is low but measurable. If this trader increases to $750 position sizing (7.5%), ruin probability jumps dramatically.

Common Mistakes

Mistake 1: Using Win Count Instead of Win Ratio "I won 55 out of 100 trades" is correct; "I won 55% of the time" is incomplete without including the loss magnitude. Ruin probability cares about dollars, not trade count.

Mistake 2: Ignoring Reward-to-Risk Ratio A 50% win rate with a 3:1 ratio is far safer than a 60% win rate with a 0.8:1 ratio. The formula explicitly includes reward-to-risk; leaving it out gives false security.

Mistake 3: Assuming Zero Ruin Risk Even elite traders with 55%+ win rates and 2:1 reward-to-risk have nonzero ruin risk if position sizing is aggressive. Nothing is risk-free.

Mistake 4: Using Backtested Numbers Without Validation A strategy that shows 1% ruin risk in a backtest likely has 3–5% real-world risk due to overfitting and regime changes. Add a safety margin.

Mistake 5: Confusing Ruin Probability with Drawdown Ruin probability answers "Will I lose everything?" Drawdown answers "How far down will I go?" They're different metrics for different questions.

FAQ

What position size should I use to achieve 5% ruin risk?

That depends on your win rate and reward-to-risk ratio. Work backward from the formula: pick a target ruin probability (5%), plug in your edge metrics, and solve for position size. Most traders using 2–3% position sizing with a positive edge achieve <5% ruin risk.

Does ruin probability assume a profit target?

Yes, implicitly. You're calculating the probability of ruin before reaching some cumulative profit. For a trader doing this indefinitely, the relevant timeframe is usually 100–500 trades ahead.

What if my win rate changes during my trading career?

Recalculate ruin probability quarterly or when market conditions shift. If your edge weakens (win rate drops or reward-to-risk deteriorates), increase position sizing only if you've reduced other risks.

Can I use Monte Carlo simulation instead of the formula?

Yes. Monte Carlo runs your strategy backward 10,000 times with random trade sequences and counts how many hit zero. It's more accurate for strategies with non-independent trade outcomes, but the formula is good enough for most traders.

What about black swan events?

Ruin probability formulas assume normal trade distributions. Black swans (sudden 10% market gaps, circuit breakers, liquidity collapse) are tail-risk events that the formula doesn't capture. This is another reason to use fractional Kelly and keep position sizing conservative.

Is there a universal safe position size?

Most professional traders use 1–3% position sizing regardless of strategy, accepting that this is conservative relative to Kelly. This keeps ruin risk below 2% even under unfavorable conditions, and leaves room for model uncertainty.

Summary

Ruin probability is calculated using your historical win rate, average loss ratio, and position size expressed as a fraction of account. The binomial formula shows that position size has exponential impact on ruin risk: doubling position size doesn't double ruin probability, it increases it far more. Most traders can achieve <5% ruin probability with 2–3% position sizing and a documented positive edge. Backtested ruin probabilities are usually optimistic; real-world risk is typically 2–3x higher. Regular recalculation based on live trading results ensures your position sizing remains appropriate as market conditions and your edge evolve.

Next

Kelly Criterion Basics