About the Mean, Median, Mode Calculator tool
Mean, median and mode are the first three statistics most people learn, and they answer slightly different questions. The mean is the balance point of the data, the median is the middle value once everything is sorted, and the mode is the value that occurs most often. On skewed data they can disagree sharply — one very large salary pulls the mean up while the median barely moves — so seeing all three together tells you more than any one of them alone.
This calculator is built for learning and checking work. Paste a list of numbers and it sorts them and shows the sorted list as tiles, with the median position highlighted, repeated values tinted and outliers marked in red. The steps panel walks through each measure: the sum divided by the count for the mean, the (n + 1) ÷ 2 position rule for the median with odd and even counts, the frequency count for the mode, and the range.
It also finds the first and third quartiles, the interquartile range and the 1.5 × IQR outlier fences. Because textbooks and software disagree on quartiles, you can switch between the “median of halves” method taught in schools and used by TI-84 calculators and the interpolation method used by Excel's QUARTILE.INC.
How to use Mean, Median, Mode Calculator
- Type or paste numbers into “Data set”, separated by commas, spaces or new lines — or click “Sample data”.
- Choose a “Quartile method” that matches your textbook or software.
- Read the mean in the result card and the median, mode, range, quartiles, IQR and outliers below it.
- Look at the “Sorted data” strip to see where the median sits and which values are modes or outliers.
- Click “Show steps for every measure” to see the working you would write down by hand.
Features
Sorted data display
Every value is shown in order with the median position, modes and outliers visually marked.
Step-by-step working
Mean, median (odd and even cases), mode, range, quartiles, IQR and fences each get a written step.
Handles multiple modes
Bimodal and multimodal data list every mode; data with no repeats is reported as having no mode.
Two quartile conventions
Switch between the median-of-halves method and Excel's QUARTILE.INC interpolation.
Outlier detection
Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are flagged automatically.
When to use it
- Check a maths worksheet on mean, median, mode and range.
- Summarise quiz scores for a class and spot unusually high or low marks.
- Compare the mean and median of house prices to see how skewed they are.
- Find the quartiles needed to draw a box-and-whisker plot.
- Teach how a single outlier moves the mean but not the median.
Frequently asked questions
How do you find the median of an even number of values?
Sort the values and average the two middle ones. For 2, 4, 7, 9 the middle values are 4 and 7, so the median is 5.5.
Can a data set have more than one mode or no mode?
Yes. If two values tie for the highest frequency the data is bimodal and both are modes. If every value appears once, there is no mode.
When should I use the median instead of the mean?
Use the median when the data is skewed or has outliers, such as incomes or house prices, because extreme values pull the mean but barely affect the median.
Why do my quartiles differ from Excel?
There are several quartile definitions. The school method takes the median of each half of the data, while Excel's QUARTILE.INC interpolates at position (n − 1) × p. Choose the matching option in “Quartile method”.
How are outliers defined here?
A value is an outlier if it lies more than 1.5 × IQR below Q1 or above Q3 — Tukey's rule, the one used for box plots.