Two games can have the same expected value and feel nothing alike. One pays 3.5 every time; a die
pays anything from 1 to 6. Variance measures that swing: the average squared distance from the
expected value.
Var(X)=E[(X−E[X])2]=E[X2]−E[X]2
For a fair die, E[X2]=61+4+9+16+25+36=691, so the variance is
691−3.52=1235≈2.92. The standard deviation, its square root, is
about 1.71 and comes back in the same units as the payout.
Summary
Variance is the average squared distance from the expected value.
Use E[X2]−E[X]2 for quick calculations; take the square root to get back to payout units.