Find a course

Module 4: Probability in Real LifeLesson 8 of 912 min

Expected Value

Compute expected value as a probability-weighted average, see why casinos and lotteries always win, and use expected value to make smarter choices.

Step 1 of 12Learn

The long-run average

A friend offers a game: roll a die. If you roll a 6, she pays you $6. Otherwise, you pay her $1. Should you play?

The tool for this is expected value (EV): the average result per play if you played many, many times. Multiply each outcome by its probability and add:

EV = (value₁ × probability₁) + (value₂ × probability₂) + …

For the dice game: EV = 6 × 1/6 + (−1) × 5/6 = 1 − 5/6 = +1/6, about $0.17 per game. Over 600 games you would expect to win about $100. The game favors you.

Two things to notice. First, the expected value is often a value you can never get in a single play: you never win exactly 17 cents. It is a long-run average. Second, a game is called fair when EV = 0: neither side has an advantage over many plays.

Losses go in as negative numbers. Forgetting the negative sign on the losing outcomes is the most common EV error.

Step 2 of 12Chart

Building the expected value of the dice game

Expected value adds up each outcome times its probability: $1.00 − $0.83 ≈ +$0.17 per game for you.

Building the expected value of the dice gameBar chart with 2 categories: Roll a 6: +$6 × 1/6: $1; Other: −$1 × 5/6: -$0.83.-$1-$0.5$0$0.5$1Roll a 6: +$6 × 1/6Other: −$1 × 5/6$1-$0.83
Building the expected value of the dice game
ItemContribution to EV
Roll a 6: +$6 × 1/6$1
Other: −$1 × 5/6-$0.83

Step 3 of 12Practice · Work it out

A school raffle sells 500 tickets at $2 each. There is one prize worth $400. What is the expected value of buying one ticket, in dollars? (Use a negative number for a loss.)

Step 4 of 12Learn

Why the house always wins

Casinos design every game with a negative EV for the player. That is the casino's business model.

An American roulette wheel has 38 pockets: 18 red, 18 black and 2 green. A $1 bet on red wins $1 with probability 18/38 and loses $1 with probability 20/38:

EV = 1 × 18/38 − 1 × 20/38 = −2/38 ≈ −$0.053

The player loses about 5.3 cents per dollar on average. That share is the house edge. On any single night, plenty of players walk away ahead. But over millions of bets, the law of large numbers makes the casino's profit almost perfectly predictable.

Lotteries are usually much worse. In many state lotteries, roughly half of ticket sales go to prizes, so a $1 ticket has an expected value somewhere around −$0.50. The giant jackpot is real, but its tiny probability means it adds only a few cents to the EV.

A single play is always uncertain; expected value describes what happens across many plays. Businesses, insurers and casinos live in the long run, which is why they rely on it.

Step 5 of 12Practice · Chart

The 38 pockets of an American roulette wheel

A bet on red pays even money. Tap the slice that gives the casino its edge.

Tap the slice that answers the question, then press Check.

The 38 pockets of an American roulette wheelDonut chart with 3 categories: Red: 18 (47.4%); Black: 18 (47.4%); Green (0, 00): 2 (5.3%).47%47%38Total
The 38 pockets of an American roulette wheel
ItemPockets
Red18
Black18
Green (0, 00)2

Step 6 of 12Try the calculator

Two-outcome game calculator

You pay the cost to play. If you win, you receive the prize. Enter the chance of winning as a percent.

Expected value per play
-1 $
Expected result after 100 plays
-100 $
Prize needed for a fair game
30 $

Step 7 of 12Practice · Work it out

A carnival game costs $3 to play. You win a $20 prize with probability 10%. What is the expected value per play in dollars?

Step 8 of 12Learn

Expected value for decisions

EV is not just for games. It helps with any choice that involves chance.

Guessing on a test. Suppose a test gives +1 point for a correct answer and −0.25 for a wrong one, with 5 choices per question. A blind guess has EV = 1 × 1/5 − 0.25 × 4/5 = 0.2 − 0.2 = 0. Guessing blind neither helps nor hurts on average. But if you can rule out one choice, EV = 1 × 1/4 − 0.25 × 3/4 = 0.0625, which is positive. Eliminating options turns guessing into a smart move.

Insurance. Insurance has a negative EV for the customer, since the company must cover its costs and earn a profit. People still buy it because EV ignores risk. Losing $200 a year in premiums is annoying; losing $30,000 in an uninsured accident could be a disaster. Paying a small, certain cost to avoid a rare huge one can be wise even with negative EV.

So EV is a powerful guide for repeated, affordable choices. For rare, life-changing outcomes, you also have to think about how bad the worst case would be.

Step 9 of 12Note

Step 10 of 12Practice · What would you do?

What would you do?

A test gives +1 point for each correct answer and takes away 0.25 points for each wrong answer. Blank answers score 0. On one question with 5 choices, Priya is sure two choices are wrong but cannot decide among the other three. What should she do?

Step 11 of 12Practice · True or false

If a game has a positive expected value, you are guaranteed to win money if you play it once.

Step 12 of 12Practice · Choose one

Which of these games is fair (expected value of 0)?