Summarize this article:
1602 LearnersLast updated on November 24, 2025

Can any large dataset be analyzed using just three statistical tools? They are mean, median, and mode. They are helpful in many scenarios, ranging from simple calculations to extensive research. In this article, let us learn about the mean, median, and mode; their formulas for calculation; their applications; and examples.
Mean, median, and mode are three key measures that help us understand the central tendency of a data set. Instead of examining each value, these measures allow us to summarize the entire data set with a single representative value that shows where the values tend to cluster. The mean gives us the average, the median shows the middle value when the data is ordered, and the mode tells us which value occurs most often. Together, these measures help us analyze patterns, compare groups, and make sense of real-world information more simply.
What is Mean?
The mean, also called the arithmetic average, is obtained by adding all the values in a data set and dividing by the total number of values. It is used when the data is evenly distributed. The symbol represents it ‘μ’.
What is Median?
The median is the middle value of a data set when the data set is arranged in ascending or descending order. If the number of values is odd, the median is the middle value; if the number of values is even, the median is the average of the two middle values. ‘M’ represents it.
What is Mode?
The mode is the value that appears most often in a data set. The mode can be applied to both numerical data and categorical data. The mode is handy for identifying the most common values in a given data set. 'Z' represents the mode.
Let us know more about mean, median, and mode using an example:
A group of students scored the following marks in a quiz:
8, 6, 7, 7, 9, 5, 7
Let’s find the mean, median, and mode of this data.
Solution:
To find the mean, add all the numbers and divide them by the total number.
Therefore,
Mean = \(\frac{8+6+7+7+9+5+7}{7}\)
\(=\frac{49}{7}\)
\(=7\)
To find the median, arrange the data in ascending order; the middle number is the median.
5, 6, 7, 7, 7, 8, 9
The 4th value is the middle number.
Therefore, median = 7.
To find the mode, find the number that appears most often.
Here, 7 is the most frequently occurring number, appearing 3 times.
Therefore, the mode = 7.
For this dataset:
Mean = 7,
Median = 7
Mode = 7.
Mean of ungrouped data: Ungrouped data is data that is not arranged in classes or groups. These are individual numbers, such as:
5, 8, 12, 7, 9.
To find the mean (average) of ungrouped data, follow these steps:
Step 1: Add all the data values
Find the sum of all numbers.
Example: \(5 + 8 + 12 + 7 + 9 = 41\).
Step 2: Count how many data values are present.
There are five numbers.
Step 3: Apply the mean formula
Sum / Total number.
Mean \(= \frac{41}{5} = 8.2\)
Mean of the ungrouped data = 8.2
Mean of grouped data: To find the mean of a grouped data, we use three methods, which are mentioned below:
Assumed mean method: To calculate the mean using assumed mean method, we use the following formula:
\(x = a +fᵢ × xᵢ ÷fi\)
Where \(a\) is the assumed mean
\(di \) stands for deviation, where \(di = xi - a\)
\(fi\) is the sum of all the frequencies.
Step deviation method: To calculate the mean using step deviation method, we use the following formula:
\(\bar{x} = a + h \cdot \frac{\sum f_i u_i}{\sum f_i}\)
Where \(a\) is the assumed mean
\(u_i\) is called as the reduced deviation, where \(u_i = (x_i - a) ÷ h\)
\(h\) is the class size
\(fi\) is the sum of all the frequencies.
Median of ungrouped data: To find the median of ungrouped data, follow these steps.
Step 1: Sort the data in ascending or descending order.
Step 2: Consider n to be the total number of observations. If the n is an odd number, then
the median \(=\frac{n+1}{2}\)th observation in the sorted list.
If n is even, then the median is the average of the \(\frac{n}{2}\)th and the \(\frac{n}{2}+1\)th observation.
Example 1:
Find the median of the data 56, 67, 54, 34, 78, 43, 23.
Solution:
Sort the data : 23, 34, 43, 54, 56, 67, 78.
Here, the number of observations n = 7.
Then, the median = \(\frac{n+1}{2}\)
\(=\frac{7+1}{2}\)
\(=\frac{8}{2}=4\)
Therefor, the 4th observation is the median.
That is 54.
Example 2:
Find the median of the data 50, 67, 24, 34, 78, 43.
Solution:
By sorting the data: 24, 34, 43, 50, 67, 78.
Here, the number of observations n = 6
\(\frac{n}{2}=\frac{6}{2}=\) 3rd term.
\(\frac{n}{2}+1=\frac{6}{2}+1=4\)th term.
Median \(=\frac{43+50}{2}\)
\(=46.5\)
Median of grouped data: When data are grouped into class intervals (with frequencies), use these steps:
Step 1: Compute the cumulative frequency of each class, to determine where \(\frac{n}{2}\) lies. Here, \(n=∑fi (n = \sum f_i) \) (total number of observations).
Step 2: Identify the median class: the class interval in which \(\frac{n}{2}\) falls.
Step 3: Use the formula,
Median \(= l+\frac{(\frac{n}{2}−c)}{f}×h\)
Where,
l = lower limit of the median class.
c = cumulative frequency of the class just before the median class.
f = frequency of the median class.
h = class width (size of the class interval).
Example:
Classes: 0–10, 10–20, 20–30, 30–40, 40–50
frequencies : 2, 12, 22, 8, 6
Total n = 50
So, \(\frac{n}{2}\) = 25.
The cumulative frequencies are:
0–10 → 2
10–20 → 14
20–30 → 36, ……
Since 25 lies in the class 20–30, that’s the median class.
Here, l = 20, c = 14, f = 22, h = 10.
By applying the formula:
Median \( = 20 + \left(\frac{25 - 14}{22}\right) \times 10 = 20 + \left(\frac{11}{22}\right) \cdot 10 = 20 + 5 = 25 \)
Mode of ungrouped data: The mode of ungrouped data is the number (or value) that appears most frequently in the dataset. To calculate the mode of ungrouped data:
Step 1: List all observations clearly.
Step 2: The value with the highest frequency is the mode.
Let us look into a few examples:
Data: 7, 8, 8, 9, 6, 8, 5 → Here, 8 occurs 3 times, more than any other value.
Therefore, mode = 8 (Unimodal).
Data: 4, 6, 4, 9, 6, 7 → 4 appears 2 times and 6 appears 2 times.
Therefore, mode = 4 and 6 (bimodal).
Mode of grouped data: When data are grouped into class intervals (e.g., 0–10, 10–20, etc.), the mode is found using a specific formula. To see the mode of grouped data, follow the steps below:
Step 1: Identify the modal class, that is, the class with the highest frequency.
Step 2: Use the formula:
Mode = \(l + (\frac{f_1 - f_0}{2f_1 - f_2}) ×h\)
\(l \)= lower limit of the modal class,
\(f_1\) = frequency of the modal class,
\(f_0\) = frequency of the class before the modal class,
\(f_2\) = frequency of the class after the modal class,
\(h \) = class width (upper limit − lower limit).
Example:
Find the mode for the below data.
| Class Interval | Frequency |
| 0 - 10 | 5 |
| 10 - 20 | 12 |
| 20 - 30 | 20 |
| 30 - 40 | 14 |
| 40 - 50 | 7 |
Solution:
Step 1: Identify the modal class.
Here, the highest frequency is 20.
So, the modal class is 20-30.
Step 2: Now identify the values.
\(l = 20, f_1 = 20, f_0 = 12\) (previous class frequency), \(f_2=14\) (next class frequency), h = 10.
Step 3: Apply the formula.
Mode \(= 20 + (\frac{20 -12}{(2 × 20}) - 12 - 14)×10 \)
\(= 20 + (\frac{8}{40}-26) × 10 \)
\(= 20 +(\frac{8}{14}) × 10 \)
\(= 20 +5.71 ≈25.71 \)
Therefore, the mode \(≈ 25.71\)
Mean:
Median:
Where, l = lower limit of median class, c = cumulative frequency of class before median class, f = frequency of median class, h = class width.
Mode:
In a grouped data, the relation between the measures of the three tendencies which are mean, median and mode is shown below:
Mode = 3 Median - 2 Mean
The relationship between these three tendencies helps us to understand how to find the other tendency. Say for example we know what is the mean and mode, we can convert the formula by solving for median.
For example, Median = 20 and Mode = 45, find the Mean.
Substituting the values in the formula:
45 = 3 median - 2(20)
45 = 3(20) - 2 mean
2 mean = 45 + 60
2 mean = 105
Mean = 105÷2 = 52.5
The differences between mean, median, and mode are given below:
|
Mean |
Median |
Mode |
|
Mean is the average of a set of numbers |
Median is the middle value of the given dataset |
Mode is the value that appears most frequently in a dataset. |
|
Mean is calculated by adding all the values of the data set and dividing it by the total number of values in the data set |
Median is calculated by finding the middle value in the data set, if the number of values in the dataset is even we average the two middle numbers |
Mode is calculated by finding which value occurs the most in the data set |
|
The value of mean may or may not be found in the data set |
The value of median is found in the data set |
The value of mode is found in the dataset |
|
Mean is represented by x or μ |
Median is represented by M |
Mode is represented by Z |
There are a lot of ways to master mean, median, and mode. Some ways to master mean, median, and mode are mentioned below:
When working on mean, median and mode, students tend to make mistakes. Here, are some common mistakes and their solutions:
There are a lot of real-world applications of mean, median and mode. Let us now see what kind of applications and fields we use mean, median and mode in:
Find the mean, median and mode for the given data: 5, 2, 9, 4, 7
Mean = 5.4, Median = 5 and there is no mode
Mean:
Step 1: Sum the data:
5 + 2 + 9 + 4 + 7 = 27
Step 2: Count the numbers: 5
Step 3: Compute the mean:
Mean = sum of all the values/total number of values
= 27÷5
= 5.4
Median:
Step 1: Arrange the numbers in order: 2, 4, 5, 7, 9
Step 2: Since the total number of values is odd, the middle value is 5
Step 3: The median is 5
Mode:
Each number occurs only once, so there is no mode in the given data.
Find the mean, median and mode for the data: 4, 4, 6, 6, 8
Mean = 5.6, Median = 6 and Mode = 4 and 6
Mean:
Step 1: Sum the data: 4 + 4 + 6 + 6 + 8 = 28
Step 2: Count the numbers: 5
Step 3: Compute the mean:
Mean = sum of all the values/total number of values
= 28÷5
= 5.6
Median:
Step 1: Order the data: 4, 4, 6, 6, 8
Step 2: Since the total number of values is odd, the middle value is 6
Step 3: The median is 6
Mode:
4 and 6 appears twice, hence the mode is 4 and 6
Find the mean of the following grouped data:
The mean is 24
Step 1: Create the table to calculate fi x xi, and sum up all the frequencies and sum up fi x xi.
|
Class Interval |
Midpoint (xi) |
Frequency (fi) |
fi x xi |
|
10 – 20 |
15 |
3 |
45 |
|
20 – 30 |
25 |
5 |
125 |
|
30 – 40 |
35 |
2 |
70 |
|
Sum of frequency = 10 |
Sum of fi x xi = 240 |
Step 2: Compute the mean:
x = 240÷10 = 24.
Find the mean, median and mode for the data: 3, 3, 5, 7, 7, 7, 9, 9
Mean = 6.25, Median = 7 and Mode = 7
Mean:
Step 1: Sum the data: 3 + 3 + 5 + 7 + 7 + 7 + 9 + 9 = 50
Step 2: Count the numbers: 8
Step 3: Compute the mean:
Mean = sum of all the values/total number of values
= 50/8
= 6.25
Median:
Step 1: Order the data: 3, 3, 5, 7, 7, 7, 9, 9
Step 2: Since the total number of values is even, the middle values average is taken that is: 7 + 7÷2 = 14÷2 = 7
Step 3: The median is 7
Mode:
7 appears 3 times, hence the mode is 7
Find the mean, median and mode for the data: 3, 8, 2, 5
Mean = 4.5, Median = 4 and there is no mode.
Mean:
Step 1: Sum the data: 3 + 8 + 2 + 5 = 18
Step 2: Count the numbers: 4
Step 3: Compute the mean:
Mean = sum of all the values/total number of values
= 18÷4
= 4.5
Median:
Step 1: Order the data: 3, 8, 2, 5
Step 2: Since the total number of values is even, the middle values average is taken, that is:Median = (3 + 5) ÷ 2 = 8 ÷ 2 = 4
Step 3: The median is 4
Mode:
Each number occurs only once, so there is no mode in the given data
Jaipreet Kour Wazir is a data wizard with over 5 years of expertise in simplifying complex data concepts. From crunching numbers to crafting insightful visualizations, she turns raw data into compelling stories. Her journey from analytics to education ref
: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!






