Mean, median, and mode are three of the most commonly used measures in statistics. They help us understand a set of data by describing its central or typical value. Instead of looking at every number separately, we can use these measures to get a quick idea of where the data is concentrated.
These concepts are useful in mathematics, science, economics, business, education, research, and everyday life. For example, the average marks of students can be found using the mean, the middle income of a group can be represented by the median, and the most frequently occurring shoe size in a shop can be identified using the mode.
Although mean, median, and mode all describe the center of a data set, they are calculated differently and are useful in different situations. Understanding their formulas, calculation methods, and differences makes it much easier to work with statistical data.
What Are Mean, Median, and Mode?
Mean, median, and mode are called measures of central tendency. Central tendency refers to a value that represents the center or typical position of a data set.
Consider the following data:
4, 6, 6, 8, 10
For this data:
The mean is found by adding all values and dividing by the number of values.
The median is the middle value after arranging the data in order.
The mode is the value that occurs most frequently.
Here, the mean is 6.8, the median is 6, and the mode is 6.
Each measure gives us a different way of describing the same data.
Mean Formula
The mean is commonly called the average. It is calculated by adding all the observations in a data set and dividing the total by the number of observations.
Formula for Mean
Mean = Sum of all observations ÷ Number of observations
If the observations are represented by x₁, x₂, x₃, …, xₙ, the formula can be written as:
Mean = (x₁ + x₂ + x₃ + … + xₙ) ÷ n
Here:
x₁, x₂, x₃, … represent the individual observations.
n represents the total number of observations.
Example of Mean
Suppose the marks obtained by five students are:
12, 15, 18, 20, 25
First, add all the observations:
12 + 15 + 18 + 20 + 25 = 90
There are five observations.
Therefore:
Mean = 90 ÷ 5 = 18
So, the mean of the data is 18.
The mean uses every value in the data set. This makes it useful when we want an overall average, but it also means that unusually large or small values can affect it significantly.
Mean Formula for Frequency Data
When a value occurs several times, it can be represented using its frequency. Frequency tells us how many times a particular value occurs.
For frequency data, the mean is calculated using:
Mean = Σfx ÷ Σf
Here:
f = frequency of an observation
x = observation
fx = product of frequency and observation
Σfx = sum of all fx values
Σf = total frequency
Example
Consider the following data:
| Value (x) | Frequency (f) |
|---|---|
| 2 | 3 |
| 4 | 2 |
| 6 | 4 |
| 8 | 1 |
Calculate fx:
2 × 3 = 6
4 × 2 = 8
6 × 4 = 24
8 × 1 = 8
Therefore:
Σfx = 6 + 8 + 24 + 8 = 46
The total frequency is:
Σf = 3 + 2 + 4 + 1 = 10
So:
Mean = 46 ÷ 10 = 4.6
Thus, the mean is 4.6.
Median Formula
The median is the middle value of an ordered data set. To find the median, the observations must first be arranged in ascending or descending order.
The method depends on whether the number of observations is odd or even.
Median Formula for Odd Number of Observations
If the number of observations is n and n is odd, the position of the median is:
Median position = (n + 1) ÷ 2
Example
Consider:
3, 5, 7, 9, 12
There are five observations.
So:
Median position = (5 + 1) ÷ 2 = 3
The third value is 7.
Therefore:
Median = 7
Median Formula for Even Number of Observations
When the number of observations is even, there are two middle values. The median is the average of these two values.
The positions of the two middle values are:
n ÷ 2
and
(n ÷ 2) + 1
The median is:
Median = [Value at n/2 position + Value at (n/2 + 1) position] ÷ 2
Example
Consider the data:
4, 6, 8, 10, 12, 14
There are six observations.
The two middle positions are:
6 ÷ 2 = 3
and
3 + 1 = 4
The third and fourth values are 8 and 10.
Therefore:
Median = (8 + 10) ÷ 2
Median = 9
So, the median is 9.
Median for Frequency Data
For frequency data, the median is found by arranging the observations and using cumulative frequency.
The first step is to calculate the total frequency:
N = Σf
Then determine the middle position.
For many basic discrete frequency distributions, the median can be located using the position:
Median position = (N + 1) ÷ 2
The cumulative frequency is then used to identify the observation corresponding to that position.
For grouped data, a different formula is used.
Median Formula for Grouped Data
The median of a continuous grouped frequency distribution is calculated using:
Median = l + [(N/2 − cf) ÷ f] × h
Here:
l = lower boundary of the median class
N = total frequency
cf = cumulative frequency before the median class
f = frequency of the median class
h = class width
The median class is the class interval in which the middle observation lies.
Mode Formula
The mode is the value that occurs most frequently in a data set.
For example:
2, 4, 4, 5, 6, 4, 8
The number 4 occurs three times, while the other values occur fewer times.
Therefore:
Mode = 4
Unlike the mean and median, the mode does not require mathematical operations such as addition or division. We simply identify the value with the highest frequency.
Mode in Grouped Data
For a grouped frequency distribution, the mode is calculated using a formula.
Mode Formula for Grouped Data
Mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h
Here:
l = lower boundary of the modal class
f₁ = frequency of the modal class
f₀ = frequency of the class immediately before the modal class
f₂ = frequency of the class immediately after the modal class
h = class width
The modal class is the class interval with the highest frequency.
Example of Grouped Mode
Suppose a frequency distribution contains the following classes:
| Class | Frequency |
|---|---|
| 0–10 | 5 |
| 10–20 | 8 |
| 20–30 | 15 |
| 30–40 | 9 |
| 40–50 | 4 |
The class 20–30 has the highest frequency, so it is the modal class.
Using the formula:
Mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h
Here:
l = 20
f₁ = 15
f₀ = 8
f₂ = 9
h = 10
Therefore:
Mode = 20 + [(15 − 8) ÷ (30 − 8 − 9)] × 10
Mode = 20 + (7 ÷ 13) × 10
Mode ≈ 25.38
Thus, the estimated mode is approximately 25.38.
Relationship Between Mean, Median, and Mode
For a moderately symmetrical distribution, mean, median, and mode may have similar values.
There is also an empirical relationship that is sometimes used for moderately skewed distributions:
Mode ≈ 3 Median − 2 Mean
This can also be rearranged as:
Mean − Mode ≈ 3(Mean − Median)
This relationship is an approximation rather than a universal mathematical rule. It should not be assumed to hold exactly for every data set.
For example, if:
Mean = 20
and
Median = 18
then the estimated mode using the empirical relationship is:
Mode ≈ 3(18) − 2(20)
Mode ≈ 54 − 40
Mode ≈ 14
This provides an approximate value rather than an exact mode.
Difference Between Mean, Median, and Mode
Although all three measures describe central tendency, their methods and applications are different.
| Measure | Meaning | Main Method | Effect of Extreme Values |
|---|---|---|---|
| Mean | Arithmetic average | Add values and divide by count | Strongly affected |
| Median | Middle value | Arrange data and find center | Less affected |
| Mode | Most frequent value | Find highest frequency | Generally unaffected |
The mean is useful when all observations should contribute to the calculation. The median is particularly useful when the data contains extreme values. The mode is useful when we want to know the most common observation.
When Should You Use the Mean?
The mean is useful when the data is reasonably balanced and extreme values are not likely to distort the result.
For example, if the daily temperatures are:
24, 25, 26, 25, 27
the mean provides a useful summary of the typical temperature.
Mean is commonly used for:
Average marks
Average temperature
Average production
Average income in suitable distributions
Scientific measurements
Financial calculations
Because every observation is included, the mean contains information from the entire data set.
When Should You Use the Median?
The median is especially useful when a data set contains extreme values.
Consider the following incomes:
20,000, 22,000, 24,000, 26,000, 500,000
The extremely high income of 500,000 increases the mean substantially. The median, however, remains 24,000 because it depends on the position of the middle observation rather than the size of every observation.
Therefore, the median can provide a more representative description of the center when data is highly skewed.
When Should You Use the Mode?
The mode is useful when the most common value is important.
For example, a clothing store may record the following shirt sizes sold:
M, L, M, S, M, XL, L
The mode is M, because it occurs most frequently.
Mode can be particularly useful for:
Most common product size
Most common category
Most frequent score
Popular choices in surveys
Categorical data
Unlike the mean, the mode can be used with data that is not numerical.
Can a Data Set Have More Than One Mode?
Yes. A data set can have more than one mode.
If two values occur with the same highest frequency, the data set is called bimodal.
For example:
2, 3, 3, 5, 6, 6, 8
Both 3 and 6 occur twice, which is the highest frequency.
Therefore:
Modes = 3 and 6
If more than two values have the same highest frequency, the data set can be described as multimodal.
A data set can also have no mode when no value occurs more frequently than the others.
Mean, Median, and Mode in Real Life
These three measures are used in many areas of everyday life.
In education, teachers can use the mean to calculate average marks, the median to understand the middle performance, and the mode to identify the most common score.
In business, companies can use these measures to study sales, customer behavior, prices, and product demand.
In science, statistical measures help researchers summarize experimental observations and measurements.
In economics, the median can be useful for describing income or wealth distributions because very large values can strongly affect the mean.
In healthcare and public research, these measures can help summarize numerical observations across groups of people.
Common Mistakes When Calculating Mean, Median, and Mode
One common mistake is forgetting to arrange the data before finding the median. The median depends on the ordered position of the observations.
Another mistake is dividing the sum by the wrong number when calculating the mean. The total must be divided by the number of observations.
For frequency data, it is important to distinguish between the value and its frequency. The mean must account for how many times each value occurs.
When calculating the mode of grouped data, the class with the highest frequency must be identified correctly before applying the formula.
It is also important to remember that the empirical relationship between mean, median, and mode is only an approximation.
Summary of Important Formulas
The most important formulas can be summarized as follows.
Mean Formula
Mean = Sum of observations ÷ Number of observations
For frequency data:
Mean = Σfx ÷ Σf
Median Formula for Odd Data
Median position = (n + 1) ÷ 2
Median Formula for Even Data
Median = Average of the two middle values
Median Formula for Grouped Data
Median = l + [(N/2 − cf) ÷ f] × h
Mode Formula
For simple data:
Mode = Most frequently occurring value
For grouped data:
Mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h
Empirical Relationship
Mode ≈ 3 Median − 2 Mean
These formulas provide the basic mathematical tools needed to calculate and understand mean, median, and mode.
Conclusion
Mean, median, and mode are fundamental concepts in statistics and mathematics. The mean represents the arithmetic average, the median identifies the central value of ordered data, and the mode identifies the most frequently occurring value. Although they all describe central tendency, each one responds differently to the characteristics of a data set.
The mean is useful when every observation should contribute to the result, while the median is often more suitable when extreme values are present. The mode is valuable when the most common value or category is the main focus.
By learning the formulas and understanding when each measure is appropriate, you can analyze data more effectively and interpret statistical information with greater confidence.
FAQs
1. What is the formula for mean?
The formula for mean is Mean = Sum of all observations ÷ Number of observations. To calculate the mean, add every value in the data set and divide the total by the number of values. For example, consider 5, 10, 15, 20, and 25. Their sum is 75, and there are five observations. Therefore, Mean = 75 ÷ 5 = 15. The mean is also called the arithmetic average. It is one of the most widely used measures of central tendency because it considers every observation in the data set. However, very large or very small values can significantly affect the mean.
2. What is the formula for median?
The median is the middle value of an ordered data set. First, arrange all observations from smallest to largest or largest to smallest. If the number of observations is odd, use Median position = (n + 1) ÷ 2 to find the middle value. If the number of observations is even, take the average of the two middle values. For example, in 4, 7, 9, 12, and 15, there are five values, so the median is the third value, 9. The median is particularly useful when a data set contains extreme values because it is less affected by unusually high or low observations.
3. What is the formula for mode?
For a simple data set, the mode is the value that occurs most frequently. There is no addition or division formula required to find the mode. Simply count how many times each value appears and identify the value with the highest frequency. For example, in the data set 2, 4, 4, 5, 6, 4, and 8, the number 4 occurs three times, more than any other value. Therefore, the mode is 4. For grouped data, the mode can be calculated using Mode = l + [(f₁ − f₀) ÷ (2f₁ − f₀ − f₂)] × h.
4. What is the difference between mean, median, and mode?
Mean, median, and mode are all measures of central tendency, but they describe data in different ways. The mean is the arithmetic average of all observations. The median is the middle value after the observations are arranged in order. The mode is the value that occurs most frequently. For example, in the data set 2, 3, 3, 5, and 7, the mean is 4, the median is 3, and the mode is 3. The mean uses every observation, the median depends mainly on the position of values, and the mode depends on frequency. Choosing the appropriate measure depends on the characteristics of the data.
5. How do you calculate mean from frequency data?
To calculate the mean from frequency data, multiply each observation by its corresponding frequency. Then add all the products and divide the result by the total frequency. The formula is Mean = Σfx ÷ Σf. Here, x represents the observation and f represents its frequency. For example, if a value of 5 occurs three times, its contribution to the total is 5 × 3 = 15. Repeat this for every value, calculate Σfx, and calculate Σf. Finally, divide Σfx by Σf. This method is useful when observations are repeated and are presented together with their frequencies.
6. How do you find the median when there is an even number of observations?
When a data set contains an even number of observations, there are two middle values rather than one. First, arrange all observations in ascending or descending order. Then identify the two middle positions, which are n ÷ 2 and (n ÷ 2) + 1. Add the values at these positions and divide their sum by 2. For example, consider 4, 6, 8, 10, 12, and 14. There are six observations, so the third and fourth values are the middle values. They are 8 and 10. Therefore, Median = (8 + 10) ÷ 2 = 9.
7. Can a data set have more than one mode?
Yes, a data set can have more than one mode. If two different values occur with the same highest frequency, the data set is called bimodal. For example, consider 2, 3, 3, 5, 6, 6, and 8. Both 3 and 6 occur twice, while the other values occur once. Therefore, the data set has two modes: 3 and 6. If more than two values share the highest frequency, the data set may be described as multimodal. A data set can also have no mode when all values occur with the same frequency and there is no uniquely most frequent value.
8. Which measure is affected most by extreme values?
The mean is generally affected most by extreme values because it uses every observation in its calculation. A very large or very small observation can substantially change the total and therefore change the mean. The median is less affected because it depends primarily on the position of observations after they are arranged. The mode is generally not affected by extreme numerical values unless they change the frequency pattern. For example, if a data set contains 10, 12, 14, 16, and 100, the value 100 increases the mean considerably, while the median remains 14. This makes the median useful for highly skewed data.
9. What is the empirical relationship between mean, median, and mode?
For a moderately skewed distribution, an approximate empirical relationship between mean, median, and mode is Mode ≈ 3 Median − 2 Mean. This relationship is sometimes used when two of the three measures are known and an approximate value of the third is required. For example, if the mean is 20 and the median is 18, the estimated mode is 3(18) − 2(20) = 14. However, this is an empirical approximation rather than an exact formula that applies to every data set. It should therefore be used carefully and mainly for distributions where the relationship is reasonably appropriate.
10. When should you use mean, median, or mode?
The choice depends on the type and distribution of the data. The mean is useful when you want an overall average and extreme values do not strongly distort the result. The median is often useful when data contains extreme values or is strongly skewed because it is less sensitive to them. The mode is useful when the most frequently occurring value or category is important. For example, mean can summarize average marks, median can describe the middle value of a skewed income distribution, and mode can identify the most common clothing size. Understanding the data helps determine which measure provides the most meaningful summary.

















