The expected value is the long-run average outcome of a random process. Enter the possible outcomes and their probabilities (as decimals, fractions like 1/6, or percentages).
E(X) = Σ x · P(x), Var(X) = Σ x² P(x) − E(X)²
Example: a raffle ticket costs $2 and has a 1/500 chance of winning $500. The expected net gain is 0.002 × 498 + 0.998 × (−2) = −$1.00 per ticket.
Expected value in decisions
Expected value is the basis of insurance pricing, investment choices and game design. A bet is “fair” when its expected value is zero. Remember that it describes the average over many repetitions; any single outcome can differ widely, which is why the variance and SD matter too.