Two classes can have the same average mark and still look very different. In one, every student scores close to the average; in the other, marks are scattered from very low to very high. The mean cannot tell these apart. Variance and standard deviation can: they measure how far the values typically sit from the mean.
Variance is the average of the squared deviations from the mean. Standard deviation (SD, written σ) is the positive square root of the variance, which brings the answer back to the same units as the data. If marks are in points, the SD is in points and the variance is in points squared.
Variance σ² = Σ(x − x̄)² ÷ n • SD σ = √variance
Here x̄ is the mean and n is the number of values. Squaring each deviation does two jobs: it stops positive and negative deviations from cancelling out, and it gives extra weight to values far from the mean.