Sample vs Population Standard Deviation: Which One Do You Need?
The difference between dividing by n and dividing by n − 1 — what Bessel's correction actually does, and how to pick the right formula for your data.
By RSDCalc Team · March 28, 2026 · Fundamentals
It’s the question every stats student trips over: do you divide by n or by n − 1 when computing the standard deviation? The short answer:
- Population: divide by
n - Sample: divide by
n − 1
But what does that mean?
Population standard deviation
You use the population formula when your data covers every member of the group you care about. Every employee in your company. Every student in your class. Every transaction last quarter.
σ = √( Σ(xᵢ − μ)² / n )
Because there’s no “outside” to your data, the mean you computed is the true mean, and dividing by n gives you the true standard deviation.
Sample standard deviation
You use the sample formula when your data is a subset drawn from a larger population. A random sample of 200 employees from the entire workforce. Lab measurements from a few replicate trials of a much larger experimental space.
s = √( Σ(xᵢ − x̄)² / (n − 1) )
Why n − 1? Because the mean you computed (the sample mean) is itself an estimate. Dividing by n would systematically underestimate the true population standard deviation. Subtracting 1 from the denominator — Bessel’s correction — corrects that bias.
A rule of thumb
If you’re describing the data you have in front of you and that’s the whole story → population. If you’re trying to infer something about a larger group from a smaller one → sample.
Sample is the more common choice in practice, which is why RSDCalc defaults to it.