In-depth learning guide

Population vs Sample Standard Deviation

Standard deviation measures spread around the mean. The population and sample formulas use the same squared deviations but a different divisor.

2 min readStep-by-step methodReviewed 1 Oct 2026Published by LynaraOpen Standard Deviation Calculator →

Method

  1. Calculate the mean of the data.
  2. Subtract the mean from each observation and square the differences.
  3. Add the squared differences.
  4. Divide by n for a population or by n−1 for a sample, then take the square root.

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9 the population variance is 4 and population standard deviation is 2.

The sample standard deviation for the same values is slightly larger because it divides by n−1.

Notes

Open Standard Deviation Calculator

The denominator reflects whether you are describing a population or estimating from a sample

Population variance divides the sum of squared deviations by N because every member of the defined population is included. Sample variance commonly divides by n-1 when the sample is being used to estimate population variance, which corrects the average downward bias created by estimating the mean from the same data.

The square root of variance returns the standard deviation to the original measurement units. That makes it easier to compare spread with the scale of the observed values.

Decide what your dataset represents before selecting the formula

A dataset can be the complete population for one question and a sample for another. Scores for every student in one class are a population if the question is only about that class, but they may be a sample if you want to generalize to a larger group.

Neither formula fixes outliers, dependence or measurement problems. Use the population/sample choice together with a clear definition of the target group.

Authoritative references

Primary or authoritative references for the external standard, scoring rule or identifier convention used on this page.

Editorial review and limitations

Review status: reviewed under Lynara's editorial policy on 1 Oct 2026. Institution-specific grading rules, assignment instructions and publisher requirements can override a general example.
Verification: see the methodology and sources & verification pages. To report a reproducible error, use the contact page with the page URL, inputs and expected result.

Continue with the related tools

Use the linked tools for your own inputs and scenarios.

Browse all statistics calculators →

Keep learning

Related guides