Centre and spread: what each number in the summary tells you
A list of numbers is hard to read as it stands. Descriptive statistics squeeze it into a few figures that answer two questions: where is the middle, and how far do the values wander from it. Take ten test scores: 72, 85, 90, 66, 85, 78, 94, 85, 70 and 88. Their sum is 813, so the mean is 81.3. Sorted, the two middle scores are 85 and 85, so the median is 85. The score 85 appears three times, more than any other, so it is also the mode.
The mean, the median and the mode each describe the middle in a different way, and the gaps between them tell you something. The mean uses every value, so one extreme value moves it. The median only cares about order, so it barely moves at all. Add one score of 0 to the list above and the mean drops to about 73.9, while the median stays at 85. When house prices or salaries are reported, the median is usually the figure quoted for exactly this reason. The mode is most useful for values that repeat, such as shoe sizes or ratings out of five.
Spread starts with the range, the largest value minus the smallest. It is easy to read but depends on only two numbers. Variance uses all of them. Take the mean away from each value, square the result so negative and positive distances do not cancel, and average the squares. The standard deviation is the square root of the variance. It is back in the same unit as the data, so for test scores it is a number of points. For the ten scores above, the sample standard deviation is about 9.3 points.
There are two versions of variance and standard deviation, and this tool shows both. The population version divides the sum of squares by n, the count. The sample version divides by n − 1. The reason is that a sample usually spreads a little less than the whole group it came from, and dividing by a smaller number corrects for that. If your numbers are every value you care about, use the population figure. If they are a sample, which is the usual case in surveys, experiments and quality checks, use the sample figure. Excel calls them STDEV.P and STDEV.S, and this tool matches both.
Some limits are worth knowing. The tool reads plain numbers, including decimals, negative numbers and scientific notation such as 1.5e3. It does not read currency signs, percent signs or units, so remove them first. It takes up to 1 MB of text, which is about 150,000 numbers. Results are rounded to 10 significant digits for display, but the calculation itself keeps full precision, and the variance is computed in two passes so large, close values such as sensor readings do not lose their digits.