How it works
Standard deviation shows how far the numbers spread from their mean. Use the sample version when your numbers are a part of a bigger group, and the population version when they are the whole group.
Formula
Standard deviation = sqrt(variance).
Example
Worked example: 4, 8, 15, 16, 23, 42, 8. Mean = 16.571429. Sum of squares = 995.714286. Population variance = 142.244898 and standard deviation = 11.926647. Sample variance = 165.952381 and standard deviation = 12.882251.
Frequently asked questions
Sample or population?
If you measured everyone, use population. If you measured a few to guess about many, use sample.