🧮
🧮 Math & statistics

Average Calculator (mean, median, mode)

Results update as you type.

Your numbers

Understanding the average calculator (mean, median, mode) — concept and principle

"Average" usually means one number that represents a whole list. Statistics uses three main kinds: the mean, the median and the mode. This calculator gives all three, plus the count, sum and range, so you can summarise test scores, prices, times or measurements and see at a glance whether the data are balanced or skewed.

Mean, median and mode of six numbersFor 4, 8, 15, 16, 23, 42 the sum is 108, so the mean is 18; the median is 15.5; no value repeats, so there is no mode; the range is 38.Three kinds of “middle”4815162342median = (15 + 16) ÷ 2 = 15.5mean 18108 ÷ 6 = 18: pour the tall towers into the gapsMode: noneRange 42 − 4 = 38
The mean levels the towers to 18; the median sits between the two middle values.

How it is calculated

Values can be in any unit, but all of them must be in the same unit; the mean, median and range keep that unit.

The principle

The mean is the balance point: the positive and negative deviations from it add up to exactly zero, and it minimises the sum of squared deviations. That makes it efficient, but every value pulls on it, so one extreme value can move it a lot. The median only cares about order: half of the data lie at or below it and half at or above it, which makes it robust against outliers. The mode describes the most typical single value and is the only one of the three that also works for categories such as shirt sizes.

Worked example

  1. Inputs: 4, 8, 15, 16, 23, 42 (n = 6).
  2. Sum = 4 + 8 + 15 + 16 + 23 + 42 = 108, so mean = 108 ÷ 6 = 18.
  3. The values are already sorted. n is even, so the median is (15 + 16) ÷ 2 = 15.5.
  4. Every value appears once, so the mode is none.
  5. Range = 42 − 4 = 38.

How to read the result

Compare the mean with the median. Here the mean (18) is above the median (15.5) because the single large value 42 pulls the mean upward: the data are skewed to the right. When the two are close, the data are roughly symmetric. For incomes, house prices and waiting times, which are usually right-skewed, the median is often the better "typical" value. The range is a quick but crude measure of spread; use the standard deviation for a fuller picture.

Common mistakes

Keep in mind: An average summarises data but hides its shape. Two lists with the same mean can be very different, so look at the median, range and the raw values before drawing conclusions.

Frequently asked questions

Which average should I use?

Use the mean for roughly symmetric numerical data, the median when there are outliers or strong skew, and the mode for categories or for the most common value.

Can a list have more than one mode?

Yes. A list with two equally frequent values is bimodal, and the calculator lists both.

Does the mean have to be one of the values?

No. The mean of 1 and 2 is 1.5. The median of an even-sized list can also fall between values.

Sources: NIST/SEMATECH e-Handbook of Statistical Methods, Section 1.3.5.1 Measures of Location · D. Freedman, R. Pisani and R. Purves, Statistics, W. W. Norton

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

</> Add this calculator to your website (free)

Copy this code into your blog or site. It is free to use; please keep the credit link.

Preview
🧮 All math & statistics tools →🌍 Calculators by country →