Skip to content

Standard Deviation Calculator

Calculate sample or population standard deviation, variance, mean, and standard error of the mean.

Sample Standard Deviation (s)
5.237229
Mean: 18 · Count (N): 8
Sample Variance (s²)
27.428571
Arithmetic Mean
18
Standard Error of Mean
1.85164
Sum of Squares
192

What Does the Standard Deviation Calculator Calculate?

Standard deviation measures how widely numbers are dispersed around their arithmetic mean. Use Sample (n−1) for subsets of data and Population (N) when you have every observation.

How to Use This Calculator

  1. Enter at least two numeric observations.
  2. Choose Sample or Population and click Calculate.

Sample & Population Standard Deviation

s = √[ Σ(xᵢ − x̄)² / (n − 1) ] | σ = √[ Σ(xᵢ − μ)² / N ]

Sum the squared deviations from the mean, divide by (n−1) for a sample or N for a population, then take the square root.

Worked Example: Sample SD of [10, 12, 23, 23, 16, 23, 21, 16]

8 sample data points.

  • Mean x̄ = 18
  • Sum of squared deviations = 192
  • Sample variance = 192 ÷ 7 = 27.4286
  • Sample SD = √27.4286 = 5.2372
Result: s = 5.237229 (Variance = 27.428571)

Key Assumptions & Scope

  • Requires at least 2 valid finite numbers.

Frequently Asked Questions

Why does sample standard deviation divide by n − 1?
Dividing by n − 1 (Bessel’s correction) corrects the slight downward bias when estimating population variance from a sample.