How it works
Type or paste your numbers separated by commas. The calculator sorts them for the median, averages them for the mean, and measures spread with variance and standard deviation (Standard Deviation). The population version divides by n; the sample version divides by n - 1, which corrects the bias when your data is a sample of something bigger.
Formula
Population variance = average of (x - mean)^2 over all n values.
Sample variance divides the same total by n - 1.
Standard deviation is the square root of variance.
Example
Example in plain words. The data 2, 4, 6, 8, 10.
Mean 6, median 6.
Population standard deviation 2.828427, sample 3.162278, population variance 8. Count 5, sum 30.
Frequently asked questions
Population or sample?
Use population when your numbers are the whole group you care about, like the heights of your five plants. Use sample when they stand for a bigger group, like fifty voters out of a city.
Mean or median?
The median resists outliers. If one value is wildly larger than the rest, the mean chases it while the median stays put. Comparing the two is itself informative.