Expected Value Calculator
Enter each outcome with its probability. The probabilities must add up to 1.
Expected value E(X)13
Variance361
Standard deviation19
Step by step
- Multiply each outcome by its probability (table)
- Add the products: E(X) = Σx·P(x) = 13
- Variance = Σ(x − E)²·P(x) = 361, SD = 19
| Outcome x | P(x) | x · P(x) |
|---|---|---|
| 0 | 0.5 | 0 |
| 10 | 0.3 | 3 |
| 50 | 0.2 | 10 |
Expected value formula
E(X) = Σ x · P(x)
The expected value is the long-run average outcome. A game paying $0 (50%), $10 (30%) or $50 (20%) has E(X) = 0 + 3 + 10 = $13 per play — worth playing only if it costs less than $13.
Where expected value is used
- Games and lotteries: a $2 ticket with expected payout $0.90 loses $1.10 per play on average.
- Insurance: premiums are set above the expected claim.
- Decisions: compare options by their expected profit, and by their standard deviation for risk.
For a fair die, E(X) = (1 + 2 + 3 + 4 + 5 + 6) ÷ 6 = 3.5 — you can enter probabilities as fractions like 1/6. For a whole binomial or Poisson model, use the binomial or Poisson calculator.
Frequently asked questions
How do you calculate expected value?
Multiply each outcome by its probability and add the results.
Do probabilities have to add to 1?
Yes — together the outcomes must cover every possibility.
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.