Session variance is calculated by assessing the variability of data points within a specific session. The process begins by determining the mean of the data points in that session. Next, the differences between each individual data point and the session mean are computed and squared. These squared differences are then summed up, and to obtain the variance, this total is divided by the number of data points in the session, or by one less than that number if calculating the sample variance. This final value represents the session variance, indicating the degree of dispersion in the data points around the mean.