Expected value calculator

Calculate the expected value of a discrete distribution with supplied outcomes and probabilities.

Enter values

Start with the example below, or enter your own values.

How it works

The weighted sum is Σ xᵢpᵢ. Probabilities must be nonnegative and total one.

Try an example

Outcomes: 0, 10, 20; Probabilities: 0.2, 0.5, 0.3. The form starts with these values; change them to explore your own case.

Example result: 11

  1. Multiply each outcome by its probability.
  2. Sum the weighted outcomes.

Learn more in Probability and statistical inference.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.