New

11 tools. $557.98 if bought one by one. 5 new Premium desks inside.$557.98 one by one

$97 once$97See all 11See it

Risk of ruin calculator

Find the chance of reaching a loss floor below your starting capital, by the classic formula and by a seeded simulation.

Simulated · 50% wins · 1.5R · 5.0% a trade6 of 40 hit the floor
×0.5×1×2×4×8×16050100150200 tradesfloor −30%6 of 40 hit the floor

5.0% a trade 6 of these 40 paths hit the −30% floor; across the calculator's 2,000 paths, 12.4%.

5.0%

Simulated paths (seed 7), not trading results. Independent trades, a fixed win rate and payoff, no costs or gaps.

Read as text
  1. Each line is one simulated account: 200 trades at a 50% win rate, wins 1.5 times the amount risked, every trade risking 5.0% of current equity (seed 7).
  2. A path dies the first time equity touches the floor 30% below the start; a later recovery does not undo it.
  3. At 5.0% a trade, 6 of the 40 drawn paths die; across 2,000 paths, 12.4%. At 2%, 0 of 40 and 0.35%.
  4. Same edge, same trades, only the bet size changes: a larger size turns the same losing streaks into more paths that hit the floor.

Dollar amounts are converted to the same percentage model: risk % = risk per trade ÷ capital, threshold = (capital − floor) ÷ capital.

The drawdown from your starting balance that counts as ruin for this run.

Up to 5,000 trades per run.

100–5,000 paths. More paths reduce sampling variation, not uncertainty about the trading model.

Keep the seed and all inputs to repeat this sample. Use a whole number from 0 to 4,294,967,295.

The worked example loads seed 7 and 2,000 paths; press Run simulation to calculate it. New sample seed changes only the seed and clears the old result.

Classic formula (the same 2% of starting capital risked on every trade, unlimited trades, 15 losses from the floor): no exact value for a 1.5R payoff. The formula needs a whole-number payoff (1R, 2R, 3R…); use the simulation for this case.

It does not compound and has no trade limit, so it can differ from the simulation. The formula and its assumptions are explained under the calculator.

Set your inputs, then run the simulation.

The math — risk of ruin = ((1 − p) ÷ p)^N at a 1:1 payoff · N = (capital − floor) ÷ risk per trade

What risk of ruin means here

Reaching a fixed line below starting equity; a later recovery does not undo it.

The floor, and what it is not

Here, ruin means reaching a fixed line below starting equity. A 30% threshold is crossed when equity reaches or falls below 70% of its starting value. A later recovery would not undo that crossing. The line never rises with a new peak: it is different from the running-peak drawdown in the Monte Carlo simulator. This is a model you specify, not a check of a prop firm's actual rules. A ruin probability is not a cap on losses either: a gap or slippage can make one loss larger than the planned risk.

The risk of ruin formula

Risk of ruin = ((1 − p) ÷ p)N, where N = (capital − ruin floor) ÷ risk per trade

Where it comes from, its assumptions and payoffs above 1R

The classic formula comes from the gambler's ruin problem in probability theory. It assumes you risk the same fixed amount on every trade and that each trade either wins or loses that amount (a 1:1 payoff).

p is the win rate as a fraction and N is the number of losses in a row that would take your capital down to the floor; if N is not a whole number, round it up. The formula holds when p is above 50%. At 50% or below it gives 100%: with no edge and no limit on the number of trades, the floor is eventually reached. Example: a 60% win rate, $10,000 capital, a $5,000 floor and $500 risked per trade give N = 10 and (0.4 ÷ 0.6)10 ≈ 1.7%. Written with the edge A = p − (1 − p), the same formula reads ((1 − A) ÷ (1 + A))N.

When a win pays more than the risk. For a payoff of R times the risk, with R a whole number, replace (1 − p) ÷ p with θ, the number between 0 and 1 that solves p × (θ + θ² + … + θR) = 1 − p. Risk of ruin is θN. For 1R this gives back (1 − p) ÷ p. For 2R the quadratic formula gives θ = (√(p² + 4p(1 − p)) − p) ÷ 2p; for 3R and above the calculator solves for θ numerically. If p × R is not above 1 − p, the strategy has no positive expectancy and the formula gives 100%. For a payoff that is not a whole number, such as 1.5R, the last loss can overshoot the floor by part of a bet, and there is no exact formula of this kind; the calculator says so and leaves that case to the simulation.

Assumptions: the same risk amount on every trade, not a percentage of current equity; independent trades; a constant win rate and payoff; an unlimited number of trades; and no loss larger than the planned risk. Source: the classical ruin problem in W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, chapter XIV.

Risk of ruin table

The classic formula with a fixed risk amount, unlimited trades and a floor 50% below the start.

Classic-formula risk of ruin by win rate, payoff and risk per trade, ruin floor 50% below starting capital
Win ratePayoff1% risk2% risk5% risk
40%1R100%100%100%
40%2R< 0.01%0.76%14.2%
40%3R< 0.01%< 0.01%2.5%
50%1R100%100%100%
50%2R< 0.01%< 0.01%0.81%
50%3R< 0.01%< 0.01%0.23%
60%1R< 0.01%< 0.01%1.7%
60%2R< 0.01%< 0.01%0.04%
60%3R< 0.01%< 0.01%0.02%
Method, and how to read 100% and < 0.01%

Method: the classic formula above, with a fixed risk amount per trade (a percentage of starting capital) and unlimited trades. Ruin floor: equity 50% below starting capital, so N = 50 ÷ risk %: 50, 25, 10 losses for 1%, 2%, 5% risk.

100% marks the rows with no positive expectancy: 40% at 1R loses on average, and 50% at 1R breaks even before costs, so with no limit on trades both reach the floor. "< 0.01%" is a model result, not a promise: it is only as good as the win rate and payoff you assume, and the real ones change.

Why the simulation gives different numbers

The calculator risks a share of current equity over a set number of trades; the formula a fixed amount forever.

Classic formula compared with the seeded fixed-fractional simulation
Win rate · payoff · riskFormula (fixed amount, unlimited trades)Simulation (fixed %, 1,000 trades)
50% · 1R · 2%100%38.0% (761 of 2,000 paths)
40% · 2R · 5%14.2%11.1% (222 of 2,000 paths)
60% · 1R · 5%1.7%0.45% (9 of 2,000 paths)
40% · 1R · 2%100%100% (2,000 of 2,000 paths)
Sizing, horizon and sampling, with the settings

The calculator above simulates a different, more common sizing rule. Each trade risks a fixed percentage of current equity, so the risk amount shrinks after losses and grows after wins. Each path is checked only up to the trade count you set. Equity multiplies by 1 + risk% × reward R on a win and by 1 − risk% on a loss. Each path stops at its first threshold crossing or at the trade horizon. The estimate is the number of paths that crossed divided by the total path count.

Three things separate the two answers. Sizing: at 2% risk, a fixed amount reaches a 50% floor after 25 losses in a row; a fixed percentage needs 35, because 0.9835 ≈ 0.49. Horizon: the formula counts unlimited trades, the simulation stops at your trade count, so a strategy with no edge can show well under 100%. Sampling: the formula is exact for its assumptions; a simulation is an estimate that changes with the seed. The table compares rows from the grid above, with the same 50% floor.

Simulation settings: 2,000 paths, seed 7, 1,000 trades per path. Neither method includes costs, changing win rates, correlated losing streaks or gaps. More simulated paths reduce sampling variation under those assumptions; they do not make uncertain trading inputs true.

Enter dollars instead of percentages

$10,000 capital, $200 risk and a $5,000 floor become 2% risk and a 50% threshold.

How the amounts are converted

Choose Dollar amounts and type your starting capital, the risk per trade and the ruin floor. The calculator converts them to the same model: risk % = risk per trade ÷ capital, and threshold = (capital − floor) ÷ capital. $10,000 capital, $200 risk and a $5,000 floor become 2% risk and a 50% threshold, 25 losses from the floor. In the simulation the first trade risks $200 and later trades risk 2% of current equity; the classic-formula line keeps $200 on every trade.

Reproduce the example, then change one input

The worked example: 7 of 2,000 paths cross, 0.35%; at 5% risk, 12.4%.

The steps, and why later paths shift

Load the worked example, then press Run simulation: 50% win rate, 1.5R reward, 2% risk, a 30% threshold, 200 trades, seed 7 and 2,000 paths. Seven paths cross the line: 7 ÷ 2,000 = 0.35%, displayed as 0.4%. With the other settings held fixed, 5% risk gives a rounded 12.4% crossing frequency in its sample. These are conditional model results, not forecasts. Because each ruined path stops drawing random numbers early, changing inputs can also change where later paths begin in the generator's stream. A 1.5R payoff has no exact classic value, so the formula line points you to this simulation.

Keep the run, including a zero count

The JSON download keeps the full-precision result, the seed and the threshold definition.

What the download holds, and what a zero means

Download the JSON to retain the full-precision result, event count, inputs, seed, engine version and threshold definition; in dollar mode it also records the amounts you typed and how they were converted. Repeating the same settings reproduces that sample; New sample seed clears the previous result and supplies a different seed for your next explicit run. If no paths cross, the count is zero observations in the finite sample, not proof of zero probability. Even a precise simulation estimate leaves uncertainty about the win rate, payoff and model itself. Nothing in the download establishes an account's authenticity or future outcome.

Method and privacy

Method: Classic formula: the exact gambler's-ruin probability for a fixed risk amount over unlimited trades, for whole-number payoffs. Simulation: a seeded Monte-Carlo of fixed-fractional betting over your horizon — an estimate with sampling error, not a promise.

Calculations run entirely in your browser — nothing you type is uploaded. Copy and download actions save your calculation locally. The site may record coarse tool actions under its privacy policy, without inputs, results, file contents or filenames.

Common questions

What does 'risk of ruin' mean here?

The probability that equity reaches a fixed floor below starting capital. The formula gives it for a fixed risk amount and unlimited trades; the simulation estimates the share of paths crossing it within your trade count. A 20% threshold means equity at or below 80% of its starting amount. It is not a running-peak drawdown rule.

What is the risk of ruin formula?

For a fixed risk amount per trade and a 1:1 payoff, risk of ruin = ((1 − p) ÷ p)^N, where p is the win rate and N = (capital − ruin floor) ÷ risk per trade. At a 60% win rate and N = 10 it is about 1.7%; at 50% or below it is 100% over unlimited trades. For a whole-number payoff R, replace (1 − p) ÷ p with the root θ of p × (θ + θ² + … + θ^R) = 1 − p. Other payoffs have no exact formula of this kind.

What is a good risk of ruin?

There is no universal cut-off. The same trades give a higher figure with a floor 20% below capital than with one 50% below, and more trades raise the simulated figure too. Lower is safer, but the number is only as good as the win rate and payoff you enter. A near-zero result does not cap real losses: costs, longer losing streaks than the model expects, gaps and slippage can make losses larger than planned.

Why does the calculator simulate as well?

The classic formula assumes the same risk amount on every trade and an unlimited number of trades. Many traders risk a percentage of current equity instead, which compounds, and trade a limited number of times. The simulation plays out that sizing rule thousands of times within your trade count and counts what happens, including the order wins and losses arrive in.

Will I get the same percentage every time I run it?

The formula line is exact for its inputs, so yes. The simulation repeats when the inputs, seed, path count and calculation version match. Load the worked example to repeat the article's settings, or choose a new seed to explore another sample. Reproducibility does not remove sampling error or uncertainty about the model.

Does a low risk of ruin mean the account is safe?

No. It's a probability estimate from the inputs you gave it, not a certainty — real trading can deviate from any fixed win rate or reward-to-risk assumption, and the actual sequence of wins and losses you get will differ from any single simulation run.

Goes deeper

Limits and trading risk

These tools calculate from your inputs, supported historical records or explicitly labelled teaching examples. They do not verify a live account, predict future returns or confirm that a broker or prop-firm rule has been met. Missing costs, floating losses and changed market conditions can materially change outcomes. Trading can lose the capital committed to it; check the stated method and your account specifications.

Read the risk disclosure
Complete Suite$97