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.
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
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
| Number of doors | Result |
|---|---|
| 3 | 66.67 |
| 6 | 20.83 |
| 4 | 37.50 |
| 5 | 26.67 |
| 8 | 14.58 |
| 13 | 8.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.