Risk of Ruin: The Math Every Trader Should Know
You can have a winning strategy and still blow up. Risk of ruin is the invisible killer of trading accounts. Learn the formula and how to beat it.
James Okafor
Chief Technology Officer
title: "Risk of Ruin: The Math Every Trader Should Know" description: "You can have a winning strategy and still blow up. Risk of ruin is the invisible killer of trading accounts. Learn the formula and how to beat it." slug: "risk-of-ruin-the-math-every-trader-should-know" publishedAt: "2026-04-07" author: name: "James Okafor" role: "Chief Technology Officer" avatarInitials: "JO" tags: ["education", "risk-management"] heroEmoji: "📉" ogImageHint: "Trading risk of ruin mathematics" featured: false
Introduction
Most traders spend their energy searching for a higher win rate or a better risk-reward ratio. Fewer spend time on the single most important number in their trading career: the probability that their account will go to zero. That probability is called risk of ruin, and it is determined by just three variables—two of which most traders already track, and one they ignore.
This article introduces the risk-of-ruin formula, shows how to calculate it for your own strategy, and explains why even profitable systems can have ruin probabilities that make them un-tradeable.
The Three Variables
Risk of ruin depends on:
- Win rate (W): The percentage of trades that are profitable.
- Average win / average loss (R): The ratio of your average winning trade to your average losing trade.
- Risk per trade: The percentage of your account you lose on a standard losing trade.
If you know W and R, you can calculate your per-trade edge. If you then know what fraction of your account you risk on each trade, you can derive the probability of a drawdown so severe that recovery becomes practically impossible.
Key idea
A 60 percent win rate with a 1:1 risk-reward ratio is profitable. But if you risk 10 percent per trade, your risk of ruin is nearly 100 percent over a 200-trade sample. The edge does not matter if the position sizing is reckless.
The Formula
For a simplified fixed-fraction model, the risk of ruin can be approximated using the formula derived from gambler's ruin theory:
function riskOfRuin(winRate, riskReward, riskFraction) {
const edge = winRate * riskReward - (1 - winRate);
if (edge <= 0) return 1.0; // guaranteed ruin in the long run
const z = edge / riskReward;
const a = Math.log(1 - riskFraction) / Math.log((1 - z) / (1 + z * riskReward));
// Simplified approximation for small riskFraction
const p = (winRate * riskReward) / (winRate * riskReward + (1 - winRate));
const q = 1 - p;
const ratio = q / p;
// Ruin probability for drawdown to fraction of account
return Math.pow(ratio, 1 / riskFraction);
}
// Example: 55% win rate, 1.5 R:R, 2% risk per trade
console.log(riskOfRuin(0.55, 1.5, 0.02));
// Typical output: ~0.0003 (0.03% risk of ruin)The code above is a pedagogical approximation. For serious strategy development, use a Monte Carlo simulation with your actual trade distribution. The formula assumes binary outcomes; real trading has fat tails.
Monte Carlo: The Honest Method
The closed-form formula is elegant but dangerous. It assumes independence between trades and ignores serial correlation, slippage, and the psychological tendency to widen stops after a losing streak.
A Monte Carlo simulation is more honest. You take your historical trade list, shuffle the order ten thousand times, and count how many simulated equity curves hit your ruin threshold.
If 15 percent of shuffled paths hit 50 percent drawdown—a common ruin definition for prop-trader evaluations—your strategy is not robust enough for live capital, regardless of the Sharpe ratio.
Watch out
Most retail backtesting software underestimates risk of ruin because it uses chronological trade sequences. Shuffling the sequence reveals whether a cluster of losses can destroy the account before the winners arrive.
Position Sizing Rules That Work
The simplest way to control risk of ruin is to cap risk per trade. The table below shows maximum suggested risk percentages for different strategy profiles:
| Win Rate | R:R Ratio | Max Risk per Trade |
|---|---|---|
| 40% | 2.0 | 1.0% |
| 50% | 1.5 | 2.0% |
| 55% | 1.2 | 2.5% |
| 60% | 1.0 | 3.0% |
These are conservative starting points. If your strategy has high variance—such as trend following with long holding periods—reduce the risk fraction by 30-50 percent.
Further Reading
- "The Kelly Capital Growth Investment Criterion" by MacLean, Thorp, and Ziemba
- BRIZTRADE Academy: Risk Management course
- Van Tharp's "Definitive Guide to Position Sizing"
About the author: James Okafor is BRIZTRADE's CTO and a systematic trader. He built the firm's backtesting engine and holds a master's degree in computational finance from MIT.
James Okafor
Chief Technology Officer
Published on April 7, 2026.
