How to Find the Mean in Math – Fast Formula

Find a mean by sharing a total equally, then use the same idea to recover a missing observation.

Quick Answer

Find the arithmetic mean by adding all values and dividing by how many values there are. For 4, 7 and 10, the mean is (4 + 7 + 10) ÷ 3 = 7.

Counters arranged into equal and unequal stacks

How to Find the Mean in Mathematics

What is the Mean?

The mean (often called the average) is a measure of central tendency that summarizes numerical data. Extreme values can make it less representative of a typical observation. For a nonempty dataset with equal weights, add all values and divide by their count. A recorded zero counts as a value; a missing observation is not automatically zero. Use the statistics worksheets to practise interpreting a result as well as calculating it.

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

When to Use the Mean

  • To find the average of a set of numbers
  • When you need a single value to represent a dataset
  • For data that is fairly symmetrical (not heavily skewed)
  • When outliers don't significantly impact your analysis

Separate values with commas; use a dot for decimals and no thousands separators. Negative numbers and scientific notation (for example, 1e3) are supported. Maximum 1,000 values. Results use approximate floating-point arithmetic and are displayed to up to 12 significant digits.

Examples

Example 1: Find the mean of 10, 15, 20, 25, 30

Step 1: Add all numbers: 10 + 15 + 20 + 25 + 30 = 100
Step 2: Count the values: 5
Step 3: Divide the sum by the count: 100 ÷ 5 = 20
Mean = 20

Example 2: Find the mean of 4, 7, 2, 9, 3, 5

Step 1: Add all numbers: 4 + 7 + 2 + 9 + 3 + 5 = 30
Step 2: Count the values: 6
Step 3: Divide the sum by the count: 30 ÷ 6 = 5
Mean = 5

What is the mean of the test scores 72, 74, 80 and 100? Add the four scores: 72 + 74 + 80 + 100 = 326. Then divide by 4: 326 ÷ 4 = 81.5. The higher score raises the mean; every score, including zero when it is a recorded value, belongs in both the total and the count.

1-Minute Cheat Sheet ⚡

Step What to Do Pro Tip
1 Add all the numbers Scribble in columns; commas hide sneaky zeros.
2 Count how many numbers you added Yes, every number—negatives and decimals too.
3 Divide the sum by that count Keep full precision while calculating; round the final answer to the precision requested. For money, usually use two decimal places.

Real-Life Coffee Budget Example ☕

Day Spend ($)
Mon 3.50
Tue 0 (free office coffee)
Wed 5.10
Thu 4.20
Fri 2.70
  1. Sum = 3.50 + 0 + 5.10 + 4.20 + 2.70 = 15.50

  2. Count = 5 days

  3. Mean = 15.50 ÷ 5 = $3.10 per day

Takeaway: For a budget of $3.00 per day, the average spending is $0.10 over budget per day. Across five days, the total overspend is $15.50 − $15.00 = $0.50.


Watch-Out #1 – Outliers Stretch the Mean

If Friday’s $2.70 is replaced by a $12 drink, the new total is $15.50 − $2.70 + $12 = $24.80. The new mean is $24.80 ÷ 5 = $4.96 per day. The median changes from $3.50 to $4.20. This shows how a high value can move the mean more than the median. Keep valid observations; investigate unusual values rather than automatically deleting them.


Watch-Out #2 – Negative Numbers

Snow-day expenses: –5 (refund), 0, –2, 8
Sum = 1 → Mean = 1 ÷ 4 = 0.25. Averages can be tiny even with positives and negatives dancing together.


Pull Quote

“Mean is the group selfie of numbers—it shows the center but hides the drama at the edges.”


Burst-Mode Q&A

Q: Do I need algebra for mean?
A: Nope—just friendly addition and division.

Q: Calculator okay?
Absolutely. Pros double-tap numbers into Excel or Google Sheets: =AVERAGE(A1:A5).

Q: When can the mean be misleading?
For strongly skewed data or data with extreme values, the median may better describe a typical observation. The mean still describes the total divided by the count; choose the measure that fits the question. Use the box plots and data displays to see how a graph shows the median, spread and possible outliers.


Nerdy (Optional) Deep Dive

  1. Weighted Mean – For a GPA, multiply each course’s grade points by its credit hours, add those products, then divide by the total credit hours. Ordinary mean assumes equal weights; use a weighted mean when contributions differ.

  2. Trimmed Mean – Sort the data, remove a stated proportion from each tail, then average the remaining values. For example, trimming 5% from each end is one possible convention; state how you handle a non-integer number of observations.

  3. Range Rule of Thumb – Standard deviation ≈ range ÷ 4 is only a rough heuristic under suitable distribution and sample assumptions. It is not a general identity and is not needed to calculate the mean.


Feel-Good Wrap

Remember: add the recorded values, count them, then divide. Check units, include genuine zeros, and consider whether an unusually large or small observation makes the mean less representative of a typical value.

Advertisement

Recover the missing measurement

Five measurements have a mean of twelve, so they must total sixty. Four known measurements are eight, ten, thirteen and sixteen. Their sum is forty-seven. The missing measurement is thirteen. Check by adding all five and dividing by five. The mean need not be one of the original measurements, even though the missing measurement in this example matches another value.

The Mode

In our discussion of average heights, the first possible definition we offered was the height that more people share than any other. This is the mode, or the value that appears most often. If there are two modes, the data are bimodal.
Let’s look at some examples.

Finding the Mode Using a Stem-and-Leaf Plot

In source illustration or discussion, we looked at a stem-and-leaf plot of the sale prices (in dollars) of a particular collectible trading card:
0 5 8 9
1 0 0 0 3 4 4 5 5 5 5 6 9 9
2 0 0 0 0 5 5 9 9
3 0 0 0 5 5
4 0 0 5
5
6 0
What is the mode price?
Solution
The mode is the price that appears most often. Both 15 and 20 appear 4 times, more than any other values. So, they are the modes (and we can conclude that this set of data is bimodal).
When we have a complete list of the data or a stem-and-leaf plot, it’s pretty straightforward to find the mode; we just need to find the number that appears most often. If we’re given a frequency distribution instead, the technique is different (but just as straightforward): we’re looking for the number with the highest frequency.

Finding the Mode Using a Frequency Distribution

In source illustration or discussion, we created a frequency distribution of the number of siblings of conflict resolution class attendees.
Number of Siblings Frequency
0 5
1 13
2 6
3 3
4 2
5 1
What is the mode of the number of siblings?
Solution
The mode is the value that appears the most often, which means it has the greatest frequency. Thirteen of the respondents have one sibling, more than any other number. So, the mode is 1.
What happens if there is no number in the data that appears more than once? In that case, by our definition, every data value is a mode. But according to some other definitions, the data would have no mode. In practice, though, it doesn’t really matter; if no data value appears more than once, then the mode is not helpful at all as a measure of centrality.

The Median

Let's revisit our example of trying to identify the height of the “average” person. If we lined everyone up in order by height and found the person right in the middle, that person’s height is called the median, or the value that is greater than no more than half and less than no more than half of the values.
Let’s look at a really simple example. Consider the following list of numbers: 11, 12, 13, 13, 14. Is the first number on the list, 11, the median? There are no values less than 11 (that’s 0%), and there are four values greater than 11 (that’s 80%). Since more than 50% of the data are greater than 11, the definition is violated; it’s not the median. Here’s a chart with the rest of the data, with red shading to show where the definition is violated:
Data Value Number of Values Below Percentage of Values Below Number of Values Above Percentage of Values Above
11 0 0% 4 80%
12 1 20% 3 60%
13 2 40% 1 20%
14 4 80% 0 0%
Only 13 has no violations, so it’s the median according to the definition. In practice, we find the median just like we described in the average height example: by lining up all the data values in order from smallest to largest and picking the value in the middle. For our easy example (with data values 11, 12, 13, 13, 14), that first 13 is right in the middle; there are two values to the left and two values to the right. If there’s not one value right in the middle, we pick the two closest, then choose the number exactly between them. For example, let’s say we have the data 41, 44, 46, 53. Since there are an even number of data values in our list, we can’t pick the one right in the middle. The two closest to the middle are 44 and 46, so we’ll choose the number halfway between those to be the median: 45. As this example shows, the median (unlike the mode) doesn’t have to be a number in our original set of data.
In the examples we’ve looked at so far, it’s been pretty easy to identify which number is right in the middle. If we had a very large dataset, though, it might be harder. Fortunately, we have some formulas to help us with that.
Let’s put those formulas to work in an example.

Finding the Median Using a Stem-and-Leaf Plot

In worked example, we looked at a stem-and-leaf plot that contained 33 sale prices (in dollars) of a particular collectible trading card:
0 5 8 9
1 0 0 0 3 4 4 5 5 5 5 6 9 9
2 0 0 0 0 5 5 9 9
3 0 0 0 5 5
4 0 0 5
5
6 0
What is the median price?
Solution
Step 1: Since 33 is odd, the median is the data value at position n+12, where n is the number of values in the dataset. There are 33 total values, so our formula becomes 33+12=17. That means we want to look for the 17th number in the dataset.
Step 2: We'll want to count from the lowest value to the 17th number. We can use our stem and leaf plot to do this.
1 2 3
0 5 8 9
4 5 6 7 8 9 10 11 12 13 14 15 16
1 0 0 0 3 4 4 5 5 5 5 6 9 9
17
2 0 0 0 0 5 5 9 9
3 0 0 0 5 5
4 0 0 5
5
6 0
The seventeenth number is 20, so the median is 20.
Now, let’s tackle an example with an even number of values.

Finding the Median

In source illustration or discussion, we looked at the number of times different crickets (of differing species, genders, etc.) chirped in a one-minute span. That data is again provided below:
89 97 82 102 84 99
115 105 89 109 107 89
101 109 116 103 100 91
93 103 120 91 85 104
104 82 106 92 104 106
Find the median.
Solution
Step 1: In order to find the median, we first need to sort the data so that they’re in order, smallest to largest:
82 82 84 85 89 89
89 91 91 92 93 97
99 100 101 102 103 103
104 104 104 105 106 106
107 109 109 115 116 120
Step 2: Next, we figure out how many data values we have. Counting them up, we see there are 30, which is even.
Step 3: Since we have an even number of data values, we need to find the values in positions 302=15 and 302+1=16. These are 101 and 102.
Step 4: We use the formula to compute the median: 101+1022=101.5.

Finding the Median Using a Frequency Distribution

In worked example, we created a frequency distribution of the number of siblings of the people who attended a conflict resolution class. Let's review that data again:
Number of Siblings Frequency
0 5
1 13
2 6
3 3
4 2
5 1
What is the median of the number of siblings?
Solution
There are 30 data values total, so the median is between the 15th and 16th values in the ordered list. There are five 0s and thirteen 1s according to the frequency distribution, so items one through five are all 0s and items six through eighteen are all 1s. Since both items fifteen and sixteen are 1s, the median is 1.

The Mean

Recall our example of ways we could identify the “average” height of an individual. The last method we discussed was also the most complicated. It involved a game where the player guesses a height, then figures out how far off that guess is from every single person’s height. Those differences get squared and added together to get a score. Our next measure of centrality gives the lowest possible score: No other guess would beat it in the game. Given a dataset containing n total values, the mean of the dataset is the sum of all the data values, divided by n.
This is a computation you have likely done before. In many places, including spreadsheet programs like Microsoft Excel and Google Sheets, this number is called the average. For statisticians, though, the word average has too many possible meanings, so they prefer the one we’ll use: mean.

Finding the Mean

Compute the mean of the numbers 12, 15, 17, 18, 18, and 19.
Solution
The mean is the sum of the values, divided by the number of values on the list. So, we get:
12+15+17+18+18+196=996=16.5.

Finding the Mean Using a Frequency Distribution

Refer again to the frequency distribution of the number of siblings people who attended a conflict resolution class reported:
Number of Siblings Frequency
0 5
1 13
2 6
3 3
4 2
5 1
What is the mean of the number of siblings?
Solution
Step 1: We compute the mean by adding up all the data values and then dividing by the number of data values on the list.
Step 2: Adding up the frequencies, we get 5+13+6+3+2+1=30 data values in our list.
Step 3: Now, to find the sum of all the data values, we could simply reconstruct the raw data and add up all the numbers there. But, there’s an easier way: Remember that repeatedly adding a number to itself is the definition of multiplication. So, for example, since there are six 2s in our data, the sum of all those 2s must be 6×2=12.
Step 4: Let’s add a column to our distribution for these products:
Number of Siblings Frequency (Number of Siblings) × (Frequency)
0 5 0
1 13 13
2 6 12
3 3 9
4 2 8
5 1 5
Step 5: So, the sum of all our data values is 0+13+12+9+8+5=47. The mean is 4730≈1.567.
As the number of data values we are considering grows, the computation for the mean gets more and more complicated. That’s why people generally trust technology to perform that computation.
Note that a recent update to Google Sheets introduced a new function called “MODE.MULT,” which will find every mode (not just the first one on the list).

Using Google Sheets to Compute Measures of Centrality

The dataset "InState" contains the in-state tuitions of every college and university in the country that reported that data to the Department of Education. Find the mode, median, and mean of those in-state tuition values.
Solution
Step 1: To find the mode, we select an empty cell type “=MODE(”, click on the header of the column to insert a reference to the column into our formula, and then close the parentheses. When we hit the enter key, our formula is replaced with the mode: $13,380.
Step 2: We can find the median and mean using the same process, except using the functions “MEDIAN” and “AVERAGE” in place of “MODE”. We find that the median is $11,207 and the mean is $15,476.79.

Which Is Better: Mode, Median, or Mean?

If the mode, median, and mean all purport to measure the same thing (centrality), why do we need all three? The answer is complicated, as each measure has its own strengths and weaknesses. The mode is simple to compute, but there may be more than one. Further, if no data value appears more than once, the mode is entirely unhelpful. As for the mean and median, the main difference between these two measures is how each is affected by extreme values.
Consider this example: the mean and median of 1, 2, 3, 4, 5 are both 3. But what if the dataset is instead 1, 2, 3, 4, 10? The median is still 3, but the mean is now 4. What this example shows is that the mean is sensitive to extreme values, while the median isn’t. This knowledge can help us decide which of the two is more relevant for a given dataset. If it is important that the really high or really low values are reflected in the measure of centrality, then the mean is the better option. If very high or low values are not important, however, then we should stick with the median.
The decision between mean and median only really matters if the data are skewed. If the data are symmetric, then the mean and median are going to be approximately equal, and the distinction between them is irrelevant. If the data are skewed, the mean gets pulled in the direction of the skew (i.e., if the data are right-skewed, then the mean will be bigger than the median; if the data are left-skewed, the opposite relation is true).

Choosing Which Measure of Centrality to Use

For the following situations, decide which measure(s) of centrality would be best:
  1. You found a used car that you like, and you want to know if the price is too high or too low. You find a list of sale prices for that make and model, and you see that the distribution of those prices is skewed to the right. Some of the prices at the high end are close to the original sale price of the car, so you guess that those cars might have really low mileage, or have other enhancements added on that increased the value (but which don’t apply to the car you found).
  2. You are asked to analyze the responses to a survey. One of the questions asked, “How strongly do you agree with the statement, ‘I believe my elected representatives have my best interests in mind when they vote’?” Responses are a number between 1 and 5, with 1 representing “strongly disagree” and 5 representing “strongly agree.”
  3. You are asked to find the “average” household income for a zip code. Those values are skewed right.
  4. Thinking back to the situation at the beginning of this section: you want to find “average” height. The data you’ve collected seem to be distributed symmetrically.
Solution
  1. In this situation, the high values are not comparable to the value of the car you found and we don’t want them to affect the results. Also, we’re unlikely to find many repeated values, so the mode is probably not useful. Median is best.
  2. Here, we want to know what a typical result is. The mean doesn’t really make sense; it involves adding the numbers together, so it would treat two “strongly disagree” and two “strongly agree” responses (those add to 1+1+5+5=12) as exactly the same as four “neutral” responses (3+3+3+3=12). But those are really different situations; the first shows a strong polarization in the responses, while the second represents strong indifference. The mode is probably the best choice (because the data are actually categorical), but the median would be good too.
  3. The mode isn’t going to be useful in this situation because it’s unlikely you will find many households that have exactly the same income. The mean and median will be different because of the skew, so the choice comes down to the extreme values. Remember that the data are skewed right, so high values are prevalent. Because these high values are important for our analysis, we want them to be reflected in the results. Thus, the mean is best. That being said, the median is also useful; it allows us to say something like “50% of the households surveyed make more than” the median.
  4. Because we aren’t likely to find many people with exactly the same height, the mode won’t be useful. Since the data are symmetric, the mean and the median will be about the same. So, it doesn’t really matter which of those two we choose.

Calculate the Mean of a Set of Numbers

The mean is often called the arithmetic average. It is computed by dividing the sum of the values by the number of values. Students want to know the mean of their test scores. Climatologists report that the mean temperature has, or has not, changed. City planners are interested in the mean household size.
Suppose Ethan’s first three test scores were 85,88,and94. To find the mean score, he would add them and divide by 3.
85+88+943267389
His mean test score is 89 points.
Find the mean of the numbers 8,12,15,9,and6.
Solution

Solution

Write the formula for the mean: mean=sum of all the numbersn
Write the sum of the numbers in the numerator. mean=8+12+15+9+6n
Count how many numbers are in the set. There are 5 numbers in the set, so n=5. mean=8+12+15+9+65
Add the numbers in the numerator. mean=505
Then divide. mean=10
Check to see that the mean is 'typical': 10 is neither less than 6 nor greater than 15. The mean is 10.
The ages of the members of a family who got together for a birthday celebration were 16,26,53,56,65,70,93,and97 years. Find the mean age.
Solution

Solution

Write the formula for the mean: mean=sum of all the numbersn
Write the sum of the numbers in the numerator. mean=16+26+53+56+65+70+93+97n
Count how many numbers are in the set. Call this n and write it in the denominator. mean=16+26+53+56+65+70+93+978
Simplify the fraction. mean=4768
mean=59.5
Is 59.5 ‘typical’? Yes, it is neither less than 16 nor greater than 97. The mean age is 59.5 years.
Did you notice that in the last example, while all the numbers were whole numbers, the mean was 59.5, a number with one decimal place? It is customary to report the mean to one more decimal place than the original numbers. In the next example, all the numbers represent money, and it will make sense to report the mean in dollars and cents.
For the past four months, Daisy’s cell phone bills were $42.75,$50.12,$41.54,$48.15. Find the mean cost of Daisy’s cell phone bills.
Solution

Solution

Write the formula for the mean. mean=sum of all the numbersn
Count how many numbers are in the set. Call this n and write it in the denominator. mean=sum of all the numbers4
Write the sum of all the numbers in the numerator. mean=42.75+50.12+41.54+48.154
Simplify the fraction. mean=182.564
mean=45.64
Does $45.64 seem ‘typical’ of this set of numbers? Yes, it is neither less than $41.54 nor greater than $50.12.
The mean cost of her cell phone bill was $45.64

Find the Median of a Set of Numbers

When Ann, Bianca, Dora, Eve, and Francine sing together on stage, they line up in order of their heights. Their heights, in inches, are shown in table.
Ann Bianca Dora Eve Francine
59 60 65 68 70
Dora is in the middle of the group. Her height, 65″, is the median of the girls’ heights. Half of the heights are less than or equal to Dora’s height, and half are greater than or equal. The median is the middle value.
The numbers 59, 60, 65, 68, and 70 are listed. 59 and 60 have a brace beneath them and in red are labeled “2 below.” 68 and 70 have a brace beneath them and in red are labeled “2 above.” 65 has an arrow pointing to it and is labeled as the median.
What if Carmen, the pianist, joins the singing group on stage? Carmen is 62 inches tall, so she fits in the height order between Bianca and Dora. Now the data set looks like this:
59,60,62,65,68,70
There is no single middle value. The heights of the six girls can be divided into two equal parts.
The numbers 59, 60, and 62 are listed, followed by a blank space, then 65, 68, and 70.
Statisticians have agreed that in cases like this the median is the mean of the two values closest to the middle. So the median is the mean of 62and65,62+652. The median height is 63.5 inches.
The numbers 9, 11, 12, 13, 15, 18, and 19 are listed. 9, 11, and 12 have a brace beneath them and are labeled “3 below.” 15, 18, and 19 have a brace beneath them and are labeled “3 above.” 13 has an arrow pointing to it and is labeled as the median.
Notice that when the number of girls was 5, the median was the third height, but when the number of girls was 6, the median was the mean of the third and fourth heights. In general, when the number of values is odd, the median will be the one value in the middle, but when the number is even, the median is the mean of the two middle values.
Find the median of 12,13,19,9,11,15,and18.
Solution

Solution

List the numbers in order from smallest to largest. 9, 11, 12, 13, 15, 18, 19
Count how many numbers are in the set. Call this n. n=7
Is n odd or even? odd
The median is the middle value. .
The middle is the number in the 4th position. So the median of the data is 13.
Kristen received the following scores on her weekly math quizzes:
83,79,85,86,92,100,76,90,88,and64. Find her median score.
Solution

Solution

Find the median of 83, 79, 85, 86, 92, 100, 76, 90, 88, and 64.
List the numbers in order from smallest to largest. 64, 76, 79, 83, 85, 86, 88, 90, 92, 100
Count the number of data values in the set. Call this n. n=10
Is n odd or even? even
The median is the mean of the two middle values, the 5th and 6th numbers. .
Find the mean of 85 and 86. mean=85+862
mean=85.5
Kristen's median score is 85.5.

Identify the Mode of a Set of Numbers

The average is one number in a set of numbers that is somehow typical of the whole set of numbers. The mean and median are both often called the average. Yes, it can be confusing when the word average refers to two different numbers, the mean and the median! In fact, there is a third number that is also an average. This average is the mode. The mode of a set of numbers is the number that occurs the most. The frequency, is the number of times a number occurs. So the mode of a set of numbers is the number with the highest frequency.
Suppose Jolene kept track of the number of miles she ran since the start of the month, as shown in diagram.
An image of a calendar is shown. On Thursday the first, labeled New Year's Day, is written 2 mi. On Saturday the third is written 15 mi. On the 4th, 8 mi. On the 6th, 3 mi. On the 7th, 8 mi. On the 9th, 5 mi. On the 10th, 8 mi.
If we list the numbers in order it is easier to identify the one with the highest frequency.
2,3,5,8,8,8,15
Jolene ran 8 miles three times, and every other distance is listed only once. So the mode of the data is 8 miles.
The ages of students in a college math class are listed below. Identify the mode.
18,18,18,18,19,19,19,20,20,20,20,20,20,20,21,21,22,22,22,22,22,23,24,24,25,29,30,40,44
Solution

Solution

The ages are already listed in order. We will make a table of frequencies to help identify the age with the highest frequency.
A table is shown with 2 rows. The first row is labeled 'Age' and lists the values: 18, 19, 20, 21, 22, 23, 24, 25, 29, 30, 40, and 44. The second row is labeled 'Frequency' and lists the values: 4, 3, 7, 2, 5, 1, 2, 1, 1, 1, 1, and 1.
Now look for the highest frequency. The highest frequency is 7, which corresponds to the age 20. So the mode of the ages in this class is 20 years.
The data lists the heights (in inches) of students in a statistics class. Identify the mode.
56 61 63 64 65 66 67 67
60 62 63 64 65 66 67 70
60 63 63 64 66 66 67 74
61 63 64 65 66 67 67
Solution

Solution

List each number with its frequency.
A table is shown with 2 rows. The first row is labeled “Number” and lists the values: 56, 60, 61, 62, 63, 64, 65, 66, 67, 70, and 74. The second row is labeled “Frequency” and lists the values: 1, 2, 2, 1, 5, 4, 3, 5, 6, 1, and 1.
Now look for the highest frequency. The highest frequency is 6, which corresponds to the height 67 inches. So the mode of this set of heights is 67 inches.
Some data sets do not have a mode because no value appears more than any other. And some data sets have more than one mode. In a given set, if two or more data values have the same highest frequency, we say they are all modes.