Bertrand's Box Paradox Calculator

Explore conditional probability through the famous three-box coin puzzle.

Box Probability Setup
Choose how many boxes contain each pair of gold and silver coins.

About Bertrand's Box Paradox

Bertrand's Box Paradox is a classic conditional probability puzzle. In its standard form, three boxes each hold two coins. One box contains two gold coins, one contains a gold coin and a silver coin, and one contains two silver coins. A box is selected uniformly, one coin is drawn uniformly, and the observed coin is gold. The question asks for the probability that the unseen coin in the selected box is also gold. A quick but incorrect intuition says one-half because only the Gold-Gold and Gold-Silver boxes remain possible. The missing detail is that those two boxes are not equally likely after a gold coin has been observed. The Gold-Gold box has two faces that could produce the observation, while the Gold-Silver box has only one. Among the three equally likely gold-producing coin faces, two belong to the Gold-Gold box. Therefore the conditional probability that the other coin is gold is 2/3, or about 66.67%. The observation changes the relative likelihood of the boxes, which is the central lesson of the paradox. This calculator generalizes the puzzle by allowing multiple boxes of each type. If there are G Gold-Gold boxes and M Gold-Silver boxes, then there are 2G gold faces from the first group and M gold faces from the mixed group. Given that gold was observed, the probability of having selected a Gold-Gold box is 2G divided by 2G + M. Silver-Silver boxes do not appear in that formula because they cannot produce the stated gold observation, although they still belong to the experiment before any coin is seen. The puzzle is a compact demonstration of Bayes' theorem, selection effects, and the importance of counting outcomes under the evidence. It resembles medical-test interpretation, quality-control sampling, and other situations where an observation is more likely under one hidden cause than another. The answer depends on the sampling assumptions: boxes must be equally likely to be selected, and either coin in a chosen box must be equally likely to be drawn. If selection probabilities differ, those weights must be included explicitly. Use the custom counts to see how duplicated box types alter the posterior probability while preserving the same conditional reasoning.

Box Paradox Examples

Each result conditions on drawing a gold coin first.

Box Counts (GG, GS, SS)ProbabilityReasoning
1, 1, 166.67%Two of three possible gold faces are in the Gold-Gold box.
2, 1, 380.00%Four of five possible gold faces are in Gold-Gold boxes.
1, 2, 050.00%Two Gold-Gold faces and two mixed-box gold faces are equally balanced.

How to Use the Calculator

  1. Enter the number of Gold-Gold, Gold-Silver, and Silver-Silver boxes.
  2. Confirm that box selection and coin selection are equally likely.
  3. Select Calculate Conditional Probability to condition on a gold observation.
  4. Compare favorable Gold-Gold faces with all faces capable of showing gold.

Frequently Asked Questions

Why is the classic answer not one-half?

The two remaining box types are not equally likely after gold is observed. The Gold-Gold box offers twice as many ways to produce that observation.

Why do Silver-Silver boxes not affect the result?

A Silver-Silver box cannot produce the given gold observation, so its conditional weight becomes zero. It does affect probabilities before the coin is observed.

How does Bayes' theorem apply?

Bayes' theorem reweights each possible box by how likely it was to produce a gold coin. The calculator performs that reweighting by counting gold-producing faces.

What assumptions does the calculation use?

Every box is assumed equally likely to be chosen, and each coin in a box is equally likely to be drawn. Biased selection would require weighted probabilities instead of simple counts.

Can I model more than three boxes?

Yes, enter any nonnegative whole-number count for each box type. The same conditional formula applies when box types are duplicated.