Average Calculator: Mean, Median, Mode and Range

Enter your numbers separated by commas, spaces or new lines. The mean, median, mode and range update as you type, with the sorted list and the working shown underneath.

MathFreeNo sign-upWorks on phones
––
–Median
–Mode
–Range
How many numbers (count)–
Sum–
Smallest value–
Largest value–
Sorted from smallest to largest
How each answer was found

This tool runs in your browser. Nothing you type is uploaded or saved, and there is nothing to install or sign up for.

Four kinds of average from one list

People talk about the average as if there were only one, but a list of numbers can be summed up in several ways. This calculator gives you the three most common averages, the mean, the median and the mode, along with the range, which tells you how spread out the list is. It also reports how many numbers you entered, their sum, the smallest and largest values, and the whole list sorted in order.

Use it to check a statistics homework answer, to find a typical test score for a class, or to make sense of any set of measurements such as daily temperatures, race times or prices.

Entering your numbers

  1. Click in the Your numbers box and delete the example.
  2. Type or paste your values. Put a comma, a space or a new line between them. Pasting a spreadsheet column straight in is fine too, since each cell lands on its own line.
  3. Read the mean in the dark panel and the Median, Mode and Range in the three tiles.
  4. Look at How each answer was found to see the arithmetic for all four results.

Nothing needs to be pressed: the results change with every keystroke. If one entry is not a number, such as a stray word, a message names it so you can fix it. Copy result copies every figure as plain text and Reset brings the example list back. Do not type thousands separators, because a comma is read as the gap between two values: write 1200, not 1,200.

Worked example with six test scores

The starting list is six test scores: 85, 90, 78, 92, 85 and 74.

  • Sorted list: 74, 78, 85, 85, 90, 92.
  • Mean: the scores add up to 504, and 504 ÷ 6 = 84.
  • Median: six is an even count, so the median is halfway between the 3rd and 4th sorted values. Both are 85, so the median is 85.
  • Mode: 85 appears twice and every other score appears once, so the mode is 85.
  • Range: 92 − 74 = 18.

Here the mean (84) sits just under the median (85) because the low score of 74 pulls the mean down a little. That gap between mean and median is worth a glance in any data set: the bigger it is, the more lopsided the list.

How mean, median, mode and range are defined

MeasureHow it is foundBest used when
MeanSum of the values divided by the countThe values are fairly evenly spread with no extreme ones
MedianMiddle value of the sorted listA few very high or very low values would distort the mean
ModeValue that appears most oftenYou want the most common result, such as a shoe size
RangeLargest value minus smallest valueYou want a quick sense of spread

mean = sum of values / number of values

For the median, the list is sorted first. With an odd count the median is the single middle value. With an even count there are two middle values, and the median is their mean, so it can be a number that is not in your list. For 1.5, 2.5 and 4 the median is 2.5, the second of three.

The mode follows these rules in this tool. If one value appears more often than all others, it is the mode. If two or more values tie for the most appearances, all of them are listed: the list 1, 2, 2, 3, 3 has the modes 2 and 3. If every value appears exactly once, the tile reads No mode.

Results are rounded to four decimal places for display. The list 1.5, 2.5 and 4 has a sum of 8 and a mean shown as 2.6667.

When the mean misleads

The mean uses every value, which makes it sensitive to outliers. Take five weekly allowances of 10, 10, 12, 15 and 100 dollars. The mean is 29.4, yet four of the five people get 15 or less. The median, 12, describes the typical person far better. This is why house prices and incomes are often reported with a median.

Other things to keep in mind:

  • A mean of grades with different weights is not a plain mean. If an exam counts for more than a quiz, use the weighted grade calculator instead.
  • The range depends on only two values. One unusual number changes it completely. For a measure of spread that uses the whole list, try the standard deviation calculator.
  • The mode can be unhelpful for measurements. With decimals such as 3.14 and 3.15, repeats are rare, and seeing no mode at all is a normal result.
  • Zero counts. A score of 0 is a value and lowers the mean. A missing score should be left out, not typed as 0.

The calculator accepts up to 2,000 values. It does not group data into classes or work from a frequency table, so enter each value as many times as it occurs.

Classroom and study uses

For students, the working box is the useful part. Sort your list by hand, find the four answers, then compare. A wrong median nearly always comes from skipping the sorting step or from picking one of the two middle values in an even list.

Teachers can paste a column of marks straight from a gradebook to get the class mean and median in a second, then add or remove one extreme mark to show the class how each measure reacts. Turning raw marks into percents first is quick with the percentage calculator, and a set of made-up values for a practice exercise can come from the random number generator.

More number tools are grouped under math calculators, and you can see everything on offer in the list of free online tools.

Frequently asked questions

How do you find the mean of a set of numbers?

Add all the numbers together and divide by how many there are. For 85, 90, 78, 92, 85 and 74 the sum is 504 and there are 6 numbers, so the mean is 84.

How do you find the median when there is an even number of values?

Sort the list and take the two middle values, then find their mean. In 74, 78, 85, 85, 90, 92 the middle values are both 85, so the median is 85.

Can a list have more than one mode?

Yes. If two or more values tie for the most appearances, each one is a mode. The list 1, 2, 2, 3, 3 has two modes, 2 and 3.

What does it mean when there is no mode?

It means no value repeats. When every number in the list appears exactly once, nothing is more common than anything else, so the calculator shows No mode.

What is the difference between mean and median?

The mean is the sum divided by the count, and the median is the middle value of the sorted list. One very large or very small number moves the mean a lot but barely moves the median.

How is the range calculated?

Subtract the smallest value from the largest. For scores from 74 to 92 the range is 18.

Related tools

Browse all free tools →