Risk of Ruin Calculator

What the Risk of Ruin Calculator Measures

Risk of ruin estimates whether an account reaches a chosen loss boundary. That boundary does not have to be a zero balance. The calculator shows two different risk measures and the Win/Loss Ratio.

Risk of ruin
A closed-form approximation using win rate, payoff ratio, risk per trade and the selected loss boundary.
Risk of drawdown
Simulated trade sequences estimate a fall from a previous equity peak within the selected number of trades.

The measures describe different loss events and should not be interpreted as forecasts.

How to Enter the Trading Assumptions

Enter a consistent set of trading assumptions to compare ruin and drawdown estimates.

  1. Set trading assumptions

    Enter win rate, average win and average loss in matching units.

  2. Set risk and horizon

    Enter risk per trade, loss level and number of trades.

  3. Compare the estimates

    Review ruin and drawdown probabilities and their different assumptions.

Average Win and Average Loss must use the same units. Loss Level is the boundary examined. Number of Trades sets the drawdown simulation horizon, not a limit on the closed-form ruin estimate.

How the Risk of Ruin Estimate Is Calculated

Let p be win probability, q = 1 − p, L the fractional loss per losing trade, R the average-win/average-loss ratio, W = L × R and D the chosen loss boundary as a decimal.

Derived edge · Z pW − qL
Scale · A √(pW² + qL²)
Adjusted probability · P (1 + Z/A) ÷ 2
Risk of ruin ((1 − P) ÷ P)^(D ÷ A)

If the model’s derived edge is nonpositive, the calculator assigns a 100% ruin estimate. This approximation rests on simplifying assumptions and does not describe every strategy or risk pattern.

How the Drawdown Simulation Works

The calculator also evaluates 10,000 simulated equity paths, each containing the chosen number of trades. A winning trade increases the simulated equity by the assumed gain fraction; a losing trade reduces it by the assumed loss fraction. The model counts how many paths fall to the selected percentage below a preceding equity peak.

Risk of Drawdown is the percentage of simulated paths that reach that peak-relative decline. It measures a different event from the closed-form ruin calculation, and the result depends on the input assumptions and the simulation method.

Worked example: Two different risk estimates

Assume a 50% win rate, average win of 2, average loss of 1, 2% risk per trade, a 20% loss boundary and 100 trades.

Risk of ruin estimate

1.59%

Drawdown estimate: 6.21%

Win/loss ratio
2 ÷ 1 = 2.00
Risk of ruin
1.59% · closed-form approximation
Risk of drawdown
6.21% · 100-trade simulation

The estimates measure different loss events using different methods and horizons. The simulation result is specific to this illustrative scenario and method; neither percentage predicts an actual account outcome.

Frequently Asked Questions

How is risk of ruin calculated?

FXGlory estimates it with a probability approximation using assumed win rate, average win-to-loss ratio, risk percentage and a chosen loss level. Its separate drawdown figure is based on simulated trading sequences. Different models may produce different estimates.

What is risk of ruin in forex trading?

It is the estimated likelihood of reaching a specified account-loss boundary under a set of assumptions. The selected boundary need not mean losing the entire account, and the estimate is not a forecast of actual returns or losses.

Is risk of ruin the same as risk of drawdown?

No. The ruin figure uses a closed-form approximation, while the drawdown figure measures how often simulated equity paths decline by the chosen percentage from a previous peak within the selected trade count.

Why does the trade count affect drawdown but not the displayed ruin estimate?

The drawdown simulation runs the number of trades you enter. The closed-form ruin approximation is not calculated over that same finite trade count, so the two results answer different questions.