Expected Value Calculator

Use this expected value calculator to find the expected value, variance, and standard deviation of a discrete probability distribution. Enter the possible outcomes (x) and their corresponding probabilities (P(x)).

Add as many rows as needed. The sum of all probabilities P(x) must equal 1.
Outcome (x)
Probability P(x)
Action

How to Find the Expected Value

The expected value of a discrete random variable, often denoted as E(X) or μ, is the long-run average value of repetitions of the experiment it represents. It is calculated by multiplying each possible outcome by its probability and adding those products together.

E(X) = Σ [ x · P(x) ]

Variance and Standard Deviation Formulas

The variance measures how spread out the outcomes are from the expected value. The standard deviation is the square root of the variance.

  • Variance (σ²): σ² = Σ [ (x - μ)² · P(x) ]
    Alternatively, σ² = E(X²) - [E(X)]²
  • Standard Deviation (σ): σ = √σ²

Requirements for a Valid Probability Distribution

For a probability distribution to be valid, two conditions must be met:

  1. Every individual probability must be between 0 and 1 inclusive: 0 ≤ P(x) ≤ 1
  2. The sum of all probabilities must equal exactly 1: Σ P(x) = 1