Standard Deviation Calculator

Calculate sample and population standard deviation, variance and mean of a data set, with steps.

Updated December 2026

  • Instant results
  • Step-by-step working
  • Private: runs in your browser

Enter your numbers

Updates as you type

Result

Based on: Data set 10, 12, 23, 23, 16, 23, 21, 16 · Data is a Sample (divide by n − 1)

Sample standard deviation (s)5.237229
Variance
27.428571
Mean
18
Count (n)
8
Sum of squared deviations
192
Population SD (n)
4.898979

Results are estimates for general information. Check important figures before relying on them. Report a calculation error

Standard Deviation Calculator by CalculatorPulse ↗

Formula and how it works

s = √(Σ(x − x̄)² ÷ (n − 1)); σ = √(Σ(x − μ)² ÷ n)

Dividing by n − 1 (Bessel's correction) makes the sample estimate unbiased.

Assumptions

  • Numeric data, equally weighted.

Your working

  1. Mean = 18
  2. Σ(x − mean)² = 192
  3. Variance = 192 ÷ 7 = 27.428571
  4. SD = √27.428571 = 5.237229

Worked example

Data set10, 12, 23, 23, 16, 23, 21, 16
Data is aSample (divide by n − 1)
  1. Mean = 18
  2. Σ(x − mean)² = 192
  3. Variance = 192 ÷ 7 = 27.428571
  4. SD = √27.428571 = 5.237229

Sample standard deviation (s): 5.237229

Press Try example to load these numbers.

About this calculator

Standard deviation measures how spread out numbers are around the mean. Use the sample version when your data is a sample from a larger group, and the population version when you have every value.

How to use it

  1. Press Try example or type your own numbers.
  2. The result, breakdown and working update the moment you type.
  3. Save it to favorites, copy it, print it, or share a link with your numbers.

Understanding your result

Roughly 68% of normally distributed data lies within one standard deviation of the mean.

Common mistakes to avoid

  • Using population formulas for sample data.

Deviations

xx − mean(x − mean)²
10-864
12-636
23525
23525
16-24
23525
2139
16-24

Frequently asked questions

Should I use sample or population standard deviation?

Use population only when the data includes every member of the group you care about. Survey results and experiments are almost always samples.

What does a high standard deviation mean?

The values are widely spread from the mean.

What is the sample standard deviation (s) for data set 10, 12, 23, 23, 16, 23, 21, 16?

5.237229. Working: SD = √27.428571 = 5.237229.