Tradelyze

Glossary

Risk of ruin

Last reviewed: 15 September 2026·Tradelyze

Risk of ruin is the probability that a trading strategy's losses reach a loss limit you cannot recover from, such as a prop firm's maximum drawdown or the point where you would quit. It grows with risk per trade: at a 55% win rate with equal-sized wins and losses, risking 1% against a 10% limit, the classic formula gives 13.4%.

risk of ruin = (q ÷ p) ^ (loss limit ÷ risk per trade)
p = win rate, q = loss rate = 1 − p
valid only for equal-sized wins and losses, with p above 50%

In plain English

Say your account is closed if you lose 10%, and you risk 1% on each trade. You can survive 10 losses' worth of damage. Risk of ruin is the chance that, at some point, losses pile up to those 10 units before your winners have built a cushion. Trade smaller and the same limit holds more losses, so the chance falls fast. Trade bigger and it climbs just as fast.

New to this? Start with win rate and expectancy.

What is risk of ruin in trading?

Risk of ruin in trading is the probability that losses take an account down to a level where trading has to stop. The idea comes from the gambler's ruin problem in probability theory, where ruin meant losing the whole stake. Traders use the term more narrowly. Wikipedia's Risk of ruin article says financial traders sometimes use it for losses that take an account below its minimum requirements. The article credits that usage to a 2009 chapter by Gregoriou and Rouah on evaluating commodity trading advisors.

Risk of ruin is about the path, not the average. Two strategies with the same average profit per trade can have very different risk of ruin. Ruin depends on how long losing streaks run and how much each loss costs. A losing streak that arrives before the winners can end an account that would have been profitable a year later.

That is why risk of ruin matters so much in a prop firm challenge. A prop firm funds traders who pass its evaluation, and it closes the evaluation account when losses reach its limit. No later winning trade can undo that.

How do you calculate risk of ruin with the classic formula?

The classic risk of ruin formula covers the simplest case. Every win and every loss is the same size, the win rate never changes, and you risk the same dollar amount on every trade. Start by counting how many losing trades your loss limit can absorb. With a 10% loss limit and 1% risked per trade, that cushion is 10 losses.

Write p for the win rate and q for the loss rate, so q = 1 − p. When p is above q, the chance of ever losing the whole cushion is q ÷ p multiplied by itself once for each unit of cushion:

risk of ruin = (q ÷ p) ^ (loss limit ÷ risk per trade)

This is the gambler's ruin result given in Wikipedia's Gambler's ruin article, with the market playing an opponent whose money never runs out. The same article states that a persistent gambler with finite wealth, playing a fair game against an opponent with infinite wealth, eventually goes broke. In trading terms: at a win rate of 50% or less with equal-sized wins and losses, the formula gives 100%.

Worked example. A strategy wins 55% of its trades, so q ÷ p = 0.45 ÷ 0.55 = 0.818. Risking 1% against a 10% loss limit, risk of ruin is 0.818 to the power 10, or 13.4%. Risking 2% halves the cushion to 5 losses and raises risk of ruin to 36.7%. Risking 0.5% doubles the cushion to 20 losses and cuts it to 1.8%.

What does the risk of ruin formula assume?

The classic risk of ruin formula rests on six assumptions, and real trading breaks most of them:

Why does ruin mean hitting a drawdown limit rather than losing everything?

Ruin means hitting a drawdown limit because an account almost never goes to exactly zero, and trading stops long before it would. A drawdown is a fall from a previous high in account value. Edward Thorp points out, in his 2006 chapter on the Kelly criterion, that a trader who bets a fixed fraction of current capital can never reach zero. So ruin in the textbook sense cannot happen, and it has to be redefined. The arithmetic shows why. Risking 1% of current equity, 10 straight losses leave 90.4% of the account. It takes 11 losses in a row to fall more than 10%.

In practice the ruin line is wherever the account actually ends. For a personal account that might be a margin requirement, or the point at which you would abandon the strategy. For a prop firm account it is the firm's maximum loss or total drawdown limit. Many firms also add a daily loss limit that can end the account. The rules differ by firm and by drawdown type, static or trailing, as explained in prop firm rules and backtest metrics.

Measure risk in units of the ruin line, not of the full balance. Risking $500 on a $100,000 account looks like 0.5%, but against a $5,000 loss limit it is a tenth of everything you are allowed to lose. Losses also compound against you: a 10% drawdown needs an 11.1% gain just to get back to the previous high.

How does Monte Carlo simulation estimate ruin probability?

Monte Carlo simulation estimates ruin probability by counting instead of solving a formula. It builds many simulated trade sequences out of a backtest's real trades and measures the maximum drawdown of each one. It then reports the share that went past the ruin line:

ruin probability = simulated runs that crossed the ruin line ÷ total simulated runs

Counting has two advantages over the classic formula. It uses the strategy's real trade results, so uneven wins and losses, and the occasional very large loss, are included as they happened. And a block bootstrap, which redraws runs of consecutive trades instead of single trades, keeps losing streaks together. Monte Carlo simulation explains the different versions of the test.

A Monte Carlo ruin probability is an estimate, so it never lands exactly on the true chance. In a constructed simulation for this page, 1,000 runs of 500 trades each used a 55% win rate, 1:1 payoff and 1% risk. Of those runs, 132 went past a 10% line, a 13.2% estimate, against an exact 13.3% chance within 500 trades. The standard error is the typical gap between an estimate like this and the true chance. For a share of runs, it is the square root of p × (1 − p) ÷ number of runs, where p is the estimated share. That comes to about 1.1 percentage points at 13% and 1,000 runs.

Monte Carlo simulation cannot add information the trade list does not contain. If the backtest's trades came from one kind of market, or from settings picked out of many tries, every simulated run inherits that.

How do risk per trade, win rate and payoff ratio change risk of ruin?

Risk per trade changes risk of ruin more than anything else, and win rate and payoff ratio decide how steeply it changes. The payoff ratio is the average win divided by the average loss, so a 2:1 strategy wins twice what it loses. Expectancy is the average result per trade, written here in R, where 1R is the amount risked on one trade. In R, expectancy = win rate × payoff ratio − loss rate. Win rate and expectancy explains both terms.

This page uses no JavaScript, so instead of a risk of ruin calculator the table gives worked values against a 10% loss line. Each value is the chance of ever losing 10% of the starting balance. The model uses a fixed dollar risk per trade and independent trades, with every loss exactly 1R and every win exactly the payoff ratio.

Chance of ever losing 10% of the starting balance, by strategy and risk per trade. Constructed illustration, not measured data.
StrategyExpectancy0.25% risk0.5% risk1% risk2% risk
50% win rate, 1:1 payoff0.00R100%100%100%100%
35% win rate, 2:1 payoff+0.05R13.7%37.1%60.9%78.0%
55% win rate, 1:1 payoff+0.10R0.03%1.8%13.4%36.7%
60% win rate, 1:1 payoff+0.20R<0.01%0.03%1.7%13.2%
40% win rate, 2:1 payoff+0.20R0.04%2.0%14.2%37.7%

Three readings stand out. First, risk per trade dominates: at a 55% win rate and 1:1 payoff, going from 1% to 2% risk takes risk of ruin from 13.4% to 36.7%. Second, expectancy alone does not decide it. A 60% strategy at 1:1 and a 40% strategy at 2:1 both earn +0.20R per trade. Yet at 1% risk their risk of ruin is 1.7% and 14.2%, because a lower win rate brings longer losing streaks. Third, a thin edge needs very small size: at 35% and 2:1, even 0.25% risk leaves a 13.7% risk of ruin.

Risk of ruin by risk per trade for two strategies with the same expectancy Constructed illustration, not measured data. Horizontal bar chart of the chance of ever losing 10% of the starting balance, with a fixed dollar risk per trade, for two strategies that both earn +0.20R per trade on average: one wins 60% of its trades at a 1:1 payoff, the other wins 40% at a 2:1 payoff. At 0.25% risk per trade the figures are less than 0.01% for the 60% strategy and 0.04% for the 40% strategy. At 0.5% risk they are 0.03% and 2.0%. At 1% risk they are 1.7% and 14.2%. At 2% risk they are 13.2% and 37.7%. The lower-win-rate strategy has a higher risk of ruin at every size because its losing streaks run longer, and both climb steeply as risk per trade rises. Values computed exactly for this page from a model with independent trades. Chance of ever losing 10%, two strategies with the same +0.20R expectancy 60% win rate, 1:1 payoff 40% win rate, 2:1 payoff 0% 10% 20% 30% 40% Risk of ruin against a 10% loss line 0.25% risk <0.01% 0.04% 0.5% risk 0.03% 2.0% 1% risk 1.7% 14.2% 2% risk 13.2% 37.7%
Figure 1. Constructed illustration, not measured data. Two strategies earn the same +0.20R per trade. At 1% risk against a 10% loss line, the one that wins 40% of the time at 2:1 has a 14.2% risk of ruin, against 1.7% for the one that wins 60% at 1:1. Doubling risk to 2% raises them to 37.7% and 13.2%.

What changes when a prop firm challenge has a profit target?

A profit target ends a prop firm challenge when it is reached, so the question becomes whether the account hits the loss line before the target. The gambler's ruin result with two finish lines answers that, and the chance is always lower than the chance of ever hitting the loss line. With a 10% loss line and a 10% profit target, an exact calculation for this page gives these figures, a constructed illustration and not measured data:

Smaller size has a cost. At 0.5% risk the 55% strategy needs twice as many net winning trades to reach the same target, so the challenge takes roughly twice as many trades. These figures also ignore daily loss limits, minimum trading days and consistency rules. Position sizing for prop firm challenges turns a firm's limits into a trade size.

What risk of ruin is acceptable?

Trading calculator and education sites commonly quote a risk of ruin below 5% as the target, and below 1% as the level professionals aim for. No primary source sets a safe level of risk of ruin for trading. The pages that repeat 5% and 1% give no study or derivation behind either figure. Treat any single figure quoted that way as one writer's preference, not a finding. What exists instead are competing ways of deciding, and they pull in opposite directions.

Competing views on how much risk of ruin to accept
ViewWhat it saysSource
Keep ruin as low as possibleThe gambler's ruin formula shows ruin is smallest when every bet is the minimum, but that also makes expected gain smallest. Thorp calls this "timid" betting unattractive.Edward O. Thorp, 2006, citing Feller
Size for growth (Kelly)Bet the fraction that maximizes long-run growth. At that full Kelly fraction, in Thorp's continuous approximation, the chance of ever falling to a fraction x of the starting bankroll is x. That is a 50% chance of halving at some point.J. L. Kelly, 1956; Edward O. Thorp, 2006, section 3.2
Tradelyze's Monte Carlo checkFails when Ruin Probability, counted against the selected rule set's total drawdown limit, is 20% or more.Tradelyze implementation. No primary source.
One fixed target for everyoneStay below 5% risk of ruin, with below 1% described as the professional or institutional aim. Trading calculator and education sites repeat these figures as the safe level.No primary source.

Thorp writes that "most cautious gamblers or investors who use Kelly find the frequency of substantial bankroll reduction to be uncomfortably large". Such users, he adds, tend to bet less than the full Kelly fraction. Full Kelly also clashes with a hard loss limit. Wikipedia's Kelly criterion article gives the formula for the Kelly fraction. For a strategy that wins 55% of the time at 1:1, it is 0.55 − 0.45 ÷ 1, or 10% of the account per trade. One loss at that size would end an account with a 10% loss limit.

A practical way to decide is to price the ruin. A failed challenge costs a known, capped fee; a blown personal account that took years to build does not come back. The more a breach would cost you, the lower the risk of ruin you should accept, and the lever you control directly is size.

How do you read Tradelyze's Ruin Probability?

Tradelyze's Ruin Probability is the share of Monte Carlo runs whose drawdown went deeper than the total drawdown limit of the rule set you selected. It sits in the Monte Carlo rows of the robustness card, beside MC Max DD Real→P95. By default Tradelyze builds 1,000 runs by redrawing your trades with a stationary block bootstrap. That method strings together random runs of consecutive trades, so losing streaks stay intact. The trades are those of the chosen settings over the history the optimizer searched, so the figure is in-sample.

Four details decide how to read Tradelyze's Ruin Probability:

How to read the Ruin Probability row, as implemented on 15 September 2026
What the row showsWhat it meansSource
Below 20%, in greenThe ruin part of the Monte Carlo check passes.Tradelyze's own line. No primary source.
20% or more, in redThe Monte Carlo check fails.Tradelyze's own line. No primary source.
-- (blank)No figure could be counted: the rule set has no total drawdown limit, the strategy closed too few trades to resample, or no simulated drawdowns were recorded. Blank never means 0%.Tradelyze implementation

Ruin Probability also moves the robustness score. The Monte Carlo check is worth 25 of the 100 points, scored as 25 × (1 − Ruin Probability ÷ 50). So 10% earns 20 of those points, 20% earns 15 and 50% or more earns none. Sometimes the Monte Carlo check runs but no Ruin Probability can be counted for a rule set, for example because it has no total drawdown limit. Tradelyze then leaves the score, grade and verdict blank for that rule set rather than grading at another limit.

Worked example. In a constructed case with a 10% total drawdown limit selected, suppose 132 of 1,000 runs fell more than 10% from a peak. The row reads 13.2% in green, and the Monte Carlo check earns 25 × (1 − 13.2 ÷ 50) = 18.4 of its 25 points.

How do you lower risk of ruin before a prop firm challenge?

Lower risk of ruin by trading smaller, because size is the one input you control directly. In the risk per trade table on this page, halving risk from 1% to 0.5% cuts a 55%, 1:1 strategy's risk of ruin from 13.4% to 1.8%. A practical order of work:

  1. Find the real ruin line: the firm's total drawdown limit, whether it trails, and its daily loss limit. Trailing drawdown explains why a trailing line is harder to survive.
  2. Size from the Monte Carlo worst case, not from the backtest's single drawdown. Sizing off the Monte Carlo drawdown explains why.
  3. Turn the limit into a trade size with the arithmetic in position sizing for prop firm challenges.
  4. Set that size in the strategy itself. In a TradingView Pine Script strategy, the default order size is set in the strategy() declaration with default_qty_type and default_qty_value; TradingView strategy properties covers the settings.
  5. Run the backtest and the Monte Carlo test again, and compare risk of ruin at the new size.

Do not try to lower risk of ruin by re-tuning settings until the backtest win rate rises. A win rate raised by tuning on the same history tends to fall back in live trading. The risk of ruin formula would then be fed a number that was never real. Overfitting and sample size explains why.

What can risk of ruin not tell you?

Risk of ruin cannot tell you whether the trades behind it are real. Every risk of ruin figure, from the classic formula or from Monte Carlo simulation, starts from a backtest's win rate, payoff ratio or trade list. Settings picked as the best of many tries flatter those inputs. The risk of ruin that comes out is flattered with them: overfit trades in, optimistic ruin out. Tradelyze's Ruin Probability is built from in-sample trades, so treat it as optimistic rather than conservative.

A small error in the inputs makes a large error in risk of ruin. Take 1% risk against a 10% line, with equal-sized wins and losses. The classic formula gives 13.4% for a 55% win rate, 44.9% for a 52% win rate and 100% for 50%. Yet over 100 trades, a measured 55% and a true 52% are easily confused. At that sample size the standard error, the typical gap between a measured win rate and the true one, is about 5 percentage points. The two differ by only 3.

Risk of ruin also leaves out:

Where this appears in Tradelyze

In a Tradelyze report, risk of ruin is the Ruin Probability row in the Monte Carlo section of the robustness card. It is counted against the total drawdown limit of each rule set you select. Tradelyze re-runs an uploaded TradingView Pine Script strategy on your price data and checks it against your exported trade list. It then runs parameter optimization, walk-forward analysis, a five-check robustness score and prop firm rule checks. It does not place trades, give financial advice or guarantee a challenge pass, and it is in beta.

To judge the whole report, not one tile, use the pre-trade checklist. If the robustness card shows NOT RUN or FRAGILE, what to do when a strategy fails validation covers the next steps.

Create an account. Already a user? Open your strategies.

Frequently asked questions about risk of ruin

What is risk of ruin in trading?

Risk of ruin in trading is the probability that a strategy's losses reach a loss limit you cannot recover from, such as a prop firm's maximum loss limit or the point where you would stop trading. It rises quickly with the amount risked per trade. At a 55% win rate with equal-sized wins and losses, risking 1% of the account against a 10% limit gives a 13.4% risk of ruin by the classic formula.

What is the risk of ruin formula?

The classic risk of ruin formula is (q ÷ p) raised to the power of the loss limit divided by the risk per trade, where p is the win rate and q is the loss rate. It comes from the gambler's ruin problem and assumes equal-sized wins and losses, a fixed win rate above 50%, independent trades, fixed dollar risk and no limit on the number of trades. At a win rate of 50% or less it gives 100%.

How do I calculate risk of ruin for a prop firm account?

Divide the firm's loss limit by your risk per trade to get the number of losing trades the account can absorb. For a strategy with equal-sized wins and losses, raise the loss rate divided by the win rate to that power. A 55% win rate, 1% risk and a 10% limit give 13.4%. Trailing limits, daily loss limits and uneven trade sizes need a Monte Carlo simulation instead.

What is a good risk of ruin?

There is no agreed good risk of ruin. Trading calculator and education sites commonly say to stay below 5%, or below 1% for professionals, but no primary source sets a safe level. Edward Thorp describes the trade-off: the smallest bets minimize ruin but also gains, while full Kelly sizing, in his continuous approximation, carries a 50% chance of halving the bankroll at some point. Tradelyze's Monte Carlo check fails at 20% or more, a line Tradelyze chose.

Is risk of ruin the same as maximum drawdown?

No. Maximum drawdown is the largest fall from a peak that one backtest actually had, a single measured number. Risk of ruin is a probability: the chance that losses reach a set loss limit across the many sequences the same strategy could produce. A backtest can show a small maximum drawdown and still carry a real chance of breaking a loss limit in a less lucky order of trades.

Can a profitable strategy have a high risk of ruin?

Yes. Risk of ruin depends on size and losing streaks as well as average profit. In a constructed calculation for this page, a strategy that wins 40% of its trades at a 2:1 payoff earns +0.20R per trade, yet risking 1% against a 10% loss limit it has a 14.2% chance of ever hitting that limit. A strategy that wins 60% at 1:1, with the same expectancy, has 1.7%.

How does risk per trade affect risk of ruin?

Risk per trade has the largest effect, because it sets how many losses the account can absorb before the limit. For a strategy that wins 55% of the time with equal-sized wins and losses, against a 10% loss limit, the classic formula gives 1.8% at 0.5% risk, 13.4% at 1% risk and 36.7% at 2% risk. Doubling size far more than doubles the chance of ruin.

Is there a risk of ruin calculator for trading?

A spreadsheet can handle the classic case. For equal-sized wins and losses, enter =(q/p)^(limit/risk), with q the loss rate, p the win rate, and the loss limit and risk per trade in the same units. This page gives a worked table instead of an interactive calculator. For uneven wins, streaky losses or trailing limits, a Monte Carlo simulation on your own trades is the better tool.

What is ruin probability in a Monte Carlo simulation?

Ruin probability in a Monte Carlo simulation is the share of simulated runs whose drawdown crossed a set loss limit. The simulation rebuilds many sequences from a backtest's real trades, measures each sequence's maximum drawdown and counts the breaches. It is an estimate, so it has a standard error: the typical gap between the estimate and the true chance. With 1,000 runs and a result near 13%, that is about 1.1 percentage points.

Why is Ruin Probability blank in my Tradelyze report?

Tradelyze leaves Ruin Probability blank when it cannot count one for the selected rule set: the rule set has no total drawdown limit, the strategy closed too few trades to resample, or no simulated drawdowns were recorded. Blank never means 0%. When the Monte Carlo check ran but no figure can be counted for a rule set, the robustness score, grade and verdict for that rule set are blank too.

Why does Tradelyze show a different Ruin Probability for each prop firm?

Tradelyze counts Ruin Probability separately for each selected rule set, from the same simulated drawdowns, against that rule set's own total drawdown limit. A firm with a tighter limit therefore shows a higher figure for the same strategy. The difference reflects the rules, not the strategy, so compare Ruin Probability between sizes or strategies under one rule set, never between firms.

Does a low risk of ruin mean I will pass a prop firm challenge?

No. A low risk of ruin means few modeled or simulated runs broke the total loss limit. A challenge can still fail on a daily loss limit, a consistency rule or a time limit, and the estimate is only as good as the backtest trades behind it. It also says nothing about reaching the profit target: very small size lowers risk of ruin but can take far longer to pass.

Does risking a percentage of equity remove risk of ruin?

It removes the chance of reaching exactly zero, but not the chance of hitting a loss limit. Edward Thorp notes that a trader betting a fixed fraction of current capital can never reach zero. A prop firm's limit sits far above zero, though: risking 1% of current equity, 11 straight losses take the account more than 10% below its starting balance, which would end an account with a 10% limit.

Sources