What Mean, Median, and Mode Are
Mean is the average — add all the numbers and divide by how many numbers you have. Median is the middle number when you arrange them in order from smallest to largest. Mode is the number that appears most often. These three are called measures of central tendency because they each describe where the "center" of your data sits, but they do it in different ways.
You will use these in real situations: mean tells you the typical value (like average test score), median tells you what the middle person experienced (useful when one huge outlier would skew the mean), and mode tells you what is most common (like the most popular shoe size in a store). Each one answers a different question about the same set of numbers.
Key Takeaways
- Mean is the sum of all numbers divided by how many numbers there are; it is sensitive to very large or very small outliers.
- Median is the middle value when numbers are arranged in order; it is unaffected by outliers and works well for skewed data.
- Mode is the number that appears most frequently; a dataset can have no mode, one mode, or multiple modes.
- Always arrange your numbers in order before finding the median, and count carefully to make sure you have the right total.
How to Calculate the Mean
Add every number in your dataset together, then divide the sum by how many numbers you have. That is the mean.
Here is a concrete example. Say you have test scores: 85, 92, 78, 88, 95. Add them: 85 + 92 + 78 + 88 + 95 = 438. Count how many scores: 5. Divide: 438 ÷ 5 = 87.6. The mean is 87.6.
The mean works well when your numbers are fairly close together. But if one number is much larger or much smaller than the rest, it will pull the mean toward that outlier. For example, if one student scored 10 instead of 85, the mean would drop to 72.6 — a big shift from one unusual value. That is why the median is sometimes more useful.
How to Calculate the Median
Arrange all your numbers from smallest to largest. If you have an odd number of values, the median is the middle one. If you have an even number of values, the median is the average of the two middle numbers.
Using the test scores again: 85, 92, 78, 88, 95. Arrange them in order: 78, 85, 88, 92, 95. You have 5 numbers (odd), so the median is the 3rd number: 88. The median is 88.
Now try an even-numbered set: 10, 15, 20, 25. The two middle numbers are 15 and 20. Add them and divide by 2: (15 + 20) ÷ 2 = 17.5. The median is 17.5. Notice that the median does not have to be a number that actually appears in your dataset.
The median is especially useful when you have outliers. If your scores were 78, 85, 88, 92, and 150 (one student's unusual high score), the median would still be 88 — unaffected by that 150. The mean, though, would jump to 98.6.
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: 5, 7, 5, 9, 5, 3, 7, 5. Count the frequency of each: 5 appears 4 times, 7 appears 2 times, 9 appears 1 time, 3 appears 1 time. The mode is 5 because it appears most often.
A dataset can have more than one mode. If 5 and 7 both appeared 4 times, you would say the dataset is bimodal (two modes). If all numbers appear the same number of times, there is no mode. The mode is the only measure of central tendency that works with non-numeric data — for example, if you are tracking favorite colors, the mode is the color chosen most often.
Common Mistakes to Avoid
The biggest mistake with the median is forgetting to arrange the numbers in order first. If you pick the middle number from an unsorted list, you will get the wrong answer. Always sort from smallest to largest before you count to the middle.
With the mean, watch out for arithmetic errors when adding. Use a calculator if you have more than a few numbers. Also remember to divide by the count of numbers, not by the sum — a common slip.
For the mode, make sure you count every occurrence. If you are working by hand, tally each number as you go so you do not miss any. If two numbers tie for most frequent, both are modes — do not pick just one.
When to Use Each One
Use the mean when your data is roughly symmetric and you want a single representative value. It is standard for things like class averages or average rainfall.
Use the median when you have outliers or skewed data — for example, household income (where a few very wealthy households would pull the mean up) or housing prices in a neighborhood. The median tells you what the typical person actually experienced.
Use the mode when you want to know what is most common or popular. Retailers use mode to find the most popular size or color. Hospitals use it to track the most common diagnosis. Mode is also the only choice when your data is categorical (colors, names, categories) rather than numeric.
Working Through a Full Example
Here is a complete worked example with all three measures. Dataset: 12, 15, 12, 18, 20, 12, 25.
Mean: Add all numbers: 12 + 15 + 12 + 18 + 20 + 12 + 25 = 114. Count: 7 numbers. Divide: 114 ÷ 7 ≈ 16.3. Mean is 16.3.
Median: Arrange in order: 12, 12, 12, 15, 18, 20, 25. You have 7 numbers (odd), so the median is the 4th number: 15. Median is 15.
Mode: Count frequencies: 12 appears 3 times, 15 appears 1 time, 18 appears 1 time, 20 appears 1 time, 25 appears 1 time. Mode is 12.
Notice that all three are different. The mean (16.3) is pulled up slightly by the larger numbers. The median (15) sits between the cluster of 12s and the larger values. The mode (12) is the most frequent value. Each one tells you something different about this dataset.
Frequently Asked Questions
Can a dataset have no mode?
Yes. If every number appears exactly once, or if all numbers appear the same number of times, there is no mode. For example, in the dataset 3, 5, 7, 9, each number appears once, so there is no mode. It is correct to say "no mode" rather than to force one.
What if I have a very large dataset?
Use a spreadsheet or calculator. In Excel or Google Sheets, use =AVERAGE() for mean, =MEDIAN() for median, and =MODE() or =MODE.SNGL() for mode. These functions handle the counting and arithmetic for you, which is faster and more accurate than doing it by hand.
Why would the mean and median be very different?
When you have outliers — numbers much larger or smaller than the rest — the mean gets pulled toward them but the median does not. For example, in 1, 2, 3, 4, 100, the mean is 22 but the median is 3. This tells you the data is skewed, and the median is usually the better description of a typical value.
Is the mode always a whole number?
No. The mode is whichever value appears most often, so it can be a decimal, a fraction, or any number in your dataset. For example, in 2.5, 3.1, 2.5, 4.0, the mode is 2.5 because it appears twice.
Do I need to memorize the formulas?
You need to understand what each one does, but you do not need to memorize formulas. Remember: mean is the average (add and divide), median is the middle (sort and pick the center), and mode is the most common (count and find the highest count). That is enough to work through any problem.