Expected Value Calculator
An expected value calculator computes the theoretical mean (expected value) of a discrete random variable. By summing the product of each possible outcome and its respective probability, the tool evaluates the long-term average outcome of a random process. It also validates that all probabilities sum to exactly 1.0 and reports the distribution's variance and standard deviation.
Calculate the expected value, variance, and standard deviation of a discrete random variable distribution.
Quick Answer
Calculate the expected value E(X) of a discrete probability distribution. Enter values and their probabilities to find the mean, variance, and standard deviation.
Probability Distribution Rows (x_i, p_i)
Expected Value E(X)
21
Total Probability: 1
Summation formula:
How it works
Expected Value Formula
For a discrete random variable X with possible values x₁, x₂, ..., xₙ and corresponding probabilities p₁, p₂, ..., pₙ, the expected value E(X) is calculated as:
E(X) = ∑ (xᵢ · pᵢ) = x₁p₁ + x₂p₂ + ... + xₙpₙ
Variance and Standard Deviation
In addition to the mean, we can measure the dispersion of the distribution:
- Variance (Var(X)): The expected value of the squared deviation from the mean:Var(X) = ∑ [ pᵢ · (xᵢ − E(X))² ]
- Standard Deviation (SD(X)): The square root of the variance:SD(X) = √Var(X)
Related math calculators
Related Calculators
More tools from Education



