Education
Expected Value Calculator
Last updated: May 31, 2026
Written by Blake Boege
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
Frequently asked questions
The expected value, E(X) or μ, of a discrete random variable is the probability-weighted average of all possible values. It represents the long-term average outcome if the random experiment is repeated many times.
Multiply each possible value xᵢ by its probability pᵢ, and sum all the products: E(X) = Σ(xᵢ · pᵢ).
For a discrete distribution to be mathematically valid, the set of outcomes must cover 100% of the possible sample space. The sum of all individual probabilities must equal exactly 1.0 (or 100%).
Expected value is the theoretical mean of a probability distribution, representing what would happen over infinite trials. The sample mean is the average of actual observed data in an experiment.
Related calculators
Education
Time to Decimal Calculator
Convert hours and minutes (HH:MM) to decimal hours and back for timesheets, payroll, or math problems.
Education
Deadline Calculator
Calculate a target deadline date by adding calendar days or business days to a starting date.
Education
Audiobook Calculator
Calculate your actual listening time and time saved when playing back audiobooks or podcasts at faster speeds (1x to 3x).