Last updated March 2026

Average Calculator

Enter a set of numbers to calculate the mean, median, mode, range, count, and sum instantly.

What Is an Average?

An average is a single number that represents the central or typical value of a data set. In everyday language, "average" usually refers to the arithmetic mean, but statisticians recognize several different types of averages, each suited to different situations. The three most common measures of central tendency are the mean, median, and mode. Together with the range, these statistics give you a comprehensive picture of where your data is centered and how spread out it is.

Averages are used everywhere: in school grade reports, sports statistics, weather forecasts, financial analysis, scientific research, and public policy. Understanding what each type of average tells you, and when to use each one, is a fundamental skill in data literacy. A teacher calculating class performance, an investor evaluating stock returns, or a doctor reviewing patient test results all rely on averages to make informed decisions.

Mean (Arithmetic Average)

The arithmetic mean is the most commonly used average. It is calculated by adding all the values in a data set and dividing by the number of values. The formula is:

Mean = (Sum of all values) / (Number of values)

For example, given the data set 12, 15, 20, 22, 25, the mean is (12 + 15 + 20 + 22 + 25) / 5 = 94 / 5 = 18.8. The mean takes every value into account, which makes it a comprehensive measure of central tendency. However, this also makes it sensitive to outliers. If one student in a class of 20 scored 100 while the rest scored around 50, the mean would be pulled significantly upward, potentially misrepresenting the typical performance.

The mean is most useful when the data is roughly symmetric and does not contain extreme outliers. It works well for normally distributed data such as heights, weights, standardized test scores, and measurement errors. In finance, the mean return of an investment over time gives you the expected average performance, although it does not capture the risk or variability of those returns.

There are also other types of means beyond the arithmetic mean. The weighted mean assigns different weights to different values, which is useful when some data points are more important than others. For example, your GPA is a weighted mean where courses with more credit hours count more. The geometric mean multiplies all values and takes the nth root, and it is used for growth rates and ratios. The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals, and it is used for rates and ratios where the denominator varies, such as average speed over different distances.

Median

The median is the middle value of a data set when the values are arranged in ascending or descending order. If the data set has an odd number of values, the median is the single middle value. If the data set has an even number of values, the median is the average of the two middle values.

Median (odd n) = value at position (n + 1) / 2
Median (even n) = average of values at positions n/2 and n/2 + 1

For the data set 3, 7, 9, 15, 22, the median is 9 (the third value out of five). For the data set 3, 7, 9, 15, the median is (7 + 9) / 2 = 8. Unlike the mean, the median is resistant to outliers. Adding the value 1,000 to the first data set (making it 3, 7, 9, 15, 22, 1000) changes the mean dramatically from 11.2 to 176, but the median only shifts from 9 to 12.

The median is the preferred measure of central tendency for skewed distributions. Household income is a classic example: because a small number of very high earners skew the distribution to the right, the median income is typically 20% to 40% lower than the mean income and gives a more accurate picture of what a typical household earns. Real estate prices, hospital costs, and wealth distributions all share this pattern, which is why journalists and economists usually report the median rather than the mean for these topics.

The median also divides a data set into two equal halves. This property makes it the foundation for percentiles and quartiles. The 25th percentile (first quartile Q1) is the median of the lower half, the 50th percentile is the median itself, and the 75th percentile (third quartile Q3) is the median of the upper half. The interquartile range (IQR = Q3 – Q1) is a robust measure of spread that, like the median, is not affected by extreme values.

Mode

The mode is the value that occurs most frequently in a data set. A data set can have one mode (unimodal), two modes (bimodal), or more than two modes (multimodal). If no value repeats, the data set has no mode.

For the data set 2, 3, 3, 5, 7, 7, 7, 9, the mode is 7 because it appears three times, more than any other value. For the data set 1, 2, 3, 4, 5, there is no mode because every value appears exactly once. For the data set 4, 4, 6, 6, 8, both 4 and 6 are modes, making it bimodal.

The mode is the only measure of central tendency that can be used with categorical (non-numeric) data. For example, if you survey people about their favorite color and the most common answer is blue, then blue is the mode. The mode is also useful for identifying the most common shoe size in a store's inventory, the most popular product in a catalog, or the peak hour for website traffic.

In practice, the mode is less commonly used than the mean or median for continuous numerical data because many data sets either have no mode or have modes that do not provide meaningful insight. However, in quality control and manufacturing, the mode of defect types helps identify the most common failure pattern. In retail, the modal price point or modal transaction amount informs pricing strategy. And in healthcare, the modal symptom or modal diagnosis in a patient population guides resource allocation.

Range

The range is the simplest measure of spread or dispersion in a data set. It is calculated by subtracting the smallest value from the largest value:

Range = Maximum value – Minimum value

For the data set 5, 12, 8, 20, 3, the range is 20 – 3 = 17. The range gives you a quick sense of how spread out your data is, but it has an important limitation: it depends entirely on the two most extreme values and tells you nothing about the distribution of values in between. Two data sets can have the same range but very different distributions. For example, {1, 50, 50, 50, 100} and {1, 10, 50, 90, 100} both have a range of 99, but the first set is clustered at the center while the second is more evenly spread.

Because the range is so sensitive to outliers, statisticians often prefer more robust measures of spread such as the interquartile range (IQR), standard deviation, or variance. However, the range remains useful as a quick preliminary check and in certain applied contexts. In quality control, the range of a small sample is used in control charts (R-charts) to monitor process variation. In weather reporting, the daily temperature range (high minus low) is a standard metric. And in sports, the scoring range across games indicates how consistent a team's performance is.

Mean vs. Median: When to Use Each

Choosing between the mean and median depends on the shape of your data distribution and the presence of outliers. Here are practical guidelines:

As a rule of thumb, if the mean and median are close together, the distribution is roughly symmetric, and either measure works well. If they differ substantially, the median is usually the better representative of a "typical" value, and you should investigate the cause of the skewness (such as outliers or a natural upper or lower bound).

Common Mistakes When Calculating Averages

Even experienced analysts make errors when working with averages. Here are the most common pitfalls to avoid:

Averages in Everyday Life

Averages are woven into daily life in ways you may not always notice. Your grade point average (GPA) is a weighted mean of your course grades, where each grade is weighted by the number of credit hours. The batting average in baseball is the number of hits divided by the number of at-bats, expressed as a three-digit decimal. Your credit score is influenced by the average age of your credit accounts. Weather forecasts use historical averages to determine whether today's temperature is above or below normal. Economic indicators such as GDP per capita, average hourly earnings, and the Consumer Price Index (CPI) are all forms of averages that drive policy decisions.

In personal finance, understanding averages helps you budget and plan. The average monthly electricity bill over a year smooths out seasonal variation and tells you what to expect. The average return on your retirement portfolio helps you project future growth (though the geometric mean is more accurate than the arithmetic mean for compounded returns). When comparing job offers, the average salary in a field and location helps you assess whether an offer is competitive.

In sports analytics, advanced statistics go far beyond simple averages. Earned run average (ERA) in baseball, points per game (PPG) in basketball, and average time per kilometer in running are all means that let you compare performance across players, teams, and seasons. Rolling averages smooth out game-to-game fluctuations and reveal trends. Weighted averages let coaches emphasize recent performance over older results.

Frequently Asked Questions

What is the difference between mean, median, and mode?

The mean (arithmetic average) is calculated by adding all values and dividing by the count. It accounts for every data point but is sensitive to outliers. The median is the middle value when data is sorted, making it resistant to extreme values and ideal for skewed distributions. The mode is the most frequently occurring value and is the only average that works with categorical data. For symmetric data, all three measures are approximately equal. For skewed data, they diverge, and the median is typically the most representative measure of a "typical" value.

When should I use the median instead of the mean?

Use the median when your data contains outliers, is skewed, or has extreme values that would distort the mean. Common examples include household income, home prices, hospital costs, and executive compensation data. If a few very high or very low values pull the mean away from the center of the distribution, the median gives a more accurate picture of the typical value. As a quick test, if the mean and median differ by more than about 10%, the data is likely skewed and the median may be more informative.

Can a data set have more than one mode?

Yes. A data set with two modes is called bimodal, and one with more than two modes is called multimodal. For example, the data set 2, 2, 5, 7, 7 has two modes: 2 and 7. If every value appears with equal frequency, the data set is said to have no mode. Bimodal or multimodal distributions often suggest that the data comes from two or more distinct groups or populations, and further investigation is usually warranted.

How does the range differ from standard deviation?

The range is the difference between the largest and smallest values, making it simple but dependent on only two data points. Standard deviation measures the average distance of all data points from the mean, providing a more comprehensive picture of data spread. The range can be misleading when outliers are present because a single extreme value inflates it. Standard deviation is less affected by individual outliers relative to the data size and is the standard measure of variability in statistics, finance, and science.

Why is my mean different from what I expected?

The most common reasons are: outliers pulling the mean in one direction, accidentally including or excluding data points, or confusing the arithmetic mean with a weighted or geometric mean. Double-check your data for typos or duplicate entries, verify that all values have been included, and consider whether a weighted mean or geometric mean is more appropriate for your situation. If the mean seems unrepresentative, calculate the median to see whether it gives a better picture of the typical value.

Related Calculators