Variance expresses the mean squared deviations of each of the portfolio's returns from their mean. In contrast and from a statistical perspective, the variance of a random variable X is defined as a number labeled Var (X), which provides the measure of how different the values assumed by the variable are. In other words, how much the values deviate from the average.