How it worksVariance is the average squared distance from the mean (dividing by n − 1 for a sample).Frequently asked questions