Statistics & Probability

Expected Value

Mean of a discrete distribution.

Formula

Formula
E[X] = Σ xi pi

Variables

SymbolDefinitionType & rangeUnitsRole
xᵢ outcomes list of real numbers — input
pᵢ probabilities list of real numbers — input

Try it yourself

Interactive calculator
comma or space separated numbers
comma or space separated numbers
Result
—

Worked examples

Example 1
Givenvalues = 1, 2, 3, 4, 5, 6, probabilities = 0.166667, 0.166667, 0.166667, 0.166667, 0.166667, 0.166667
Result3.500007
Example 2
Givenvalues = 0, 1, probabilities = 0.5, 0.5
Result0.5