Risk of Ruin Calculator
Estimate the chance of reaching a fixed loss threshold below starting capital. This free risk of ruin calculator uses an infinite-horizon approximation with fixed cash risk per trade.
Win probability estimated from comparable completed trades. This model has only wins and losses.
Fixed cash risk based on starting capital; position size does not compound with equity.
Average net profit per winning trade divided by average net loss per losing trade.
The fixed loss boundary below starting capital, not a trailing drawdown from a later peak.
A worksheet note only. Changing this value does not change the estimate or set a forecast horizon.
Unlimited horizon; fixed cash risk; independent trades. Survival is 100% minus the estimate. A low number is not a guarantee. Read the model assumptions.
What counts as ruin in this calculator?
Ruin means reaching your chosen loss boundary. With $10,000 of starting capital and a 30% threshold, that boundary stays at $7,000. If equity first rises to $12,000, the boundary still stays at $7,000. A 30% peak-to-trough drawdown would instead stop at $8,400. Use the maximum drawdown calculator to examine that separate historical measure.
The formula and its assumptions
Let p be win probability, b the reward/risk ratio, f the risk percentage of starting capital, and d the loss-threshold percentage. Each trade is modeled as +b risk units on a win or -1 unit on a loss. Trades are independent and their probabilities and payoffs stay constant.
μ = p × b − (1 − p)
σ² = p × (1 − p) × (b + 1)²
u = d / f
RoR ≈ exp(−2 × μ × u / σ²), when μ > 0 and σ² > 0
The exponential expression is the infinite-horizon boundary probability for a Brownian model with drift, applied here as a diffusion approximation to discrete trades. It is not an exact solution for arbitrary trade payoffs. The calculator returns 100% when μ is zero or negative and 0% when p is exactly 1. A historical 100% win rate does not prove future losses are impossible.
Cash risk stays fixed: 2% of $10,000 means $200 for each trade, including after losses. Percentage-of-current-equity sizing has a different wealth process. The sample-trades field is a note only; it does not enter this formula or provide a confidence interval.
A worked example you can reproduce
Use the defaults: p = 0.50, b = 1.5, f = 2%, d = 30%. Expected profit μ = 0.50 × 1.5 − 0.50 = 0.25 risk units. Variance σ² = 0.50 × 0.50 × 2.5² = 1.5625, and u = 30 / 2 = 15. The estimate is exp(−2 × 0.25 × 15 / 1.5625) = exp(−4.8) = 0.0082297, or about 0.823%. The display rounds this to 0.82%.
| Change | Estimated RoR | Reason |
|---|---|---|
| Default inputs | 0.823% | 15 fixed risk units to the boundary |
| Risk per trade: 4% | 9.072% | Distance falls to 7.5 risk units |
| Win rate: 45% | 8.855% | Expected profit falls to 0.125 units |
| Reward/risk ratio: 1 | 100% | Zero expected profit over an unlimited horizon |
The colored bands use cutoffs of 10%, 30%, and 50% solely to group outputs. They are not empirically validated safety levels or recommendations to trade.
Stress-test clustered losses and position sizing
At $200 fixed cash risk, 15 consecutive losses take $10,000 to $7,000. If risk is 2% of current equity instead, 15 losses leave $10,000 × 0.98¹⁵ = $7,385.69, a 26.14% loss; 18 consecutive losses are needed to cross 30%. These are deterministic stress paths, not the probability of ruin.
With independent 50% loss probability, one specified block of 15 losses has probability 0.5¹⁵ = 0.00305%. In a hypothetical clustered-loss scenario with a 50% chance of the first loss and an 80% chance of each following loss conditional on a loss, the same block has probability 0.5 × 0.8¹⁴ = 2.199%. This comparison shows why independence matters. Neither number gives the chance of a losing streak anywhere in a longer history.
- Estimate win rate and average net win/loss from comparable trades. Include commissions, spread, financing, and slippage in the outcomes.
- Repeat the calculation with a lower win rate and lower payoff ratio. A small sample can make both inputs unstable.
- Inspect overlapping positions, losses grouped by date, and shared market exposure. One market move can affect several trades together.
- Test gaps and losses larger than one risk unit separately. A stop order can fill beyond its trigger price.
The risk of ruin simulator shows sampled paths with current-equity sizing and a chosen number of trades. Its zero-balance ruin definition differs from this fixed loss threshold, so the two headline percentages are not interchangeable.
Sources and model limits
- Karl Sigman, Columbia University: Notes on Brownian Motion, section 1.8 provides the drifted Brownian boundary result. Matching its mean and variance to the two-outcome trade model is this calculator's approximation.
- FINRA: Stop Orders, Factors to Consider During Volatile Markets explains why the stop price can differ from the execution price.
Sources checked October 17, 2026. This tool does not model changing market regimes, variable payoff tails, correlated positions, margin liquidation, or future parameter uncertainty. Educational estimates only, not investment advice or a guarantee of returns.
Risk of ruin FAQ
What does this risk of ruin calculator estimate?
It estimates the chance of ever reaching a fixed loss threshold below starting capital, using an infinite-horizon diffusion approximation. It assumes independent trades, constant win probability, fixed cash risk, and two possible trade outcomes. It does not calculate a future maximum drawdown or an exact discrete-trade probability.
Why does changing the number of trades not change the result?
The formula has no trade-count term. The sample trades field is a worksheet note for the history behind your win rate and payoff estimate. It does not set a forecast horizon or adjust statistical confidence; the same inputs give the same result for 100 or 1,000 sample trades.
Why can the calculator show 100% risk of ruin?
When expected profit per unit of risk is zero or negative, this model assigns 100% probability of eventually hitting the fixed lower boundary over unlimited time. That is not a prediction that the boundary will be reached during the next 100 trades.
Does it model risking a percentage of current equity?
No. The risk percentage is converted to a fixed cash amount based on starting capital. If position size falls or rises with current equity, the account follows a multiplicative process and this formula does not represent it.
Does a low result mean my strategy is safe?
No. The result depends on assumptions that can fail, including stable probabilities, independent trades, and losses limited to one risk unit. Fees, gaps, clustered losses, and estimation error can make real outcomes worse. The displayed risk bands are descriptive categories, not suitability advice.
Check the trade sample behind your inputs
Backtest Deep Report accepts TradingView trade CSV exports for historical performance analysis and Monte Carlo scenarios. Review the return distribution before reducing it to one win rate and payoff ratio. Historical scenarios do not establish future ruin probabilities.
Use Trading Journal to record executed trades and compare your live sample with backtest assumptions. Browse more TradingView backtesting guides.