Free calculators tool

Paste a list of numbers and read six summary figures at once

Students, teachers and anyone with a column of figures: paste the numbers in any order and the tool reports the arithmetic mean, median, count, sum, minimum and maximum as you type.

Mean and median side by sideCommas, spaces, semicolons or new linesCount shown so you can check the parse
Average Calculator

Paste or type a list of numbers. The mean, median, count, sum, minimum and maximum update as you type.

Runs on your device
21
Mean
21
Median
4
Count
84
Sum
12
Minimum
30
Maximum

What the Average Calculator does

The Average Calculator reads a list of numbers from a single text box and summarizes it with six figures: the arithmetic mean, the median, the count of values, their sum, and the smallest and largest values. Separate the numbers with commas, spaces, semicolons, tabs or line breaks; any mix works.

The example list 12, 18, 24, 30 has a count of 4, a sum of 84, a mean of 21 and a median of 21, with a minimum of 12 and a maximum of 30. Replace it with your own values and the figures update on every keystroke.

Only tokens that read as finite numbers are used. Anything else, such as a currency sign or a word, is dropped silently, so the Count figure is your check that every value was recognized. Results are shown to up to six decimal places and nothing you paste leaves your browser.

How to use it

Paste or type the numbers

Put the values in the text box separated by commas, spaces, semicolons or new lines. Negative numbers and decimals are fine.

Check the count

Compare the Count figure with the number of values you expected. A lower count means some entries were not read as numbers.

Read the six results

Use the mean for a typical value when the data is evenly spread and the median when a few very large or small values would pull the mean.

What each figure means and how it is calculated

The mean is the sum of all values divided by the count, as defined in the Wikipedia article on the arithmetic mean. The median is the middle value after sorting; with an even count it is the average of the two middle values, the convention described in the Wikipedia article on the median. Minimum and maximum are the smallest and largest values; subtract one from the other yourself to get the range.

Mean and median tell different stories when the data is skewed. For the values 10, 12, 14 and 100 the mean is 34 but the median is 13. The mean is pulled toward the single large value; the median describes the typical entry. Report whichever matches your question, or both.

Each result is rounded to six decimal places for display and formatted with your browser's locale, so a mean of one third shows as 0.333333. Count is always a whole number.

Which text is read as a number

The box is split on commas, spaces, semicolons, tabs and line breaks, and each piece is converted with the browser's Number function, documented on MDN. Plain integers, decimals such as 3.75 or .5, negatives such as -12 and exponent notation such as 1e3 are all accepted.

Thousands separators break numbers apart: 1,000 is read as two values, 1 and 0, because the comma is a separator. Remove grouping commas before pasting, or the sum and count will be wrong. Decimal commas, as used in many European locales, have the same problem: 3,5 becomes 3 and 5. Replace them with points.

Tokens with a currency sign, a percent sign or letters, such as $5, 20% or 12kg, are not numbers and are dropped. Hexadecimal strings such as 0x10 are accepted by the Number function and become 16, so clean exported data before pasting.

  • Accepted: 42, -7, 3.75, .5, 1e3
  • Dropped: $5, 20%, 12kg, N/A
  • Split in two: 1,000 (read as 1 and 0) and 3,5 (read as 3 and 5)

What the tool does not compute

There is no mode, standard deviation, variance, weighted mean or percentile. For a weighted average, multiply each value by its weight, paste the products to get their sum, then divide by the total of the weights. Grade averages with credit weights work the same way.

The tool treats every value as a plain number. It does not understand units, dates or times, so to average durations convert them to minutes first; the Time Duration Calculator on this site gives the minutes for each interval.

Limits to know before you rely on it

  • Grouping commas and decimal commas split a number in two; use points for decimals and remove thousands separators.
  • Entries that are not plain numbers are dropped without a warning; check the Count figure.
  • Mode, standard deviation, variance and weighted averages are not computed.
  • Results are rounded to six decimal places on screen.
  • Very long lists are processed in your browser and may become slow on a low-powered device.

Questions people ask about the Average Calculator

How do I find the average of a set of numbers?

Paste them into the box separated by commas, spaces or new lines. The Mean figure is their sum divided by their count. For 7, 9 and 14 the sum is 30, the count is 3 and the mean is 10.

What is the difference between mean and median?

The mean adds every value and divides by the count; the median is the middle value once the list is sorted. They agree for evenly spread data and differ when a few values are far from the rest. For 10, 12, 14 and 100 the mean is 34 and the median is 13.

How is the median calculated when there is an even number of values?

The two middle values are averaged. For 12, 18, 24 and 30 the middle values are 18 and 24, so the median is 21. With an odd count the single middle value is used.

Why is the count lower than the number of values I pasted?

Some entries were not recognized as numbers. Common causes are currency signs, percent signs, units attached to the figure, or words such as N/A. Remove those characters and the count should match.

Can I paste numbers with thousands separators like 1,000?

Not as written. The comma is treated as a separator, so 1,000 becomes 1 and 0. Delete grouping commas first, or copy the column from a spreadsheet with number formatting turned off.

Does the tool calculate the range or standard deviation?

It shows the minimum and maximum; subtract them to get the range. Standard deviation, variance and mode are not computed, so use a spreadsheet for those.

Sources and further reading