Statistics Calculator
Paste your data set to get every common summary statistic, with both sample and population variance and standard deviation explained.
How to use the statistics calculator
- Paste or type numbers separated by commas or spaces.
- Read center (mean, median, mode) and spread (range, variance, SD, IQR).
Examples
4, 8, 15, 16, 23, 42
Answer: mean 18, median 15.5
What the statistics calculator does
Paste or type a list of numbers and get a full summary: count, sum, mean, median, mode, range, quartiles and IQR, variance and standard deviation (sample and population), minimum and maximum, and outliers. Each statistic shows how it was calculated.
The main measures
Centre
- Mean : the balance point, pulled by outliers.
- Median: the middle value of the sorted data. Robust to outliers.
- Mode: the most frequent value.
Spread
- Range = max − min
- IQR = , the spread of the middle 50%
- Standard deviation: the typical distance from the mean
Worked example
Data: 4, 8, 6, 5, 3, 7, 9, 5, 22
- Sorted: 3, 4, 5, 5, 6, 7, 8, 9, 22 ().
- Mean: . Median: the 5th value, 6. Mode: 5.
- Quartiles (median of each half, excluding the median): , , so IQR = 4.
- Outlier fences: . Since , 22 is an outlier.
The mean (7.67) sits above the median (6) because the outlier pulls it up. For skewed data, the median is the better "typical value".
Five-number summary and box plots
Min, , median, , max: here 3, 4.5, 6, 8.5, 22. A box plot draws exactly these numbers, and marks outliers as separate dots.
Sample or population?
If your data is all of the group you care about, use the population formulas (divide by ). If it's a sample used to estimate a larger group, use the sample formulas (divide by ). Most homework and real data are samples.
Common mistakes
- Taking the median of unsorted data.
- With an even count, the median is the average of the two middle values.
- Quartile methods vary between textbooks and calculators (inclusive vs exclusive), so small differences are normal. The calculator states which one it uses.
For one statistic in depth, see the standard deviation and mean, median, mode calculators.
In real life: reading house prices
Seven houses on a street sold for (in thousands): 240, 255, 262, 270, 281, 295, 890.
- Mean:
- Median: 270
- IQR: , , so IQR = 40, and the upper fence is .
The 890 sale (perhaps a large renovated house) is an outlier. It drags the mean up to 356, which is higher than six of the seven prices. That's why news reports quote the median house price: it describes a typical home much better.
Formulas
Practice problems
Try each one first, then open the answer to check your work.
1.Find the mean of 3, 7, 8, 10, 12.
Show answer
8.
2.Find the median of 9, 2, 7, 4, 6, 1.
Show answer
5. Sorted: 1, 2, 4, 6, 7, 9.
3.Find the range of 15, 22, 8, 30, 19.
Show answer
22.
4.Find the IQR of 1, 3, 5, 7, 9, 11, 13, 15.
Show answer
8. and .
5.Is 50 an outlier in 10, 12, 13, 15, 16, 50?
Show answer
Yes. , IQR = 4, and the fence is 22.
Key terms
- Mean
- The arithmetic average.
- Median
- The middle value of sorted data.
- Quartiles
- The values that split sorted data into four equal parts.
- Outlier
- A value far from the rest, often beyond IQR from the quartiles.
- Five-number summary
- Min, , median, , max.