Find the average of any list of numbers in seconds. Type or paste your numbers — separated by commas, spaces or line breaks — then press Calculate. The tool shows the mean (average) as the headline result, plus the count, sum, minimum, maximum and median. It runs entirely in your browser: free, instant, no sign-in.
Separate numbers with commas, spaces or line breaks — for example: 2, 4, 6, 8
How the average calculator works
The average — the mean — is the sum of all your numbers divided by how many there are: average = sum ÷ count. For 2, 4, 6, 8 the sum is 20 and the count is 4, so the average is 20 ÷ 4 = 5. The calculator also shows the median: sort the numbers and take the middle one (or the average of the two middle ones when there is an even count). For 2, 4, 6, 8 the two middle values are 4 and 6, so the median is (4 + 6) ÷ 2 = 5.
A single number is a valid list — its average, median, minimum and maximum are all that number. Empty input shows a clear error instead of a fake result, and any entry that is not a number is named in the error message rather than being silently dropped.
The Average Calculator finds the average of any list of numbers you give it. Type or paste your numbers — separated by commas, spaces or line breaks — press Calculate, and it shows the mean (average) as the headline result, plus the count, sum, minimum, maximum and median. It runs entirely in your browser, so nothing you enter is uploaded anywhere and there is no sign-in and no limit on how often you use it.
The average is the sum of your numbers divided by how many there are: average = sum ÷ count. For 2, 4, 6, 8 the sum is 20 and the count is 4, so the average is 20 ÷ 4 = 5. The calculator also shows the median — the middle value when the numbers are sorted — which is useful when one very large or very small number would pull the average away from the typical value. For 1, 2, 3, 4, 100 the average is 22 but the median is 3, and the median is the better picture of a typical value in that list.
How to use the calculator, step by step
There is one input box and one button. Everything is worked out the moment you press Calculate.
- Step 1 — Enter your numbers. Type or paste them into the box, separated by commas, spaces or line breaks — for example 2, 4, 6, 8. A column of numbers pasted from a spreadsheet works as it is, because each line break counts as a separator.
- Step 2 — Press Calculate. The result appears straight away: the average in large type, with the count, sum, minimum, maximum and median underneath, plus the maths behind it so you can check the figures at a glance.
- Step 3 — Read the results. The big number is the average (mean). The count tells you how many numbers you entered, the sum is their total, the minimum and maximum are the smallest and largest values, and the median is the middle value of the sorted list.
- Step 4 — Clear and start again. The Clear button empties the box and the results, ready for a new list.
How the maths works
Five results come from one list, and each has its own simple formula:
- Average (mean) = sum ÷ count. Add all the numbers, then divide by how many there are. For 2, 4, 6, 8 the sum is 20 and the count is 4, so the average is 20 ÷ 4 = 5.
- Count = how many numbers you entered. The list 2, 4, 6, 8 has a count of 4; the list 10, 20, 30 has a count of 3.
- Sum = all the numbers added together. The sum of 2, 4, 6, 8 is 2 + 4 + 6 + 8 = 20. The sum of 10, 20, 30 is 60.
- Minimum and maximum = the smallest and largest values. For 5, 1, 9 the minimum is 1 and the maximum is 9. For 2, 4, 6, 8 the minimum is 2 and the maximum is 8.
- Median = the middle value of the sorted list. Sort the numbers first. With an odd count, take the middle one: for 5, 1, 9 the sorted list is 1, 5, 9 and the median is 5. With an even count, take the average of the two middle values: for 2, 4, 6, 8 the two middle values are 4 and 6, so the median is (4 + 6) ÷ 2 = 5.
The calculator rounds displayed results to 10 decimal places, which is enough to remove floating-point noise — 0.1 + 0.2 shows as 0.3, not 0.30000000000000004 — while keeping every decimal you actually need. Whole-number results show as whole numbers: an average of exactly 5 shows as 5, not 5.0000000000.
Worked examples
Example 1 — 2, 4, 6, 8. The sum is 2 + 4 + 6 + 8 = 20 and the count is 4, so the average is 20 ÷ 4 = 5. The minimum is 2, the maximum is 8, and the median is (4 + 6) ÷ 2 = 5.
Example 2 — 10, 20, 30. The sum is 10 + 20 + 30 = 60 and the count is 3, so the average is 60 ÷ 3 = 20. The minimum is 10, the maximum is 30, and the median is 20 — the middle value of the sorted list 10, 20, 30.
Example 3 — 5, 1, 9. The sum is 5 + 1 + 9 = 15 and the count is 3, so the average is 15 ÷ 3 = 5. The minimum is 1, the maximum is 9, and the sorted list is 1, 5, 9, so the median is 5.
Example 4 — 3, 7. The sum is 3 + 7 = 10 and the count is 2, so the average is 10 ÷ 2 = 5. The minimum is 3, the maximum is 7, and with an even count the median is the average of the two middle values: (3 + 7) ÷ 2 = 5.
Example 5 — 1.5, 2.5. The sum is 1.5 + 2.5 = 4 and the count is 2, so the average is 4 ÷ 2 = 2. The median is also 2: (1.5 + 2.5) ÷ 2 = 2. Decimals work exactly like whole numbers.
Example 6 — test scores 78, 85, 92, 88, 90. The sum is 78 + 85 + 92 + 88 + 90 = 433 and the count is 5, so the average score is 433 ÷ 5 = 86.6. The minimum is 78, the maximum is 92, and the sorted list is 78, 85, 88, 90, 92, so the median is 88.
Example 7 — negative numbers -4, -2, 0, 6. The sum is -4 + -2 + 0 + 6 = 0 and the count is 4, so the average is 0 ÷ 4 = 0. The minimum is -4, the maximum is 6, and the sorted list is -4, -2, 0, 6, so the median is (-2 + 0) ÷ 2 = -1.
Example 8 — one number, 42. A single number is a valid list: the count is 1, the sum is 42, the average is 42 ÷ 1 = 42, and the minimum, maximum and median are all 42.
Common mistakes
- Forgetting a number in the sum. The average divides the sum by the count, so missing one number throws both figures off. For 2, 4, 6, 8 the sum is 20 and the average is 5 — but if you forget the 8, the sum is 12 and the average of the three numbers you kept is 4. Count your numbers before you calculate.
- Dividing by the wrong count. Divide by how many numbers there are, not by the largest number or by the number of digits. For 10, 20, 30 the count is 3, so the average is 60 ÷ 3 = 20 — not 60 ÷ 30.
- Taking the median without sorting. The median is the middle value of the sorted list, not the middle value of the list as you typed it. For 5, 1, 9 the typed middle is 1, but the sorted list is 1, 5, 9 and the median is 5. Sort first, then take the middle.
- Using the average when the median is the better measure. One very large value pulls the average up: for 1, 2, 3, 4, 100 the average is 22 but the median is 3, and 3 is the better picture of a typical value. When a list has an outlier, look at the median as well as the average.
- Mixing units. The average of 2 hours and 30 minutes is not (2 + 30) ÷ 2 = 16 of anything — convert to one unit first (2 hours = 120 minutes, so the average of 120 and 30 minutes is 75 minutes). The calculator averages the numbers you give it; it cannot know they are in different units.
Related tools
The average calculator sits in the Math Tools group, and three companion tools cover the rest of everyday number maths.
- Percentage Calculator — work out any percentage, percentage increase or decrease, or what percentage one number is of another.
- Ratio Calculator — simplify ratios and work out missing values in a proportion.
- LCM & GCF Calculator — find the lowest common multiple and greatest common factor of two or more numbers.
For all of ToolZana’s free tools, start at the ToolZana home page.
The short version
The Average Calculator finds the average of any list of numbers as sum ÷ count: for 2, 4, 6, 8 the sum is 20 and the count is 4, so the average is 5, with a median of 5, a minimum of 2 and a maximum of 8. For 10, 20, 30 the average is 20 and the median is 20. For 5, 1, 9 the average is 5, the median is 5, the minimum is 1 and the maximum is 9. For 3, 7 the average is 5 and the median is 5. For 1.5, 2.5 the average is 2. A single number is a valid list — its average, median, minimum and maximum are all that number. The tool is free, runs entirely in your browser, and needs no sign-in.
Frequently Asked Questions
What is an average calculator?
An average calculator finds the average (mean) of a list of numbers: it adds the numbers together and divides by how many there are. The ToolZana average calculator also shows the count, sum, minimum, maximum and median of your list, so you get the full picture of your numbers in one place. It is free, runs entirely in your browser, and needs no sign-in.
How do I calculate the average of a list of numbers?
Add all the numbers together to get the sum, then divide the sum by how many numbers there are. For 2, 4, 6, 8 the sum is 20 and there are 4 numbers, so the average is 20 ÷ 4 = 5. The calculator does both steps for you: type or paste your numbers separated by commas, spaces or line breaks, press Calculate, and the average appears at the top of the results.
What is the average of 2, 4, 6 and 8?
The average of 2, 4, 6 and 8 is 5. The sum is 2 + 4 + 6 + 8 = 20 and the count is 4, so 20 ÷ 4 = 5. The median is also 5 — the two middle values of the sorted list are 4 and 6, and (4 + 6) ÷ 2 = 5. The minimum is 2 and the maximum is 8.
How do I find the median of a list of numbers?
Sort the numbers from smallest to largest, then take the middle one. If there is an odd count, the median is the middle value: for 5, 1, 9 the sorted list is 1, 5, 9 and the median is 5. If there is an even count, the median is the average of the two middle values: for 2, 4, 6, 8 the two middle values are 4 and 6, so the median is (4 + 6) ÷ 2 = 5. The calculator shows the median with every result, so you do not have to sort by hand.
What is the difference between mean and median?
The mean is the average: the sum of all the numbers divided by how many there are. The median is the middle value of the sorted list. They are often close — for 2, 4, 6, 8 both are 5 — but an outlier pulls them apart: for 1, 2, 3, 4, 100 the mean is 22 while the median is 3. The mean uses every value, so one very large or very small number moves it; the median ignores how extreme the ends are and shows the typical middle value.
Can I average a single number?
Yes. A single number is a valid list: the count is 1, the sum is that number, and the average is the number divided by 1, which is the number itself. The minimum, maximum and median are all the same number too. For example, entering just 42 gives an average of 42, a median of 42, a minimum of 42 and a maximum of 42.
How do I average decimal numbers?
Decimals work exactly like whole numbers: add them up and divide by the count. For 1.5 and 2.5 the sum is 4 and the count is 2, so the average is 4 ÷ 2 = 2. For 1.5, 2.5 and 3.5 the sum is 7.5 and the count is 3, so the average is 7.5 ÷ 3 = 2.5. The calculator accepts decimals with a point, such as 1.5 or 0.25, and shows the result rounded to 10 decimal places to remove floating-point noise.
Can I average negative numbers?
Yes. Negative numbers are added and divided just like positive ones. For -4, -2, 0, 6 the sum is 0 and the count is 4, so the average is 0 ÷ 4 = 0. The minimum is -4, the maximum is 6, and the median is -1 — the sorted list is -4, -2, 0, 6, and the average of the two middle values (-2 and 0) is -1. Type negative numbers with a minus sign, for example -4.
What happens if I enter a word instead of a number?
The calculator shows a clear error naming the entry it could not read, and no result — it never silently drops a bad entry, because dropping one would change the average without telling you. For example, entering “5, x, 7” gives the message that “x” is not a number. Fix or remove that entry and press Calculate again. Empty entries are different: a trailing comma or a doubled separator, such as “2, 4, 6,” or “2,, 4”, is simply ignored and does not cause an error.
How do I average a column of numbers?
Paste the column straight into the input box. Line breaks count as separators, just like commas and spaces, so a column copied from a spreadsheet or a document works as it is — one number per line, no reformatting needed. You can also mix separators in the same list: “2, 4 6” and a column of 2, 4, 6 on separate lines all give the same result.
How do I calculate my average test score?
Enter all your test scores as one list and read the average. For scores of 78, 85, 92, 88 and 90, the sum is 433 and the count is 5, so the average is 433 ÷ 5 = 86.6. The calculator also shows the median (88), the lowest score (78) and the highest score (92), which together tell you more than the average alone. This works for any set of scores, grades or marks — just enter the numbers as they are, without a % sign.
Is the average calculator free?
Yes — the Average Calculator is completely free, with no sign-in and no limits. It runs entirely in your browser, so nothing you enter is uploaded anywhere, and you can use it as often as you like, for lists of any size.