Question: how to calculate the variance and the standard deviation?
Answer: Calculate the mean.
Subtract the mean from each observation.
Square each of the resulting observations.
Add these squared results together.
Divide this total by the number of observations (variance, S2).
Use the positive square root (standard deviation, S).