When you have a long list of numbers, such as the marks of a whole class, one “typical” value often tells you more than the whole list. Statistics gives three ways to find it, called measures of central tendency: the mean, the median and the mode. This lesson shows how to find each one for a simple list and for grouped data in a frequency table, as in the SSC syllabus.
In this lesson you will learn
- Mean, median and mode for a list of numbers
- Making a frequency table with class intervals
- Mean of grouped data using midpoints
- Median and mode of grouped data using the formulas
- Which measure to use when
You only need basic arithmetic. Solving the formulas uses the skills from Linear Equations in One Variable.
For a List of Numbers
Eight students scored these marks: 45, 52, 60, 52, 70, 48, 52, 65.
| Measure | How to find it | Result |
|---|---|---|
| Mean | Add all values, divide by how many there are | 444 ÷ 8 = 55.5 |
| Median | Sort the values and take the middle one | 52 |
| Mode | The value that appears most often | 52 |
For the median, sort first: 45, 48, 52, 52, 52, 60, 65, 70. With 8 values there are two middle values, the 4th and 5th, so the median is their average: (52 + 52) ÷ 2 = 52. With an odd number of values n, the median is simply the ((n + 1)/2)-th value.
A list can have more than one mode (two values tie for most frequent) or no mode at all (every value appears once).
Grouped Data and Frequency Tables
With many values, we group them into class intervals of equal width and count how many fall in each. Here are the marks of 40 students, with classes of width h = 10. A class such as 40–50 contains marks from 40 up to, but not including, 50.
| Marks | Frequency (f) | Midpoint (x) | f × x | Cumulative frequency |
|---|---|---|---|---|
| 30–40 | 5 | 35 | 175 | 5 |
| 40–50 | 8 | 45 | 360 | 13 |
| 50–60 | 12 | 55 | 660 | 25 |
| 60–70 | 10 | 65 | 650 | 35 |
| 70–80 | 5 | 75 | 375 | 40 |
| Total | 40 | 2220 |
The midpoint is the average of a class’s limits, such as (30 + 40) ÷ 2 = 35. The cumulative frequency is a running total of the frequencies.
Mean of Grouped Data
We do not know each exact mark any more, so we assume every value in a class sits at its midpoint.
Mean = Σfx / n = 2220 / 40 = 55.5
Σ (the Greek letter sigma) means “add up all of”. Because of the midpoint assumption, the grouped mean is an estimate of the true mean.
Median of Grouped Data
Median formula
Median = L + ((n/2 − F) / f) × h
L = lower limit of the median class, F = cumulative frequency of the class before it, f = frequency of the median class, h = class width.
n/2 = 40/2 = 20
The cumulative frequency first reaches 20 in class 50–60 (13 → 25),
so 50–60 is the median class.
L = 50, F = 13, f = 12, h = 10
Median = 50 + ((20 − 13) / 12) × 10
= 50 + 70/12
= 55.83 (to 2 decimal places)
Mode of Grouped Data
Mode formula
Mode = L + (f₁ / (f₁ + f₂)) × h
The modal class has the highest frequency. f₁ = its frequency minus the frequency of the class before it; f₂ = its frequency minus the frequency of the class after it.
Modal class = 50–60 (frequency 12)
f₁ = 12 − 8 = 4
f₂ = 12 − 10 = 2
Mode = 50 + (4 / (4 + 2)) × 10
= 50 + 6.67
= 56.67 (to 2 decimal places)
The mode leans towards 60 because the class after the modal class (frequency 10) is bigger than the class before it (frequency 8).
Which Measure Should You Use?
| Measure | Best for | Weakness |
|---|---|---|
| Mean | Data without extreme values; uses every value | Pulled by outliers: one very high income raises the mean of a whole village |
| Median | Skewed data such as incomes or house prices | Ignores how far values are from the middle |
| Mode | Categories, such as the most popular shoe size | May not exist, or there may be several |
Common Mistakes
- Finding the median without sorting. Always put the values in order first.
- Using the class with the largest cumulative frequency as the median class. Use the first class whose cumulative frequency reaches n/2.
- Using the wrong F. F is the cumulative frequency of the class before the median class, not of the median class itself.
- Mixing up f₁ and f₂ in the mode formula. f₁ uses the class before, f₂ the class after.
Practice Exercises
Exercise 1. Find the mean, median and mode of 7, 3, 9, 3, 5, 8, 3.
Show answer
Mean = 38 ÷ 7 ≈ 5.43. Sorted: 3, 3, 3, 5, 7, 8, 9, so the median is the 4th value, 5. Mode = 3.
Exercise 2. Daily wages: 200–300 (4 workers), 300–400 (9), 400–500 (5), 500–600 (2). Find the mean wage.
Show answer
Midpoints 250, 350, 450, 550. Σfx = 1000 + 3150 + 2250 + 1100 = 7500, n = 20, so the mean is 7500 ÷ 20 = 375 taka.
Exercise 3. For the wage data in Exercise 2, find the median.
Show answer
n/2 = 10. Cumulative frequencies: 4, 13, 18, 20, so the median class is 300–400. L = 300, F = 4, f = 9, h = 100. Median = 300 + (6/9) × 100 ≈ 366.67 taka.
Frequently Asked Questions
My textbook writes classes as 31–40, 41–50. What changes?
Those classes have gaps between them (40 to 41). Some books first convert them to continuous boundaries such as 30.5–40.5 and use 30.5 as L. Follow the method your teacher and textbook use; the formulas stay the same.
Can the mean be a value that is not in the data?
Yes. The mean of 1, 2, 3 and 4 is 2.5, which is not in the list. The median can also fall between two values when there is an even number of them.
Summary
- Mean = total ÷ count; median = middle value after sorting; mode = most frequent value.
- For grouped data, the mean uses midpoints: Σfx / n.
- Median = L + ((n/2 − F)/f) × h.
- Mode = L + (f₁/(f₁ + f₂)) × h.
- Use the median for skewed data and the mode for categories.
Next: Functions and Relations.
