How to calculate the mean (average)
The mean, commonly known as the average, is calculated by adding all the values in a dataset together and dividing the total by the number of values.
Formula
x-bar represents the mean, x1 through xn are the individual data values, and n is the total number of values.
Calculator
How to Calculate the Mean Step by Step
To find the mean, start by adding every number in your set to get the total sum. Next, count how many numbers are in the set. Finally, divide the total sum by the count of numbers.
For example, to find the mean of 4, 8, 15, 16, 23, and 42, add them together: 4 + 8 + 15 + 16 + 23 + 42 = 108. Since there are 6 numbers, divide 108 by 6 to get a mean of 18.
This arithmetic mean provides a single central value that represents the entire group of numbers.
When and Where the Mean Is Used
The mean is the most widely used measure of central tendency in both school and everyday life. Teachers use it to calculate grade point averages and exam scores, while scientists use it to summarize experimental data.
In everyday life, you encounter the mean when looking at average monthly rainfall, sports player statistics, fuel economy, or household utility bills.
Use the mean when your data values are evenly distributed without extreme values. If your data contains severe outliers, the median may give a more accurate picture of the typical value.
Common Mistakes to Avoid
The most frequent error occurs when entering numbers into a standard calculator without pressing equals before dividing. Typing 4 + 8 + 12 / 3 calculates 4 + 8 + 4, because the calculator divides the last number first due to standard order of operations. Always find the total sum first.
Another common mistake is ignoring zeros. If zero is part of the data set, you must include it in your count (n). Leaving out zero artificially inflates your average.
Students also frequently mix up the mean with the median (the middle value) and the mode (the most frequent value).
Quick Mental Checks and Estimation Tricks
A quick way to check your work is to verify that your answer lies strictly between the lowest and highest values in your list. The mean of 4, 8, 15, 16, 23, and 42 must fall between 4 and 42; if your result is 108 or 3, you made an arithmetic error.
For mental math, you can use a baseline method. Pick a round number near the middle of your values as a temporary baseline, find how much each number differs from that baseline, average those differences, and add the result back to your baseline.
This balancing property means that the sum of distances of all points above the mean always equals the sum of distances of all points below it.
Worked examples
Example 1Find the average (mean) of the numbers 4, 8, 15, 16, 23, 42.
Add all the numbers
4 + 8 + 15 + 16 + 23 + 42 = 108Divide the sum by how many numbers there are (6)
\bar{x} = \frac{108}{6} = 18
Example 2Find the average (mean) of the numbers 72, 85, 90, 64.
Add all the numbers
72 + 85 + 90 + 64 = 311Divide the sum by how many numbers there are (4)
\bar{x} = \frac{311}{4} = \frac{311}{4}
Example 3Find the average (mean) of the numbers 3.5, 4, 4.5, 5, 2.
Add all the numbers
3.5 + 4 + 4.5 + 5 + 2 = 19Divide the sum by how many numbers there are (5)
\bar{x} = \frac{19}{5} = \frac{19}{5}
Questions and answers
What is the difference between mean and average?
In everyday language, 'average' almost always refers to the arithmetic mean. In mathematics, 'average' is a broader term that can also refer to the median or mode.
Can the mean be a decimal or negative number?
Yes. Even if all data points are whole numbers, dividing can produce a decimal. If the dataset contains negative values whose sum is negative, the mean will also be negative.
How do you handle a zero when calculating the mean?
You add the zero to the total sum and count it as an item when dividing by the total count. Omitting the zero will give you an incorrect, higher mean.
Why might the median be better than the mean?
The mean is sensitive to extreme outliers, such as one very high house price in a neighborhood. The median is not affected by extreme values and often provides a more realistic representation of typical data.
Solve your own problem
Different numbers or a harder variant? Type it in and get the steps.