26.5
152.75
12.359207
1
26.5
26.5
152.75
12.359207
1
26.5
The Expected Value Calculator computes the mean, variance, and standard deviation of a discrete random variable from up to five value-probability pairs. Expected value is one of the most fundamental concepts in probability theory and decision-making.
Whether you are evaluating a business decision, analyzing a game of chance, or studying a probability distribution in a statistics course, the expected value tells you the long-run average outcome if the experiment were repeated many times.
Given a discrete random variable $$X$$ that takes values $$x_1, x_2, \ldots, x_n$$ with corresponding probabilities $$p_1, p_2, \ldots, p_n$$, the expected value is:
$$E(X) = \sum_{i=1}^{n} x_i \cdot p_i$$
The variance measures the spread of the distribution around the mean:
$$\text{Var}(X) = \sum_{i=1}^{n} p_i \cdot (x_i - E(X))^2$$
And the standard deviation is simply the square root of the variance:
$$\sigma(X) = \sqrt{\text{Var}(X)}$$
Important requirement: The probabilities should sum to 1 (i.e., $$\sum p_i = 1$$). If they do not, the results will still be computed but may not represent a valid probability distribution.
The expected value is a weighted average where each outcome is weighted by how likely it is to occur. It does not need to be a value that the random variable can actually take — for instance, the expected value of a fair six-sided die is 3.5, which is not a face value.
Variance quantifies how much the outcomes deviate from the expected value on average (in squared units), while the standard deviation brings this back to the original units for easier interpretation.
The expected value represents the theoretical average outcome over infinitely many trials. If E(X) = 25, then repeating the random process many times would yield an average close to 25.
The variance indicates how spread out the outcomes are. A variance of 0 means all probability is concentrated on a single value. Larger variance means more uncertainty.
The standard deviation provides the spread in the same units as the original values, making it more intuitive than variance for interpretation.
Inputs
Results
Five equal outcomes (1-5 of a die); E(X) ≈ 2.5 for these faces with equal probability.
Inputs
Results
Expected return is $3,300 with σ ≈ $4,941, indicating moderate risk.
Mathematically, the formula still computes a weighted sum, but the result does not represent a valid expected value. Ensure your probabilities sum to 1 for meaningful results. If they represent relative weights, divide each by the total weight first.
Yes. If the probability-weighted sum of negative outcomes exceeds positive ones, E(X) will be negative. This is common in insurance and gambling contexts where losses are more probable than gains.
Expected value is a theoretical measure for a probability distribution (population parameter), while the average (sample mean) is computed from observed data. By the Law of Large Numbers, the sample mean converges to the expected value as the number of observations increases.
Expected value helps compare alternatives under uncertainty. Choose the option with the highest expected value to maximize long-run payoff. However, risk-averse decision-makers may also consider variance (risk) alongside expected value, using expected utility theory.
This calculator supports up to 5 value-probability pairs. For distributions with more outcomes, you can aggregate similar values or use specialized software for continuous distributions.
Standard deviation is the square root of variance: $$\sigma = \sqrt{\text{Var}(X)}$$. Variance is in squared units of the original variable, while standard deviation is in the same units, making it easier to interpret.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Lottery Odds Calculator
Probability Calculators
Probability Calculator
Probability Calculators
Conditional Probability Calculator
Probability Calculators
Monty Hall Problem Calculator
Probability Calculators
Combinations Calculator (nCr)
Probability Calculators
Permutations Calculator (nPr)
Probability Calculators