Inputs
Count4
Ready
Mean, median, and mode answer different questions about the same list. On 2, 4, 6, 8 the mean is the sum divided by the count, 20/4, which is 5. The median is the 50th percentile by inclusive interpolation, also 5, halfway between 4 and 6. The mode is the value that appears most often. Every value appears once, so the mode is none. A list with a repeated peak would name that peak, or several peaks if they tie.
Spread sits next to the centre. Population variance is 5 and population SD is 2.24. Sample variance is 6.67 and sample SD is 2.58. Q1 is 3.5, Q3 is 6.5, and the IQR is 3. P10 is 2.6, P90 is 7.4, P99 is 7.94. Outliers use the 1.5 IQR fences and, on this even list, there are none. The percentile and standard-deviation pages show this same set of lines. This page is the summary: centre, spread, and tails together.
Numbers can be typed, comma or space separated, or read from a text file. A sentence is not a list. The error for that is "Enter a number for list." Sort order does not matter; the page sorts before it picks a median or a percentile. One number has a mean, a median, and a population variance of 0, and its sample variance is undefined.
Values 2, 4, 6, 8. Percentile 90.
Count 4. Mean 5. Median 5. Mode none. Population SD 2.24. Sample SD 2.58. Q1 3.5, Q3 6.5, IQR 3. P90 7.4. Outliers none.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
5. The sum is 20 and the count is 4. The median is also 5. There is no mode, because no value repeats.
The mean divides the sum by the count. The median is the middle of the sorted list, interpolated when the middle falls between two values. On this symmetric list they match. On 1, 2, 100 they do not.
When every distinct value appears once. A repeated value that appears more than the others becomes the mode. Ties are listed together.
The list has to be numbers. A sentence produces "Enter a number for list." Commas and spaces are separators, not words.
Population, 2.24, if these four values are the whole group. Sample, 2.58, if they are a sample and you are estimating a larger group. Both are printed.