Mathematics · Formula

Expected value

The long-run average outcome of a random variable, weighted by probabilities.

Mathematics librarySymbols definedWorked example
Formula
E(X) = Σ xi P(xi)

The long-run average outcome of a random variable, weighted by probabilities.

What the symbols mean

  • xᵢ — the possible outcomes
  • P(xᵢ) — their probabilities

What it means

The expected value is the balance point of a probability distribution — not necessarily a value that can actually occur. Fair games have expected profit zero.

Worked example

Example

A fair die has E(X) = (1 + 2 + 3 + 4 + 5 + 6)/6 = 3.5.

Related formulas

These relationships often appear alongside the expected value in the same problems.

Frequently asked questions

What is the expected value formula?

The relationship is E(X) = Σ xi P(xi). The long-run average outcome of a random variable, weighted by probabilities.

When should I use the expected value formula?

The expected value is the balance point of a probability distribution — not necessarily a value that can actually occur. Fair games have expected profit zero.

How do I avoid unit mistakes?

Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.

Sources and standards

The equation form, symbols and expected units on this page are checked against the reference works below.

How these are used: sources and standards.

Reviewed November 2026 · Educational reference. See the disclaimer and methodology.