How to use the statistics calculator
- Type or paste your data into the box. Separate values with commas, spaces or new lines.
- Read the mean, median and mode at the top, then the full list of statistics below it.
- Check the box plot and the outlier list to see how the data is spread out.
- Follow the step-by-step working for the mean, median, mode and quartiles to check your own work.
- Press Copy results to paste the answers into your homework or a spreadsheet.
How do you find the mean, median and mode?
The mean is the average: add up all the values and divide by how many there are. The median is the middle value once the data is sorted. The mode is the value that appears most often. All three are "measures of center" that describe a typical value in a data set.
mean x̄ = Σx ÷ n (Σx = sum of the values, n = number of values) Worked example
Eleven students took a quiz and scored 85, 92, 78, 92, 88, 95, 70, 85, 92, 81, 44.
- Mean: the scores add up to 902, and 902 ÷ 11 = 82.
- Median: sorted, the scores are 44, 70, 78, 81, 85, 85, 88, 92, 92, 92, 95. With 11 values the median is the 6th one: 85.
- Mode: 92 appears 3 times, more than any other score, so the mode is 92.
- Range: 95 − 44 = 51.
The mean (82) is lower than the median (85) because one low score, 44, pulls the average down. That score is an outlier, which is why the median often gives a fairer picture of a "typical" student.
How do you find quartiles and the IQR?
Quartiles split sorted data into four equal parts. Q1 is the median of the lower half, the median is Q2, and Q3 is the median of the upper half. The interquartile range (IQR) is Q3 − Q1, the spread of the middle 50% of the data.
This calculator uses the median-of-halves method taught in most US schools and used by TI-83/84 calculators. When n is odd, the median is left out of both halves. For the quiz scores, the lower half is 44, 70, 78, 81, 85, so Q1 = 78. The upper half is 88, 92, 92, 92, 95, so Q3 = 92, and the IQR is 92 − 78 = 14. Spreadsheets such as Excel use other quartile formulas, so their answers can differ a little.
What is the 1.5 × IQR rule for outliers?
A value is an outlier if it is more than 1.5 × IQR below Q1 or above Q3. For the quiz scores the fences are 78 − 1.5 × 14 = 57 and 92 + 1.5 × 14 = 113. The score 44 is below 57, so it is an outlier. On the box plot, outliers are drawn as separate dots and the whiskers stop at the last value that is not an outlier.
Which measure should you use?
| Measure | What it tells you | Quiz example |
|---|---|---|
| Mean | The balance point. Uses every value, so outliers move it. | 82 |
| Median | The middle value. Not affected much by outliers. | 85 |
| Mode | The most common value. Works for categories too. | 92 |
| Range | Total spread, max − min. | 51 |
| IQR | Spread of the middle half. Ignores outliers. | 14 |
| Standard deviation (s) | Typical distance of values from the mean. | 14.587666 |
Use the median and IQR when the data is skewed or has outliers, such as house prices or incomes. For 32, 35, 38, 40, 41, 250, the mean is 72.666667 but the median is 39, which is much closer to most of the values. Use the mean and standard deviation when the data is roughly symmetric.
Common mistakes
- Forgetting to sort before finding the median. The median is the middle of the sorted list, not the middle of the list as you typed it.
- Saying the mode is 0 when nothing repeats. If every value appears once, there is no mode.
- Picking only one mode. If two values tie for most common, both are modes. For 3, 5, 5, 8, 9, 9, 12, the modes are 5, 9.
- Dividing by the wrong count. Count every value, including zeros and repeats, when you find n.
- Mixing up sample and population standard deviation. Sample divides by n − 1, population divides by N.
Working out your grade average? The GPA calculator handles credits and weighting, and the final grade calculator tells you the score you need on your exam.
Frequently asked questions
How do you find the mean, median and mode?
Add the values and divide by how many there are to get the mean. Sort the values and take the middle one (or the average of the two middle ones) to get the median. The mode is the value that appears most often. For 85, 92, 78, 92, 88, 95, 70, 85, 92, 81, 44, the mean is 82, the median is 85 and the mode is 92.
What if no number repeats?
If every value appears exactly once, the data set has no mode. A data set can also have more than one mode: in 3, 5, 5, 8, 9, 9, 12 both 5 and 9 appear twice, so the modes are 5 and 9 (the data is bimodal).
How do you find the median of an even number of values?
Sort the values and take the mean of the two middle values. For 4, 7, 9, 10 the middle values are 7 and 9, so the median is (7 + 9) ÷ 2 = 8.
Why are my quartiles different from Excel or another calculator?
There are several accepted ways to calculate quartiles. This calculator uses the median-of-halves method taught in most US schools and used by TI-83/84 calculators, which leaves the median out of both halves when n is odd. Excel's QUARTILE.INC and QUARTILE.EXC functions interpolate between values instead, so they can give slightly different Q1 and Q3 for the same data.
Should I use sample or population standard deviation?
Use the sample standard deviation (divide by n − 1) when your data is a sample taken from a bigger group, which is the usual case in class surveys and experiments. Use the population standard deviation (divide by N) when you have every member of the group, such as all the test scores in one class. The standard deviation calculator shows both methods step by step.
What is the range in statistics?
The range is the largest value minus the smallest value. For the example scores it is 95 − 44 = 51. Because it only uses two values, a single outlier can make the range much bigger, so the IQR is often a better measure of spread.
How many numbers can I enter?
You can enter up to 10,000 values, including decimals and negative numbers. Paste a column straight from a spreadsheet or type values separated by commas, spaces or new lines.
Last reviewed November 27, 2026 by the ChalkStation team.