Monte Carlo Trading Simulator & Kelly Calculator

Simulate thousands of trading scenarios and find your optimal position size — 100% free, runs in your browser

Why Use a Monte Carlo Simulator for Trading?

In trading, edge is not enough—you need proper position sizing to survive the inevitable drawdowns. This free Monte Carlo simulator lets you stress-test any trading or betting strategy by running thousands of randomized simulations based on your actual historical win rate and risk/reward ratio. Without simulating sequence risk, many profitable strategies will fail in practical application due to psychological ruin or account liquidation.

What is the Kelly Criterion?

The Kelly Criterion is a mathematical formula that calculates the optimal fraction of your bankroll to risk on a single trade or bet, given your strategy's expected value and edge. Betting exactly "Full Kelly" maximizes your long-term geometric compound growth rate. However, betting Full Kelly is highly volatile and carries a near-100% chance of experiencing a 50% drawdown over time, which most retail traders are unprepared for.

Because of this volatility, professional traders, quantitative funds, and syndicates often bet Half Kelly or Quarter Kelly. This approach provides a much smoother equity curve, significantly lower drawdowns, and still captures a large percentage of the optimal compound growth. The most critical rule in position sizing is: Never bet more than Full Kelly, as this mathematically guarantees long-term ruin, taking you into negative expected growth territory.

Understanding Sequence Risk and Drawdowns

Even with a 70% win rate, you will inevitably encounter losing streaks. Sequence risk refers to the danger that a cluster of losses occurs early in your trading career, reducing your capital so severely that recovering becomes mathematically improbable. A Monte Carlo simulator models this by shuffling the order of your wins and losses thousands of times.

Once you run the simulation below, look closely at the Max Drawdown distribution and the Risk Analysis card. If your strategy has a 30% chance of seeing a 75% drawdown, your position size is likely too large for your psychology to handle—even if the strategy is mathematically profitable on a spreadsheet. Adjust your "Bet Size (%)" downward and run the simulation again until the drawdowns align with your personal risk tolerance.

Case Study: The 1.5 R:R Strategy

Consider a swing trader with a win rate of 55% and a risk-to-reward ratio of 1:1.5 (winning $1.50 for every $1.00 risked). The calculator below will show that the Full Kelly fraction for this edge is approximately 25%. However, running the Monte Carlo simulation with a 25% bet size will reveal terrifying drawdowns (often exceeding 80%). By reducing the bet size to 5% (a Fractional Kelly approach), the trader maintains excellent long-term capital growth while keeping the median max drawdown under a manageable 20%.


Tool Documentation & Setup

Input Parameters

  • Starting Capital Your initial account balance in dollars.
  • Win Rate (%) The percentage of trades that are winners (e.g., 60 = 60% of trades win).
  • Number of Trades How many trades to simulate per run (e.g., 200 trades = ~1 month of active trading).
  • Win Amount ($) Profit per $1 risked on a winning trade. For example, 1.0 means you win $1 for every $1 risked.
  • Loss Amount ($) Loss per $1 risked on a losing trade. Typically 1.0 (you lose your stake).
  • Bet Size (%) Fraction of your current capital risked per trade. The Kelly Criterion will tell you if this is optimal.
  • Simulations Number of Monte Carlo runs. More = more accurate distribution. 1,000–10,000 is recommended.

What You Get

  • Kelly Criterion Full, Half & Quarter Kelly optimal bet sizes for your edge. KEY METRIC
  • Equity Curves Visual plot of all simulated paths — see the spread of outcomes at a glance.
  • Final Capital Distribution Histogram showing where your account is likely to end up.
  • Risk Analysis Probability of profit, drawdown thresholds, and worst-case scenarios.
  • Drawdown Distribution Understand how deep your account might dip before recovering.
  • Sharpe Ratio Approximate risk-adjusted return metric across all simulations.
Your initial account balance
Percentage of winning trades
Trades per simulation run
e.g. 1.5 = you make $1.50 per $1 risked
e.g. 1.0 = you lose your full stake
Fraction of capital risked per trade
More runs = more accurate results

Kelly Criterion

Full Kelly -
Half Kelly -
Quarter Kelly -
Your Bet Size -
Expected Value per Trade -
Edge (EV / Stake) -
Kelly% = W - (1-W) / b
W = Win Rate, b = Win/Loss ratio

Monte Carlo Results

Median Final Capital -
Mean Final Capital -
Best Run -
Worst Run -
5th Percentile -
25th Percentile -
75th Percentile -
95th Percentile -

Risk Analysis

Probability of Profit -
Probability of Loss -
P(Drawdown ≥ 25%) -
P(Drawdown ≥ 50%) -
P(Drawdown ≥ 75%) -
Max Drawdown (Median) -
Max Drawdown (Worst) -
Sharpe Ratio (approx) -

Equity Curves (all simulation runs)

Final Capital Distribution

Max Drawdown Distribution

📚 Want to learn more about position sizing and risk management? (Affiliate links — we may earn a small commission at no extra cost to you)
📖 "The Kelly Capital Growth Investment Criterion" on Amazon  |  📖 "Trading in the Zone" by Mark Douglas  |  📖 "Fortune's Formula" by William Poundstone