Find the long-run average of a bet, game or decision: enter each possible outcome and its probability to get the expected value, variance and standard deviation.
E(X) = Σ x × P(x)
The value of each outcome. Use negatives for losses.
In the same order. Decimals, percentages or fractions such as 1/6; they must add up to 1.
The expected value is the average result you'd get per go if you repeated something many times. Each outcome is weighted by how likely it is, so likely outcomes count for more than rare ones.
It's usually not a result you can actually get. A fair die has an expected value of 3.5, which no single roll ever shows; it's where the average of thousands of rolls settles.
Casinos, insurers and lotteries are built on it: every bet has a small negative expected value for the player, so over millions of plays the house reliably wins. The standard deviation tells you how far a single go typically lands from that average.
Definitions as given in OpenStax Introductory Statistics, section 4.2. See Sources.
The probabilities must cover every possible outcome and add up to exactly 1.
The expected total grows with n but its spread only with √n, which is why the long run is so predictable.
On average the warranty loses you £25, which is the seller's margin. It can still make sense if a surprise £400 bill would be hard to pay: that's a question about risk, which the expected utility calculator handles.
Bets are shown per £1 staked. A negative value is the house edge.
| Game | Expected value |
|---|---|
| Roll of a fair die | 3.5 |
| Sum of two dice | 7 |
| Roulette, £1 on red (single zero) | -0.027 |
| Roulette, £1 on red (double zero) | -0.0526 |
| Roulette, £1 on one number (single zero) | -0.027 |
Because it’s an average, not a possible result. Over many rolls the average settles at (1 + 2 + 3 + 4 + 5 + 6) ÷ 6 = 3.5.
That you lose on average. Every casino game and lottery has one for the player; that loss is the operator’s profit.
Yes. Choose “Counts or weights” and enter how often each outcome happened, and they’re scaled to probabilities automatically.
No. The most likely outcome is the mode. In the warranty example the most likely repair cost is £0, but the expected cost is £35.
It says the average of many independent repeats gets closer and closer to the expected value. It’s why insurers can price risk reliably.
Work out each one’s expected value and compare. If the stakes are large compared with what you can afford to lose, also look at the spread or use expected utility.
In probability mode, yes, to within rounding. Fractions such as 1/3 avoid rounding problems: 1/3, 1/3, 1/3 adds to exactly 1.
Pricing insurance, valuing projects, setting stock levels, planning A/B tests and scoring forecasts all rest on expected values.
Related Tools
Basic probability calculations.
P(A|B) calculations.
P(A and B) calculations.
Three event probabilities.
Conditional probability.
Decision theory.