Expected Value Calculator

Calculate expected value, variance, and standard deviation for discrete probability distributions. Supports up to 20 outcomes with visual probability charts.

Expected Value E(X)
45.0000
✅ Positive expected value
Variance
10,225.00
Spread of squared deviations
Standard Deviation
101.1187
Average distance from E(X)
Coefficient of Variation
2.2471
SD / |E(X)| — relative risk
Range
250.00
Min: -50.00 — Max: 200.00
Number of Outcomes
3
Total prob: 1.0000
Probability Distribution:
100.00
30.0%
-50.00
50.0%
200.00
20.0%
🟦 Above E(X)=45.00   🟧 Below E(X)
OutcomeValueProbabilityWeighted ValueDeviation²×P
#1100.0030.00%30.0000907.50
#2-50.0050.00%-25.00004,512.50
#3200.0020.00%40.00004,805.00
Total100%E(X) = 45.0000Var = 10,225.00
Planning notes, formulas, and examples

About the Expected Value Calculator

The Expected Value Calculator computes the weighted average outcome of a probability distribution — one of the most important concepts in statistics, gambling, finance, and decision-making. Expected value (EV) tells you what you'd average over many repetitions of a random event, so it is the right starting point for evaluating bets, projects, and uncertain choices. It helps turn a list of possible outcomes into one comparable long-run number.

Beyond the mean, this calculator also computes variance and standard deviation to quantify the spread of possible outcomes. A positive EV with low variance means a reliably good bet; a positive EV with high variance means wild swings despite long-term profit. Both metrics are essential for rational decision-making under uncertainty.

Enter outcome values and their corresponding probabilities to see the expected value, risk metrics, and a visual breakdown of the probability distribution. Presets for common scenarios like dice rolls, lottery tickets, and investment decisions make exploration easy. It is a fast way to turn uncertainty into a number you can compare.

When This Page Helps

Use this calculator when you need a weighted average outcome instead of a single best-case or worst-case scenario. It is helpful for comparing uncertain choices, checking whether a payoff structure is favorable on average, and pairing the mean with variance so the risk is visible too before you commit to a decision. That makes the upside and downside easier to judge together.

How to Use the Inputs

  1. Enter outcome values (payoffs, returns, or any numeric results) in the value fields.
  2. Enter the corresponding probability of each outcome (must sum to 1.0 or 100%).
  3. Add more rows for additional outcomes using the Add Outcome button.
  4. Or select a preset scenario to auto-fill common distributions.
  5. Review the expected value, variance, standard deviation, and coefficient of variation.
  6. Examine the probability distribution chart for visual insight.
  7. Compare different scenarios by adjusting probabilities and values.
Formula used
E(X) = Σ [x_i × P(x_i)]. Variance = Σ [P(x_i) × (x_i - E(X))²]. Standard Deviation = √Variance. Coefficient of Variation = SD / |E(X)|. Where x_i = outcome value, P(x_i) = probability of that outcome.

Example Calculation

Result: E(X) = $35.00

E(X) = 100×0.3 + (-50)×0.5 + 200×0.2 = 30 - 25 + 40 = $35.00. Variance = 0.3×(100-35)² + 0.5×(-50-35)² + 0.2×(200-35)² = 1267.5 + 3612.5 + 5445 = 10,325. SD = $101.61.

Tips & Best Practices

  • Always verify probabilities sum to 1.0 — extra or missing probability invalidates results.
  • Use coefficient of variation (CV) to compare risk across different scales of outcomes.
  • Negative EV doesn't mean you'll lose every time — it means you'll lose on average over many trials.
  • For investments, EV is the expected return but variance determines risk — look at both.
  • Consider the utility curve: losing $100 may hurt more than gaining $100 helps (loss aversion).
  • Sensitivity analysis: change one probability at a time to see which outcome drives EV most.

Expected Value in Gambling and Casinos

Every casino game has a known expected value for the player. Blackjack with basic strategy: -0.5% EV. Roulette (double zero): -5.26% EV. Craps pass line: -1.41% EV. Slot machines: -2% to -15% EV. Professional advantage players find situations where EV is positive through card counting, matched betting, or promotional overlays.

Expected Value in Finance

Portfolio managers use expected return (a form of EV) combined with standard deviation to build efficient portfolios. The Sharpe ratio = (Expected Return - Risk-Free Rate) / Standard Deviation measures risk-adjusted performance. Higher Sharpe ratios indicate better risk-return trade-offs. Modern portfolio theory is built entirely on expected value and variance.

Decision Trees and Multi-Stage EV

Complex decisions with sequential outcomes use decision trees. Each branch has a probability and payoff, and you work backward from the endpoints to calculate the EV at each decision node. This approach handles problems like R&D investments (Phase 1 success → Phase 2 investment → market launch probability) where outcomes cascade.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Expected value is the average result you'd get if you repeated an experiment many times. If a coin flip pays $10 for heads and $0 for tails, the EV is $5 — not a possible single outcome, but the long-run average.