Home › Math › Average Calculator

Average Calculator

Find the mean, median, mode, sum and range of any list of numbers. Results update as you type.

Separate numbers with commas, spaces or new lines. Use plain numbers without thousands separators, for example 100000 rather than 1,00,000.

Average (mean)

0

Median–
Mode–
Count–
Sum–
Smallest–
Largest–
Range–
Sorted:

How to calculate the average

The word "average" usually means the mean, but median and mode are also common ways to describe the centre of a set of numbers. This calculator gives you all three, plus the sum, count and range.

How to use this average calculator

Type or paste your numbers into the box, separated by commas or spaces, then read the results. You do not need to sort the numbers first. The calculator shows the mean, median, mode, range, sum and count straight away, and updates as you add or remove values.

Mean, median, mode and range

Mean

Add up all the numbers and divide by how many there are.

Mean = Sum of all numbers ÷ Count of numbers

Example: for 4, 8, 15, 16, 23 and 42 the sum is 108 and there are 6 numbers, so the mean is 108 ÷ 6 = 18.

Median

Sort the numbers from smallest to largest. The median is the middle number. If there is an even count, it is the average of the two middle numbers.

Example: in the sorted list 4, 8, 15, 16, 23, 42 the middle two numbers are 15 and 16, so the median is 15.5. With an odd count, such as 3, 7, 9, 12, 15, the median is simply the middle number, 9.

Mode

The mode is the number that appears most often. A list can have one mode, several modes, or none if every number appears only once.

Example: in 2, 3, 3, 5, 7, 3 the number 3 appears three times, so the mode is 3. In 1, 2, 2, 3, 3, 4 both 2 and 3 are modes. In 1, 2, 3, 4, 5 there is no mode.

Range

Range = Largest number − Smallest number

For 4, 8, 15, 16, 23 and 42 the range is 42 − 4 = 38. A larger range means the values are more spread out.

The same data, three averages

Data setMeanMedianModeRange
4, 8, 15, 16, 23, 421815.5None38
2, 3, 3, 5, 7, 33.83335
₹20,000, ₹25,000, ₹28,000, ₹30,000, ₹1,00,000₹40,600₹28,000None₹80,000

In the last row, one very high income pulls the mean up to ₹40,600, even though four of the five people earn ₹30,000 or less. The median of ₹28,000 describes a typical person better.

Which average should you use?

  • Mean works well for evenly spread data such as test scores or daily temperatures.
  • Median is better when a few very large or very small values would pull the mean off, such as incomes or house prices.
  • Mode is useful for finding the most common value, such as the most popular shoe size.

Weighted average

A weighted average is used when some values count more than others, such as exam marks with different weightings. Multiply each value by its weight, add the results, and divide by the total weight. If a course has marks of 80 (30% weight), 70 (20%) and 90 (50%), the weighted average is 0.3 × 80 + 0.2 × 70 + 0.5 × 90 = 83. The simple mean of the three marks would be 80.

Common mistakes to avoid

  • Forgetting to sort for the median. The numbers must be in order before you pick the middle one.
  • Averaging averages. If class A has 20 students with a mean of 60 and class B has 30 students with a mean of 80, the combined mean is (20 × 60 + 30 × 80) ÷ 50 = 72, not 70.
  • Averaging speeds. Driving 60 km/h one way and 40 km/h back gives an average speed of 48 km/h, not 50, because you spend longer at the slower speed.

Where averages are used

Averages appear in exam results, sports statistics, weather reports, salaries, business sales and quality checks. To turn an average into a percentage or compare change over time, try our Percentage Calculator.

Average calculator FAQs

How do I calculate the average of a set of numbers?

Add all the numbers together and divide by how many numbers there are. For 4, 8 and 12 the sum is 24, and 24 ÷ 3 = 8.

What is the difference between mean, median and mode?

The mean is the sum divided by the count. The median is the middle value of the sorted list. The mode is the value that appears most often.

Can a data set have more than one mode?

Yes. If two or more values appear equally often and more than any other, they are all modes. If every value appears once, there is no mode.

Why is the median better than the mean for incomes?

A few very high incomes can pull the mean up well above what most people earn. The median is the middle value, so extreme numbers affect it much less.

What is the average of 4, 8, 15, 16, 23 and 42?

The mean is 18, the median is 15.5, there is no mode and the range is 38.

Does the order of numbers change the average?

No. The mean, median, mode and range are the same however you order the numbers. You only need to sort them to find the median by hand.

Need another calculator?

Browse all calculators
Scroll to Top