Skip to content

Monte Carlo Simulator

Risk of Ruin Calculator for Trading Strategies

Use a Monte Carlo simulation with your win rate, reward-to-risk, risk per trade, starting capital and position-sizing mode. Compare simulated paths, profit odds, drawdowns and ending balances across repeated trading sequences.

A Monte Carlo simulator builds many independent trade sequences from the assumptions you enter. Comparing those paths shows a distribution of possible balances, drawdowns, and threshold events; it cannot tell you which path real trading will follow.

Strategy Parameters

Set the assumptions for each simulated trade sequence.

The account balance at the beginning of every simulated path. Enter a positive amount; commas may group thousands and a period marks decimal places.
Your assumed share of trades that close as winners. A sequence is sampled independently from this rate. Enter 1% to 99% in whole percentages.
The percentage used to size each trade. Compounding applies it to current balance; fixed-dollar sizing applies it to starting capital. Enter 0.1% to 20%.
Position Sizing

Compounding uses the current balance. Fixed Dollar keeps the dollar risk tied to your starting capital.

The average reward for each unit of risk. A value of 1.5 means a winning trade returns 1.5R before costs. Enter 0.1 to 20.
The number of trades in each simulated sequence. Enter 10 to 2,000 trades in steps of 10.
Measure this loss from starting capital. A path reaches the threshold when its balance is at or below the resulting level; count it once even if it later recovers. This is not peak-to-trough drawdown or bankruptcy. Enter 10% to 95% in steps of 5%.

A 50.0% loss from starting capital means a balance of $12,500 or less.

How many independent equity paths to generate. Enter 100 to 10,000. More paths take longer to calculate.

Equity Curve Simulation

Simulation paths will appear here after you run the model.

Configure your strategy above and click “Run Simulation”.

How to Use This Monte Carlo Simulator

Build a scenario from the assumptions you can explain, then read its outcome distribution in context.

  1. Enter your strategy assumptions

    Use your observed win rate and a reward-to-risk estimate that matches your trade plan. The model samples each outcome independently from the rate you enter.

  2. Set risk and account parameters

    Choose starting capital, risk per trade, sizing mode, and a loss threshold measured from starting capital.

  3. Choose the number of trades and simulations

    Each path uses the same trade count. More simulations show a wider sample of possible paths, while taking longer to calculate.

  4. Run the simulation

    Start a new run after you settle on the inputs. The browser worker calculates independent paths without blocking the page.

  5. Compare the distribution

    Read the middle and percentile outcomes together with ruin and drawdown measures. They describe the assumptions in this run, not a forecast.

Strategy Comparison Table

Compare five modeled profiles. Their example profit probabilities come from the same fixed horizon and settings listed below.

Strategy inputs, expected value per trade, and modeled example profit probability
ProfileWin RateReward : RiskRisk / TradeSizingExpected Value / TradeExample Profit Probability
Conservative40%3:10.5%Fixed+0.30%100%
Balanced55%1.5:11%Compound+0.375%100%
Aggressive60%1.5:12%Compound+1.00%100%
Scalper70%0.8:11%Fixed+0.26%100%
Swing Trader45%2.5:11.5%Compound+0.8625%100%

Examples use 200 trades, 1,000 simulations, $25,000 starting capital, and a loss threshold of 50% measured from starting capital. They assume independent trades and the entered win rate and payout; real execution and costs are not modeled.

Position Sizing: Compounding vs. Fixed Dollar

Position sizing changes how a sequence of wins and losses affects the next trade.

Compounding

Each trade risks the chosen percentage of the current balance. After a win, the next dollar risk can grow; after a loss, it can shrink. This makes both gains and drawdowns compound through the sequence.

Fixed Dollar

Each trade risks the chosen percentage of starting capital. For example, 1% of a $25,000 starting balance is $250 per trade even after the account moves up or down.

Run both modes with the same win rate and payout assumptions to compare their modeled paths. Neither mode removes trading risk.

Key Metrics Reference

Use these definitions to read the result values and percentiles.

POPProbability of Profit
The share of simulated paths that finish above their starting capital after the selected number of trades.
RoRRisk of Ruin
Share of paths whose balance reaches or falls below the level set by the selected loss from starting capital. Each path counts once, even if it later recovers. This scenario threshold is separate from peak-to-trough drawdown and does not mean bankruptcy.
MDDMaximum Drawdown
The largest peak-to-trough decline within a single simulated equity path.
95%95th Percentile Max Drawdown
A stress-case drawdown level: 95% of simulated maximum drawdowns are at or below it, and 5% are deeper.
PFProfit Factor
Gross winning R divided by gross losing R. If a path has no losing trades, its factor is infinite and the simulator displays ∞.
EVExpected Value
Average modeled outcome per trade in risk units. For these assumptions, EV in R combines win rate, reward-to-risk, and the loss rate.
%ilePercentile
A point in the ordered distribution of ending balances. The 25th percentile is below three quarters of the outcomes; the 75th is above three quarters.
R:RReward-to-Risk Ratio
The modeled reward for one unit of risk on a winning trade. A 1.5:1 ratio returns 1.5R for each 1R risked, before costs.

Pair a path simulation with tools for individual trade planning and drawdown context.

View All Free Trading Tools

Start Tracking Real Results

Keep your trade history and review the results behind the assumptions you test here.

Start Tracking

Frequently Asked Questions

What is a Monte Carlo simulation in trading?

It samples many independent win-or-loss sequences from the win rate and reward-to-risk assumptions you enter, then summarizes the resulting balance paths. It does not replay or shuffle a specific trade history, and it cannot predict which path will occur.

How many simulations should I run?

The calculator allows 100 to 10,000 paths. More paths can reduce sampling noise in percentile estimates, but they do not make the assumptions more accurate or turn the output into a forecast.

How does this simulator define risk of ruin?

A path counts toward risk of ruin if its balance reaches or falls below the level implied by a loss from starting capital. Each path counts once, even if it later recovers. This scenario threshold is separate from peak-to-trough drawdown and does not mean literal bankruptcy.

What changes between compounding and fixed-dollar sizing?

Compounding calculates risk from the current balance on each trade. Fixed-dollar sizing keeps each trade’s dollar risk tied to the starting balance. Both approaches can produce losses and drawdowns.

What does the 95th percentile max drawdown mean?

It is the point at or below which 95% of simulated maximum drawdowns fall. Five percent of paths have a deeper maximum drawdown in this run, so it is a distribution measure rather than a guaranteed worst case.

Why does win rate need to be considered with reward-to-risk?

Win rate alone leaves out the size of wins relative to losses. Under the simple assumptions in this model, a 40% win rate with a 3:1 reward-to-risk has positive expected value, while 60% with a 0.5:1 reward-to-risk does not. Costs and execution can change real results.

This simulator is an educational scenario tool, not investment advice or a promise of future performance. It models independent outcomes from fixed assumptions and excludes commissions, slippage, changing market conditions, and other execution effects. Trading can result in the loss of capital.