QUANTITATIVE ANALYSIS · BEGINNER GUIDE

How to Calculate Standard Deviation by Hand

Calculate the sample standard deviation from a short list and understand why squared deviations are used.

Worked example · standard deviation by hand exampleUpdated October 31, 2026

Quick answer: Sample standard deviation summarizes the typical spread around the sample mean. Calculate the deviations, square them, divide their sum by n−1 for sample variance, then take the square root.

Infographic for standard deviation by hand example: Find the mean, then Subtract it from each value, then Square and sum deviations, then Divide and take square root.
Infographic: a practical sequenceKeep the question, design and assumptions in view from start to finish.
Squared deviations from mean 5. 2: 9 units²; 4: 1 units²; 6: 1 units²; 8: 9 units².
Squared deviations from mean 5Sample variance is 20/3; its square root is about 2.58 units.

What this method answers

The n−1 denominator is used for the conventional unbiased sample variance under independent sampling from a population. If the data are the entire population of interest, the population formula uses N instead.

Use SD for numeric measurements where distances from a mean are meaningful. It is sensitive to extreme values, so pair it with a plot or quantiles for skewed data.

Before running a calculation, write down the population and the exact quantity you want to estimate. A method name alone does not define the question, the comparison or the assumptions.

Steps to follow

  1. Calculate the sample mean.
  2. Subtract the mean from each observation and square every deviation.
  3. Sum squared deviations and divide by n−1 for sample variance.
  4. Take the square root and restore the original measurement units.

Keep a record of exclusions, recoding decisions and software settings. That makes the analysis easier to check and repeat.

Worked example

The four measurements are 2, 4, 6 and 8 units.

xDeviation from mean 5Squared deviation
2−39
4−11
6+11
8+39

Mean=5. Sum of squared deviations=20. Sample variance=20/(4−1)=6.667 units²; sample SD=√6.667≈2.58 units. The population SD for these four values would instead divide by 4.

Interpret the result carefully

The sample SD is about 2.58 units. It is a scale summary, not a statement that every observation lies within 2.58 units of the mean.

Limit to keep in mind: A small sample SD can be misleading if the sample is unrepresentative. For skewed data, SD may not describe the typical distance well.

When reporting an analysis, include the sample size, estimate, units and uncertainty. Explain why the method fits the sampling and measurement design. Separate planned tests from exploratory checks, and avoid saying that association proves a cause.

Frequently asked questions

Why square the deviations?

Squaring prevents positive and negative deviations from cancelling and gives more weight to larger distances.

Why divide by n−1?

It is the usual sample-variance correction when estimating population variance from independent observations.

Is standard deviation in squared units?

No. Variance is squared units; taking the square root returns SD to the original units.

Does SD describe skew?

No. It summarizes spread around a mean but does not describe distribution shape.

Sources and next steps