Bertrand\'s Box Paradox
Interactive Bertrand\'s Box Paradox simulator with step-by-step Bayesian proof and Monte Carlo verification. Explore why the answer is 2/3, not 1/2.
About
Bertrand's Box Paradox, formulated by Joseph Bertrand in 1889, is a veridical paradox in elementary probability theory. Three boxes each contain two coins: one holds two gold coins, one holds one gold and one silver, and one holds two silver. You choose a box at random, draw one coin, and it is gold. The probability the remaining coin in that box is also gold is 23, not 12 as most people guess. The error stems from conflating "choosing a box" with "choosing a coin." There are three equally likely gold coins you could have drawn. Two of those three reside in the Gold-Gold box. This tool lets you run the experiment manually or simulate up to 100,000 trials to watch the empirical frequency converge to the Bayesian answer.
The paradox is structurally identical to the Monty Hall problem and demonstrates why naive enumeration of outcomes without weighting by likelihood leads to systematic error. Misapplying this reasoning in clinical diagnostics or quality control produces materially wrong risk estimates. This simulator applies no approximations. It computes exact conditional probabilities and validates them empirically.
Formulas
The solution applies Bayes' theorem directly. Given that the drawn coin is gold (G), compute the posterior probability that the chosen box is Box A (containing two gold coins):
Where the total probability of drawing gold is computed via the law of total probability:
Substituting:
Where A = event that Box A (Gold-Gold) was chosen, G = event that the drawn coin is gold, Bi = event of choosing box i, P(G | A) = 1 because both coins in Box A are gold, P(A) = 13 is the prior probability of selecting Box A.
Reference Data
| Box | Coin 1 | Coin 2 | P(pick this box) | P(draw gold | this box) | P(this box & draw gold) | P(this box | drew gold) |
|---|---|---|---|---|---|---|
| Box A (GG) | Gold | Gold | 13 | 1 | 13 | 23 |
| Box B (GS) | Gold | Silver | 13 | 12 | 16 | 13 |
| Box C (SS) | Silver | Silver | 13 | 0 | 0 | 0 |
| Total P(draw gold) | 12 | |||||