Statistics & probability
Discrete expected value
Calculate an outcome distribution’s mean, variance and standard deviation.
A clear answer. Here’s how.
Requires 1–1,000 finite numeric outcomes and non-negative probabilities summing to 1 within a tolerance of 1e−9. Normalises accepted rounding differences, then computes E[X], E[X²] via centred deviations and standard deviation. Duplicate outcome values are allowed; this calculator does not estimate probabilities.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- CSV: Outcome,Probability
Outcome,Probability -10,0.5 0,0.3 30,0.2
Example result
- Expected value
- 1
- Variance
- 229
- Standard deviation
- 15.1327459504
- Outcomes
- 3