How to Find Mean, Median and Mode
Written by Awn · Published · 10 min read
Quick Answer
Here is how to find mean, median and mode. Sort the list. Mean: add all the numbers and divide by how many there are. Median: take the middle number, or average the two middle ones. Mode: choose the number that appears most often. There can be none, one or several.
What Are Mean, Median and Mode?
They are three ways to describe the center of a list with one number.
| Measure | What it tells you | For 3, 3, 7, 8, 9 |
|---|---|---|
| Mean | The fair share, if everyone got the same | 6 |
| Median | The value in the middle | 7 |
| Mode | The most common value | 3 |
| Range | How spread out the list is | 6 |
Range is not a center, but it is usually asked for with the others.
How to Find Mean, Median and Mode Step by Step
- Sort the numbers from smallest to largest.
- Count them. Call the count .
- Mean: add them all and divide by .
- Median: find the middle. If is odd, it is one number. If is even, average two.
- Mode: find the number that repeats most.
- Range: subtract the smallest from the largest.
Check your work at any point with the mean, median, mode calculator.
How to Find the Mean
In words: the mean equals the sum of the values divided by how many there are. The mean of 8, 3, 9, 3 and 7 is . The mean does not need to be in the list.
How to Find the Median
Sort first. The middle position is .
- With 5 numbers, that is position 3.
- With 6 numbers, that is position 3.5, so average the 3rd and 4th.
Finding the Mode
Count how often each value appears. Two values tied for most means two modes. If every value appears the same number of times, we say there is no mode. Some books differ, so follow your class rule.
Which One Should You Use?
| Situation | Best choice |
|---|---|
| Values are close together, like test scores | Mean |
| One value is extreme, like house prices | Median |
| Categories, like favorite colors | Mode |
An outlier is a value far from the rest. In 2, 3, 3, 4, 88, the mean is 20, but the median is still 3. The median describes that list better.
What Each Number Tells You
Imagine five friends with 3, 3, 7, 8 and 9 dollars.
The mean is the fair share. If they put all the money together and split it evenly, each would get 6 dollars. No one has to hold exactly 6 for that to be true.
The median is the person in the middle of the line. Two friends have less than 7 dollars and two have more.
The mode is the most common amount. It is the only one of the three that also works for things that are not numbers, such as favorite colors.
The range tells you how spread out the group is. Two groups can have the same mean and look very different. The lists 5, 6, 7 and 1, 6, 11 both have a mean of 6. Their ranges are 2 and 10.
That is why a good summary gives a middle and a spread together.
How Mean, Median and Mode Compare
The shape of the data decides which one is bigger.
| Shape | What you see |
|---|---|
| Even on both sides | All three are close together |
| A few very high values | The mean is pulled up, above the median |
| A few very low values | The mean is pulled down, below the median |
House prices are the usual example. A few mansions raise the mean a lot and hardly move the median, so news reports often give the median.
You may also see a rule of thumb for data that leans a little to one side: the mode is roughly 3 times the median minus 2 times the mean. Say the mean is 20 and the median is 21. Then the mode is roughly . Treat it as an estimate. It is not exact, and it fails for small or unusual lists.
Weighted Mean
Sometimes values don't count equally. A weighted mean multiplies each value by how much it counts.
Suppose homework is 20% of a grade, quizzes are 30% and the final is 50%. A student earns 90, 80 and 70.
- Multiply: , and .
- Add: .
The plain mean of 90, 80 and 70 is 80. The weighted mean is lower, because the lowest score counts most.
If the weights don't add up to 1, divide by their total at the end. That is exactly what a frequency table does.
Worked Examples
Example 1: An Odd Number of Values
Find all four for 8, 3, 9, 3, 7.
- Sort: 3, 3, 7, 8, 9.
- Mean: .
- Median: the 3rd value, 7.
- Mode: 3.
- Range: .
Example 2: An Even Number of Values
Find all four for 10, 14, 12, 20, 18, 10.
- Sort: 10, 10, 12, 14, 18, 20.
- Mean: .
- Median: .
- Mode: 10.
- Range: .
Example 3: Two Modes
Find all four for 4, 6, 6, 9, 9, 14.
- Mean: .
- Median: .
- Modes: 6 and 9.
- Range: .
Example 4: A Frequency Table
| Value | 1 | 2 | 3 |
|---|---|---|---|
| How many times | 3 | 2 | 1 |
- There are values: 1, 1, 1, 2, 2, 3.
- Mean: .
- Median: the 3rd and 4th values are 1 and 2, so 1.5.
- Mode: 1.
Example 5: A Missing Number
The mean of four test scores is 85. Three of them are 80, 92 and 78. What is the fourth?
- The total must be .
- The three known scores add to .
- The fourth is .
Example 6: Adding One More Value
The mean of 5 numbers is 12. A sixth number, 24, is added. What is the new mean?
- The old total is .
- The new total is .
- The new mean is .
Notice that you can't just average 12 and 24. The old mean stands for five numbers, and the new value is only one.
Example 7: Grouped Data
Sometimes you only know how many values fall in each group. Then you can estimate the mean, and name the group that holds the median and the mode.
| Minutes | Midpoint | How many people |
|---|---|---|
| 0 to 10 | 5 | 4 |
| 10 to 20 | 15 | 10 |
| 20 to 30 | 25 | 6 |
- Count: people.
- Multiply each midpoint by its count: , and .
- Add and divide: . The estimated mean is 16 minutes.
- The median is between the 10th and 11th people. Both are in the 10 to 20 group, so that is the median group.
- The modal group is also 10 to 20, because it has the most people.
It's an estimate because midpoints stand in for the real values.
To estimate the median itself, go part of the way into its group. Half of 20 is 10. Four people come before the group, so you need 6 more out of its 10. The group is 10 wide, so the estimate is minutes.
Example 8: Negative Numbers and Zero
Find all four for , 0, 3, , 10.
- Sort: , , 0, 3, 10. The most negative number comes first.
- Mean: .
- Median: 0. Mode: .
- Range: . Subtracting a negative adds.
Zero still counts as a value. Leaving it out would change the count to 4 and give the wrong mean.
What Happens When You Change Every Value
If you add the same number to every value, the mean, median and mode all go up by that number. The range stays the same, because the spread has not changed.
If you multiply every value by the same positive number, all four are multiplied by it.
For example, 3, 3, 7, 8, 9 has mean 6, median 7, mode 3 and range 6. Add 10 to each value and you get mean 16, median 17, mode 13 and range 6. Double each value and you get mean 12, median 14, mode 6 and range 12. This saves work when you change units, such as feet to inches.
Where the Middle Value Is
For a long list, use the position instead of crossing off numbers. Sort the list and count the values, .
- If is odd, the median is in position . For 21 values, that is the 11th.
- If is even, average the values in positions and . For 20 values, those are the 10th and 11th.
The position is not the median. It only tells you where to look.
Common Mistakes
Finding the Middle of an Unsorted List
In 8, 3, 9, 3, 7 the number written in the middle is 9. The median is 7, and you only see it after sorting.
Dividing by the Wrong Count
Count every value, including repeats and zeros.
Confusing Range With Mode
The range is a difference, so it comes from subtracting. The mode is a value from the list. If your range is a pair of numbers, such as "3 to 9", subtract them.
Writing 0 When There Is No Mode
If no value repeats, write "no mode". Zero would mean that the number 0 appears most often.
Averaging Two Averages
If one class of 10 has a mean of 80 and a class of 30 has a mean of 90, the overall mean is not 85. Add the totals: . Then divide by 40 students: 87.5.
Using the Count Instead of the Value for the Mode
If 7 appears three times, the mode is 7, not 3. The count only tells you which value wins.
Practice Problems
Find the mean, median, mode and range.
- 5, 9, 1, 5, 10
- 2, 4, 6, 8
- 7, 7, 8, 10, 10, 12
- , 1, 1, 5
- 1.5, 2.5, 2.5, 3.5
Show the answers
- Mean 6, median 5, mode 5, range 9
- Mean 5, median 5, no mode, range 6
- Mean 9, median 9, modes 7 and 10, range 5
- Mean 1, median 1, mode 1, range 8
- Mean 2.5, median 2.5, mode 2.5, range 2
Check Your Answer With the Calculator
Type your list into the mean median mode range calculator and compare the sorted list first. Most errors start there. If one value is unknown, set up an equation as in how to solve equations. For the statistics background, see Measures of the Center in OpenStax Statistics.
FAQ
How Do You Find the Median of 6 Numbers?
Sort them and average the 3rd and 4th. For 10, 10, 12, 14, 18, 20, that is .
How Do You Find the Mean of a Frequency Table?
Multiply each value by how often it appears, add those products, and divide by the total count.
What If There Is No Mode?
Write "no mode." Don't write 0, because 0 would mean the number 0 appears most often.
How Do You Find a Missing Number From the Mean?
Multiply the mean by the count to get the total, then subtract the numbers you know. If three numbers have a mean of 5 and two of them are 4 and 6, the third is .
Can the Mean, Median and Mode Be Equal?
Yes. For 1.5, 2.5, 2.5, 3.5 all three are 2.5. This is common in lists that are balanced around the center.
What Is the Difference Between Mean and Average?
In everyday speech they are the same thing. In statistics, "average" can also mean the median or the mode, so "mean" is the more exact word.
Which Is Least Affected by an Outlier?
The median, in most cases. The mode usually stays put as well. The mean and the range can change a lot, because both use every extreme value directly.
Next step: write down seven real numbers, such as hours of sleep last week. Finding the mean median and mode of your own data is a good way to remember how to find mean, median and mode.
Try the Calculator
Related Pages
- How to Solve EquationsLearn how to solve equations of any common type: linear, fraction, absolute value, root and exponential. Solving equations with clear steps and practice.
- How to Simplify ExpressionsLearn how to simplify expressions: distribute, use exponent rules, cancel and combine like terms. Simplifying algebraic expressions, step by step.