Risk of Ruin Calculator
Estimate the probability that a strategy hits a drawdown you define as “ruin”, based on its win rate, payoff and how much you risk per trade.
CSV format
One row per closed trade with its net profit or loss in account currency. A header row is recommended. Exports from NinjaTrader, TradeStation, MultiCharts, MetaTrader and Build Alpha work as-is: the profit column is detected automatically, and you can change it after loading.
| date | pnl |
|---|---|
| 2024-01-03 | 412.50 |
| 2024-01-05 | -187.50 |
| 2024-01-09 | 75.00 |
| … | … |
pnl(required): losses are negative.$, thousands separators and(123.45)style negatives are fine.date(optional): not used by this calculator, so you can leave it out.- Comma, semicolon or tab delimited. Extra columns are ignored.
Risk settings
How to Use the Risk of Ruin Calculator
Enter your strategy’s win rate and payoff ratio (average win ÷ average loss) under Win rate & payoff, or paste a trade list or upload a CSV to have both derived from real trades. Then set how much you risk per trade, the drawdown you would consider “ruin”, how many trades to look ahead and whether position size compounds with equity. Click Calculate risk of ruin to run thousands of random trade sequences and count how many hit your ruin level. The table underneath repeats the test at other risk levels so you can see how quickly the probability rises as you size up.
Why Risk of Ruin Matters for Strategy Validation
Risk of ruin connects a strategy’s statistics to the one outcome you can’t come back from. Two traders with the same edge can have very different survival odds purely because of position size, and a backtest shows only one of the many sequences the same trades could have come in. Estimating ruin probability before going live tells you whether the risk per trade you plan to use is survivable, not just profitable on average.
Go deeper: Funding a Strategy with Monte Carlo · Monte Carlo Simulation guide · Risk of ruin in the trading glossary
Build Alpha generates thousands of strategy variations and stress-tests each one with Monte Carlo drawdown and ruin analysis, walk-forward and noise tests, so you can size positions from results that hold up.
Generate and validate strategies in Build Alpha →Frequently Asked Questions
Risk of ruin is the probability of losing enough of your account that you stop trading, whether that is 100% or a smaller drawdown such as 30% or 50% that you or a prop firm would not accept. This calculator lets you set that level.
Closed-form formulas exist for simple cases, such as fixed bets with equal wins and losses. Real strategies have variable payoffs, so this calculator uses Monte Carlo simulation: it draws random sequences of wins and losses (or of your actual trades) and counts the share of paths that reach the ruin level.
Most professionals aim for a risk of ruin close to zero, often below 1%, for the drawdown level that would end their trading. If the number is meaningfully above that, lowering risk per trade is usually the fastest fix.
Losing streaks compound. At 2% risk, ten straight losses cost about 18% of the account; at 5% risk the same streak costs about 40%. Because streaks of that length are common over hundreds of trades, doubling risk per trade can multiply ruin probability many times over.
Yes. Positive expectancy means the average trade is profitable, but a long losing streak early on can still hit your ruin level before the edge plays out, especially at high risk per trade.
Related Tools
CFTC RULE 4.41: HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Trading futures, forex, stocks and options involves substantial risk of loss and is not suitable for every investor. Past performance, whether actual or indicated by historical tests of strategies, is not indicative of future results. This tool is provided for educational purposes only and does not constitute investment advice or a recommendation to buy or sell any security or instrument. Calculations run entirely in your browser; your inputs and files are not uploaded or stored.