Matana Labs

Risk of ruin calculator

Win rate, average win and loss in R, risk per trade and the drawdown you call “ruin” → the probability of ever hitting it, with the gambler’s ruin formula and a 10,000-path simulation.

%
%
R
R
%
Risk per trade is a share of

“Ruin” is the drawdown you can’t come back from: a prop firm’s maximum loss (often 10%), or the point where you would stop. Each trade wins your average win or loses your average loss; real trades vary more, so treat the result as a floor on the risk.

Risk of ruin, any number of trades
3.41%

Gambler’s ruin formula for your numbers.

Within your trades (simulated)
—

Losing streak that reaches it
—

Risk of ruin by risk per trade

For win rate 45%, average win 2R, average loss 1R, ruin at a 10% drawdown (a common prop-firm maximum loss), risk counted from the starting balance (the calculator’s starting numbers).

Risk per tradeRisk of ruin (10% drawdown)Losing streak that reaches it
0.25%under 0.01%40 losses
0.5%0.12%20 losses
1%3.41%10 losses
2%18.5%5 losses
3%32.4%4 losses

How risk of ruin is calculated

Risk of ruin is the probability that a run of losses takes the account down to a level you can’t or won’t trade from, before the strategy’s edge pulls it away. The calculator gives two numbers:

If the expectancy per trade is zero or negative, the risk of ruin over an unlimited number of trades is 100%: a long enough losing run always comes. Real trades vary around their averages, which makes streaks worse; treat the result as a floor.

Estimates, not advice. This is a simple model for education. It isn’t investment, financial or trading advice. Past performance — real or simulated — doesn’t guarantee future results.

Keep reading

See Matana Labs plans, from free

Questions

What is risk of ruin in trading?

The probability that losses take your account down to a level you define as ruin, such as a 10% drawdown that ends a prop challenge or a 50% loss you wouldn’t recover from, before your edge pulls you away from it.

How do you calculate risk of ruin?

For equal wins and losses: ((1 − edge) ÷ (1 + edge)) to the power of the number of losing trades that reach ruin, where edge = win rate − loss rate. For unequal wins and losses, solve p·e−θ·win + q·eθ·loss = 1 for θ and take e−θ·depth. The calculator does both and checks them with a 10,000-path simulation.

What is an acceptable risk of ruin?

That is your decision, and this page isn’t advice. Many traders aim for well under 1% for the level that would end their trading, and accept more for a level that only ends one prop challenge.

Why is my risk of ruin 100%?

Because the average trade loses money with your numbers (expectancy ≤ 0). With no edge, a losing run long enough to reach any drawdown eventually comes.

Does lowering the risk per trade really help that much?

Yes. Halving the risk doubles the number of losses in a row needed to reach ruin, and the probability falls roughly with the square. For the calculator’s starting numbers, 1% risk gives 3.41% and 0.5% far less; see the table.