Skip to content
Probability Calculator
Menu

Expected Value Calculator

Enter each possible outcome and its probability to get the expected value, the long-run average.

Updated · exact formulas, double precision

Outcome value (x)Probability (p)

Expected value E(X)

10

Variance
1,080
Standard deviation
32.8634
Sum of probabilities
1
E(X) = Σ x · P(x)

Expected value formula

E(X) = Σ x · P(x). Multiply each outcome by its probability, then add the products. The same sum gives the mean of any discrete probability distribution; to price a bet from its odds, convert them first with the odds to probability calculator.

Worked example

A game pays $100 with probability 0.1, $20 with probability 0.3, and costs you $10 otherwise (probability 0.6). E(X) = 100 × 0.1 + 20 × 0.3 + (−10) × 0.6 = 10 + 6 − 6 = $10 per play on average.

How to find expected value

  1. List every possible outcome and its value. Losses are negative.
  2. Write each outcome's probability; they must add up to 1.
  3. Multiply each value by its probability and add the results.

Expected value is an average over many repetitions, not what happens on a single try: the variance and standard deviation show how far a single result can stray. A fair die's expected roll is 3.5, a number it can never land on. For dice outcomes, see the dice probability calculator.

Questions people ask

What is the expected value formula?

E(X) = Σ x · P(x): each outcome times its probability, added up.

What does a negative expected value mean?

On average you lose that much per play over the long run.

Sources

More probability calculators