Average Calculator

Mean
—
Median
—
Mode
—
Range
—
Count
—
Sum
—
What is the mean (average)?

The mean is calculated by adding all values and dividing by the number of values. For example: the mean of 10, 20, and 30 is (10+20+30)/3 = 20.

What is the difference between mean and median?

The mean is the sum of all values divided by the count. The median is the middle value when all values are sorted. The mean is affected by outliers, the median is not.

When should you use the mode?

The mode is used when you want to find the most common value in a dataset. It's especially useful for categorical data, like the most common shoe size in a group.

What is an average?

An average is a single number that stands for a typical value in a list. The most common average is the mean: add every value, then divide by how many there are. If four friends hold $5, $7, $8 and $20, pooling the money gives each a mean of $10.

But "average" can also mean the median (the middle value once the data is sorted) or the mode (the most frequent value). Each answers a slightly different question, which is why this calculator shows all of them side by side, along with the range, count and sum.

How to use this average calculator

  1. Type your numbers in the box, separated by commas — for example: 12, 15, 15, 22, 30.
  2. Press Calculate.
  3. Read the six results: Mean, Median, Mode, Range, Count and Sum.
  4. Press C to clear the list and enter a new set.

The formulas behind the results

Three of the six numbers come from simple definitions worth knowing by heart:

mean = sum ÷ count median = middle value (or mean of the two middle values) range = largest − smallest

Example 1: mean of five test scores

Scores: 72, 88, 95, 61, 84. Add them: 72 + 88 + 95 + 61 + 84 = 400. Divide by the count of 5 values: 400 ÷ 5 = 80.

Mean = 80

Example 2: median, mode and range together

Values: 3, 7, 7, 10, 15. Already sorted, the middle value is 7, so the median is 7. The mode is also 7, because it is the only value that appears twice. The range is 15 − 3 = 12.

Median = 7, mode = 7, range = 12

Example 3: an even number of values

Values: 4, 9, 15, 28. With four values there is no single middle one, so average the two middle values: (9 + 15) ÷ 2 = 12.

Median = 12

Mean or median? Why outliers matter

The mean is sensitive to extreme values. Picture five yearly salaries in thousands: 30, 32, 35, 38, 200. The mean is 335 ÷ 5 = 67, yet four of the five people earn far less. The median, 35, describes the group far better.

A good habit: report the median when data is skewed (incomes, house prices, waiting times) and the mean when values are evenly spread (heights, test scores). If your mean and median land close together, the data is roughly balanced.

Frequently asked questions

What is a weighted average and how is it different?

A weighted average counts some values more than others. If a course grade is 40% homework and 60% exam, with 80 and 90 points respectively: 0.4 × 80 + 0.6 × 90 = 32 + 54 = 86.

Why does my mode show nothing?

The mode only exists when at least one value repeats. In the list 4, 9, 15, 28 no number appears twice, so there is no mode to show.

Can I enter decimal or negative numbers?

Yes. The calculator accepts decimals and negatives, which is handy for temperatures, bank balances or any data that dips below zero.

What does the range tell me?

The range is the distance between the smallest and largest value. It is the simplest measure of spread: a range of 2 means the data sits tightly together, a range of 200 means it is widely scattered.