0Pricing
Excel Formulas Academy · Lesson

Spread With STDEV and VAR

Measure how dispersed your numbers are.

Spread With STDEV and VAR is a free Excel Formulas Academy lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Excel Formulas Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Center Is Not Enough

Two datasets can share the same average yet behave completely differently. One might cluster tightly around the mean; the other might swing wildly.

To capture that, you measure spread, also called dispersion. The two core tools are variance (VAR) and standard deviation (STDEV). Both answer the question: how far do the values typically stray from the average?

Variance in Plain Words

Variance is the average of the squared distances from the mean. Squaring does two things: it removes negative signs and it punishes big deviations more than small ones.

The downside is that variance is in squared units. If your data is in dollars, the variance is in dollars-squared, which is hard to interpret directly.

Standard Deviation Fixes the Units

Standard deviation is simply the square root of the variance. Taking the square root brings the measure back into the original units.

So if salaries are in dollars, the standard deviation is also in dollars: "on average, values sit about X dollars away from the mean." That is why standard deviation is the more commonly reported number.

Sample vs Population

A crucial choice: are your numbers the whole population or a sample drawn from it?

  • Sample: use STDEV.S and VAR.S (divide by n minus 1).
  • Population: use STDEV.P and VAR.P (divide by n).

Almost always you have a sample, so the .S versions are the safe default.

The STDEV.S Function

Point STDEV.S at your data range and it returns the sample standard deviation. No sorting or pre-processing needed.

Here we measure how much daily sales in column A typically deviate from the average daily sale.

=STDEV.S(A2:A31)

The VAR.S Function

If you need variance itself, use VAR.S on the same range. Notice that squaring the standard deviation gives the variance back.

The formula below computes variance two ways; both return the same number, confirming the relationship between the two measures.

=VAR.S(A2:A31)

Population Versions

When your range truly contains every member of the group, not a sample, switch to the population versions.

For example, the exam scores of all 30 students in a class is a complete population, so STDEV.P is appropriate. The result is slightly smaller than STDEV.S would give.

=STDEV.P(A2:A31)

Interpreting the Number

A small standard deviation means values hug the average; a large one means they scatter widely.

For roughly bell-shaped data, about two-thirds of values fall within one standard deviation of the mean, and about 95% within two. So mean 100 with STDEV 10 implies most values sit between 90 and 110.

=AVERAGE(A2:A31) & " +/- " & STDEV.S(A2:A31)

Coefficient of Variation

Is a standard deviation of 50 large? It depends on the scale. The coefficient of variation divides the standard deviation by the mean to give a relative measure you can compare across datasets.

A CV of 0.05 (5%) is tight; a CV of 0.80 (80%) is very volatile. Format the result as a percentage for easy reading.

=STDEV.S(A2:A31)/AVERAGE(A2:A31)

Watch Out for Text and Blanks

Like other statistical functions, STDEV and VAR ignore text and blank cells inside the range, counting only numbers.

But a number you accidentally stored as text gets skipped, which can shrink your count and skew the result. Also remember: a single value (or none) gives a #DIV/0! error from STDEV.S because n minus 1 would be zero.

=IFERROR(STDEV.S(A2:A31),"Need 2+ values")

Worked Example: Comparing Two Teams

Team A and Team B both average 80 points. Team A has STDEV 4; Team B has STDEV 18.

Same average, very different consistency. Team A is reliable; Team B is streaky. The spread, not the center, tells you which team you can count on. This is exactly why analysts always report spread alongside the mean.

=STDEV.S(B2:B11)

Quick Check

Test your grasp of spread functions.

Recap: STDEV and VAR

You can now measure how scattered your data is:

  • Variance = average squared distance from the mean (squared units).
  • Standard deviation = square root of variance (original units).
  • Use STDEV.S / VAR.S for samples, STDEV.P / VAR.P for full populations.
  • The coefficient of variation (STDEV.S/AVERAGE) compares volatility across scales.

Always report spread next to the average.

Frequently asked questions

Is the “Spread With STDEV and VAR” lesson free?

Yes — the full text of “Spread With STDEV and VAR” is free to read here on the web, and the Excel Formulas Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Excel Formulas Academy course, upgrade to CoddyKit PRO.

What will I learn in “Spread With STDEV and VAR”?

Measure how dispersed your numbers are. You practise Excel Formulas Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Excel Formulas Academy?

No prior experience is required. Excel Formulas Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Spread With STDEV and VAR” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Excel Formulas Academy lesson?

Yes. Every Excel Formulas Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Center With MEDIAN and MODE
  2. Spread With STDEV and VAR
  3. Ranking With RANK and PERCENTILE
  4. Top and Bottom With LARGE and SMALL
← Back to Excel Formulas Academy