Standard deviation vs variance: the difference

By Jude Wallis · Published

Variance is roughly the average squared distance of the data from the mean, so its units are squared. The standard deviation is the square root of the variance, which puts the spread back into the same units as the data. They hold the same information in different units.

AP Statistics: Unit 1 (topics 1.7). The sample standard deviation and its square, the sample variance, are defined in topic 1.7 of Unit 1 in the Fall 2026 AP Statistics course, on summary statistics for one quantitative variable. The formula sheet gives the sample standard deviation with n-1 under the root.

Standard deviation vs variance: the short answer

Both numbers measure spread: how far a typical value sits from the mean. They are tied together by one operation. The variance is roughly the average of the squared distances from the mean (for a sample, the sum of those squared distances divided by n1n-1), and the standard deviation is the square root of the variance.

That square root is the whole difference. Squaring the distances to build the variance also squares the units, so a variance of rainfall in millimeters comes out in millimeters squared, which you cannot picture. Taking the square root undoes that and returns the standard deviation to millimeters, the same unit as the data, which is why the standard deviation is the one you report and interpret.

What variance measures

The variance answers one question: on average, how far are the values from their mean, once each distance is squared? For a sample of size nn with mean xˉ\bar{x} (read "x-bar"), the sample variance is

s2=1n1(xixˉ)2s^2 = \frac{1}{n-1} \sum (x_i - \bar{x})^2

Here xix_i is a single data value, \sum means add across all the values, and s2s^2 is the symbol for the sample variance. You subtract the mean from each value to get a deviation, square each deviation so that distances below and above the mean both count as positive, add them up, and divide.

The divisor is n1n-1, not nn, for a sample. Dividing by n1n-1 corrects a known tendency of the sample to look less spread out than the population it came from, and it is the version on the AP formula sheet. The result is always in squared units, which is what makes the raw variance hard to interpret on its own.

What standard deviation measures

The standard deviation is the typical distance of a value from the mean, in the data's own units. You get it by taking the square root of the variance:

s=s2=1n1(xixˉ)2s = \sqrt{s^2} = \sqrt{\frac{1}{n-1} \sum (x_i - \bar{x})^2}

Because it lives in the original units, the standard deviation slots straight into statements you can reason about. A standard deviation of 3 millimeters says a typical day's rainfall sits about 3 millimeters from the average day.

The standard deviation is also the ruler for the empirical rule and for z-scores, where a value is described as so many standard deviations above or below the mean. You cannot use the variance that way, because its squared units do not match the data. This is why nearly every summary and every later inference procedure reports the standard deviation, or the related standard error, rather than the variance.

The differences side by side

FeatureVarianceStandard deviation
Symbol (sample)s2s^2ss
UnitsSquared units of the dataSame units as the data
Formula linkSum of squared deviations over n1n-1Square root of the variance
Direct interpretationHard, units are squaredTypical distance from the mean
Used for z-scores and empirical ruleNoYes
Always at least zeroYesYes

Every row traces back to the square root. The variance is the building block; the standard deviation is the version you can read in context.

When to use which

Report the standard deviation whenever you are describing or comparing distributions, because it is in the same units as the data and pairs naturally with the mean. It is what you quote alongside a mean, what feeds z-scores, and what appears in confidence intervals and test statistics later in the course.

The variance shows up mostly as an intermediate step and in theory. It adds cleanly in ways the standard deviation does not, which is why formulas for combining spread are written in terms of variances. In this course you compute the variance mainly as the stop on the way to the standard deviation, so if a question asks you to interpret spread in context, convert to the standard deviation first. You can check any calculation with the standard deviation calculator.

The classic mix-up and how to avoid it

The usual error is reporting the variance where the standard deviation belongs, then interpreting it as if the units matched the data. Saying "a typical day is about 10 millimeters from average" when 10 is the variance in millimeters squared is wrong; the typical distance is 103.16\sqrt{10} \approx 3.16 millimeters. The number and its unit are both off.

Three habits prevent it. First, track units: if a spread is quoted in squared units, it is a variance, so take the square root before interpreting. Second, remember the direction of the link, since the standard deviation is the square root of the variance and the variance is the standard deviation squared. Third, when in doubt report the standard deviation, because it is the interpretable one. Building spread by hand in the standard deviation guide or the descriptive statistics sandbox makes the two-step relationship stick.

Variance and standard deviation from the same data

Rainfall over five days, in millimeters, is 2, 4, 6, 8, 10. Find the sample variance and the sample standard deviation, and say which one you would report.

  1. Find the mean. Sum =2+4+6+8+10=30= 2 + 4 + 6 + 8 + 10 = 30, and n=5n = 5, so xˉ=305=6\bar{x} = \frac{30}{5} = 6 millimeters.

  2. Find each deviation from the mean: 26=42 - 6 = -4, 46=24 - 6 = -2, 66=06 - 6 = 0, 86=28 - 6 = 2, 106=410 - 6 = 4.

  3. Square each deviation: (4)2=16(-4)^2 = 16, (2)2=4(-2)^2 = 4, 02=00^2 = 0, 22=42^2 = 4, 42=164^2 = 16.

  4. Add the squares: 16+4+0+4+16=4016 + 4 + 0 + 4 + 16 = 40.

  5. Divide by n1=51=4n - 1 = 5 - 1 = 4 to get the variance: s2=404=10s^2 = \frac{40}{4} = 10 millimeters squared.

  6. Take the square root for the standard deviation: s=103.16s = \sqrt{10} \approx 3.16 millimeters. Check: 3.162=9.98563.16^2 = 9.9856, which rounds back to 10, so the square root is right.

  7. Compare the units. The variance, 10, is in millimeters squared and has no everyday meaning. The standard deviation, about 3.16, is in millimeters and reads as a typical distance from the average day.

The sample variance is 10 millimeters squared and the sample standard deviation is about 3.16 millimeters. Report the standard deviation, because it is in the data's own units: a typical day's rainfall sits roughly 3.16 millimeters from the 6-millimeter mean.

Frequently asked questions

Is the standard deviation just the square root of the variance?

Yes. The standard deviation is the square root of the variance, and the variance is the standard deviation squared. That single relationship is the entire difference between them; everything else follows from it, including the difference in units.

Why report the standard deviation instead of the variance?

The standard deviation is in the same units as the data, so it reads directly as a typical distance from the mean. The variance is in squared units, which have no physical meaning, so it is used mainly as an intermediate step and in theory.

Can the variance or standard deviation be negative?

No. Both are built from squared deviations, which are never negative, so neither can drop below zero. Both equal zero only when every value is identical, meaning there is no spread at all.