Ultimate Calculator
Math

Mean, Median and Mode Calculator

Paste a list of numbers to get the mean, median, mode, range and sum in one step.

Mean (average)

16.57142857

Median
15
Mode
8
Range
38
Sum
116
Count
7
Smallest and largest
4 and 42
  1. Add the values: 116
  2. Divide by the count: 116 ÷ 7 = 16.57142857
  3. Sorted: 4, 8, 8, 15, 16, 23, 42
  4. Median is the middle value: 15

The formula

mean = sum of values ÷ number of values

Mean, median and mode are three ways to describe the center of a data set. The mean uses every value, so one extreme number can drag it. The median is the middle value and resists outliers. The mode is the most frequent value.

How to use this calculator

  1. Enter your numbers.
  2. Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.

Worked example

Using Your numbers: 4, 8, 15, 16, 23, 42, 8.

  1. Add the values: 116
  2. Divide by the count: 116 ÷ 7 = 16.57142857
  3. Sorted: 4, 8, 8, 15, 16, 23, 42
  4. Median is the middle value: 15

Mean (average): 16.57142857

Common questions

When should I use the median instead of the mean?

Use the median when the data is skewed or has outliers, such as incomes or house prices. One very large value shifts the mean but barely moves the median.

Can a data set have more than one mode?

Yes. If two or more values tie for most frequent, each one is a mode. If nothing repeats there is no mode.