Average Calculator
Calculate the average (arithmetic mean), median, mode, range, sum and count for a set of numbers. See the full calculations, sorted values and a data distribution chart.
Enter your numbers
Paste numbers separated by commas, spaces or new lines. Your data stays in your browser.
Enter 1–500 numbers. Negative numbers, decimals and scientific notation are supported. Do not use commas as thousands separators.
Calculator script not loaded
Results
All values are calculated from the numbers entered.
Results are rounded for display; calculations use the input values.
Step-by-step average calculation
Follow the sum, count, average, sorted median, repeated values and range.
Sorted values and frequencies
| Value (ascending) | Frequency | Percentage of data |
|---|---|---|
| Calculate to see the data table. | ||
The table groups repeated values together.
Data distribution chart
The chart shows how your values are distributed.
What Is an Average Calculator?
An average calculator finds a representative value from a set of numbers. In everyday mathematics, the word average usually means the arithmetic mean: add all numbers and divide by how many numbers there are. The mean helps summarize test scores, daily sales, measurements, prices, journey times and other numerical observations. The calculator above also reports the median, mode, minimum, maximum and range, because an average by itself does not explain the entire data set.
For example, if the values are 10, 20, 30, 40 and 50, their total is 150. There are five numbers, so the average is 150 divided by five, or 30. This is the same result you would get by sharing the total equally among five groups. Not every real data set has such neatly spaced numbers, which is why the additional statistics and sorted table are useful.
Average Formula: How to Find the Arithmetic Mean
To calculate the arithmetic mean, first check that your values use comparable units. Add all the values, including any negative numbers. Count every observation, including repeated values and zeros. Finally, divide the sum by that count. The calculator displays these operations in its worked steps. If the average has more decimal places than your selected precision, the display rounds the answer, while the underlying calculations retain the available numerical precision.
Worked example
Suppose a student records five quiz scores: 72, 80, 84, 88 and 96. The sum is 420, and the count is five. Dividing 420 by five gives an average score of 84. If another quiz score of 60 is added, the total becomes 480 and the count becomes six, making the new average 80. Adding a value below the previous average reduces the mean; adding a value above it increases the mean.
Mean vs. Median vs. Mode
The mean is the arithmetic average. The median is the middle number once the values have been sorted from smallest to largest. If there are an even number of observations, the median is the average of the two central values. The mode is the value that occurs most frequently. A data set may have one mode, several modes or no mode when every value appears only once.
Consider the numbers 2, 3, 3, 4 and 18. Their mean is 6, their median is 3 and their mode is 3. The high value of 18 pulls the mean above most observations. For skewed data, such as income or property prices, the median can sometimes better describe a typical observation. Neither measure is universally better; choose the one that answers your question.
How to Calculate the Median
Start by sorting the numbers into ascending order. When the number of observations is odd, select the central value. For instance, 4, 8 and 12 have a median of 8. When the count is even, take the arithmetic mean of the two middle values: the median of 4, 8, 12 and 20 is (8 + 12) ÷ 2 = 10. The calculator shows the sorted positions in the step-by-step solution, so you can verify its answer rather than only reading a final result.
How to Find the Mode
The mode is the most common value. For 5, 5, 7 and 9, the mode is 5 because it appears twice. For 3, 3, 8, 8 and 10, the modes are 3 and 8: both appear twice, more often than any other number. When all numbers appear once, this calculator reports “No mode.” Mode can be helpful for counts and repeated measurements, but it is less useful for lists in which almost every measurement is distinct.
Range, Minimum and Maximum
The range measures the distance between the largest and smallest recorded values. It is calculated as maximum minus minimum. For the values −5, 0, 4 and 10, the range is 10 − (−5) = 15. The range is easy to understand, but one unusually large or small value can change it considerably. If you need a fuller picture of variability, the Standard Deviation Calculator is a useful companion tool.
Working with Negative Numbers, Decimals and Zeros
Negative numbers must retain their signs when added. For −10, 0 and 10, the total and mean are both zero. A zero is a real observation and must be included in the count. Decimal inputs such as 2.5, 3.5 and 4.5 produce a mean of 3.5. You can paste numbers separated by commas, spaces or line breaks, but don’t add thousands separators inside a value: typing 1,500 will be interpreted as two numbers, 1 and 500, rather than one thousand five hundred.
When Should You Use a Weighted Average Instead?
The arithmetic mean gives every value equal importance. A weighted average assigns different importance to different values. For instance, if coursework counts for 40% of a grade and the final examination counts for 60%, a simple mean of the two scores would not reflect the grading rules. Weighted averages require both the values and their weights, so they are better calculated with a dedicated weighted-average tool rather than treating weights as ordinary observations.
Frequently Asked Questions
How do I calculate the average of a list of numbers?
Add all the values and divide by the number of values. The calculator displays the sum, count, formula and result automatically.
Is mean the same as average?
In many everyday calculations, average means arithmetic mean. In broader statistics, average can also refer to other measures of central tendency, such as median and mode.
Can the average be negative?
Yes. For example, the mean of −8 and −2 is −5. Negative values are included in the sum just like positive values.
What happens if there is no mode?
If every value occurs only once, the calculator reports “No mode.” If several values share the highest frequency above one, they are all displayed as modes.
Can I calculate the average with one number?
Yes. The mean and median equal that number, the range is zero, and the result has one observation.
Does rounding change the calculation?
The selected decimal setting controls how results appear. Statistics are calculated using JavaScript’s numeric precision before display rounding.
