Home · Statistics · Probability & Combinatorics · Monty Hall Problem Calculator

Monty Hall Problem Calculator

The Monty Hall problem generalised to any number of doors: after the host opens a losing door, switching wins with probability (doors − 1)/doors.

Your figures

Example result — edit the figures to make it yours

66.67

Win probability if you stay33.333333%
Win probability if you switch66.666667%

What this calculator does

The Monty Hall problem generalised to any number of doors: after the host opens a losing door, switching wins with probability (doors − 1)/doors. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

P(win by switching) = (doors − 1) / doors × 100%

Setup: one door hides the prize, the rest hide goats; you pick one door, then the host, who knows the prize location, opens a losing door you did not pick.

Your first pick wins with probability 1/doors, and that never changes. The remaining (doors−1)/doors of probability concentrates on the single other closed door, so switching wins exactly when the first pick was wrong.

With the classic 3 doors, switching wins 2/3 of the time; staying wins 1/3.

Worked example

With the example inputs this page opens with (number of doors 3), the result is 66.67. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number of doors
Number of doorsResult
366.67
620.83
437.50
526.67
814.58
138.39

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why doesn't the host's opened door make it 50/50?

The host never opens the prize door or your pick, so his choice carries information. Your door keeps its original 1/3 chance; the other 2/3, which belonged to both unchosen doors, now sits entirely on the one still closed.

What if the host opened a door at random?

Then it would be a different problem: a host who might reveal the prize gives no such information, and conditional on his opening a goat the two closed doors really are 50/50. The advantage comes from the host's knowledge.

How does the Monty Hall Problem Calculator work?

The Monty Hall problem generalised to any number of doors: after the host opens a losing door, switching wins with probability (doors − 1)/doors. Number of doors → Win probability when switching (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Monty Hall Problem Calculator need?

Number of doors → Win probability when switching (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.