How to use the mean, median and mode calculator
- Enter the data set in the box, separated by commas, spaces or new lines. Repeated values are fine and are needed for the mode to mean anything.
- Look at the sorted copy of your list that appears below the input. Confirm it has the right number of values before trusting the result.
- Read the mean, median, mode and range from the results panel. If several values tie for the mode, all of them are listed.
- Adjust the decimal places option if your teacher or report expects a particular rounding, then copy the results.
What to include
- Every value in the data set, including duplicates
- At least two values, or the range and median have nothing to compare
- Decimal points written as dots, not commas
- Negative values with a minus sign where your data includes them
- No units or currency symbols in the box, just the numbers
- The rounding you need for the final answer
Worked example: mean, median and mode from one data set
Take the test scores 72, 85, 85, 90, 64, 78 and 85. The mean is the sum, 559, divided by seven, which gives 79.86 to two decimal places. To find the median, sort the list: 64, 72, 78, 85, 85, 85, 90. There are seven values, so the fourth one, 85, is the median. The mode is also 85, because it appears three times and nothing else appears more than once. The range is the largest minus the smallest, 90 minus 64, which is 26.
With an even number of values the median is the average of the two middle numbers. If you drop the 90 from the example, the sorted list has six values and the middle pair is 78 and 85, so the median becomes 81.5. The calculator handles both cases automatically and shows which values it used.
Which measure should you report?
The mean works well for data that is roughly symmetrical, such as heights in a class or daily temperatures. The median is better when a few extreme values would distort the mean, which is why house prices and salaries are usually reported as medians. The mode is most useful for data that comes in categories or fixed sizes, for example the most common shoe size sold or the most frequent score in a quiz. When a set has no repeated value, the calculator reports that there is no mode rather than inventing one.
Frequently asked questions
What happens if there are two modes?
The calculator lists every value that shares the highest frequency, so a bimodal set shows two modes. If every value appears exactly once, it reports no mode.
How is the median found when the count is even?
The two middle values of the sorted list are added together and divided by two. The sorted list is displayed so you can see which two values were used.
Does the order I type the numbers in matter?
No. The tool sorts the values itself before finding the median and range, so you can paste them in whatever order they come.
Can I use this for grouped frequency data?
Not directly. Type each value as many times as it occurs, or use the weighted tab with the value in one column and its frequency as the weight to get the mean.
Is my data stored anywhere?
No. The numbers stay in your browser tab and are discarded when you close it. Nothing is sent to a server, so you can safely paste exam marks or customer figures.