Average Calculator
How to use this average calculator
- Type or paste your numbers into the input box above.
- Separate values with commas, spaces, semicolons, or new lines - any combination works.
- The mean, median, mode, and all other statistics update instantly as you type.
- Scroll to the Step-by-step section to see exactly how each statistic was derived.
How to calculate mean, median, and mode
Mean (arithmetic average)
Add all the values together and divide by how many there are. The formula is written as:
Where x1, x2, ..., xn are the individual values and n is the total count. This is the most common type of average calculation used in grades, finance, and science.
Median (middle value)
Sort all values from smallest to largest. The median is the value that falls exactly in the middle of the sorted list.
- Odd count: The median is the single middle value. With 5 values, it is the 3rd value.
- Even count: There is no single middle value. Average the two values closest to the centre.
Mode (most frequent value)
Count how many times each value appears. The mode is the value with the highest frequency. If no value repeats, there is no mode. If two or more values tie for the highest frequency, all of them are modes.
What is an average? The concept explained
An average summarises a collection of numbers as a single representative value. When someone says "the average temperature this week was 22 degrees," they are replacing seven different daily readings with one number that captures the overall tendency. This compression of information is what makes averages so useful - and so widely used.
The word "average" in everyday language nearly always refers to the arithmetic mean. But statisticians recognise several types of average, each suited to different situations. The arithmetic mean, median, and mode are the three you encounter most often. Collectively, they are called measures of central tendency because each one tries to answer the same question: where do the values in this dataset tend to cluster?
Understanding all three is important because they can give very different answers for the same dataset. A property developer reporting "average home prices" in a neighbourhood might quote the mean (inflated by a few luxury properties) while a buyer's agent quotes the median (closer to what most buyers actually pay). Same numbers - completely different story.
Interpreting your statistics
When mean and median are close together
If your mean and median are similar, your data is roughly symmetric - values are spread fairly evenly around the centre. The mean is a reliable summary in this case.
When mean and median differ significantly
A large gap between mean and median signals that your data is skewed or contains outliers. If the mean is higher than the median, a few large values are pulling it up. If the mean is lower, a few small values are pulling it down. In skewed data, the median is the more honest measure of the "typical" value.
When there is no mode
No mode simply means every value in your dataset is unique - none repeats. This is common with continuous measurements (height, weight, test scores with many possible values). Mode is most meaningful in datasets where values repeat, such as survey responses or count data.
What range tells you
Range (max minus min) is the simplest measure of spread. A large range means your values are widely scattered; a small range means they are clustered tightly together. Range alone is a rough guide - it only looks at the two extremes and ignores everything in between.
Real-world average calculation examples
Grade point average (GPA)
A student scores 72, 85, 90, 68, and 95 across five subjects.
- Sum = 72 + 85 + 90 + 68 + 95 = 410
- Count = 5
- Mean = 410 / 5 = 82
- Sorted: [68, 72, 85, 90, 95] => Median = 85
- No mode (all values are unique)
The student's average grade is 82. The median of 85 shows that more than half of the scores are above 82 - the lower outlier (68) is pulling the mean down slightly.
Monthly sales performance
A salesperson's monthly revenue (in $000): 42, 38, 55, 42, 60, 38, 42.
- Sum = 317, Count = 7
- Mean = 317 / 7 = $45.3k
- Sorted: [38, 38, 42, 42, 42, 55, 60] => Median = $42k (middle of 7)
- Mode = $42k (appears 3 times)
Here the mode is especially informative - 42 is the most common monthly result and aligns well with the median. The mean is pulled upward slightly by the two high-performing months.
Daily step counts
Steps over six days: 7,200 | 8,400 | 6,100 | 9,000 | 7,800 | 8,400.
- Sum = 46,900 / 6 = Mean = 7,817 steps
- Sorted: [6100, 7200, 7800, 8400, 8400, 9000] => Median = (7800 + 8400) / 2 = 8,100 steps
- Mode = 8,400 steps
The low-activity day (6,100 steps) pulls the mean below the median. If you are judging your typical activity level, the median or mode gives a more representative answer than the mean.
Quick tips for working with averages
- Small datasets: With 3 to 5 values, the mean and median often differ noticeably. Check both before concluding anything.
- Outliers present? One very high or very low value can dramatically shift the mean. If you spot outliers, report both mean and median.
- All negatives? Averages work fine with negative numbers. The mean can be negative if most values are below zero.
- Repeated values: When values cluster around one number, the mode can be more informative than either mean or median.
- Even count: With an even number of values, the median will be a number that may not appear in your original dataset at all - that is normal.
Common average calculation mistakes
Using the mean when data is skewed
If you have a dataset like [5, 6, 7, 8, 94], the mean is 24 - but four of the five values are below 10. The median (7) is a far better description of this dataset. Always check whether your data has extreme outliers before relying on the mean.
Confusing "average" with "typical"
Mean average does not always tell you what is typical. In salary data, a small number of very high earners raise the mean significantly above what most workers earn. "The average salary at this company is $120k" can be true while most employees earn $65k, if a handful of executives earn several million.
Averaging averages
You cannot simply average two averages to get the combined average of both groups unless the groups are the same size. Class A (20 students) scored a mean of 70; Class B (5 students) scored a mean of 90. The combined mean is not 80 - it is (20x70 + 5x90) / 25 = 74. This requires a weighted average calculation.
Forgetting to sort before finding median
The median is the middle value of a sorted list, not a raw unsorted list. The median of [3, 9, 1] is 3 (from sorted [1, 3, 9]), not 9 (the middle position of an unsorted list). This calculator sorts automatically, but when doing it by hand, sorting first is essential.