Skip to content
CalculatorFly

Mean, Median, Mode Calculator

Type or paste numbers separated by commas, spaces or new lines. Every result and the working update as you type, worked out entirely on your device.

Your numbers

Separate numbers with commas, spaces or new lines. Decimals and negative numbers are fine.

Mean
-
Median
-
Mode
-

-Range
-Count
-Minimum
-Maximum
-Sum
-Distinct values

Sorted list

Most frequent values

ValueTimes

Working

    How to use the mean, median and mode calculator

    Type or paste your numbers into the box, separated by commas, spaces or new lines. You can paste a column straight from a spreadsheet. The mean, median and mode appear at once with the range, count, sum, minimum and maximum, the list in order and the working for each answer.

    How to find the mean, median and mode

    The mean (the average) is the sum of the numbers divided by how many there are. The median is the middle number once they're sorted from smallest to largest; with an even count it's the average of the two middle numbers. The mode is the number that appears most often. A list can have two modes (bimodal) or more, and if every number appears the same number of times there is no mode. The range is the largest number minus the smallest.

    Worked example

    Take 4, 8, 6, 5, 3, 8, 9, 5, 8, 2. The sum is 58 and there are 10 numbers, so the mean is 58 ÷ 10 = 5.8. Sorted: 2, 3, 4, 5, 5, 6, 8, 8, 8, 9. With 10 numbers the middle two are the 5th and 6th, 5 and 6, so the median is (5 + 6) ÷ 2 = 5.5. 8 appears three times, more than any other number, so the mode is 8. The range is 9 − 2 = 7.

    FAQ

    What if no number repeats?

    Then there is no mode. The same applies when every number appears equally often, for example 1, 1, 2, 2, 3, 3. Some textbooks call every value a mode in that case, but “no mode” is the usual convention.

    Should I use the mean or the median?

    Use the median when a few very large or very small values would drag the mean, such as house prices or incomes. For data without outliers the mean uses every value and is usually the better summary.

    How do I find the spread as well?

    The range is a quick measure of spread. For a fuller picture, use the CalculatorFly variance and standard deviation calculator, which shows how far the values typically sit from the mean.

    Is my data sent anywhere?

    No. CalculatorFly works everything out in your browser with WebAssembly. Your numbers never leave your device.