Games
Monty Hall Problem Simulator
Play or simulate thousands of rounds and watch the real odds emerge.
Game mode
Pick a door, Monty opens a losing one, and decide whether to switch.
Door panel
ManualCumulative stats
Updates in real time as you play or simulate.
| Switch | Stay | |
|---|---|---|
| Wins | 0 | 0 |
| Losses | 0 | 0 |
| Win rate | 0% | 0% |
Convergence chart
The blue line shows win rate when switching and the orange line when staying. As rounds increase, both curves should settle near 66% and 33%.
About this tool
The Monty Hall problem is one of the most famous and counterintuitive probability puzzles. There are three doors: behind one is a car, behind the other two are goats. You choose a door. The host, who knows where the car is, opens one of the other two revealing a goat. Should you switch?
The correct answer is to always switch. The key is applying Bayes' theorem. When you initially choose, the probability of having picked correctly is . When the host opens a door with a goat, this probability does not change for your door, but the probability that the car is behind the other remaining door rises to . The host does not open a door at random — they always open one with a goat, and that additional information updates the probabilities asymmetrically.
This tool simulates the problem thousands of times to empirically verify the result. Compare the winning frequencies of the stay versus switch strategies and observe how the proportion converges to the theoretical values and as the number of simulations increases.
Articles published on the blog
