How it works
Use the sample standard deviation when your data is a sample from a larger population, which is the usual case. Use the population standard deviation only when you have every member of the population.
Formula
s = √( Σ(x − x̄)² ÷ (n − 1) ) σ = √( Σ(x − μ)² ÷ n )