How to use this calculator
Type or paste your numbers into the box. You can separate them with commas, spaces, semicolons or line breaks, so a column copied straight from a spreadsheet works. Negative numbers and decimals are accepted; anything that is not a number (such as a word or a currency symbol) will be flagged so you can fix it.
Choose population standard deviation if your list contains every value you care about (for example, the scores of every student in one class). Choose sample if your list is a subset used to estimate a bigger group (for example, 20 surveyed customers out of thousands). All results update instantly and are shown to 4 decimal places.
The formulas in plain words
Mean: add all the numbers and divide by how many there are. Median: sort the numbers and take the middle one; with an even count, average the two middle values. Mode: the value that appears most often. If several values tie for most frequent, all of them are listed; if every value appears only once, there is no mode. Range: largest value minus smallest value.
Standard deviation measures how spread out the numbers are. Subtract the mean from each value, square the results, and add them up. Divide that total by n for a population, or by n − 1 for a sample, then take the square root. The n − 1 version (Bessel's correction) is slightly larger because a sample tends to underestimate the spread of the whole group.
Worked example
Take the eight values 2, 4, 4, 4, 5, 5, 7, 9. The sum is 40, so the mean is 40 ÷ 8 = 5. Sorted, the two middle values are 4 and 5, giving a median of 4.5. The number 4 appears three times, more than any other, so the mode is 4. The range is 9 − 2 = 7.
For standard deviation, the differences from the mean are −3, −1, −1, −1, 0, 0, 2, 4. Their squares are 9, 1, 1, 1, 0, 0, 4, 16, which add to 32. Population: 32 ÷ 8 = 4, and √4 = 2. Sample: 32 ÷ 7 ≈ 4.5714, and the square root is about 2.1381.
Practical tips
When a list has a few extreme values, such as house prices or salaries, the median usually describes a typical value better than the mean, because one very large number pulls the mean upward. Compare the two: if the mean is much higher than the median, your data is skewed to the right.
Check the sorted values output to spot typing mistakes, like 450 entered instead of 45.0. Displayed results are rounded to 4 decimal places, so very small differences may not show.
Frequently asked questions
What is the difference between mean, median and mode?
The mean is the arithmetic average, the median is the middle value once the list is sorted, and the mode is the most frequent value. They are all measures of the centre of a data set but react differently to outliers and repeated values.
Can a data set have more than one mode?
Yes. If two or more values tie for the highest count, the data is bimodal or multimodal and this calculator lists every tied value. If no value repeats, there is no mode.
How do I find the median of an even number of values?
Sort the values and average the two in the middle. For 3, 5, 8, 10 the middle pair is 5 and 8, so the median is 6.5.
Should I use sample or population standard deviation?
Use population when your list includes every member of the group you are describing. Use sample when the numbers are a subset used to estimate a larger group; it divides by n − 1 and gives a slightly larger result. With only one number, the calculator shows 0.