Skip to main content

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.

MeasureWhat it tells youFor 3, 3, 7, 8, 9
MeanThe fair share, if everyone got the same6
MedianThe value in the middle7
ModeThe most common value3
RangeHow spread out the list is6

Range is not a center, but it is usually asked for with the others.

How to Find Mean, Median and Mode Step by Step

  1. Sort the numbers from smallest to largest.
  2. Count them. Call the count nn.
  3. Mean: add them all and divide by nn.
  4. Median: find the middle. If nn is odd, it is one number. If nn is even, average two.
  5. Mode: find the number that repeats most.
  6. Range: subtract the smallest from the largest.

How to find mean, median and mode steps for the list 8, 3, 9, 3, 7

Check your work at any point with the mean, median, mode calculator.

How to Find the Mean

mean=sum of the valuesn\text{mean}=\frac{\text{sum of the values}}{n}

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 30÷5=630\div 5=6. The mean does not need to be in the list.

How to Find the Median

Sort first. The middle position is n+12\frac{n+1}{2}.

  • With 5 numbers, that is position 3.
  • With 6 numbers, that is position 3.5, so average the 3rd and 4th.

How to find the median of an odd list and an even list

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?

SituationBest choice
Values are close together, like test scoresMean
One value is extreme, like house pricesMedian
Categories, like favorite colorsMode

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.

ShapeWhat you see
Even on both sidesAll three are close together
A few very high valuesThe mean is pulled up, above the median
A few very low valuesThe 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 3⋅21−2⋅20=233\cdot 21-2\cdot 20=23. 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.

  1. Multiply: 90⋅0.2=1890\cdot 0.2=18, 80⋅0.3=2480\cdot 0.3=24 and 70⋅0.5=3570\cdot 0.5=35.
  2. Add: 18+24+35=7718+24+35=77.

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.

  1. Sort: 3, 3, 7, 8, 9.
  2. Mean: 30÷5=630\div 5=6.
  3. Median: the 3rd value, 7.
  4. Mode: 3.
  5. Range: 9−3=69-3=6.

Example 2: An Even Number of Values

Find all four for 10, 14, 12, 20, 18, 10.

  1. Sort: 10, 10, 12, 14, 18, 20.
  2. Mean: 84÷6=1484\div 6=14.
  3. Median: (12+14)÷2=13(12+14)\div 2=13.
  4. Mode: 10.
  5. Range: 20−10=1020-10=10.

Example 3: Two Modes

Find all four for 4, 6, 6, 9, 9, 14.

  1. Mean: 48÷6=848\div 6=8.
  2. Median: (6+9)÷2=7.5(6+9)\div 2=7.5.
  3. Modes: 6 and 9.
  4. Range: 14−4=1014-4=10.

Example 4: A Frequency Table

Value123
How many times321
  1. There are 3+2+1=63+2+1=6 values: 1, 1, 1, 2, 2, 3.
  2. Mean: (1⋅3+2⋅2+3⋅1)÷6=10÷6=53(1\cdot 3+2\cdot 2+3\cdot 1)\div 6=10\div 6=\frac{5}{3}.
  3. Median: the 3rd and 4th values are 1 and 2, so 1.5.
  4. 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?

  1. The total must be 4⋅85=3404\cdot 85=340.
  2. The three known scores add to 80+92+78=25080+92+78=250.
  3. The fourth is 340−250=90340-250=90.

Example 6: Adding One More Value

The mean of 5 numbers is 12. A sixth number, 24, is added. What is the new mean?

  1. The old total is 5⋅12=605\cdot 12=60.
  2. The new total is 60+24=8460+24=84.
  3. The new mean is 84÷6=1484\div 6=14.

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.

MinutesMidpointHow many people
0 to 1054
10 to 201510
20 to 30256
  1. Count: 4+10+6=204+10+6=20 people.
  2. Multiply each midpoint by its count: 5⋅4=205\cdot 4=20, 15⋅10=15015\cdot 10=150 and 25⋅6=15025\cdot 6=150.
  3. Add and divide: 320÷20=16320\div 20=16. The estimated mean is 16 minutes.
  4. The median is between the 10th and 11th people. Both are in the 10 to 20 group, so that is the median group.
  5. 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 10+610⋅10=1610+\frac{6}{10}\cdot 10=16 minutes.

Example 8: Negative Numbers and Zero

Find all four for −4-4, 0, 3, −4-4, 10.

  1. Sort: −4-4, −4-4, 0, 3, 10. The most negative number comes first.
  2. Mean: 5÷5=15\div 5=1.
  3. Median: 0. Mode: −4-4.
  4. Range: 10−(−4)=1410-(-4)=14. 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, nn.

  • If nn is odd, the median is in position n+12\frac{n+1}{2}. For 21 values, that is the 11th.
  • If nn is even, average the values in positions n2\frac{n}{2} and n2+1\frac{n}{2}+1. 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: 800+2700=3500800+2700=3500. 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.

  1. 5, 9, 1, 5, 10
  2. 2, 4, 6, 8
  3. 7, 7, 8, 10, 10, 12
  4. −3-3, 1, 1, 5
  5. 1.5, 2.5, 2.5, 3.5
Show the answers
  1. Mean 6, median 5, mode 5, range 9
  2. Mean 5, median 5, no mode, range 6
  3. Mean 9, median 9, modes 7 and 10, range 5
  4. Mean 1, median 1, mode 1, range 8
  5. 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 (12+14)÷2=13(12+14)\div 2=13.

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 15−10=515-10=5.

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