Mean, Median and Mode Calculator

Compare the average, middle value and most frequent values of your data, with sorted values and the working shown.

Type your numbers with commas, spaces or new lines between them, like 4, 8, 15. Up to 10,000 numbers, each within ±10⁵⁰. Every entry must be a number.

Mean

7.666667

Median 8 · Mode 3 · Range 12

  • Count (n)9
  • Sum69
  • Mean (average)7.666667
  • Median (middle)8
  • Mode (most frequent)3
  • Range (largest − smallest)15 − 3 = 12
  • Midrange (halfway between smallest and largest)9
  • Standard deviation (sample; how spread out the numbers are)4.213075

How this was calculated

  1. First, put the numbers in order from smallest to largest. This makes the middle number and the repeats easy to spot.Sort the numbersPut in your numbers: 7, 3, 9, 3, 12, 8, 3, 15, 9Answer: 3, 3, 3, 7, 8, 9, 9, 12, 15
  2. The mean (average) shares the total out evenly. Add up all the numbers, then divide by how many numbers there are.Mean = sum of the numbers ÷ how many numbersPut in your numbers: (7 + 3 + 9 + 3 + 12 + 8 + 3 + 15 + 9) ÷ 9 = 69 ÷ 9Answer: 7.666667
  3. The median is the number in the middle of the sorted list. There are 9 numbers (an odd count), so one number sits exactly in the middle.Median = the middle numberPut in your numbers: Number 5 of 9 in the sorted list is 8Answer: 8
  4. The mode is the number that shows up most often. Count how many times each number appears.Mode = the most frequent numberPut in your numbers: 3 appears 3 times; 9 appears 2 times; every other number appears fewer timesAnswer: 3 (3 times)
  5. The range shows how spread out the numbers are. Take the largest number and subtract the smallest.Range = largest − smallestPut in your numbers: 15 − 3Answer: 12

Mean, median and mode in simple words

The mean, median and mode are three ways to find the “usual” number in a list. Each one answers a slightly different question.

The mean is the average. Add up all the numbers, then share the total out evenly. For the test scores 4, 7, 7 and 10, the total is 28, and 28 ÷ 4 = 7.

The median is the middle number once the list is in order. In 4, 7, 7, 10 there are two middle numbers, 7 and 7, so the median is halfway between them: 7. The mode is the number that shows up most often, which is also 7 here.

The range tells you how spread out the list is: the biggest number minus the smallest. Here it is 10 − 4 = 6.

Three ways to describe the center

The arithmetic mean is the sum divided by the number of observations. The median is the middle sorted value; with an even count, average the two middle values. Modes are the values tied for the highest repeated frequency.

This calculator reports no mode when every value appears once. If several repeated values tie for the highest frequency, it reports all of them. Range is the maximum minus the minimum; it measures spread rather than center.

Example: 7, 3, 9, 3, 12, 8, 3, 15, 9

The sorted values are 3, 3, 3, 7, 8, 9, 9, 12, 15. Their sum is 69 and their count is 9, so the mean is 69 ÷ 9 ≈ 7.666667. The fifth value gives a median of 8. The mode is 3, appearing three times, and the range is 15 − 3 = 12.

Choosing a useful summary

A large outlier can pull the mean away from typical observations. The median is less sensitive to extreme values; the mode can show a repeated measurement or common category code, but numeric codes still need context.

Enter up to 10,000 numbers with magnitudes at most 10⁵⁰. Commas separate observations, not thousands: enter 1000 instead of 1,000 for a single value. Every token must be numeric. One value is enough for center and range, but sample standard deviation needs at least two.

Frequently asked questions

Can the mode have more than one value?

Yes. For 1, 1, 2, 2, 3, both 1 and 2 occur twice and are modes. A tie among repeated values is reported rather than arbitrarily choosing one.

Is the midrange the median?

No. Midrange is (minimum + maximum) ÷ 2 and uses only the extremes. Median uses the middle position of the sorted data.

References

Last updated . Results are estimates for informational purposes only.