Variance of a random variable is a quantitative characteristic of how far, on average, the outcomes of a random variable fall from what we expect.
To calculate it, we take each possible outcome, find how far it is from the mean, square that distance, and then average all those squared distances according to the probability of each outcome.
The squaring step is crucial: it ensures that deviations above and below the mean both contribute positively to the measure, and it emphasizes larger deviations more heavily than smaller ones. A random variable with high variance produces outcomes that tend to be far from its expected value, while low variance indicates outcomes cluster tightly around the mean.
This measure gives us our first quantitative tool for describing not where a distribution is centered, but how spread out or concentrated it is around that center.