Overview

In the two envelopes problem, one envelope has twice as much money as the other. You open one, and simple math seems to say you should always switch, which can't be right. This shows that calculation and where it goes wrong.

Enter the amount you see and the chances that the other envelope is double or half.

Worked examples

InputsResult
Amount in Current Envelope ($)100P(Other Is Double) (%)50P(Other Is Half) (%)50Expected value of other envelope: $125.00EV delta from switching: $25.00Switching has positive expected value.
Show 2 more examples
Amount in Current Envelope ($)100P(Other Is Double) (%)30P(Other Is Half) (%)70Expected value of other envelope: $95.00EV delta from switching: -$5.00Keeping current envelope has better expected value.
Amount in Current Envelope ($)50P(Other Is Double) (%)50P(Other Is Half) (%)50Expected value of other envelope: $62.50EV delta from switching: $12.50Switching has positive expected value.

Expected value of other envelope by amount in current envelope

With the calculator's starting values, the expected value of other envelope is $125.00. The table shows how it changes with the amount in current envelope.

Amount in Current Envelope ($)Expected value of other envelope
$60$75.00
$80$100.00
$100starting value$125.00
$120$150.00
$140$175.00

Other inputs: P(Other Is Double): 50% · P(Other Is Half): 50%. Change them in the calculator above for your own numbers.

How it works

With 50/50 chances, the other envelope seems to be worth 0.5 × 2x + 0.5 × x/2 = 1.25x, so switching looks like a 25% gain. The flaw is assuming 50/50 for every possible amount. No real prior over amounts can be like that. Before you look, both envelopes have the same expected value, so switching gains nothing.

The formula

E(other) = amount × (2 × P(double) + 0.5 × P(half) + P(same))

Practical tips

  • Seeing $100 with 50/50 chances gives the misleading $125 expected value.
  • If large amounts are rarer, P(double) should be lower for large amounts, which removes the paradox.
  • Use this to explore how your beliefs about the amounts change the answer.

Frequently asked questions

So should I switch?

Without any information about how amounts were chosen, switching doesn't help on average.

Why does the 50/50 assumption fail?

It implies every amount is equally likely, which isn't possible for an unlimited range of amounts.

Is this related to Monty Hall?

Both feel paradoxical, but in Monty Hall, the host's choice gives real information. Here, opening an envelope doesn't, on its own.