Expected Value Calculator
Calculate expected value, variance and standard deviation from a discrete probability distribution
Expected value
How we calculated it
About the Expected Value Calculator
Expected Value Calculator finds the probability-weighted average outcome of a random process. It is useful for games, insurance, decisions and probability models where several outcomes have different chances.
Expected value is a long-run average, not a prediction of what must happen in the next trial. A process can have a positive expected value even though most individual outcomes are losses.
How to Use the Expected Value Calculator
- Enter each possible outcome value.
- Enter the probability associated with each outcome.
- Confirm probabilities sum to 1, or 100%, when the list is complete.
- Calculate the expected value and interpret it over repeated comparable trials.
How the Calculation Works
Expected value E[X] = Σ xi pi, where xi is an outcome and pi is its probability.
For a complete discrete distribution, probabilities should sum to 1. The weighted products are added to obtain the long-run average outcome.
Worked examples
Expected Value Calculator Worked Examples
Default
Outcomes 0, 10 and 20 with probabilities 0.25, 0.5 and 0.25 give an expected value of 10, a variance of 50 and an SD of about 7.0711.
Fair die
The expected roll of a six-sided die is 3.5.
Raffle
A $1 ticket with a 1 in 200 chance of $100 has an expected value of −$0.50.
Expected values
E[X] = Σ x × p.
| Scenario | Expected value | Standard deviation |
|---|---|---|
| Default | 10 | 7.0711 |
| Fair die | 3.5 | 1.7078 |
| Raffle: $100 prize, 1 in 200, $1 ticket | -0.5 | 7.0534 |
| Coin bet: win $2 or lose $1 | 0.5 | 1.5 |
| Insurance: $10,000 loss at 2% | 200 | 1,400 |
How the calculator works
Enter one outcome per line as value, probability. The expected value is Σ(value × probability) ÷ Σ(probability), the long-run average outcome. Variance is the probability-weighted average of squared distances from the expected value, and the standard deviation is its square root. If your probabilities do not add to 100%, the calculator normalises them and shows the total so you can check.
Using expected value
Expected value compares choices with uncertain results, such as bets, insurance, investments or business decisions. A negative expected value means you lose on average over many repeats. It is a long-run average, so a single outcome can be very different, and the standard deviation shows how much results vary. Many people reasonably pay a small negative expected value, such as an insurance premium, to avoid a large loss.
Common Mistakes
- Probabilities not adding to 1. Check the total probability.
- Forgetting the cost. Net outcomes should include what you pay.
- Expecting the average every time. Single results vary widely.
Result guide
Understanding Your Expected Value Calculator Result
An expected value of $5 does not mean one play will pay $5. It means the average result approaches $5 per trial over many repetitions under the same probabilities. Expected value is additive, which makes it useful for portfolios of repeated risks or rewards. Even so, a positive long-run average may be unsuitable when a single loss could exceed available cash or acceptable risk.
Before you rely on the answer
Assumptions and Limitations
- Outcome values and probabilities are paired correctly.
- Probabilities are valid and complete for the modeled distribution.
- Repeated trials are comparable when using the long-run interpretation.
Practical tip
Using This Result in Practice
For decisions, compare expected value with risk and cash-flow constraints. Two choices can have the same expected value but very different downside exposure.
Related calculations
Useful Calculations to Continue With
If you need to calculate the underlying event probabilities first, use the Probability Calculator.
If outcomes come from repeated identical success/failure trials, use the Binomial Probability Calculator.
Common questions
Expected Value Calculator FAQ
What is expected value?
The probability-weighted average outcome.
Can expected value be negative?
Yes. It means an average loss.
Is the expected value a likely outcome?
Not necessarily. A die never rolls 3.5.
What does the SD show?
How much outcomes vary around the expected value.
Can I enter percentages?
Yes. Choose the percentage format.
