Skip to content
MasterMath

Expected Value Calculator

The weighted average of every possible outcome by its probability. It is what you win or lose per go over a very long run, not what is going to happen this time.

Expected value

—

Expected value—
Over time—
Probabilities add up to—
Standard deviation—
Best outcome—
Worst outcome—

How this was worked out

    The formula

    E(X) = Σ (value × probability)

    What it means

    Each outcome contributes its value multiplied by the probability of it happening, and the expected value is the sum of all those contributions. It can be a number that is not on the list at all: the expected value of a die is 3.5, and no die ever rolls 3.5.

    How to work it out by hand

    1. Write each outcome with its value and its probability
    2. Multiply each value by its probability as a decimal
    3. Add all the products together
    4. Check that the probabilities add up to a hundred

    What is worth knowing

    Expected value is a very long-run average and says nothing about a single go. A straight-up roulette bet has an expected value of −0.027 per unit staked, and yet most of the time you lose the whole unit and occasionally you win thirty-five. That gap between the average and what actually happens is the standard deviation, and it is what lets a game with a slightly negative expected value ruin or enrich someone in the short run. Which is why, for decisions that will not be repeated many times — selling a house, changing jobs — expected value is only part of the answer.

    Frequently asked questions

    How do you calculate expected value?

    Multiply each outcome by its probability and add all the products together.

    Is the expected value what I am going to win?

    No. It is the average if you repeated the go a very great many times. On any single go that number almost never comes up.

    Can the expected value be an impossible outcome?

    Yes. A die's is 3.5 and no face shows 3.5. It is an average, not an outcome.

    Why do bets have a negative expected value?

    Because the house pays less than the fair probability would warrant. That difference is its margin, and it is what makes the expected value negative for the bettor.