Probability · Calculator · 4 min

Expected value

Compare a two-outcome choice by weighing each possible result by its probability.

04/ 08
Make it your own
%

Change a value. See what changes.

What happensLive calculation

The idea to keep

An average outcome is useful for comparison, but it does not describe the risk of one attempt.

01 / The explanation

What is going on?

Expected value is a probability-weighted average. Multiply each result by its chance, then add the products. The average can be a value that never occurs in an individual attempt. Negative values represent losses or costs; all outcomes must use the same unit.

E[X] = Σ pᵢxᵢ · Two outcomes: pxₐ + (1 − p)xᵦ
02 / Step by step

Work through it

  1. List mutually exclusive outcomes that cover every possibility.
  2. Assign probabilities that total 100%. This two-outcome tool calculates the second probability automatically.
  3. Multiply each value by its probability and add the contributions.
03 / A worked example

Put numbers to the idea

A game has a 25% chance of a net gain of 100 units and a 75% chance of a net loss of 20 units. Its expected value is 0.25 × 100 + 0.75 × (−20) = 10 units per play. A single play still produces either 100 or −20, never 10.

04 / Common questions

A little more clarity

Does positive expected value guarantee a gain?

No. It describes an average under the specified probabilities. Any individual attempt can still lose, and repeated attempts can also have a losing run.

What if there are more than two outcomes?

The same sum works for any finite number of outcomes. This page deliberately shows two so you can see each contribution clearly.

Why use net values?

If a ticket costs 5 and a winning payout is 50, the winning net value is 45 and the losing net value is −5. Leaving out the ticket cost overstates the expected result.