Average Calculator

: Find the mean, median, mode, range, sum and count of a list of numbers, or a weighted average of values and weights, with the working shown
Limits: 50 MB · .txt, .csv or .tsv · Exact: decimals and fractions are kept as fractions while calculating, so the mean of 0.1 and 0.2 is 0.15. Values that do not end are shown to 6 decimals (≈) and as a fraction; the geometric mean is worked out to 6 decimals.
Averages
The mean, median and mode appear here as you type.

An average calculator for any list of numbers: paste a column from a spreadsheet or type the numbers with commas or spaces, and it gives the mean, median, mode and range, plus the sum, count, smallest and largest value and the geometric mean, with the working for each. Switch to Weighted average when the values count for different amounts, such as marks that make up different shares of a final grade. Decimals and fractions are kept exact, so the mean of 0.1 and 0.2 comes out as 0.15.

  1. Pick a calculation: Mean, median, mode for a plain list, or Weighted average for values with weights.
  2. For a plain list, type or paste the numbers separated by commas, spaces, tabs, semicolons or new lines. A column copied from a spreadsheet works, heading and all.
  3. For a weighted average, put one value and its weight on each line, such as 90 30, separated by a space, comma, tab or x. Two columns pasted from a spreadsheet work the same way.
  4. Read the mean (or the weighted average) at the top and the working under it; Copy all or Download takes the figures and the table.

The mean, median, mode and range of five test scores.

Input
85, 90, 78, 92, 85
Output
Mean: 86
Median: 85
Mode: 85 (appears 2 times)
Range: 14

Sum ÷ count = 430 ÷ 5 = 86
Sorted: 78, 85, 85, 90, 92
The middle value is the 3rd of 5: 85

How do you calculate an average?

To find the average of numbers, add them all up, then divide by how many numbers there are. For 85, 90, 78, 92 and 85 the sum is 430 and there are 5 numbers, so the average is 430 ÷ 5 = 86.

What is the difference between mean, median and mode?

The mean is the sum divided by the count, the median is the middle value when the numbers are sorted, and the mode is the most common value. For 85, 90, 78, 92, 85 they are 86, 85 and 85.

How do you calculate a weighted average?

Multiply each value by its weight, add the results, and divide by the total of the weights. Marks of 90, 80 and 70 weighted 30, 50 and 20 give 8,100 ÷ 100 = 81.

Can you average percentages?

A plain average of percentages is right only when each percentage is out of the same size of group. If 80% of a class of 10 passed and 60% of a class of 30 passed, the plain mean of 70% is wrong; weight each percentage by its group size and the true pass rate is 65%, which is 26 passes out of 40 students.

Is the average the same as the mean?

In everyday use, yes: "the average" means the arithmetic mean, the sum divided by the count. Strictly, the median and the mode are averages too, since each describes a typical value, so it is worth saying which one you mean when the numbers are skewed.

Runs entirely in your browser. Nothing is uploaded.