Ad Space — Top Banner

Expected Value Calculator

Calculate the expected value (mathematical expectation) of a probability distribution.
Enter outcomes and probabilities to find the long-run average result.

Expected Value

What Is Expected Value?

The Expected Value (E(X)) is the long-run average outcome of a random variable if an experiment were repeated many times. It is the sum of each possible outcome weighted by its probability. Think of it as the “center of gravity” of a probability distribution — where the distribution would balance if placed on a fulcrum.

Formula: E(X) = Σ [xᵢ × P(xᵢ)]

where xᵢ is each possible outcome and P(xᵢ) is its probability. All probabilities must sum to exactly 1.0.

Variance and Standard Deviation

Expected value alone does not capture risk. Two distributions can share the same expected value but differ enormously in spread. The variance measures that spread:

Var(X) = Σ [P(xᵢ) × (xᵢ - E(X))²]

Standard deviation = √Var(X). A higher standard deviation means outcomes are more unpredictable.

Applications

Gambling and casino games: A casino game with a house edge always has a negative expected value for the player. A standard roulette wheel (American) has E(X) = -$0.053 per $1 bet. Over thousands of spins, the casino is guaranteed to profit — this is the Law of Large Numbers in action.

Insurance: Actuaries calculate the expected value of claims to price premiums. If there is a 1% chance of a $50,000 loss, the expected loss is $500 — and the insurer charges more than that to cover overhead and profit.

Business decisions: A product launch might have a 40% chance of earning $200,000 and a 60% chance of losing $50,000. E(X) = 0.40 × 200,000 + 0.60 × (-50,000) = $80,000 - $30,000 = $50,000. Positive expected value suggests proceeding.

Dice example: Rolling a fair six-sided die: outcomes {1, 2, 3, 4, 5, 6} each with probability 1/6. E(X) = (1+2+3+4+5+6)/6 = 21/6 = 3.5. No single roll gives exactly 3.5, but the average of many rolls converges to 3.5.

Important Note

Expected value guides rational decisions under uncertainty, but it does not eliminate risk. A rational investor considers both expected value and variance (risk/reward tradeoff). All probabilities you enter must sum to 1.0 — this calculator will warn you if they do not.


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.