Two Envelopes Paradox

Explore the Two Envelopes Paradox — a famous probability puzzle where switching envelopes seems beneficial but isn't. Enter an amount for scenario analysis and simulation.

Explore the Two Envelopes Paradox

About This Calculator

The Two Envelopes Paradox is a classic probability puzzle that challenges our understanding of expected value and decision-making. You are presented with two envelopes, each containing an unknown amount of money. You know that one envelope contains exactly twice as much money as the other, but you do not know which envelope holds the larger amount. After choosing an envelope, you are given the opportunity to switch to the other envelope before opening either one.

The paradox arises from a seemingly straightforward expected value calculation. If your chosen envelope contains an amount X, then the other envelope must contain either X/2 (if yours is the larger) or 2X (if yours is the smaller), each with equal probability. The naive expected value of the other envelope is therefore 0.5 × (X/2) + 0.5 × (2X) = 1.25X, which suggests you should always switch. However, if you apply the same reasoning after switching, the new envelope becomes the one with the higher expected value, suggesting you should switch back — an infinite loop with no logical resolution.

This calculator helps you explore the paradox from two perspectives. First, enter the amount you see in your envelope to examine both possible scenarios and see the naive expected value calculation. Second, a built-in Monte Carlo simulation runs thousands of random trials to empirically demonstrate that switching and sticking both succeed exactly 50% of the time, confirming that neither strategy provides an advantage. The resolution lies in recognizing that the naive calculation treats X as representing two different possible amounts simultaneously — a subtle error in how the expected value formula is applied.

The Two Envelopes Paradox has been discussed by mathematicians since at least the 1950s and was popularized by Martin Gardner. It remains one of the most instructive examples in probability theory, illustrating how seemingly correct mathematical reasoning can lead to absurd conclusions when assumptions are improperly applied. The paradox is related to broader concepts in Bayesian probability, decision theory, and the philosophy of probability.

Regional Notes

Global: The Two Envelopes Paradox is a universal probability puzzle that applies regardless of region. The mathematics of expected value, the logical flaw in the naive calculation, and the Monte Carlo simulation results are identical worldwide. Currency is used in the examples for clarity, but the paradox applies to any two values with a fixed ratio.

Frequently Asked Questions

What is the Two Envelopes Paradox?

The Two Envelopes Paradox is a famous probability puzzle where you choose one of two envelopes, one containing twice as much money as the other. After picking, a naive expected value calculation suggests you should always switch to the other envelope — but the same reasoning then suggests you should switch back, creating a paradox. The resolution lies in recognizing the flaw in the naive expected value calculation.

Why does the Two Envelopes Paradox seem to suggest switching is always better?

The naive argument goes: if your envelope contains X, the other envelope contains either X/2 or 2X with equal probability, so the expected value of switching is 0.5 × (X/2) + 0.5 × (2X) = 1.25X, which is 25% more than X. This suggests you should switch. The flaw is that the same variable X is used to represent two different amounts simultaneously — treating X as both the smaller and larger amount in the same equation.

What is the correct expected value in the Two Envelopes Paradox?

The correct expected value is 1.5S where S is the smaller amount. Let the envelopes contain S and 2S. You have a 50% chance of holding S and 50% chance of holding 2S, so the expected value of your envelope is 0.5 × S + 0.5 × 2S = 1.5S. The other envelope has the same expected value of 1.5S, proving both envelopes are equally valuable.

Does it make sense to switch envelopes in the Two Envelopes Paradox?

No, switching does not give you any advantage. Since both envelopes have the same expected value (1.5 times the smaller amount), and you have no information about whether your envelope contains the smaller or larger amount, switching or staying are equally likely to give you the larger amount. The paradox arises from a flawed expected value calculation, not from an actual advantage to switching.

What is the flaw in the naive expected value calculation?

The flaw is mixing two different scenarios in the same equation. When you say 'your envelope contains X,' X can be either the smaller amount S or the larger amount 2S. But the equation 0.5 × (X/2) + 0.5 × (2X) treats X as both S and 2S at the same time. If X = S, then 2X = 2S (correct) but X/2 = S/2 (wrong — the other envelope would be 2S, not S/2). If X = 2S, then X/2 = S (correct) but 2X = 4S (wrong).

How does Monte Carlo simulation help understand the Two Envelopes Paradox?

Monte Carlo simulation runs thousands of random trials of the two envelopes game. In each trial, amounts S and 2S are randomly assigned to two envelopes, and a random envelope is selected. By tracking how often sticking versus switching wins across many trials, the simulation empirically demonstrates that both strategies win exactly 50% of the time, confirming that switching provides no advantage.

Who discovered the Two Envelopes Paradox?

The Two Envelopes Paradox has been known since at least the 1950s, with early discussions appearing in mathematical literature. It was notably analyzed by mathematicians like Maurice Kraitchik and later popularized by Martin Gardner in his Scientific American columns. The paradox continues to be studied as an instructive example of subtle errors in expected value calculations and Bayesian reasoning.

Is the Two Envelopes Paradox the same as the Monty Hall Problem?

No, these are different paradoxes. The Monty Hall Problem involves a game show host revealing a goat door, which provides information that makes switching beneficial (2/3 chance vs 1/3). In contrast, the Two Envelopes Paradox involves no additional information being revealed — both envelopes have equal expected value from the start. The Two Envelopes paradox stems from a calculation error, while the Monty Hall paradox stems from counterintuitive conditional probability.