Math

Average calculator

The average of a set of numbers is a single value that represents the middle of the data, most often the arithmetic mean: the sum divided by the count. This average calculator finds the mean, median, mode and range of any list you paste in.

Runs in your browser. Nothing you type is sent to us.

Mean (average)

27.857143

Median
30
Mode
30
Range
40
Smallest
10
Largest
50
Sum
195
Count
7
Geometric mean
24.566425

Key facts

  • Mean = sum of the values ÷ number of values. The mean of 4, 8 and 9 is 21 ÷ 3 = 7.
  • Median = the middle value once the list is sorted (or the mean of the two middle values).
  • Mode = the value that appears most often. A list can have no mode or several.
  • Use the median when the data has outliers, such as house prices or salaries.

What is an average?

An average is a measure of central tendency: one number that summarises where the values in a data set cluster. In everyday speech "average" usually means the arithmetic mean, but statisticians use three main averages, the mean, the median and the mode, because each one tells a different story about the data.

How to use the average calculator

Paste or type your numbers into the box, separated by commas, spaces or new lines. You can copy a column straight from a spreadsheet. The calculator shows the mean, median, mode, range, smallest and largest value, count and sum.

Formulas for averages

Mean (x̄) = (x₁ + x₂ + ... + xₙ) ÷ nMedian = value at position (n + 1) ÷ 2 in the sorted listRange = largest value − smallest value
SymbolMeaning
x₁ ... xₙThe individual values
nHow many values there are
x̄The mean (read "x bar")

When n is even there are two middle values, and the median is their mean.

Worked examples: averages

Example 1: test scores

Scores: 72, 85, 90, 64, 85. The sum is 396 and there are 5 scores, so the mean is 396 ÷ 5 = 79.2. Sorted, the list is 64, 72, 85, 85, 90, so the median is 85. The mode is also 85, and the range is 90 − 64 = 26.

Example 2: why the median matters

Five people earn $40k, $45k, $50k, $55k and $410k. The mean is $600k ÷ 5 = $120k, which describes nobody in the group. The median is $50k, a much better picture of a typical salary. One extreme value pulled the mean far from the middle.

Mean, median or mode: which should you use?

AverageBest forWeakness
MeanSymmetric data with no extreme values, such as heights or test scoresPulled strongly by outliers
MedianSkewed data: incomes, house prices, waiting timesIgnores how far values are from the middle
ModeCategories or the most common choice: shoe sizes, survey answersMay not exist, or there may be several

Weighted average

When some values count more than others, multiply each value by its weight, add the results and divide by the total weight. If homework is 40% of a grade with a score of 90 and the exam is 60% with a score of 75, the weighted average is 0.4 × 90 + 0.6 × 75 = 81. Our GPA calculator and final grade calculator use weighted averages.

Common mistakes with averages

  • Averaging percentages or rates directly. If you drive 60 km at 60 km/h and 60 km at 30 km/h, your average speed is 40 km/h, not 45, because you spent longer at the slower speed.
  • Forgetting to sort before finding the median.
  • Averaging averages from groups of different sizes. Weight each group's mean by its size.
  • Treating the mean as typical when data is skewed. Report the median as well.

Going further

The average tells you where data is centred but not how spread out it is. Two classes can both average 75 while one has scores from 70 to 80 and the other from 40 to 100. Use the standard deviation calculator to measure spread, and the confidence interval calculator to see how precisely a sample mean estimates a population mean.

Mean, median and the wisdom of crowds

"Average" can mean several things, and choosing the right one matters. The arithmetic mean adds values and divides by the count; the median is the middle value; the mode is the most common. When data are skewed by a few very large values, the mean is pulled upward, which is why the US Census Bureau reports median household income rather than the mean. For growth rates and ratios, the geometric mean is the right choice, which is how compound annual growth is calculated.

In 1907 Francis Galton published "Vox Populi" in *Nature* after collecting 787 guesses of an ox’s weight at a livestock fair in Plymouth. The median guess was 1,207 pounds, within 1% of the true dressed weight of 1,198 pounds, an early demonstration of the wisdom of the crowd. A century earlier, the Belgian statistician Adolphe Quetelet had built a whole social science around the "average man" (*l’homme moyen*), and his work also gave us the body mass index. Averages are easy to misuse: the mean of a small sample with one outlier can describe almost nobody. In US schools, Common Core standard 6.SP.B.5 asks students to choose measures of centre based on the shape of the data. To see how unusual a single value is compared with the mean, convert it to a z-score. When values count differently, use the weighted average calculator; for spread around the mean, the standard deviation calculator; and for growth over time, the CAGR calculator.

How this calculator works

  • Mean = sum ÷ count; median = middle value of the sorted list (average of the two middle values for an even count).
  • Mode lists every value that appears most often, or says there is no mode if all values appear once.
  • Also gives the range, minimum, maximum, sum, count and, when all values are positive, the geometric mean.
  • Enter numbers separated by commas, spaces or new lines.

Frequently asked questions

How do I calculate the average of numbers?

Add all the numbers together and divide by how many numbers there are. The average of 10, 20 and 60 is 90 ÷ 3 = 30.

What is the difference between mean and average?

In everyday use they mean the same thing: the arithmetic mean. In statistics, "average" can also refer to the median or mode.

How do I find the median of an even set of numbers?

Sort the numbers, take the two in the middle and find their mean. For 3, 5, 8, 10 the median is (5 + 8) ÷ 2 = 6.5.

Can there be more than one mode?

Yes. A set with two modes is bimodal, and with more it is multimodal. If every value appears once, there is no mode.

How do I calculate an average percentage?

If the percentages come from groups of equal size, average them normally. If not, convert back to totals: add up all the parts, divide by all the wholes, and multiply by 100.

What is a weighted average?

An average where each value is multiplied by a weight that reflects its importance, then divided by the sum of the weights. Course grades and stock portfolio returns are common examples.

What is the average of 1 to 100?

The average of the whole numbers from 1 to 100 is 50.5. The sum is 5,050 and there are 100 numbers.

Which average is least affected by outliers?

The median. It depends only on the middle position, so one very large or very small value barely moves it.

How do I find the class average?

Add every student’s score and divide by the number of students. If you only have each section’s average, weight each one by its number of students.

Sources

  1. OpenStax, Introductory Statistics 2e
  2. NIST/SEMATECH e-Handbook of Statistical Methods, Measures of location

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Average calculator." calcroster.com/average-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.