Expected Value Calculator

Expected value1
Total probability entered100.00%
Variance4.00
Standard deviation2.00
How this was calculated
  1. Weight each outcome by its probability and add: -1 × 50% + 3 × 50% = 1.
  2. That 1 is the long-run average per play — not a prediction for any single attempt, but the number the results converge on over many repetitions.
  3. For the spread: E[X²] = 5.00, so the variance is 5.00 − (1)² = 4.00 and the standard deviation is 2.00.
  4. The probabilities add to exactly 100%, so this is a complete distribution — every possible outcome is accounted for.

An expected value calculator helps you find the long-run average outcome of any situation with uncertain results. You enter each possible outcome and its probability, and the tool returns a single number: the expected value, or EV. The calculator weights each outcome by its probability and adds them together using the formula EV = sum of p_i x x_i. For example, a coin flip paying $3 on heads and -$1 on tails produces an EV of $1. A carnival game paying $0, $5, $10, or $25 at 50, 30, 15, and 5 percent yields an EV of $4.25. A lottery-style game losing $2 at 90 percent, paying $20 at 9 percent, and paying $200 at 1 percent has an EV of $2, though its standard deviation of $20.87 shows the average hides a wild ride.

This method is the accepted standard because EV predicts the mean over many repetitions, not any single result. A fair game has an EV of zero after its price, while a negative EV represents the house edge expressed as an average loss per play. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every calculation yourself.

Worked examples

A favourable coin flip

Primary result: 1 — you average a dollar a flip in your favour, with a standard deviation of 2.00. (-1 · 50 % · 3 · 50 % · 0 · 0 % · 0 · 0 %)

Expected value1
Total probability entered100.00%
Variance4.00
Standard deviation2.00

A carnival game's true worth

Primary result: 4.25 — the average payout per play across the four prizes. (0 · 50 % · 5 · 30 % · 10 · 15 % · 25 · 5 %)

Expected value4.25
Total probability entered100.00%
Variance35.69
Standard deviation5.97

Positive EV, brutal spread

Primary result: 2 — positive on average, but the 20.87 standard deviation says the ride is wild. (-2 · 90 % · 20 · 9 % · 200 · 1 % · 0 · 0 %)

Expected value2
Total probability entered100.00%
Variance435.60
Standard deviation20.87

The expected value formula

The expected value formula weights each outcome by its probability and adds them together. In compact notation, EV = sum of p_i x x_i, where p_i is the probability of an outcome and x_i is the value of that outcome. The math is straightforward: multiply each possible result by the chance it occurs, then sum every product. An expected value calculator does this arithmetic instantly, but the logic behind it is simple enough to work through by hand.

Start with a coin flip paying $3 on heads and losing $1 on tails. Each side has a 50% chance, so the calculation is (0.50 x $3) + (0.50 x -$1), which equals $1.50 minus $0.50, for an EV of $1. That means if you played this game many times, your average return per flip would settle around $1 — not that you would ever win exactly $1 on any single flip. EV is a long-run average: it predicts the mean over many repetitions, not any single result. Note that this same coin-flip game has a variance of 4.00 and a standard deviation of 2.00, which tells you how much individual results bounce around that $1 average.

Now scale up to a carnival game paying $0, $5, $10, or $25 at probabilities of 50%, 30%, 15%, and 5%. Running the same formula: (0.50 x $0) + (0.30 x $5) + (0.15 x $10) + (0.05 x $25) gives $0 plus $1.50 plus $1.50 plus $1.25, for an EV of $4.25. The standard deviation here is $5.97, so while the average payout looks tidy, any single play can swing well above or below it.

Consider a lottery-style game that costs $2 to play 90% of the time, returns $20 at a 9% chance, and pays $200 at a 1% chance. The formula gives (0.90 x -$2) + (0.09 x $20) + (0.01 x $200), which equals -$1.80 plus $1.80 plus $2.00, for an EV of $2. Yet the standard deviation is $20.87 — the average hides a wild ride. You would need many plays for the real average to approach that $2 figure.

  • A fair game has an EV of zero after its price is accounted for; neither side has a mathematical edge.
  • A negative EV represents the house edge expressed as an average loss per play — the amount you expect to lose over the long run each time you participate.

Worked examples

The expected value calculator above handles the math for you, but seeing the formula applied to real games makes the concept click. Expected value weights each outcome by its probability and adds them: EV = sum of p_i x x_i. The table below shows three verified examples side by side, with variance and standard deviation included to reveal what the average alone hides.

A coin flip paying $3 on heads and -$1 on tails has an EV of $1, with variance 4.00 and standard deviation 2.00. That tight spread means most results land close to the mean. A carnival game paying $0, $5, $10, or $25 at probabilities of 50%, 30%, 15%, and 5% has an EV of $4.25 and a standard deviation of $5.97. Here the spread already exceeds the average, so a single session can swing well above or below the expected return.

The lottery-style game drives the point home. With payouts of -$2 at 90%, $20 at 9%, and $200 at 1%, the EV is $2 — but the standard deviation is $20.87. The average hides a wild ride: nine times out of ten you lose two dollars, yet that rare 1% jackpot pulls the long-run mean into positive territory. Variance and standard deviation exist precisely to expose this gap between what you expect on average and what you actually experience play by play.

  • EV is a long-run average: it predicts the mean over many repetitions, not any single result.
  • A fair game has EV of zero after its price; a negative EV is the house edge expressed as an average loss per play.
GameOutcomes and ProbabilitiesExpected ValueVarianceStandard Deviation
Coin flip$3 on heads, -$1 on tails (50/50)$1.004.00$2.00
Carnival game$0/$5/$10/$25 at 50/30/15/5%$4.25Not provided$5.97
Lottery-style game-$2 at 90%, $20 at 9%, $200 at 1%$2.00Not provided$20.87
Two games can share the same expected value yet feel completely different. Always check variance or standard deviation alongside EV before judging whether a bet is worth taking.

EV is not the likely outcome

An expected value calculator can tell you that a carnival game paying $0, $5, $10, or $25 at probabilities of 50%, 30%, 15%, and 5% has an expected value of $4.25. That figure is real, verified, and useful — but it is also a payout nobody ever receives. You will never walk away from the booth with exactly $4.25 in your pocket. The actual results are always one of the four listed amounts, and each one sits some distance from that average. The $4.25 is a weighted center, not a prize.

Expected value weights each outcome by its probability and adds them, following the formula EV = sum of p_i x x_i. What this gives you is a long-run average: it predicts the mean over many repetitions, not any single result. If you played the carnival game thousands of times, your total winnings divided by the number of plays would trend toward $4.25. On any single play, though, you get $0 most of the time — and that is the most likely outcome, even though it sits well below the EV.

The gap between the average and the likely result is what standard deviation measures. The carnival game has a standard deviation of $5.97, meaning typical results scatter far from the $4.25 mean. A coin flip paying $3 on heads and -$1 on tails tells a cleaner story: its EV is $1, with variance 4.00 and standard deviation 2.00. You never win $1 on a single flip — you win $3 or lose $1 — but over many flips the average converges to $1. The EV describes the center of gravity, not the result you should expect on the next try.

A lottery-style game makes the point sharper. A game that loses $2 at 90%, pays $20 at 9%, and pays $200 at 1% has an EV of $2 but a standard deviation of $20.87. The average hides a wild ride. Nine times out of ten you lose money. The EV is positive, yet the most common outcome is a loss — and the average only emerges across enough repetitions for the rare $200 payout to balance the frequent $2 losses.

Understanding this distinction is what makes an EV useful rather than misleading. A fair game has EV of zero after its price, and a negative EV is the house edge expressed as an average loss per play. None of these figures describe what happens next. They describe where results settle over the long run.

An expected value calculator gives you the long-run average, not the next result. A game can have a positive EV while the most likely single outcome is a loss.

Variance and standard deviation

Expected value tells you the average result per play over many repetitions, but it says nothing about how far any single result might land from that average. That missing piece is where variance and standard deviation come in. Variance measures the spread of outcomes around the expected value, and standard deviation is its square root, expressed in the same units as the payouts. Together, EV and standard deviation give you a fuller picture of what a game or bet actually feels like over time.

Consider a simple coin flip that pays $3 on heads and loses $1 on tails. The expected value calculator confirms an EV of $1, with a variance of 4.00 and a standard deviation of $2.00. Now compare that to a lottery-style game with the same $2 EV: you lose $2 in 90% of plays, win $20 in 9% of plays, and win $200 in just 1% of plays. The standard deviation here is $20.87. Both games share the same expected return, but the lottery swings more than ten times wider around that average. The EV hides a wild ride.

A carnival game paying $0, $5, $10, or $25 at probabilities of 50%, 30%, 15%, and 5% sits between those two extremes. Its EV is $4.25 with a standard deviation of $5.97. The spread is modest compared with the lottery but still larger than the coin flip. This middle ground shows why looking at EV alone can mislead: two bets with identical expected values can carry vastly different risk profiles.

Bankroll decisions need both numbers because standard deviation tells you how much your results can deviate from the expected value in the short run. A game with a positive EV but a large standard deviation can still produce long losing streaks that drain your funds before the long-run average kicks in. If your bankroll cannot absorb several standard deviations of downside, you may go broke waiting for the expected value to materialize. EV predicts the mean over many repetitions, not any single result, so pairing it with standard deviation helps you judge whether you can survive the variance long enough for the average to work in your favor.

Two bets can share the same EV but differ wildly in risk. The coin flip and the lottery game both average $1 to $2 per play, yet the lottery's $20.87 standard deviation means individual outcomes swing far wider than the coin flip's $2.00. Always check both numbers before committing your bankroll.

Fair games and the house edge

Expected value weights each outcome by its probability and adds them: EV = sum of p_i x x_i. That single number tells you what a game is worth before anyone takes a cut. Price the game at exactly its EV and you have a fair game, meaning the EV is zero after the price is paid. Every dollar above that price is margin, expressed per play. This is the basic relationship behind every casino pit, carnival booth, and lottery terminal: set the price above the EV, keep the difference, and let the math do the work over time.

A fair game has an EV of zero after its price; a negative EV is the house edge expressed as an average loss per play. If a carnival game pays $0, $5, $10, or $25 at probabilities of 50%, 30%, 15%, and 5%, the EV is $4.25. Charge $5 to play and the player's EV drops to -$0.75 — that 75-cent gap is the house edge, per play. Charge $4.25 and the game is fair. Charge less and the player has the edge. The pricing is that direct because the EV already accounts for every possible outcome and how likely each one is.

What the EV does not capture is how rough the ride feels. EV is a long-run average: it predicts the mean over many repetitions, not any single result. A coin flip paying $3 on heads and -$1 on tails has an EV of $1, with variance 4.00 and standard deviation 2.00. A lottery-style game losing $2 at 90%, paying $20 at 9%, and paying $200 at 1% has the same EV of $2, but a standard deviation of $20.87 — the average hides a wild ride. Two games can share an EV and feel nothing alike, which is why a fair price still leaves room for big swings.

An expected value calculator handles the weighting for you, but the pricing logic stays the same whether the standard deviation is 2.00 or 20.87. Start with the EV, set the price, and the difference is the edge. Fair means zero. Anything above that is margin, play by play.

Using EV for decisions

An expected value calculator gives you a single number to compare options, but that number is only the beginning of a good decision. Expected value weights each outcome by its probability and adds them: EV = sum of p_i x x_i. Because EV is a long-run average, it predicts the mean over many repetitions, not any single result. Two bets can share the same EV while feeling completely different in practice, so you need to look at spread as well as average.

Consider insurance. A fair game has EV of zero after its price, and a negative EV is the house edge expressed as an average loss per play. An insurance premium is priced to be negative EV for you on paper, because the insurer collects more in premiums than it pays out in claims. That does not make buying coverage wrong. If a single large loss would wipe you out, paying a small expected loss to avoid ruin is rational even when the expected value calculator says the policy costs you money on average. The same logic applies to extended warranties: they tend to be negative EV for the buyer, but they can still make sense when replacing the item out of pocket would strain your budget.

Business bets show the other side of the coin. A venture with positive EV looks attractive, but the spread matters. A lottery-style game (-$2 at 90%, $20 at 9%, $200 at 1%) has EV of $2 but a standard deviation of $20.87, and the average hides a wild ride. A company that cannot fund the losses long enough to reach the long run may go broke before the positive EV pays off, so managers compare options by EV while respecting variance and ruin risk.

The carnival game paying $0/$5/$10/$25 at 50/30/15/5% has an EV of $4.25 and a standard deviation of $5.97, which is moderate relative to the average. Compare that with the coin flip paying $3 on heads and -$1 on tails, which has EV of $1, with variance 4.00 and standard deviation 2.00. The coin flip has lower EV but also lower variance, so a cautious decision-maker may prefer it, while someone who can absorb swings may favor the carnival game. Use EV to rank options, then use variance and standard deviation to judge whether you can survive the path to that average.

FAQs

How do you calculate expected value?

Multiply each outcome by its probability and add the results. For example, 0.5 x (-$1) + 0.5 x $3 = $1. This weighted average tells you what to expect per play over many repetitions.

What does an expected value of $4.25 mean?

Over many plays you average $4.25 per play — even though no single play pays exactly that, as in the carnival example. It is a long-run average, not a prediction for any one outcome.

Can expected value be negative?

Yes — most commercial gambling is negative-EV for the player; the size of the negative is the house edge per play. A negative expected value means you lose money on average over repeated plays.

What is the difference between EV and standard deviation?

EV is the long-run centre; standard deviation is the spread around it — $2.00 for the coin flip versus $20.87 for the lottery-style game. EV tells you the average outcome; standard deviation tells you how much results vary.

What is a fair game?

One priced exactly at its EV, so neither side gains on average over time. The expected net gain is zero for both parties, meaning no long-run advantage exists for either side.

Do probabilities have to add to 100%?

Yes for a complete outcome list; if they do not, the calculator flags it and treats the entries as weights to normalise with care. This ensures the expected value calculation remains accurate even with incomplete or proportional inputs.

Sources

Related calculators

Probability Calculator
Two independent events, every combination: both happen, at least one, exactly one, or neither — from the two individual probabilities.
Odds Converter
Convert a probability into decimal odds, fractional odds, American moneyline odds and an odds-in-favour ratio — the four dialects of the same number.
Standard Deviation Calculator
Mean, sample and population standard deviation and variance for up to eight numbers — with the n versus n−1 difference explained.
Weighted Average Calculator
A weighted average of up to five values — course grades, portfolio returns, survey scores — where each value counts in proportion to its weight.