Calculate standard deviation, variance, and mean from any data set. Free online calculator supporting both population and sample standard deviation, with full step-by-step solutions.
Standard deviation measures how spread out a set of numbers is from its average (mean). A low standard deviation means the values cluster tightly around the mean; a high standard deviation means they're spread over a wider range.
There are two versions: population standard deviation (σ), used when your data represents an entire population, and sample standard deviation (s), used when your data is a sample drawn from a larger population. The sample version divides by n − 1 instead of n — a correction called Bessel's correction — which produces a slightly larger, less biased estimate of the true population spread.
For the data set [4, 8, 15, 16, 23, 42]: the mean is 18. The sample standard deviation (n-1) is approximately 13.62, while the population standard deviation (n) is approximately 12.44.
Dataset (n = 6)
4, 8, 15, 16, 23, 42
Calculate the mean
Find each deviation from the mean
(4 - 18) = -14 (8 - 18) = -10 (15 - 18) = -3 (16 - 18) = -2 (23 - 18) = 5 (42 - 18) = 24
Sum the squared deviations
Sample variance (divide by n − 1)
Sample standard deviation — take the square root