Statistics calculator
Paste or type a list of numbers to get every summary statistic, the five-number summary, standard deviation and outliers, with a box plot and a histogram drawn for you.
Averages: mean, median and mode
The mean is the total divided by how many values there are. The median is the middle value when the data is in order. The mode is the most common value. The median is better than the mean when there are outliers, because one very large or small value pulls the mean towards it.
Spread: range, IQR and standard deviation
The range is largest − smallest. The interquartile range (IQR = Q₃ − Q₁) is the spread of the middle half of the data and ignores outliers. The standard deviation measures the typical distance of values from the mean. Use the sample standard deviation (dividing by n − 1) when your data is a sample from a larger population.
Box plots and outliers
A box plot shows the five-number summary: minimum, Q₁, median, Q₃ and maximum. A common rule marks a value as an outlier if it is more than 1.5 × IQR below Q₁ or above Q₃. Quartiles here use the median-of-halves method taught in most schools; spreadsheets may use slightly different methods. Plot two variables against each other in the lab data graph plotter.
Questions students ask
What is the difference between mean and median?
The mean adds all the values and divides by how many there are; the median is the middle value in order. Outliers affect the mean much more than the median.
When should I use sample standard deviation?
Use the sample standard deviation, dividing by n − 1, when your data is a sample used to estimate a larger population; use the population formula when you have every value.
How do you find the median of an even number of values?
Put the values in order and take the mean of the two middle values.
Check yourself
3 quick questions. Tap an answer to see if you are right.
1. What is the median of 3, 9, 4, 7, 2?
Sort first: 2, 3, 4, 7, 9. The middle value is 4.
2. What is the mean of 2, 4, 6, 8?
Add them (20) and divide by how many there are (4): 20 ÷ 4 = 5.
3. What does the standard deviation measure?
Standard deviation is the typical distance of the values from the mean: bigger means more spread out.
More math tools
Connected tools
The same idea from another angle, across the site.