Variance measures how far a random variable typically lands from its mean, in squared units. The quickest route is the shortcut: the mean of the square minus the square of the mean.
| Step | On with probabilities | |
|---|---|---|
| 1 | Find the mean. Compute as on the expected value page. | |
| 2 | Find the mean of the square. Square each value, keep the same probabilities, and add. For a density, integrate . | |
| 3 | Subtract the square of the mean. Use the shortcut formula. | |
| 4 | Check the sign. A variance is never negative. A negative result means an arithmetic slip, usually in . | ✓ |