Enter your values
Expected Value Calculator
Calculate the probability-weighted average outcome of a discrete random variable and inspect each contribution.
Enter your values
What is an expected value calculator?
Find the expected value of a discrete random variable from outcome-probability pairs, with contribution, variance, and standard deviation details.
Formula and variables
The calculator applies E(X)=\sum_i x_i p_i to the values you enter and shows the arithmetic in the result panel.
Domain note: Inputs must be finite real numbers and must satisfy the conditions stated beside the fields.
How to use this calculator
- 1
List every possible outcome xᵢ and its probability pᵢ.
- 2
Verify each probability is in [0,1] and that the probabilities sum to 1.
- 3
Multiply each outcome by its probability and add the weighted contributions.
A complete example
Problem: A game pays −10 with probability 0.2, 0 with probability 0.5, and 30 with probability 0.3.
Substitution: E(X)=(-10)(0.2)+(0)(0.5)+(30)(0.3).
Result: E(X)=7.
Over many repetitions under the same probabilities, the average payoff approaches 7 per play; a single play need not equal 7.
Rules, edge cases, and related ideas
Check the assumptions
Use a method whose assumptions match how the observations were collected and what quantity you want to describe.
Keep precision and context
The displayed decimal is rounded for readability. Retain unrounded values for later calculations and report units or conventions where relevant.
Edge cases and limitations
- Non-finite or malformed values are rejected.
- A zero denominator or invalid sample size is not silently accepted.
- The selected convention is stated with percentile and probability outputs.
Understand the result
Interpret the result in the context and units of the data. A summary statistic describes only the feature named by its formula; it does not establish causation or a distribution model by itself.
Common mistakes
- Mixing different measurement units in one calculation.
- Treating a descriptive or standardized statistic as a causal conclusion.
- Rounding intermediate values before the final result.
Frequently asked questions
Does expected value predict the next outcome?
No. It is a long-run probability-weighted average, not a guaranteed result for one trial.
Why must probabilities sum to 1?
The listed outcomes must account for all possible cases in the discrete distribution.