Expected Value

Lesson 6 of 20, about 16 minutes

What you will learn

  • Calculate the expected value of a random variable
  • See why expected value is the probability-weighted mean of the outcomes
  • Use expected value to judge a risky decision
  • Understand why expected value alone can be dangerously misleading

In the last lesson the mean was a simple average of numbers you already had. Expected value takes that idea and applies it to an uncertain future, where each outcome has a probability instead of just appearing once. It answers the question: on average, what should I expect to happen? It is one of the more practical ideas in probability, because it is how gamblers, insurers, and investors decide whether a risky bet is worth taking.

Expected value of a discrete random variable (Khan Academy)

Builds expected value directly as the probability-weighted mean of a random variable. Watch how it connects to the plain average from the last lesson.

The definition

The expected value of a random variable is the probability-weighted average of all its possible outcomes. You compute it by multiplying each outcome by its probability and adding up the results. Notice the connection to the mean. A plain mean weights every value equally, as if each had the same chance. Expected value weights each outcome by how likely it is. In fact, the expected value of a distribution is exactly its mean, the center of gravity of all the possible outcomes weighted by their probabilities.

Key terms

Expected value
The probability-weighted average of all possible outcomes. Also the mean of the distribution.
Expected return
The expected value applied to returns: the average return you should anticipate, weighted by probability.
Probability-weighted
Each outcome counted in proportion to how likely it is, not equally.
Long-run average
The value the average of repeated trials settles toward, which is the expected value.

The formula in symbols

Formula
E(X) = Σ (p × x)
  • E(X) = expected value of X
  • Σ = add up across every outcome
  • p = probability of an outcome
  • x = the outcome's value

In plain words: multiply each outcome by its probability, then add all those products together. That is the entire calculation, and it is exactly what the worked example below does.

Worked example

The expected return of a stock

A stock next year could return 20 percent with probability 0.5, 0 percent with probability 0.3, or negative 10 percent with probability 0.2. What is its expected return?

  1. Multiply each outcome by its probability. 0.5 times 20 is 10. 0.3 times 0 is 0. 0.2 times negative 10 is negative 2.
  2. Add the weighted outcomes. 10 plus 0 plus negative 2.
  3. Read the result. That is 8 percent.
Result: The expected return is 8 percent.

Why it matters: Expected value weights each outcome by its probability, so the more likely 20 percent counts more than the less likely negative 10 percent. Over many similar years, you would expect to average about 8 percent.

Calculation

Calculate the expected return

A stock could return 30 percent with probability 0.4, 5 percent with probability 0.4, or negative 20 percent with probability 0.2. What is its expected return, as a percent?

Need a hint?

Multiply each return by its probability, then add them up.

The long-run average

The expected value is, in effect, the long-run average you would get if the random situation were repeated many times. Take a bet that pays you 10 dollars with probability 0.3 and costs you 2 dollars with probability 0.7. The expected value is 0.3 times 10, which is 3 dollars, minus 0.7 times 2, which is 1 dollar 40, giving 1 dollar 60 per play. No single play produces exactly 1 dollar 60, but over many plays your average settles near that number. Expected value smooths the randomness into one representative figure.

Why it guides decisions

Expected value is the basis for judging risky decisions because it weighs the entire range of outcomes by their probabilities, not just the best case or the single most likely one. A rational decision-maker looks at the whole distribution. This is why lotteries are poor bets. They have negative expected value, paying out far less on average than they cost. And it is why a casino, with a tiny edge on each bet, profits reliably over millions of bets.

Expected value weighs every outcome by its probability. A good decision considers the whole distribution, not just the hoped-for result.

Interpreting expected value (Khan Academy)

Focuses on what the expected value actually means as a long-run average. Watch to cement the intuition before the important warning below.

The critical limitation

Here is a warning that runs through the rest of finance. Expected value alone can mislead you, because it ignores the spread and shape of outcomes. It treats a steady, modest gain the same as a wild gamble with the same average. A bet can have a positive expected value and still ruin you, if the path to that average includes a chance of a large, unrecoverable loss. Picture a wager that usually wins a little but occasionally wipes out everything you own. Its expected value might be positive, yet taking it over and over would eventually wipe you out. This is why expected value must always be paired with a measure of risk, the variance and the worst cases, which is where the next lessons go.

Decision scenario

Positive expected value, but would you take it?

A bet has a positive expected value: it wins a small amount 95 percent of the time, but 5 percent of the time it wipes out your entire life savings. Should positive expected value alone convince you to take it repeatedly?

Why insurance makes sense

This limitation also explains insurance. For you, insurance has negative expected value, because the company charges a premium a bit higher than the average payout, which is how it profits. Yet buying it can still be perfectly rational, because it removes the small chance of a devastating, life-changing loss. You trade a slightly worse average for far greater safety. The mature use of expected value always looks at the distribution behind it, especially the downside, a theme that carries straight into variance, standard deviation, and portfolio risk.

Reflection

Explain the trap

In your own words, explain why a bet with a positive expected value is not automatically a good bet. What is expected value leaving out?

Write an answer before comparing it with the model response.

Expected value tells you what to expect on average. To measure how far reality is likely to stray from that average, the risk, you need a measure of spread. The next lesson builds it, and explains why it squares the differences from the mean.

Quiz

This lesson ends with a 5-question quiz. Create a free account or sign in to take it, save your progress and earn points.