Mean, median, variance and standard deviation
Paste a list of numbers for every summary at once: centre, spread, population and sample. Every step of the working is shown, and nothing leaves your browser.
- Mean
- 18
- Median
- 15.5
- Mode
- none (every value once)
- Range
- 38
- Population variance
- 151.6667
- Population standard deviation
- 12.3153
- Sample variance
- 182
- Sample standard deviation
- 13.4907
Add the 6 values: 4 + 8 + 15 + 16 + 23 + 42 = 108. Divide by 6: mean = 18.
Sort them: 4, 8, 15, 16, 23, 42. Two middle values, 15 and 16: their mean is the median, 15.5.
Squared deviations from the mean: 196, 100, 9, 4, 25, 576. Their sum is 910.
Population variance divides by n = 6: 910 / 6 = 151.6667. Sample variance divides by n − 1 = 5: 182. Use the sample one when the data is a sample of something larger.
Standard deviation is the square root: √151.6667 = 12.3153 (population), √182 = 13.4907 (sample).
What it does
The mean adds the values and divides by how many there are; the median is the middle of the sorted list; the variance is the average squared distance from the mean, and the standard deviation its square root. Population measures divide by n; sample measures divide by n − 1, which corrects for the sample mean being closer to its own data than the true mean is.
Wording or a word problem instead of numbers? Ask the solver, which explains every step too. Related: the method guide and the formula sheet.