What Mean, Median, and Mode Are and Why They Matter
Mean is the average—add all the numbers and divide by how many numbers you have. Median is the middle number when you line them up in order. Mode is the number that appears most often. These three measurements each tell you something different about a set of data, and which one you use depends on what you're trying to understand.
If you're working with test scores, sales figures, or any list of numbers, you'll often need all three. The mean shows you the overall level. The median shows you what a typical value looks like when one or two extreme numbers don't skew the picture. The mode shows you what's most common. A dataset might have all three, or only one or two—and that matters when you're interpreting what the numbers mean.
Key Takeaways
- Mean is the sum of all numbers divided by how many numbers there are.
- Median is the middle value when numbers are arranged from smallest to largest; if there's an even count, take the average of the two middle numbers.
- Mode is the number that appears most frequently in your dataset, and a dataset can have no mode, one mode, or multiple modes.
- Use mean for overall averages, median when outliers might distort the picture, and mode to find the most common value.
How to Calculate the Mean
Add every number in your dataset together, then divide the total by how many numbers you added. That's the mean.
Example: You have test scores of 85, 92, 78, 88, and 95. Add them: 85 + 92 + 78 + 88 + 95 = 438. You have 5 scores, so divide 438 by 5 = 87.6. The mean is 87.6.
The mean works well when your numbers are fairly close to each other. It becomes misleading when one or two numbers are much larger or much smaller than the rest. If one student scored 15 instead of 85, the mean would drop to 73.8—a big shift caused by a single outlier. That's when the median becomes more useful.
How to Calculate the Median
Arrange all your numbers from smallest to largest. The median is the number in the middle. If you have an odd count of numbers, there's one clear middle. If you have an even count, take the average of the two middle numbers.
Odd count example: Scores of 78, 85, 88, 92, 95. The middle number is 88. That's your median.
Even count example: Scores of 78, 85, 88, 92, 95, 100. The two middle numbers are 88 and 92. Add them (88 + 92 = 180) and divide by 2 (180 ÷ 2 = 90). The median is 90.
The median is especially useful when you have outliers. If your scores were 15, 85, 88, 92, 95, the median would still be 88—the outlier doesn't pull it down the way it pulled down the mean. This makes the median a better choice when you want to know what a "typical" value looks like.
How to Calculate the Mode
Count how many times each number appears in your dataset. The number that appears most often is the mode.
Example: In the dataset 78, 85, 85, 88, 92, 95, the number 85 appears twice and every other number appears once. The mode is 85.
A dataset can have more than one mode if two or more numbers tie for appearing most often. If your data is 78, 85, 85, 88, 92, 92, 95, then both 85 and 92 are modes (this is called bimodal). A dataset can also have no mode if every number appears exactly once. The mode is most useful when you want to know what's most common—like which shoe size sells most often, or which grade appears most in a class.
When to Use Each Measurement
Use the mean when you want an overall average and your data doesn't have extreme outliers. It's the most common choice for things like average temperature, average salary in a field, or average test score across a large group.
Use the median when outliers exist or when you want to know what a typical value looks like. House prices are a classic example: one mansion can pull the mean up, but the median tells you what most homes actually cost. Income data often uses median for the same reason.
Use the mode when you want to know what's most common or popular. Retailers use mode to figure out which size or color sells best. Teachers might use it to see which score appears most often in a class.
Common Mistakes to Avoid
The biggest mistake is forgetting to arrange numbers in order before finding the median. If you don't sort them first, you'll pick the wrong middle number. Always line them up from smallest to largest.
Another common error is confusing mode with mean. Mode is about frequency (how often something appears), not about the average value. If you have 10, 10, 10, 20, 30, the mode is 10 (it appears three times), but the mean is 16.
When calculating mean, make sure you divide by the correct count. If you add 5 numbers, divide by 5—not by 4 or 6. A quick check: your mean should always fall somewhere between your smallest and largest numbers.
Working Through a Complete Example
Let's say you have monthly sales figures: $1,200, $1,450, $1,200, $1,800, $2,100, $1,200, $1,500.
Mean: Add all values: 1,200 + 1,450 + 1,200 + 1,800 + 2,100 + 1,200 + 1,500 = 10,450. Divide by 7 numbers: 10,450 ÷ 7 = $1,492.86.
Median: Arrange in order: $1,200, $1,200, $1,200, $1,450, $1,500, $1,800, $2,100. The middle (4th) number is $1,450.
Mode: $1,200 appears three times; all others appear once. The mode is $1,200.
Notice the three tell different stories: the mean suggests typical sales are about $1,493, the median shows $1,450 as the middle point, and the mode shows $1,200 is the most common sales figure. Together, they give you a fuller picture of your sales pattern.
Frequently Asked Questions
Can a dataset have more than one mode?
Yes. If two or more numbers appear equally often and more than any other number, they are all modes. A dataset with two modes is bimodal; three or more is multimodal. If all numbers appear the same number of times, the dataset has no mode.
What if I have a very large dataset—do I still calculate mean the same way?
Yes, the method is identical: add all values and divide by the count. With large datasets, using a spreadsheet or calculator is practical, but the math doesn't change. Spreadsheets have built-in functions (AVERAGE, MEDIAN, MODE) that do this automatically.
Why would I ever use mode instead of mean or median?
Mode tells you what's most common, which mean and median don't. If you're a store manager deciding which shirt size to stock most, mode is the right answer. Mean and median would tell you the average size, which isn't what you need.
Does the median always fall between the mean and mode?
No. The three can fall in any order depending on how your data is distributed. In a perfectly balanced dataset they might be close; in a skewed dataset they can be far apart. All three are correct—they just answer different questions.