How it works
What risk of ruin is
Risk of ruin is the probability that your account falls to a level you cannot accept before your system’s edge has time to show up. Here we define ruin as a drop from the starting balance (50% by default), and we estimate the probability of reaching it within the number of trades you choose.
A system with a positive edge can still blow up if it risks too much: losing streaks are unavoidable and position size decides whether you survive them. That is why risk per trade is the variable that weighs most on the outcome.
How the simulation works
We use the Monte Carlo method: we simulate 2,000 independent paths. On each trade, the account gains (risk × ratio) with the win probability you set, or loses the chosen risk otherwise, always on the current balance (compounding). If a path touches the ruin level, it stops.
The random number generator uses a fixed seed, so the same inputs always give the same result. With 2,000 paths the estimate has a margin of error of a few percentage points; it is an order of magnitude, not an exact figure.
What to look for when changing risk per trade
With a 45% win rate, a 1.5 : 1 ratio and 200 trades, a 50% ruin is almost impossible when risking 1% per trade. Risking 5% the probability is around 14%, and at 10% it approaches 50%, even though the system has an edge. Exact numbers can vary slightly, but the lesson is clear: raising risk multiplies the danger much faster than the expected profit.
Also try a system with no edge (for example, a 40% win rate with a 1 : 1 ratio): no risk management turns it profitable, it only changes how quickly it loses.
How to read the results
The median is the typical outcome (half of the paths end above it and half below). The 5%–95% range shows plausible bad and good results. The median maximum drawdown tells you how much pain you would typically go through along the way, and the losing streak probabilities help you prepare mentally.
The chart uses a logarithmic scale: the central line is the median, the other two are the 5th and 95th percentiles, and the dashed red line marks your ruin level.
Limits of the model
It assumes every trade is independent, with the same win rate and a constant ratio, and no costs, commissions, slippage or simultaneous trades. In reality losses cluster, edges change with the market and your statistics are an uncertain estimate. Treat the results as an educational reference for comparing scenarios, not as a forecast.
FormulaBalance after a win = balance × (1 + risk × ratio) · Balance after a loss = balance × (1 − risk)