Expected value in 3D

A standing sign shows the expected value formula, defines net gain and probability, and notes that a fair game has zero expectation.Drag to turn

Expected value is the probability-weighted average of the possible outcomes of a random quantity. In a game of chance it gives the average net gain per play over a very large number of plays.

What expected value measures

Expected value is the average result you would approach if a game were repeated many times. In games, the quantity is usually the net gain, which is the prize minus the stake. The value describes the long run, not any single play.

A game is called fair when the expected net gain is zero. A negative value favours the organiser, and a positive value favours the player.

Calculating it from outcomes and probabilities

List each possible outcome x and its probability P(x). Multiply each pair and add the products: E(X) = sum of x times P(x). The probabilities must add to 1.

Take a spinner with four equal sectors paying $1, $2, $3 and $6, with a $3 fee to play. The expected prize is (1 + 2 + 3 + 6) / 4 = 12 / 4 = $3. The expected net gain is 3 - 3 = $0, so the game is fair.

Worked cases: roulette and lottery

An American roulette wheel has 38 pockets: the numbers 1 to 36, plus 0 and 00. A $1 bet on one number usually pays $35 profit if it wins, and the bet is lost otherwise. The expected net gain is (1/38)(35) + (37/38)(-1) = (35 - 37)/38 = -2/38, about -$0.053. A European wheel has 37 pockets, so the same bet gives -1/37, about -$0.027.

Now take a lottery ticket costing $2 with one prize of $1,000,000 and a 1 in 1,000,000 chance of winning it. The expected prize is 1,000,000 x 1/1,000,000 = $1. The expected net gain is 1 - 2 = -$1 per ticket.

Common misconceptions

Expected value is not the most likely result. No single roulette spin ever returns exactly -$0.053, because the result is either +$35 or -$1. The figure only describes the average over many spins.

Past results do not change it. Roulette spins are independent, so a long run of losses does not make a win more likely. A positive expected value also does not guarantee a profit in a short run, because chance variation can dominate. Over many plays the average gain tends toward the expected value, a result known as the law of large numbers.

Where it shows up

Casinos set payouts so that almost all house-banked bets have a negative expected value for the player, which gives the house a steady margin over many bets. Lottery ticket prices usually exceed the expected prize for the same reason. Expected value also appears in insurance pricing, in decision analysis and in comparing risky choices.

Key terms

Expected value
The sum of each outcome multiplied by its probability.
Net gain
The prize received minus the amount staked.
Fair game
A game whose expected net gain is zero.
House edge
The expected loss per unit staked, as a fraction of the stake.
Independent events
Events where one result does not change the probability of another.
Law of large numbers
The result that the average of many repeated trials tends toward the expected value.

Common questions

Why is the roulette expected value negative if the payout is 35 to 1?

There are 38 pockets, but the payout is set as if there were 36. The extra pockets, 0 and 00, make the true odds 37 to 1 against, so the payout falls 2 units short of fair, which costs the player 2/38 of a unit per bet.

Can a game with negative expected value still make a player a profit?

Yes, in the short run. Chance variation can produce a win in a few plays. Over many plays the average result moves toward the negative expected value.

Does a lottery jackpot ever make a ticket worth buying?

A large jackpot raises the expected prize, but the expected net gain can stay negative. Shared jackpots and smaller prize structures also matter, so each case needs the full calculation.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.