When we look at a bunch of numbers, we often want to find what’s “normal” or “typical.” That’s where the mean, median, and mode come in handy. These are ways to find the center point of your data.
Think of the mean as the average. The median is the number right in the middle once you put all your data in order. And the mode is simply the number that shows up most often.
Knowing these three helps us understand our data better. The mean gives us an overall average. The median is great because it isn’t easily fooled by really high or low numbers. The mode tells us what happens most often. Each one gives a different clue, and together, they paint a full picture.
How to Find Mean, Median, and Mode
How to Find the Mean (The Average)
The mean is what most people think of as the “average.” You find it by adding up all your numbers. Then, you divide that total by how many numbers you have. It’s the most common way to find the center of your data.
Formula for Mean
Here’s how we write the formula for the mean (¯x):
By the way, if you ever get mixed up between percentage difference and percentage change, we’ve got you covered. Check out our guide: Percentage Difference vs Change: Formulas & Examples.
¯x = (∑x) / n
¯x(we say “x-bar”) stands for the sample mean. This is the average of your group of numbers.∑x(that’s “sigma x”) means you add up every single value in your list.nis simply the total count of numbers you have.
Example: Finding the Mean
Let’s find the mean for these numbers: [10, 15, 20, 25, 30]
- Add them all up:
10 + 15 + 20 + 25 + 30 = 100 - Count how many numbers there are: We have
5numbers. - Divide the total by the count:
100 / 5 = 20
So, the mean (average) of these numbers is 20.
How to Find the Median (The Middle Number)
The median is the number right in the middle of your list. But first, you have to put all your numbers in order, from smallest to largest. The median is super helpful if your data has some really big or really small numbers (outliers). Those extreme numbers won’t mess up the median as much as they would the mean.
Steps to Find the Median
- Put your numbers in order: Arrange them from the smallest to the largest.
- Find the middle number:
- If you have an odd number of values (like 5 or 7), the median is just the one number exactly in the middle.
- If you have an even number of values (like 4 or 6), there will be two numbers in the middle. You’ll need to find the average of those two numbers.
Example: Median with an Odd Number of Values
Let’s find the median for: [7, 2, 9, 4, 5]
- Order the numbers:
[2, 4, 5, 7, 9] - Find the middle: There are
5numbers. The middle number is the3rdone ((5 + 1) / 2 = 3).
The median here is 5.
Example: Median with an Even Number of Values
Let’s find the median for: [10, 30, 20, 40]
- Order the numbers:
[10, 20, 30, 40] - Find the middle numbers: We have
4numbers. The two middle numbers are the2ndand3rdones (20and30). - Average those two middle numbers:
(20 + 30) / 2 = 50 / 2 = 25
The median for this set is 25.
How to Find the Mode (The Most Common Number)
The mode is the number that shows up most often in your data. Your dataset might have just one mode (unimodal), or several modes (multimodal). It’s even possible to have no mode at all if every number appears the same number of times.
Steps to Find the Mode
- Count how often each number appears: Go through your list and make a tally for each unique number.
- Spot the most frequent number(s): The number or numbers that appeared the most times are your mode(s).
Example: Mode with One Most Frequent Number (Unimodal)
Let’s find the mode for: [1, 3, 3, 5, 7, 7, 7, 9]
- Count how many times each number appears:
1shows up1time3shows up2times5shows up1time7shows up3times9shows up1time
- Find the most frequent: The number
7appears3times. This is more than any other number.
The mode for this set is 7.
Example: Mode with Several Most Frequent Numbers (Multimodal)
Let’s find the mode for: [2, 2, 4, 6, 6, 8]
- Count how many times each number appears:
2shows up2times4shows up1time6shows up2times8shows up1time
- Find the most frequent: Both
2and6appear2times. This is the highest frequency.
The modes here are 2 and 6. We call this “bimodal” because there are two modes.
Example: No Mode
Let’s find the mode for: [10, 20, 30, 40, 50]
- Count how many times each number appears: Each number appears exactly
1time. - Find the most frequent: No number shows up more often than the others.
This group of numbers has no mode.
Beyond the Middle: Range and Standard Deviation
Mean, median, and mode tell us about the “center” of our data. But sometimes, we also want to know how spread out the numbers are. That’s where range and standard deviation come in. They measure how much your data varies.
How to Calculate the Range
The range is the easiest way to see how spread out your numbers are. You just take the biggest number and subtract the smallest number.
Formula for Range
Range = Biggest Value - Smallest Value
Example: Finding the Range
Let’s find the range for: [10, 15, 20, 25, 30]
- Find the biggest number: It’s
30. - Find the smallest number: It’s
10. - Subtract the smallest from the biggest:
30 - 10 = 20
The range for this set of numbers is 20.
What is Standard Deviation?
Standard deviation tells us, on average, how far each number is from the mean. If the standard deviation is small, it means most numbers are very close to the average. If it’s large, the numbers are more spread out.
Formula for Standard Deviation (Sample)
s = √[∑(xi - ¯x)² / (n - 1)]
sis the standard deviation for your sample.ximeans each individual number in your list.¯xis the mean (average) of your numbers.nis the total count of numbers you have.∑still means “sum” or “add everything up.”
Calculating standard deviation by hand can be a bit tricky. You have to find the mean, then see how far each number is from the mean, square those differences, add them up, divide by n-1 (for a sample), and finally take the square root. If you want to get these stats quickly and without mistakes, you can use our Mean, Median, Mode, Range Calculator. It works right in your browser!
Putting It All Together: Examples Table
This table shows you how mean, median, mode, and range work for different groups of numbers. You’ll see examples with odd and even counts, multiple modes, and even sets with no mode.
| Dataset | Ordered Dataset | Mean | Median | Mode | Range |
|---|---|---|---|---|---|
[5, 2, 9, 1, 7] |
[1, 2, 5, 7, 9] |
(1+2+5+7+9)/5 = 24/5 = 4.8 |
5 (It’s the middle number of 5 values) |
No Mode (all numbers appear once) | 9 - 1 = 8 |
[10, 20, 30, 40] |
[10, 20, 30, 40] |
(10+20+30+40)/4 = 100/4 = 25 |
(20+30)/2 = 25 (Average of the 2 middle numbers) |
No Mode (all numbers appear once) | 40 - 10 = 30 |
[3, 3, 5, 7, 7, 7, 9] |
[3, 3, 5, 7, 7, 7, 9] |
(3+3+5+7+7+7+9)/7 = 41/7 ≈ 5.86 |
7 (It’s the middle number of 7 values) |
7 (It appears 3 times) |
9 - 3 = 6 |
[1, 2, 2, 3, 4, 4, 5] |
[1, 2, 2, 3, 4, 4, 5] |
(1+2+2+3+4+4+5)/7 = 21/7 = 3 |
3 (It’s the middle number of 7 values) |
2, 4 (Each appears twice) |
5 - 1 = 4 |
[100, 10, 15, 20, 15] |
[10, 15, 15, 20, 100] |
(10+15+15+20+100)/5 = 160/5 = 32 |
15 (It’s the middle number of 5 values) |
15 (It appears twice) |
100 - 10 = 90 |
[1.5, 2.0, 1.5, 3.0] |
[1.5, 1.5, 2.0, 3.0] |
(1.5+1.5+2.0+3.0)/4 = 8.0/4 = 2.0 |
(1.5+2.0)/2 = 1.75 (Average of the 2 middle numbers) |
1.5 (It appears twice) |
3.0 - 1.5 = 1.5 |
Common Questions About Mean, Median, and Mode
What’s the difference between mean and median?
The mean is like getting the average grade for a test. You add up all the scores and divide by how many tests there were. The median is the score right in the middle if you line up all the grades from lowest to highest. The median is often better if there are a few super high or super low grades.
When should I use the mode?
You’d use the mode when you want to know what’s most popular or most common. For example, if you’re looking at shoe sizes, the mode would tell you which size sells the most. It’s also the only one you can use for things that aren’t numbers, like favorite colors.
Can a group of numbers have more than one mode?
Yes, absolutely! If two or more numbers show up the same highest number of times, then you have multiple modes. For instance, if ‘red’ and ‘blue’ are both picked as favorite colors by 5 people, and no other color is picked more than 3 times, then both ‘red’ and ‘blue’ are modes. If every number appears just once, then there’s no mode at all.
How do extreme numbers (outliers) affect mean, median, and mode?
Imagine you’re calculating the average income in a small town. If a billionaire moves in, that one super high income (an outlier) will make the mean shoot up a lot. It might make it seem like everyone in town is rich! The median, however, won’t change much because it only cares about the middle position. The mode usually isn’t affected by outliers at all, unless that outlier somehow becomes the most common number, which is rare.
verified_user Editorial Guidelines
Written by real humans with real-world experience. Our content at CalcaTools prioritizes factual accuracy, usability, and your privacy. We continuously review our articles to ensure they meet modern E-E-A-T (Experience, Expertise, Authoritativeness, and Trustworthiness) standards.