Skip to content

Average Calculator

Paste a list of numbers and get the mean, median, mode, range, sum, count, minimum, maximum, variance and both sample and population standard deviation. The formulas are shown with your own numbers, so it doubles as a checker for statistics homework.

Runs in your browserFreeNo sign-up

Processed on your device. Files and text stay in your browser and are not uploaded to our servers. How privacy works

How to use the average calculator

  1. Paste or type numbers separated by commas, spaces, semicolons or new lines. Decimal points and negative numbers are fine.
  2. Read the mean at the top, with median, mode, range, sum and standard deviation in the tiles below.
  3. Check the formula box to see how each value was calculated from your list.
  4. Use “Copy all” to grab every statistic in one line.

Features

  • Mean, median and mode (including several modes or none)
  • Range, minimum, maximum, sum and count
  • Sample (n − 1) and population (n) standard deviation and variance
  • Accepts commas, spaces, semicolons and line breaks; flags anything that isn't a number
  • Formulas shown step by step with your numbers

The formulas

For a list of n values x₁ … xₙ:

  • Mean (average) = sum of all values ÷ n.
  • Median = the middle value after sorting; with an even count, the average of the two middle values.
  • Mode = the value(s) that appear most often. If every value appears once there is no mode.
  • Range = maximum − minimum.
  • Population variance σ² = Σ(x − mean)² ÷ n; population standard deviation σ = √σ².
  • Sample variance s² = Σ(x − mean)² ÷ (n − 1); sample standard deviation s = √s².

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9: the sum is 40 and n is 8, so the mean is 5. The sorted middle values are 4 and 5, so the median is 4.5. The mode is 4 (appears three times). The range is 9 − 2 = 7. The squared deviations from the mean add up to 32, so the population variance is 32 ÷ 8 = 4 and σ = 2; the sample variance is 32 ÷ 7 ≈ 4.571 and s ≈ 2.138.

Sample or population?

Use the population figures when your list is the entire group you care about (every student in one class). Use the sample figures when the list is a sample drawn from a larger group and you want to estimate that group's spread; dividing by n − 1 corrects the bias of a small sample. Spreadsheet functions STDEV.S and STDEV.P correspond to the sample and population values here.

Frequently asked questions

What is the difference between mean, median and mode?

The mean is the arithmetic average, the median is the middle value when sorted, and the mode is the most frequent value. The median is less affected by a few very large or small values, which is why it is used for things like house prices and salaries.

Which standard deviation should I use?

Sample standard deviation (divides by n − 1) when your numbers are a sample of a bigger population; population standard deviation (divides by n) when they are the whole population. Textbook exercises usually say which one they want.

Why were some of my entries ignored?

Anything that isn't a plain number is skipped and listed above the results. Use a dot as the decimal separator, avoid thousands separators like 1,000 (the comma is read as a separator between numbers), and remove units or currency symbols.

How many numbers can I enter?

Tens of thousands is fine; the calculation runs instantly in your browser and nothing is uploaded.

Other tools people use alongside Average Calculator.

You might also like

Something useful from another corner of VoltKit.