Understanding the Two Envelopes Paradox

Suppose you select one sealed envelope from a pair. You know with certainty that one envelope holds exactly double the money of the other, but you don't know which is which or what either contains. You open your envelope and see an amount—call it X. Should you switch?

The paradox emerges from a seemingly airtight argument for switching. If your envelope holds X, the other envelope must hold either 2X or X/2. With equal probability (50% each), the expected value of the other envelope is:

EV(other) = 0.5 × (2X) + 0.5 × (X/2) = 1.25X

By this logic, you gain 25% in expectation by switching. But here's the catch: the same argument applies to your current envelope if you'd picked the other one first. The problem exhibits perfect symmetry, yet the calculation implies perpetual switching gains—a logical impossibility.

The resolution hinges on recognising that X plays two roles simultaneously in the calculation: sometimes it represents the smaller amount, sometimes the larger. This conflation invalidates the straightforward expected value computation.

Computing Expected Values

Once you observe the amount X in your envelope, two scenarios exist. The correct expected value depends on which scenario actually holds.

If your envelope contains the larger amount:

Lower value = X ÷ 2

Higher value = X

Expected value = 0.5 × (X ÷ 2) + 0.5 × X = 0.75X

If your envelope contains the smaller amount:

Lower value = X

Higher value = 2X

Expected value = 0.5 × X + 0.5 × (2X) = 1.5X

  • X — The amount of money you observe in your envelope
  • Expected value (larger case) — Average value if your envelope holds the larger sum: 0.75X
  • Expected value (smaller case) — Average value if your envelope holds the smaller sum: 1.5X

Why the Paradox Persists

The fundamental flaw in the naive argument is treating X as a fixed, known quantity while simultaneously using it as if it could represent both values in a probability distribution. In reality, X is neither random nor ambiguous—you've already observed it.

What is random is your initial choice of envelope. Before opening either envelope, each has a 50% chance of being the larger one. But once you've looked inside, that randomness is partly resolved. Your observation of X provides information that shifts the probability.

However, without knowing the mechanism by which the envelopes were filled (the prior distribution of amounts), you cannot compute a true posterior probability that your envelope is the larger one. This indeterminacy means no rational decision rule favours switching over staying. The paradox dissolves when you acknowledge that probability requires a well-defined prior distribution—and the problem statement provides none.

Common Pitfalls and Caveats

Avoid these frequent mistakes when reasoning about the two envelopes paradox:

  1. Ignoring the prior distribution — Many people assume equal probability for both scenarios after observing <em>X</em>. In truth, the probability that your envelope is the larger one depends entirely on how the amounts were chosen initially. Without that information, you cannot compute valid posterior probabilities, making the symmetry argument unassailable.
  2. Confusing observation with randomness — Treating the observed amount <em>X</em> as a random variable in the calculation is the core mistake. Once you've seen the value, <em>X</em> is fixed. The randomness lies in your initial choice of envelope and the unknown filling procedure, not in the number you've already witnessed.
  3. Assuming expected value determines strategy — Even if you could compute two different expected values for each scenario, neither tells you whether to switch without knowing the probability of each scenario being true. Expected value is only half the decision calculus; the other half requires belief about which envelope you actually hold.
  4. Overlooking symmetry — The paradox's most powerful feature is symmetry: the problem structure and payoff rules are identical from the perspective of either envelope. Any real-world decision rule that strictly prefers switching would contradict this symmetry. Recognising this fundamental constraint often resolves the tension.

Practical Use of the Calculator

This calculator operates in two modes: simulation and calculation.

In simulation mode, you select an initial envelope (A or B), and the calculator reveals the expected value you'd obtain from the other envelope under each scenario. This lets you see concretely how the calculation works and why the straightforward reasoning leads astray.

In calculation mode, you input a known envelope value and the calculator computes the theoretical expected values for both the larger-amount and smaller-amount scenarios. This clarifies the mathematics behind the paradox without requiring any physical simulation.

Use these tools to internalise the distinction between what the calculation appears to suggest and what logic and symmetry actually permit. The paradox is ultimately a lesson in probability foundations: valid reasoning requires explicit assumptions about prior distributions and careful tracking of what is known versus unknown.

Frequently Asked Questions

Can I always guarantee a gain by switching envelopes?

No. While a naive expected value calculation suggests switching yields 25% more money, this argument applies equally to either envelope, creating a logical impossibility. In reality, whether switching helps depends on whether your envelope is the larger or smaller one—a fact determined by the prior distribution used to fill the envelopes. Without knowing that distribution, you cannot rationally prefer switching. Symmetry of the problem structure guarantees that switching is neither systematically better nor worse than staying.

What is the correct expected value if I see $100 in my envelope?

The answer depends on which scenario is true. If your envelope holds the larger amount, the other envelope averages $75 (you'd gain $25 by switching). If your envelope holds the smaller amount, the other averages $150 (you'd gain $50 by switching). Without prior information about how the amounts were selected, you cannot determine the probability of each scenario. Thus, you cannot compute a single 'correct' expected value that decides whether to switch. This indeterminacy is the heart of the paradox.

How does knowing the prior distribution resolve the paradox?

The prior distribution describes how the envelope amounts were originally chosen. If you knew, for example, that the smaller amount is always uniformly drawn from $1 to $1,000, you could compute posterior probabilities after observing your envelope. With those probabilities, you could calculate a true expected value and make a rational decision. The paradox arises precisely because the problem statement omits this information, leaving you unable to update your beliefs mathematically. Thus, the paradox is not truly paradoxical—it highlights the necessity of prior assumptions in any probability argument.

Why is this called a paradox if there's a logical resolution?

It's called a paradox because the resolution is counterintuitive and requires abandoning a seemingly obvious line of reasoning. Most people's first instinct is to accept the 25% expected-value gain argument and conclude that switching is rational. Only by carefully examining the role of the prior distribution and the ambiguous status of the observed amount does the paradox lose its sting. The paradox is educational: it teaches that rigorous probability reasoning demands explicit assumptions and careful variable tracking, even when intuition suggests otherwise.

Does this paradox apply to real-world decisions?

The paradox is primarily a theoretical curiosity rather than a practical decision problem. Real-world envelope scenarios almost never lack information about the filling procedure. However, the underlying lesson applies broadly: whenever you face a decision with uncertainty, you must distinguish between observed facts and unknown probabilities. Jumping to expected-value calculations without examining your implicit assumptions—about prior distributions, independence, and the status of observed variables—can lead to logical contradictions. The paradox is a cautionary tale about the importance of foundational clarity in probabilistic reasoning.

What is a random variable in this context?

A random variable is a quantity whose value depends on the outcome of a random process and is unknown until the process concludes. In the two envelopes problem, the amount in each envelope is a random variable before you open them—its value is determined by the random process of selecting and filling the envelopes, but you don't know it yet. Once you open an envelope and observe the amount, that amount is <em>no longer</em> random from your perspective; it's now a fixed, known number. The confusion in the paradox arises partly from treating the observed amount as if it were still random.

More statistics calculators (see all)