Average Calculator
Paste or type a list of numbers to get the average (mean) instantly, along with the sum, median, mode, minimum, maximum, and range.
| Median | 18 |
| Mode | 18 |
| Minimum | 9 |
| Maximum | 30 |
| Range | 21 |
How to use this calculator
Enter your numbers separated by commas, spaces, or new lines. The calculator shows the average (mean), sum, and count up top, plus the median, mode, min, max, and range below. You can paste a column directly from a spreadsheet — any whitespace or commas between values are treated as separators.
How the average (mean) works
The arithmetic mean is the most common way to describe the "center" of a data set. You add all the values together and divide by how many values there are. It is sensitive to outliers: one very large or very small number can pull the mean far from what most people would consider typical. When your data is skewed, the median or mode may give a more honest picture.
There are other types of averages — the geometric mean (used for growth rates and ratios) and the harmonic mean (used for speeds and rates) — but the arithmetic mean is what "average" almost always means in everyday conversation.
Mean vs. median vs. mode
These three measures of central tendency each answer a slightly different question:
- Mean — the balancing point of the data. Best when values are roughly symmetrically distributed without extreme outliers.
- Median — the middle value. Best when the data is skewed or has outliers, such as house prices or salaries.
- Mode — the most common value. Useful for categorical or discrete data, like finding the most popular shoe size.
Worked examples
Example 1 — symmetric data
Data: 10, 20, 30, 40, 50
- Sum = 150, Count = 5, so Mean = 150 ÷ 5 = 30
- Sorted list: 10, 20, 30, 40, 50. Middle value: Median = 30
- Each value appears once, so there is no mode
- Range = 50 − 10 = 40
When data is symmetric and free of outliers, the mean and median are the same (or very close).
Example 2 — data with an outlier
Data: 12, 18, 24, 30, 18, 9, 200
- Sum = 311, Count = 7, so Mean ≈ 44.4
- Sorted: 9, 12, 18, 18, 24, 30, 200. Middle value: Median = 18
- 18 appears twice, so Mode = 18
- Range = 200 − 9 = 191
The single outlier (200) drags the mean up to 44.4, far above six of the seven values. The median of 18 is a far better description of a typical value in this set.
Example 3 — even number of values and the median
Data: 5, 11, 14, 22
- Sum = 52, Count = 4, so Mean = 52 ÷ 4 = 13
- Two middle values are 11 and 14, so Median = (11 + 14) ÷ 2 = 12.5
- Range = 22 − 5 = 17
Common mistakes to avoid
- Confusing mean and median. Reporting the mean when data is skewed can be misleading. If someone asks for the "average" salary but the data includes a few multi-million-dollar earners, the median is a more representative answer.
- Dividing by the wrong count. Make sure you divide by the number of data points, not the number of categories or groups.
- Forgetting to include all values. Accidentally omitting a value changes both the sum and the count, compounding the error.
- Treating the mode as always meaningful. With small or continuous data sets, every value may appear only once, making the mode undefined or unhelpful.
- Mixing up range and standard deviation. The range only looks at two values (max and min), so it is heavily influenced by outliers. Standard deviation considers every value and gives a fuller picture of spread.
The formula
Mean = (x₁ + x₂ + … + xₙ) ÷ n
Median = middle value of sorted list (or average of two middle values if n is even)
Range = Maximum − Minimum
How we calculate this
Frequently asked questions
How do you calculate the average?
Add up all the numbers, then divide by how many numbers there are. The average (mean) of 12, 18, and 24 is (12+18+24) ÷ 3 = 18.
What's the difference between mean, median, and mode?
The mean is the sum divided by the count. The median is the middle value when the numbers are sorted. The mode is the most frequently occurring value. This calculator shows all three, so you can pick the measure that best represents your data.
What is the range?
The range is the difference between the largest and smallest numbers. For 9, 18, 30 the range is 30 − 9 = 21. It is a quick measure of how spread out the data is, though it is sensitive to extreme outliers.
Can I paste a column of numbers?
Yes. You can separate values with commas, spaces, or new lines, so pasting a column from a spreadsheet works fine.
When should I use the median instead of the mean?
Use the median when your data has outliers or a skewed distribution. For example, household income data often uses the median because a small number of very high earners would inflate the mean and make it unrepresentative of a typical household.
What if there is no mode?
If every number in the list appears exactly once, there is no mode. If two or more values tie for the most appearances, the data set is multimodal and all tied values are modes.
How do I find the median with an even number of values?
Sort the numbers, then average the two middle values. For example, the median of 4, 7, 10, 15 is (7 + 10) ÷ 2 = 8.5.
What is the difference between average and weighted average?
A simple average treats every value equally. A weighted average assigns a different importance (weight) to each value and is commonly used for things like grade point averages, where individual courses carry different credit hours.