St · Statistics & Probability

What Is the Standard Deviation of a Dice Roll?

Published By the 9to5Science editorial team

At a glance

  1. 1. Find the mean

    For a fair six-sided die, E[X] = (1 + … + 6)/6 = 3.5.

  2. 2. Average the squares

    E[X²] = (1 + 4 + … + 36)/6 = 91/6.

  3. 3. Compute the variance

    Var(X) = E[X²] − (E[X])² = 35/12 ≈ 2.917.

  4. 4. Take the square root

    The standard deviation is √(35/12) ≈ 1.708.

  5. 5. Scale for several dice

    For a sum of n dice, multiply the variance by n, so the SD grows like √n.

Try it: Dice probability calculator

A fair die is a discrete random variable XX that takes each value 1,2,…,61, 2, \dots, 6 with probability 16\tfrac16. Its standard deviation is a fixed property of that distribution, so there is one exact answer and nothing needs to be estimated from data.

Derivation for a six-sided die

Mean:

E[X]=1+2+3+4+5+66=216=3.5E[X] = \frac{1+2+3+4+5+6}{6} = \frac{21}{6} = 3.5

Mean of the squares:

E[X2]=1+4+9+16+25+366=916E[X^2] = \frac{1+4+9+16+25+36}{6} = \frac{91}{6}

Variance, using Var⁡(X)=E[X2]−(E[X])2\operatorname{Var}(X) = E[X^2] - (E[X])^2:

Var⁡(X)=916−(72)2=182−14712=3512≈2.9167\operatorname{Var}(X) = \frac{91}{6} - \left(\frac{7}{2}\right)^2 = \frac{182 - 147}{12} = \frac{35}{12} \approx 2.9167

Standard deviation:

σ=3512≈1.7078\sigma = \sqrt{\frac{35}{12}} \approx 1.7078

Formula for any fair die

For a die with faces 1,…,s1, \dots, s, the same steps (using ∑k=s(s+1)2\sum k = \tfrac{s(s+1)}{2} and ∑k2=s(s+1)(2s+1)6\sum k^2 = \tfrac{s(s+1)(2s+1)}{6}) give:

E[X]=s+12,Var⁡(X)=s2−112E[X] = \frac{s+1}{2}, \qquad \operatorname{Var}(X) = \frac{s^2 - 1}{12}
DieMeanVarianceStandard deviation
d42.51.251.118
d63.52.9171.708
d84.55.252.291
d105.58.252.872
d126.511.9173.452
d2010.533.255.766

Rolling several dice

Sum of nn dice. Independent variances add, so

Var⁡(X1+⋯+Xn)=n⋅3512,σsum=35n12\operatorname{Var}(X_1 + \dots + X_n) = n \cdot \frac{35}{12}, \qquad \sigma_{\text{sum}} = \sqrt{\frac{35n}{12}}

For two dice: mean 7, variance 70/12≈5.83370/12 \approx 5.833, standard deviation ≈2.415\approx 2.415. Doubling the number of dice does not double the spread. It grows by a factor of 2\sqrt{2}.

Average of nn dice. Dividing by nn divides the variance by n2n^2:

σXˉ=1.7078n\sigma_{\bar{X}} = \frac{1.7078}{\sqrt{n}}

This is why averages of many rolls cluster tightly around 3.5, which is the law of large numbers in action.

Why not divide by n − 1?

The n−1n-1 (“sample”) formula is for estimating a standard deviation from observed data. Here we know the exact distribution, so we compute the population value 35/12\sqrt{35/12} directly. If you rolled a die 60 times and computed the sample standard deviation of your results, you’d get a number near 1.708 that varies from experiment to experiment.

Common mistakes

  • Treating the six faces as a data set and using n−1=5n - 1 = 5, which gives 17.5/5≈1.871\sqrt{17.5/5} \approx 1.871. That estimates the spread of an unknown population from a sample, which is a different question.
  • Adding standard deviations instead of variances for sums: 1.708+1.708=3.4161.708 + 1.708 = 3.416 is wrong. The correct value for two dice is 2×1.708≈2.415\sqrt{2} \times 1.708 \approx 2.415.
  • Assuming the sum of dice is uniform. It isn’t: two dice make a triangle peaking at 7, and many dice approach a normal curve. Explore it with the calculator above.

References

  1. Grinstead, C. M. & Snell, J. L. (1997). Introduction to Probability, Chapter 6. American Mathematical Society.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.