Skip to content

Average Calculator: Mean, Median, Mode

Mean, median, mode, range, standard deviation and weighted average.

Your details

Type of average

Separate values with commas, spaces or new lines. You can paste a column from a spreadsheet.

Results update as you type

Mean (average)

7

Median
7.5
Mode
9 (2 times)
Count
8
Sum
56
Minimum
3
Maximum
10
Range
7
Geometric mean
6.520046
Standard deviation (population, σ)
2.345208
Standard deviation (sample, s)
2.507133

Step-by-step solution
  1. Sum = 4 + 9 + 7 + 9 + 3 + 10 + 8 + 6 = 56
  2. Mean = sum ÷ count = 56 ÷ 8 = 7
  3. Sorted: 3, 4, 6, 7, 8, 9, 9, 10
  4. n = 8 is even, so the median is the average of positions 4 and 5: (7 + 8) ÷ 2 = 7.5

"Average" sounds like a single idea, but statisticians use several, and each tells a different story about the same data. This average calculator gives you all of the common ones at once: the mean, the median, the mode, the range, the geometric mean and the standard deviation, plus the count, sum, minimum and maximum.

Type or paste your numbers — separated by commas, spaces or line breaks, so a column copied from a spreadsheet works — and every figure updates instantly, with the working for the mean and median shown step by step.

Switch to Weighted average when some values count more than others: a final exam worth half the course grade, products sold in different quantities, or courses with different credit hours. Enter each value with its weight and the calculator does the rest. For university grade point averages, our GPA calculator applies letter grades and credits directly.

How to use this calculator

  1. Choose Mean, median, mode for a plain list, or Weighted average for values with weights.
  2. For a list, enter the numbers in the box. Decimals and negative numbers are fine.
  3. For a weighted average, fill one row per value with its weight, and add rows as needed. Weights do not have to add up to 1 or 100.
  4. Read the results. Open the steps to see how the mean and median were found.

The formula

For nn values x1,…,xnx_1, \dots, x_n:

xˉ=x1+x2+⋯+xnn\bar{x} = \frac{x_1 + x_2 + \dots + x_n}{n}

The median is the middle value once the list is sorted. With an odd count it is the value at position n+12\frac{n+1}{2}; with an even count it is the mean of the two middle values.

The mode is the value that occurs most often. A list can have several modes; if every value occurs equally often, there is no mode.

The range is max⁡−min⁡\max - \min, and the geometric mean, used for growth rates and ratios, is x1x2⋯xnn\sqrt[n]{x_1 x_2 \cdots x_n} (only for positive values).

The standard deviation measures spread around the mean. The population version divides by nn, the sample version by n−1n - 1 (Bessel’s correction), which makes it a better estimate when your data is a sample from a larger group:

σ=∑(xi−xˉ)2ns=∑(xi−xˉ)2n−1\sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n}} \qquad s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n - 1}}

A weighted average multiplies each value by its weight wiw_i:

xˉw=∑wixi∑wi\bar{x}_w = \frac{\sum w_i x_i}{\sum w_i}

Worked example

A list of eight scores: 4, 9, 7, 9, 3, 10, 8, 6.

  • Sum =56= 56, so the mean is 56÷8=756 \div 8 = 7.
  • Sorted: 3, 4, 6, 7, 8, 9, 9, 10. With 8 values, the median is the mean of the 4th and 5th: (7+8)÷2=7.5(7 + 8) \div 2 = 7.5.
  • 9 appears twice and every other value once, so the mode is 9.
  • Range: 10−3=710 - 3 = 7.
  • The squared deviations from 7 add up to 44, so σ=44/8≈2.345208\sigma = \sqrt{44 / 8} \approx 2.345208 and s=44/7≈2.507133s = \sqrt{44 / 7} \approx 2.507133.
  • Geometric mean: 3,265,9208≈6.520046\sqrt[8]{3{,}265{,}920} \approx 6.520046.

A weighted course grade: homework 80 (weight 20), midterm 72 (weight 30), final exam 90 (weight 50).

xˉw=80×20+72×30+90×5020+30+50=8260100=82.6\bar{x}_w = \frac{80 \times 20 + 72 \times 30 + 90 \times 50}{20 + 30 + 50} = \frac{8260}{100} = 82.6

A plain mean of the three marks would give 80.67, understating the effect of the heavily weighted final.

Mean, median or mode: which should you use?

  • Mean uses every value, which makes it the best summary for symmetric data such as test scores or measurement errors — but a single extreme value pulls it a long way.
  • Median ignores how extreme the extremes are. It is the standard choice for skewed data such as incomes or house prices: one billionaire moving into a town raises the mean income dramatically, but barely moves the median.
  • Mode is the only average that works for categories (the most common shoe size, the most popular answer) and is useful for spotting peaks.

When the mean and median are far apart, your data is skewed, and it is worth reporting both.

Frequently asked questions

Is the average the same as the mean?

In everyday speech, yes: "average" usually means the arithmetic mean, the sum divided by the count. In statistics, average is a broader word that also covers the median, the mode and other measures of the centre.

Should I use the population or the sample standard deviation?

Use the population value (σ, divide by n) when your list includes every member of the group you care about, such as all 30 students in one class. Use the sample value (s, divide by n − 1) when your list is a sample used to estimate a larger group. Spreadsheets call them STDEV.P and STDEV.S.

What if my list has two modes?

It is bimodal, and the calculator lists both, along with how many times each appears. If every value appears the same number of times — for example 1, 1, 2, 2 — no value stands out, so the calculator reports no mode.

Do weights have to add up to 100%?

No. The weighted average divides by the total of the weights, so weights of 20, 30 and 50, of 0.2, 0.3 and 0.5, or of 2, 3 and 5 all give the same result.

Why is there no geometric mean for my data?

The geometric mean multiplies the values and takes the nth root, which only makes sense when every value is greater than zero. If your list contains a zero or a negative number, the calculator leaves it blank.

Last updated:

More Statistics calculators

People also use