Deterministic finite-horizon model

Risk of Ruin Calculator

Calculate the probability that an entered fixed-fraction, two-outcome model first reaches a defined drawdown within a finite number of trades. The recurrence aggregates every modeled win/loss state; it does not sample random paths.

Deterministic recurrence Entered drawdown and horizon No safety rating
Quick answer

What does this risk of ruin calculator measure?

It calculates the probability that modeled balance first reaches the entered drawdown threshold on or before the entered trade horizon. Each trade is either a fixed-fraction loss or a fixed-fraction win multiplied by the entered payoff ratio. The result is conditional model arithmetic—not the probability that a real account will fail.

  • Ruin is a threshold you define, not automatically a zero balance.
  • The finite horizon is part of the result; this is not an unlimited-trades formula.
  • Half, entered and double-risk rows change only the risk assumption and are not recommendations.

Define the ruin event and trade model

Use one consistent gross-or-net basis for the entered win probability and payoff ratio.

Manual inputs

The same independent probability is used on every modeled trade.

A value of 1.5 models a winning gain 1.5 times the loss magnitude.

A loss multiplies modeled balance by one minus this percentage.

A 50% threshold means ruin is first reaching 50% of starting balance.

A whole-number horizon from 1 to 1,000 modeled trades.

Used only to translate the ruin floor into account-currency units.

Display label only; no currency conversion is performed.

Finite-horizon model result

Finite-Horizon Fractional Ruin model 1.1.0.

Estimated
Enter valid values to begin The calculator starts empty and produces no sample or prefilled outcome.

How to use the calculator

  1. Enter a win probability and average-win-to-average-loss ratio measured on one consistent basis. The page cannot verify the sample or its stability.
  2. Enter the fixed fraction of current modeled balance lost on a losing trade. Wins use that same fraction multiplied by the payoff ratio.
  3. Define ruin as a drawdown from starting balance and enter a finite number of trades. Both values are part of the probability statement.
  4. Read the entered-risk result and the half/entered/double sensitivity rows as conditional comparisons, not as safety labels or sizing advice.

How the finite-horizon recurrence works

The model starts balance at 1. A win multiplies it by 1 plus risk fraction times payoff ratio; a loss multiplies it by 1 minus risk fraction. Probability mass is grouped by trade count and number of wins, while any mass that first reaches the floor is absorbed as ruin.

This recurrence evaluates every reachable binary state within the entered horizon in IEEE 754 double precision. It therefore has no random seed or Monte Carlo sampling interval, but it remains only as valid as the fixed probability, payoff, independence and loss-size assumptions.

Win multiplier = 1 + fixed fraction × payoff ratio; loss multiplier = 1 − fixed fraction
Ruin floor = 1 − entered drawdown threshold
Finite-horizon ruin probability = probability mass first absorbed at or below the floor by trade N
Interpretation boundaryThe output describes only the entered values and the named model. It is not financial advice, a suitability assessment, or a promise of future performance.

Worked examples

Entered scenarioDerived outputMeaning
100% win probability; positive payoff; 2% risk; 50% drawdown; 100 trades0% modeled ruin probabilityEvery modeled outcome is a win, so the lower floor cannot be reached.
Any win probability; 0% risk; 50% drawdown; 100 trades0% modeled ruin probabilityBoth balance multipliers equal 1 when risk is zero.
50% win; 1.0 payoff; 2% risk; 50% drawdown; 100 tradesA deterministic finite-horizon probabilityThe result is specific to the 100-trade horizon and 50% drawdown definition.

Model and execution limitations

  • The result is conditional on fixed, independent, two-outcome assumptions; real trading can violate every one of them.
  • The model does not include edge drift, serial dependence, changing risk, gaps beyond the fixed loss, fees, spread, financing, slippage or execution failure.
  • A positive arithmetic edge does not prevent the entered drawdown threshold from being reached within the modeled horizon.
  • Extremely small probabilities can fall below JavaScript double-precision resolution; the interface labels that condition instead of displaying a false exact zero.
  • No output is labeled safe, risky, acceptable or recommended.

The CFTC cautions that hypothetical results have inherent limitations and that actual results can differ because of factors including spreads, commissions, liquidity and execution. The result on this page should be read within the narrower boundaries stated above.

Frequently asked questions

  • A modeled balance first reaches or falls below one minus the entered drawdown threshold, measured from starting balance, within the entered trade horizon.
  • No. It uses a deterministic recurrence that aggregates every reachable win-count state and absorbs probability mass when the floor is first crossed.
  • No. The probability is explicitly bounded by the entered number of trades.
  • Positive arithmetic expectancy is an average under the assumptions. Some modeled outcome sequences can still cross the entered drawdown threshold before the horizon ends.
  • No. The fixed-fraction model is scale-independent. Balance is used only to display the monetary level represented by the ruin floor.
  • They rerun the same model with half or double the entered risk fraction while holding the other assumptions constant. They are sensitivity comparisons, not recommendations.
  • No. Enter probabilities and payoffs on a consistent basis and remember that gaps, costs and execution differences can make real outcomes worse or otherwise different.
  • No. The output is conditional on a simplified model and does not assess suitability, data quality or future risk.

Method sources and provenance

Local calculation: Inputs are processed in the browser by the named versioned model. The page does not send entered balances, rates, probabilities or notes to a calculation API.

Compare broker cost and execution terms

Before treating a scenario as net, confirm which spreads, commissions, financing charges, leverage rules and execution conditions apply to the account and broker entity available in your jurisdiction.

XM

Review pricing, instrument costs and execution terms for the relevant entity.

Check XM terms

FBS

Check the applicable spread, commission, financing and order conditions.

Check FBS terms

FXOpen

Confirm account and instrument terms before interpreting a result as net.

Check FXOpen terms

Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.