Paste a list of numbers to get the mean, variance, standard deviation, and standard error of the mean. Choose Population when the list is the whole group, or Sample when it is a draw from a larger population. Repeated values also produce a frequency table, and each result includes z-based confidence error bars around the mean.
Formula
The mean is the average of the N values:
mean = Σxi / N
Population variance and standard deviation divide by N:
σ² = Σ(xi − μ)² / N
σ = √σ²
Sample variance and standard deviation divide by N − 1:
s² = Σ(xi − x̄)² / (N − 1)
s = √s²
The standard error of the mean is:
SEM = SD / √N
Confidence error bars use SEM times a normal z multiplier (1, 1.645, 1.960,
2.576, 3.291, 3.891, 4.417, 4.892) and report mean ± margin as a percent of
the mean.
Use sample mode for almost every real-world dataset that is not an exhaustive census. Dividing by N − 1 slightly inflates the spread so a small sample does not systematically understate the population SD. Sample mode needs at least two values.
Examples
Default list as a population
For 10, 12, 23, 23, 16, 23, 21, 16, N is 8, the sum is 144, and the mean is
18. Population variance is 24, so σ is 4.8989794855664 and SEM is
1.7320508075689. The 95% error bar is 18 ± 3.395 (±18.86%).
The same list as a sample
The mean is still 18, but variance uses N − 1 = 7 and becomes 27.428571428571. Sample SD is 5.2372293656638 and SEM is 1.8516401995451.
Odd numbers 1, 3, 5, 7, 9
The mean is 5. As a population, variance is 8, σ is 2.8284271247462, and SEM is 1.2649110640674. As a sample, variance is 10, s is 3.1622776601684, and SEM is 1.4142135623731. Every value is unique, so there is no frequency table.