Dice & Coin Expected Value Calculator
Find the expected value, variance and standard deviation of the total when rolling fair dice (a coin is just a 2-sided die).
How it works
E[one die] = (s + 1) ÷ 2 · Var[one die] = (s² − 1) ÷ 12 · E[total] = n · E[one] · Var[total] = n · Var[one]
Each face of a fair s-sided die is equally likely, so a single die averages (s + 1)/2 — 3.5 for a standard d6. Because expectation adds, the expected total of n independent dice is just n times that. Variance also adds for independent rolls, so the total’s standard deviation grows with the square root of the number of dice, which is why sums of many dice cluster tightly around their mean (the bell-shaped curve of the central limit theorem). A coin is the s = 2 case, averaging 1.5 with faces labelled 1 and 2.
Worked example
Two standard six-sided dice: each averages (6 + 1)/2 = 3.5, so the expected total is 2 × 3.5 = 7. Each die has variance (36 − 1)/12 = 2.917, so the total variance is 5.833 and the standard deviation is √5.833 = 2.42. Totals range from 2 to 12.
Sources: Expected value — Wikipedia
Frequently asked questions
How is a coin flip an expected-value problem?
Model heads and tails as the faces of a 2-sided die labelled 1 and 2 (or 0 and 1). The expected value is (1 + 2)/2 = 1.5, and for a 0/1 coin it is 0.5 — the long-run average outcome per flip.
Why is the expected total of two dice 7 and not 6 or 6.5?
The expected value of one die is the midpoint of its faces, 3.5, and expectations add regardless of the distribution’s shape. Two dice therefore average 3.5 + 3.5 = 7, which is also the most probable sum for two d6.
Does the standard deviation grow with more dice?
The variance grows linearly with the number of dice, so the standard deviation grows with the square root. Relative to the total, though, the spread shrinks — sums of many dice are proportionally more predictable, the essence of the law of large numbers.
Related calculators
This calculator is for educational purposes. Double-check important results before acting on them.