Variance is the average squared deviation from the mean, a measure of spread in squared units. The sample variance divides by n − 1 rather than n (Bessel’s correction) so that it is an unbiased estimate of the population variance.
Formula
s² = Σ(xᵢ − x̄)² / (n − 1)