Free tool

    Monty Hall Simulator: Play It, Then Run 10,000 Rounds

    Updated September 30, 2026No sign-up. Runs in your browser.

    This Monty Hall problem simulator lets you play the puzzle yourself and then run 10,000 rounds in a second. Switching doors wins the car 2 times in 3, and staying wins only 1 time in 3, because the host's choice tells you where the car probably is. Try 3 doors, or 100, and watch the totals settle on the exact chances.

    Monty Hall simulator

    Doors

    Rounds

    Staying wins

    33.8%

    3,380 of 10,000 rounds · exact: 33.33%

    Switching wins

    66.2%

    6,620 of 10,000 rounds · exact: 66.67%

    Exact chances

    The exact chance of winning the car by staying and by switching, for each number of doors
    DoorsStay winsSwitch wins
    333.33%66.67%
    425.00%75.00%
    520.00%80.00%
    1010%90%
    1001%99%

    Exact maths, not a guess: staying wins when the first pick was right, one time in the number of doors, and switching wins in every other case. The simulation deals real rounds from a seeded random generator and scores staying and switching on the same rounds.

    What is the Monty Hall problem?

    A car is behind one of 3 doors and goats are behind the other 2. You pick a door. The host, who knows where the car is, opens one of the other doors and shows a goat. He then asks whether you want to stay with your door or switch to the one that is left. Most people say it makes no difference. It does: switching wins 2 times in 3.

    The puzzle is named after Monty Hall, the host of the game show Let's Make a Deal, and became famous in 1990 when Marilyn vos Savant answered it in Parade magazine and readers, including mathematicians, wrote in to say she was wrong. She was right.

    Why is the chance not 50/50?

    Because the host does not open a door at random. He opens one he knows hides a goat. Your first pick was right 1 time in 3, and nothing the host does changes that. The other 2 times in 3 the car was behind one of the doors you did not pick, and the host, unable to open the car's door, leaves exactly that door closed.

    Where the car isChanceIf you stayIf you switch
    Behind your first pick1 in 3WinLose
    Behind one of the other 2 doors2 in 3LoseWin

    Two of the three cases are wins for switching, and only one is a win for staying. That is the whole argument. Counting the cases is the reason the answer is not 1/2: the two closed doors are not equally likely, because one of them was your blind guess and the other was left closed by someone who knew.

    Does the Monty Hall problem actually work?

    Yes, if the rules are exactly the classic ones. The host must know where the car is, must always open a door that hides a goat, and must always offer the switch. Change any of those and the answer changes. If the host opens a door at random, and it happens to show a goat, switching and staying are equal at 1 in 2. The simulator above uses the classic rules, so its totals match the maths.

    Monty Hall with 100 doors

    The easiest way to feel the answer is to raise the door count. With 100 doors you pick one, and the host opens 98 of the others, all goats, leaving one closed. Your door had a 1 in 100 chance. The door he left closed carries the other 99 in 100. Almost nobody would stay. Pick 100 in the simulator, run 10,000 rounds, and switching wins about 99% of them.

    DoorsStay winsSwitch wins
    333.33%66.67%
    425%75%
    520%80%
    1010%90%
    1001%99%

    How the simulation works

    Each simulated round places the car at random, makes a random first pick, and lets the host open every door except your pick and one other, never the car. The same round is then scored twice, once as if you had stayed and once as if you had switched, so the two totals come from identical rounds. A run of 10,000 rounds usually lands within a percentage point or two of the exact chance. With a few rounds it can wander a lot, which is why one lucky or unlucky game proves nothing either way.

    Use Play it yourself to feel it, and expect your own tally to look messy for the first dozen games. Then run many rounds to see the same maths at scale.

    Is this the same as a game in Gift Club?

    No. This is a probability puzzle, not one of our games. Gift Club's Magic Door has five doors and no host who opens any of them, so there is no stay-or-switch decision and nothing on this page applies to it. The link between the two is only that both are worth understanding as probability rather than luck; for that, see gambling odds explained.

    Sources

    Frequently asked questions

    Has anyone simulated the Monty Hall problem?

    Yes, many times, and the result is always the same: over thousands of rounds switching wins about 2 in 3 and staying about 1 in 3. You can run 10,000 rounds on this page, with 3 doors or up to 100.

    Does the Monty Hall problem actually work?

    Yes, under the classic rules: the host knows where the car is, always opens a door with a goat, and always offers the switch. Under those rules switching wins 2 in 3. If the host opens a door at random, switching and staying are equal.

    Why is the chance not 50/50 in the Monty Hall problem?

    The two closed doors are not equally likely. Your first pick had a 1 in 3 chance and keeps it. The host, who cannot open the car's door, leaves closed the door that carries the other 2 in 3.

    What if the host does not know where the car is?

    Then the switch gives no edge. If a host who is guessing happens to open a goat door, the car is equally likely to be behind either closed door, so staying and switching both win 1 in 2.

    What happens with 100 doors?

    Staying wins 1 time in 100 and switching wins 99 times in 100. The host opens 98 goat doors and leaves one closed, and that one closed door carries all the probability your first pick did not.

    Is the simulator random?

    Yes. Each round places the car and the first pick at random and scores staying and switching on the same round. The first batch on the page uses a fixed seed so the page loads the same every time; Run new rounds draws a new one.

    Play within your limits. Paid rounds cost Telegram Stars or Gram, and every game on Gift Club is built so the house keeps a margin — over enough rounds the maths runs against you, by design. Stars cannot be converted back into money. Treat paid play as entertainment you have budgeted for, set a limit before you start, and play Spark rounds whenever you just want to play. Gift Club is 18+.

    More free tools

    Gift Club

    Try it in Telegram

    Open Gift Club, claim your Sparks and play a Spark round before you stake anything.

    Play Gift Club

    In-app Stars can't be redeemed or withdrawn. 18+.