Standard deviation is calculated by finding the square root of the variance. Variance is the average squared difference between each data point and the mean.