Mean, Median and Mode Calculator
Get the mean, median, mode, range, sum, count, smallest and largest of your numbers in one go, with the sorted list. For one answer explained in more depth, use the median calculator, mode calculator or mean calculator.
Example loaded: 1, 2, 2, 3, 5, 5, 7. Select Clear to enter your own numbers.
Your numbers
Your results
Mean, Median and Mode: the quick answer
The mean is the sum divided by the count, the median is the middle value when sorted, and the mode is the value that appears most often.
Example: for 1, 2, 2, 3, 5, 5, 7 the mean is about 3.57, the median is 3, and the modes are 2 and 5.
What each one tells you
- Mean: the sum divided by the count. It balances all the values.
- Median: the middle value once the numbers are sorted.
- Mode: the value that appears most often. There can be one, several, or none.
- Range: the largest number minus the smallest. It shows the spread.
Worked example
For 1, 2, 2, 3, 5, 5, 7: the sum is 25 and the count is 7, so the mean is 25 / 7 = 3.57. The middle (4th) value is 3, so the median is 3. The numbers 2 and 5 each appear twice, so the modes are 2 and 5. The range is 7 – 1 = 6.
Which one should I use?
Use the mean when the numbers are fairly even. Use the median when a few extreme values would distort the mean. Use the mode for the most common value. When they differ a lot, the data is probably skewed.
Frequently asked questions
What is the difference between mean, median and mode?
The mean is the sum divided by the count, the median is the middle value, and the mode is the most frequent value.
Can a set have no mode?
Yes. If every value appears only once, the calculator reports no mode.
Which is the best average to use?
It depends on the data. The median is safer when there are extreme values, and the mean works well for evenly spread numbers.
Do I need to sort my numbers first?
No. The calculator sorts them and shows the sorted list.
What is the range?
The range is the largest number minus the smallest. It is a quick measure of spread. For a fuller picture, use the standard deviation calculator.
How do I find all three in Excel or Google Sheets?
Use =AVERAGE(A1:A10), =MEDIAN(A1:A10) and =MODE.SNGL(A1:A10).
About this calculator
Written by Umar Khan. The calculator sorts your numbers, then works out the mean, median, mode and range from them. Results are shown to up to 10 decimal places (6 for standard deviation) with trailing zeros dropped, and your numbers stay in your browser. Last updated November 9, 2026. Questions or corrections: [email protected].
Written by Umar Khan
Umar Khan is a PhD student in engineering at NTNU, the Norwegian University of Science and Technology, in Norway. Every formula and worked example on this page is shown in full so you can check each result yourself. Corrections are welcome at [email protected].
Related calculators
For information only, not professional advice.
Written by Umar Khan. Last updated: November 9, 2026.
