How to Find Mean, Median and Mode
To find mean, median and mode, add all the numbers and divide by how many there are to get the mean, pick the middle value to get the median, and pick the value that appears most often to get the mode. For the data set 3, 5, 7, 7, 9, 11, 12, the mean is 54 divided by 7, which is 7.71, the median is 7, and the mode is 7, because 7 appears twice and no other value repeats.
Those three numbers are the measures of central tendency, the three most common ways to describe the data in a single typical value. They answer different questions, so a teacher marking a class set of quiz papers, a student doing homework, or anyone reading a survey in everyday life needs to know which average to use and how to calculate each one. This guide works through one worked example from start to finish, so you can follow every step, check your answer, and then use the same method on your own numbers. I
Table of Contents
How to Find Mean, Median and Mode With One Data Set
Every example in this guide uses the same set of numbers: 3, 5, 7, 7, 9, 11, 12. Think of them as seven quiz marks out of 12, or seven test scores from one class. Using one data set throughout makes it easy to see how the three measures relate to each other, because the only thing that changes is the method. The list is already sorted in ascending order, from smallest to largest, and there are 7 values in total. Keep those two facts in mind, because the count and the order matter for every calculation that follows.
How to Find the Mean Step by Step
The mean is the ordinary average. Add up all the values in the data set, then divide by the total number of values. In plain English, the mean is the number you would get if you shared the total out equally between all the values. The mean formula is simple: mean = sum of all values divided by the count of values.
- Step 1: Add up all the numbers in the list. For our data set, 3 + 5 + 7 + 7 + 9 + 11 + 12 = 54.
- Step 2: Count the values. There are 7 numbers in this set of numbers.
- Step 3: Divide by that count. 54 divide by 7 = 7.714…, which you round to two decimal places as 7.71.
The result is a mean of 7.71. That is the correct answer for this data set, and rounding is the only thing that needs care: 54 divided by 7 is 7.714285…, so keeping two decimal places gives 7.71. The mean uses every value in the list, so one high value or one low value moves it. That is both its strength and its weakness, and it is why the next two measures exist.
How to Find the Median Step by Step
The median is the middle value of a data set when the values are arranged in order. Half the values sit below the median and half sit above it, so it tells you what is typical in the middle of the data rather than what the total works out to on average. You do not add or divide anything to find it in the usual case, you just sort and count to the middle.
- Step 1: Arrange the numbers in order, from smallest to largest. Our list, 3, 5, 7, 7, 9, 11, 12, is already sorted.
- Step 2: Count the values. There is an odd number of values here, 7 in total.
- Step 3: Find the middle value. With 7 values, the middle is the 4th value, which is 7.
An even number of values needs one extra step, because there is no single middle value. Add one more quiz mark, 14, to the same data set and you get 3, 5, 7, 7, 9, 11, 12, 14, which has 8 values. The two middle values are the 4th and 5th values, 7 and 9, so the median is the average of the two middle values: (7 + 9) / 2 = 8. The mean of that longer list is 68 / 8 = 8.5, and the mode is still 7, so you can see how the three measures move apart when the list changes. The rule is simple: odd count, take the middle value; even count, average the two middle values.
How to Find the Mode Step by Step
The mode is the most frequent value in a data set, the number that appears most often. It is the only one of the three measures that works with categorical data, such as favourite colours or survey answers, because it only needs counting, not adding or ordering. To find it, count how many times each value appears and pick the one with the highest frequency.
- Step 1: Look at each value in the list and count how many times it appears.
- Step 2: Compare the counts. In our list, 7 appears twice, and 3, 5, 9, 11 and 12 each appear once.
- Step 3: The value with the highest count is the mode. Here the mode is 7.
Two special cases are worth knowing. A data set has no mode when every value appears the same number of times, for example 2, 4, 6, 8, 10, where each value appears once and nothing repeats. A data set is bimodal when two values tie for the highest frequency, for example 3, 3, 5, 7, 7, 9, where 3 and 7 both appear twice, so both are modes. A list with one mode is called unimodal. If you count carefully and find a tie, report both modes rather than picking one at random.
What Is the Mean, and When Should You Use It?
The problem with the mean is that a single outlier can move it a long way. This section explains when to use the mean, and the income example below shows the weakness clearly. Take six salaries, in thousands of dollars: 40, 45, 50, 55, 60 and 500. The total is 750, and 750 divide by 6 gives a mean of $125,000. Almost nobody in that group earns anything near that figure, because one very high value has pulled the mean up. The mean is misleading here, even though the arithmetic is correct.
Use the mean when the data are numerical, the values are spread fairly evenly, and you want every value to count. Exam and test averages, the mean of a set of repeat measurements in a science class, and the average of a student’s grades across a term are good everyday examples. For a second view of the same idea, Khan Academy’s review of mean, median, and mode works through the mean with its own examples.
What Is the Median, and When Should You Use It?
Go back to the salaries from the last section. Sorted, they are 40, 45, 50, 55, 60 and 500. There is an even number of values, so the median is the average of the two middle values, 50 and 55, which is $52,500. That figure describes the typical salary in the group far better than the mean of $125,000, because half the salaries are below it and half are above it. This is why income and house prices are usually reported as medians: a few very high values would make the mean look much higher than what a typical household earns or pays. This section explains when to use the median, and the short answer is skewed data, income, and any list where a few extreme values would distort the average.
Use the median when the data are skewed, when there are outliers, or when you want to know what is typical for the person in the middle. It is the standard choice for household income, house prices, and waiting times. The same idea applies to savings: a guide to how much do I need to retire has to be careful with averages, because a small number of very large retirement funds can lift the mean well above the median saver.
What Is the Mode, and When Should You Use It?
This section explains when to use the mode, and the answer is whenever the most common case is what you need to know. Shoe sizes in a shop, the most common number of cars in a household, the most frequent answer in a survey, and the most common grade in a class are all mode questions. A shop orders more of the modal shoe size because that is what most customers ask for, and a teacher who wants to know which mark most students scored looks at the mode rather than the mean.
The mode has limits. It may not exist, it may be bimodal, and it ignores every value except the most frequent one, so it tells you nothing about the spread of the data. Use it together with the mean and the median, not instead of them. BYJU’S guide to mean, median and mode gives more examples of the mode in school maths, including cases with more than one mode.
Mean vs Median vs Mode: How Do They Compare?
Each measure answers a different question. The mean asks what the total would be if it were shared equally. The median asks what the value in the middle is. The mode asks what value turns up most often. Mean vs median is the comparison that matters most in practice, because those two disagree whenever the data are skewed, while median vs mode matters when you want to know whether the most common value is also the middle one.
| Measure | What it tells you | How to find it | Result for 3, 5, 7, 7, 9, 11, 12 | Best when |
|---|---|---|---|---|
| Mean | The equal-share average | Add all values, divide by the count | 7.71 | Data are symmetric with no outliers |
| Median | The middle value | Sort the values, take the middle one | 7 | Data are skewed or have outliers |
| Mode | The most frequent value | Count how often each value appears | 7 | You need the most common value or category |
When the measures disagree, the shape of the data tells you which to trust. If the mean is well above the median, high values are pulling the average up, so the median is the more useful typical value. To look beyond the centre of the data, the coefficient of variation calculator measures the relative spread, and the 5 number summary calculator gives the minimum, the quartiles, the median and the maximum together.
How Do You Find Mean, Median and Mode in a Frequency Table?
Real class data often arrives as a frequency table rather than a list of numbers. In a frequency table, each score is listed once with a frequency that says how many students scored it. That is grouped data in its simplest form, as opposed to ungrouped data, where every single value is written out one by one.
Take a small class quiz scored out of 9: one student scored 5, two scored 6, three scored 7, two scored 8, and one scored 9. The total number of values is 1 + 2 + 3 + 2 + 1 = 9. The table below multiplies each score by its frequency, and the total of that column is the sum you need for the mean.
| Score | Frequency | Score x frequency |
|---|---|---|
| 5 | 1 | 5 |
| 6 | 2 | 12 |
| 7 | 3 | 21 |
| 8 | 2 | 16 |
| 9 | 1 | 9 |
| Total | 9 | 63 |
The mean is the total of the last column divided by the total frequency: 63 divide by 9 = 7. The median is the middle value of the nine scores written out in order, 5, 6, 6, 7, 7, 7, 8, 8, 9, and the 5th value is 7. The mode is also 7, because its frequency of 3 is the highest in the table. All three measures agree again, because this little distribution is symmetric around 7.
Which Average Should You Choose?
In statistics, a population is the whole group you care about, a sample is the part of it you actually measure, and each value is one observation. For numerical data that follows a normal distribution, the three measures summarize the centre well, and the standard deviation and the range describe the spread. With a little practice, choosing the average becomes quick. If you want to go further, the coefficient of determination calculator and the guide to what R squared means build on these basics, and how to tell military time is another step-by-step guide on the Daily Life Blog.
How Can You Check Your Answer With a Calculator?
Work by hand first, then check your answer with a tool. The Mean Median Mode Calculator returns the mean, the median, the mode, and the range for any list of numbers, so you can confirm all three measures at once. Finally, if the results differ from your hand calculation, re-check your sum, your count, and whether the list was sorted, because one missed value changes the mean and can change the median too. Cuemath’s explanation of mean, median and mode is another clear walkthrough if you want more practice with different numbers.
Frequently Asked Questions About Mean, Median and Mode
How do you find the mean, median and mode of 3, 5, 7, 7, 9, 11, 12?
Add the numbers to get 54, then divide by 7 to get a mean of 7.71. The list is already sorted, so the middle value, the 4th of 7, is the median, 7. The number 7 appears twice, more often than any other value, so the mode is 7.
How do you find the median with an even number of values?
Sort the values first, then take the two middle values and find their average. For 3, 5, 7, 7, 9, 11, 12, 14, the two middle values are 7 and 9, so the median is (7 + 9) / 2 = 8.
Can a data set have no mode?
Yes. A data set has no mode when every value appears the same number of times, for example 2, 4, 6, 8, 10, where each value appears once. If two values tie for the highest frequency, the data set is bimodal and both values are modes.
What is the difference between mean and median?
The mean is the sum of all values divided by the count, so it uses every value and moves when any value changes. The median is the middle value in the sorted list, so it is not moved by extreme values. In skewed data such as income, a few high values pulled up the mean, so the mean is usually higher than the median.
Which is better, the mean or the median?
It depends on the data. The mean is better when the values are symmetric, with no outliers, because it uses every value. The median is better when the data are skewed or contain outliers, such as income or house prices, because it describes the typical value in the middle. When in doubt, report both.
Disclaimer: This post is general information only. It explains basic statistics in plain English and is not financial, medical, or professional advice. The figures are worked examples, not guidance for your own decisions. If you need advice about money, health, or study choices, speak to a qualified professional.







