Average Calculator (Mean, Median, Mode)

Find the mean, median, mode, range and sum of up to 8 numbers, with each step shown.

Results

Mean (average)
5.6
Median
7
Mode
7 (occurs 2 times)
Range (max − min)
7
Sum
28
Sorted values
2, 3, 7, 7, 9

How it’s calculated

The mean adds the values and divides by how many there are. The median is the middle value once sorted (the average of the two middle values when the count is even). The mode is the value that appears most often; there can be several, or none if every value is different. The range is the largest value minus the smallest.

mean = (x₁ + x₂ + … + xₙ) ÷ n median = middle of the sorted list range = max − min

Example: 3, 7, 7, 2, 9. Sum = 28, so the mean = 28 ÷ 5 = 5.6. Sorted: 2, 3, 7, 7, 9, so the median is 7. The mode is 7 (twice) and the range is 9 − 2 = 7.

Frequently asked questions

When should I use the median instead of the mean?

When the data has outliers or is skewed (such as incomes or house prices). One very large value pulls the mean up but barely moves the median.

Can there be more than one mode?

Yes. If two or more values tie for the highest count, all are modes (bimodal or multimodal data).

How do I average more than 8 numbers?

Average groups separately and combine them weighted by size: (mean₁ × n₁ + mean₂ × n₂) ÷ (n₁ + n₂).

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator