N
NJHTools

Average Calculator

Paste a list of numbers separated by commas, spaces or new lines to get the average (mean) right away, along with the median, mode, range, minimum, maximum, count, sum, geometric mean and standard deviation. Switch to weighted average to combine values with weights, such as grades and credit hours.

Separate with commas, spaces, semicolons or new lines. Write 1000, not 1,000.

Average (mean)

19.2857142857

135 ÷ 7 values

Median
18
Middle value
Mode
15
Appears 2 times
Range
18
Max − min
Count
7
Sum
135
Minimum
12
Maximum
30
Geometric mean
18.4755890763
Std. deviation (population)
5.749889085
σ, divides by n
Std. deviation (sample)
6.2105900341
s, divides by n − 1
Variance (population)
33.0612244898
Variance (sample)
38.5714285714

How to calculate an average

  1. Paste your numbers. Type or paste numbers separated by commas, spaces, semicolons or new lines, for example a column copied from a spreadsheet. Don't use thousands separators: a comma always starts a new number, so 1,000 is read as 1 and 0.
  2. Read the average. The mean is shown at the top as the sum divided by the count. Below it are the median, mode, range, minimum, maximum, sum, geometric mean and standard deviations.
  3. Check ignored items. Anything that isn't a number, such as a word or a stray symbol, is listed in a notice and left out of every result.
  4. Use weighted average if needed. Switch to Weighted average and enter a value and a weight in each row, for example a grade and its credit hours. The result is Σ(value × weight) ÷ Σweight.

Features

  • Mean, median, mode (or several modes), range, minimum and maximum
  • Count and sum
  • Geometric mean when all values are positive
  • Population and sample standard deviation and variance
  • Weighted average with value and weight rows
  • Accepts commas, spaces, semicolons and new lines; lists any ignored items
  • Accurate sums for long lists (compensated summation)
  • Copy results with one click

Frequently Asked Questions

How do you calculate the average?↓

Add up all the numbers and divide by how many there are. For 12, 15, 15, 18, 21, 24 and 30 the sum is 135 and there are 7 numbers, so the average (arithmetic mean) is 135 ÷ 7 ≈ 19.29.

What is the difference between mean, median and mode?↓

The mean is the sum divided by the count. The median is the middle value after sorting, or the mean of the two middle values when the count is even. The mode is the value that appears most often; a list can have several modes or none if every value appears once. The median is less affected by outliers than the mean.

Should I use population or sample standard deviation?↓

Use the population standard deviation (σ, dividing by n) when your numbers are the whole group you care about. Use the sample standard deviation (s, dividing by n − 1) when they are a sample used to estimate a larger group. For 2, 4, 4, 4, 5, 5, 7, 9 the population SD is 2 and the sample SD is about 2.14.

How do I calculate a weighted average?↓

Multiply each value by its weight, add the results, and divide by the total of the weights. For grades 92 (4 credits), 85 (3), 78 (3) and 95 (1): (368 + 255 + 234 + 95) ÷ 11 = 952 ÷ 11 ≈ 86.55.

When is the geometric mean used?↓

The geometric mean is the nth root of the product of n positive numbers. It is the right average for growth rates and ratios, such as average investment returns over several years. It is only defined here when every value is greater than zero, so it shows n/a otherwise.

All Calculators →

Last updated: