Statistics

Chapter 13 · Mathematics · Class 10 32 min read

Why This Matters

Imagine your school collects the marks of 200 students. Or a city writes down its temperature every single day for a year. That is a huge pile of numbers. You learn nothing by staring at 200 figures one by one. What you really want is one number that speaks for the whole pile. A typical mark. A typical temperature. The size that shows up most often.

In Class 9 you found the mean, median and mode of a short list. The list was small enough to read each number on its own. But real data is usually too big to list like that. So we squeeze it into a table of class intervals. For example: “10 to 25 marks: 2 students, 25 to 40 marks: 3 students, and so on.” A class interval is just a range of values bunched together. Once the exact values are hidden inside these ranges, the old Class 9 formulas don’t work directly anymore.

This chapter shows you how to pull the three main “middle” numbers — mean, mode and median — out of grouped data. (Grouped data just means data arranged in class intervals.) You’ll learn three ways to find the mean, and why all three give the exact same answer. You’ll learn a formula that finds the mode inside the busiest interval. And you’ll learn a formula that finds the exact middle value. These tools turn a wall of numbers into one clear, useful summary.

Before we touch grouped data, let’s warm up with what these three averages meant back in Class 9, when the data was just a short list.

And here is a quick refresher on the words those ranges come wrapped in — frequency, class intervals, and the grouped table itself.

The Big Idea

Grouped data hides the exact values inside class intervals. So for each interval we use its mid-point (called the class mark) as a stand-in for every value in it. The mean is the average of these mid-points, where each mid-point counts as many times as there are values in its class. You can find it three ways — direct, assumed-mean or step-deviation. They differ only in how easy the arithmetic is, never in the final answer. The mode sits inside the class with the highest frequency (called the modal class). The median sits inside the class where the running total of frequencies first reaches the halfway point (called the median class). Each of these has its own formula that locates the exact value inside that class.

Let’s Break It Down

First, a quick word on class marks, because everything in this chapter is built on them. In grouped data we don’t know the exact values inside a class. So we make a simple assumption: every value in a class sits right at its centre. That centre is the class mark. It is just the average of the two limits of the class:

class mark = (lower limit + upper limit) / 2

For example, take the class 10 to 25. Its lower limit is 10 and its upper limit is 25. So the class mark is (10 + 25) / 2 = 17.5. From now on, this one number, 17.5, stands for the whole class 10–25.

Why the middle, and not, say, the lower limit? Because we have no idea where each value really sits inside the class. The safest single guess is the centre. Pick the centre and some values will be a bit higher and some a bit lower — but the over-guesses and under-guesses roughly cancel out, so the total error stays as small as possible. Pick the lower limit (10) instead and you under-guess every value, so all the errors pile up the same way and your mean comes out too low. The mid-point is the only choice that doesn’t lean one way or the other.

Mean — the direct method

To find the mean of grouped data, you multiply each class mark by its frequency, add up all those products, and then divide by the total frequency:

x̄ = Σfᵢxᵢ / Σfᵢ

Here xᵢ is the class mark and fᵢ is the frequency (how many values are in that class). The symbol Σ (“sigma”) just means “add them all up”. So the recipe is simple. Add one extra column for the products fᵢxᵢ. Add that column up. Then divide by the total number of students.

Let’s see it with the marks of 30 students:

Class intervalFrequency (fᵢ)Class mark (xᵢ)fᵢxᵢ
10–25217.535.0
25–40332.597.5
40–55747.5332.5
55–70662.5375.0
70–85677.5465.0
85–100692.5555.0
TotalΣfᵢ = 30Σfᵢxᵢ = 1860
Mean by the direct method

Using the table above (marks of 30 students), find the mean marks by the direct method.

Mean — the assumed-mean method

When the class marks are big numbers (like 200, 300, 400), multiplying each one by its frequency is slow and easy to get wrong. So here is a clever shortcut. Guess a mean to start with. We call this guess the assumed mean, written a. Just pick any class mark near the middle of the table. Now, instead of working with the big numbers, work with how far each class mark is from your guess. That distance is the deviation, written dᵢ = xᵢ − a. These deviations are small numbers, so they are easy to handle.

Since we subtracted a from every value to get the deviations, we simply add a back at the end:

x̄ = a + (Σfᵢdᵢ / Σfᵢ)

This gives the exact same mean as the direct method. Why? Because if you lower every value by the same amount a, the average also drops by a. Adding a back at the end brings it right back to the true mean.

Figure 13.1 below shows this shift as a slide along a number line — watch the big class marks turn into small, friendly deviations.

A number line of the real class marks 17.5, 32.5, 47.5, 62.5, 77.5, 92.5 with the assumed mean a = 47.5 marked in red. Below it, the same points re-measured as small deviations minus 30, minus 15, 0, 15, 30, 45 from a, with a = 47.5 now sitting at the new origin 0. Step 1 subtract a, step 2 average the small deviations to get 14.5, step 3 add a back to reach the true mean 62.
Figure 13.1 — The assumed-mean trick in three steps. The top number line shows the real class marks xᵢ (17.5, 32.5, 47.5, 62.5, 77.5, 92.5) with the guessed mean a = 47.5 marked in red. Step 1: subtract a from every mark, which slides the origin onto a, so each mark becomes a small deviation dᵢ = xᵢ − a (−30, −15, 0, 15, 30, 45) on the lower number line, where a now sits at the new origin 0. Step 2: average these easy deviations, Σfᵢdᵢ / Σfᵢ = 14.5. Step 3: add a back, giving x̄ = 47.5 + 14.5 = 62. The true mean is unchanged — only the arithmetic got easier.

Let’s use a = 47.5 for the same marks data:

Class intervalfᵢxᵢdᵢ = xᵢ − 47.5fᵢdᵢ
10–25217.5−30−60
25–40332.5−15−45
40–55747.500
55–70662.51590
70–85677.530180
85–100692.545270
Total30Σfᵢdᵢ = 435
Mean by the assumed-mean method

For the same marks data, find the mean by the assumed-mean method, taking a = 47.5.

Mean — the step-deviation method

Look at the deviations again: −30, −15, 0, 15, 30, 45. Notice something? They are all multiples of 15. And 15 is exactly the class size (the width of each interval). So we can make the numbers even smaller and easier. Divide each deviation by h, the class size. This gives tiny whole numbers like −2, −1, 0, 1, 2. We call this new value uᵢ = (xᵢ − a) / h.

Since we shrank every deviation by dividing by h, we must scale it back up by multiplying by h at the very end:

x̄ = a + h × (Σfᵢuᵢ / Σfᵢ)

Class intervalfᵢxᵢuᵢ = (xᵢ − 47.5)/15fᵢuᵢ
10–25217.5−2−4
25–40332.5−1−3
40–55747.500
55–70662.516
70–85677.5212
85–100692.5318
Total30Σfᵢuᵢ = 29
Mean by the step-deviation method

For the same marks data, find the mean by the step-deviation method with a = 47.5 and h = 15.

Why all three agree. They are really the same calculation, just dressed up differently. The assumed-mean method shifts every value down by a, then adds a back at the end. The step-deviation method does that same shift and also divides by h, then multiplies by h back at the end. Nothing is thrown away in either case. So the final mean has to come out the same. Pick whichever method makes the arithmetic easiest for that data:

Picking a method for the mean
MethodFormulaBest whenExtra columns
Directx̄ = Σfᵢxᵢ / Σfᵢxᵢ and fᵢ are smallfᵢxᵢ
Assumed meanx̄ = a + Σfᵢdᵢ / Σfᵢxᵢ are largedᵢ, fᵢdᵢ
Step-deviationx̄ = a + h × (Σfᵢuᵢ / Σfᵢ)deviations share a common factor hdᵢ, uᵢ, fᵢuᵢ

The step-deviation method has one easy-to-forget last step. See if you can spot what goes wrong when it is skipped.

Concept check

In the step-deviation method, you computed Σfᵢuᵢ but forgot to multiply by h at the end. Will your mean be too big, too small, or correct?

Mode of grouped data

The mode is all about finding the busiest class, and there is a Class 9 picture that makes “busiest” easy to see — the histogram and its tallest bar.

The mode is the value that shows up most often. In grouped data you can’t see the individual values. But you can find the class with the highest frequency. That class is called the modal class — simply the busiest interval. The mode is some value sitting inside that class, and this formula tells you exactly where:

Mode = l + [(f₁ − f₀) / (2f₁ − f₀ − f₂)] × h

Let’s name each part:

  • l = lower limit of the modal class
  • f₁ = frequency of the modal class (the busiest one)
  • f₀ = frequency of the class just before the modal class
  • f₂ = frequency of the class just after the modal class
  • h = class size (the width of an interval)

The idea is this. The mode leans toward whichever neighbour is taller. If the class right after the modal class is busier than the one right before it, the mode shifts a little in that direction.

But why that exact fraction? Let’s build it from the picture instead of memorising it. The modal class is the tallest bar. Its frequency jumps up from the bar on its left by (f₁ − f₀), and then drops down to the bar on its right by (f₁ − f₂). These two numbers are the “step up” on the left and the “step down” on the right of the peak.

Now think about where the true peak really sits. If the step up on the left is small (the left neighbour was almost as tall), the data was already crowded near the left edge, so the peak hugs the left side. If the step down on the right is small instead (the right neighbour is almost as tall), the crowd leans right, so the peak shifts that way. In short, the peak sits closer to the side with the smaller step. The fair way to share the width between the two steps is to put the peak at the fraction (f₁ − f₀) out of the total of both steps, (f₁ − f₀) + (f₁ − f₂). And that total is exactly 2f₁ − f₀ − f₂ — which is why the formula has that on the bottom. Multiply that fraction by the width h and add it to the lower limit l, and you reach the mode.

Figure 13.2 below shows the two steps and how they pull the peak toward the gentler side.

Three histogram bars: the class before with frequency f0 equal to 7, the modal class with frequency f1 equal to 8, and the class after with frequency f2 equal to 2. The step up on the left is f1 minus f0 equal to 1, and the step down on the right is f1 minus f2 equal to 6. Because the left step is small, the peak hugs the left side, landing at the fraction 1 over 7 of the width 2, which is 0.29, so the mode is 3 plus 0.29 equal to 3.29.
Figure 13.2 — Why the mode leans toward the taller neighbour. Three histogram bars are shown: the class before (frequency f₀ = 7), the modal class in blue (frequency f₁ = 8, lower limit l = 3, upper limit 5, width h = 2), and the class after (frequency f₂ = 2). The short red line on the left is the step up, f₁ − f₀ = 1; the long green line on the right is the step down, f₁ − f₂ = 6. Because the left step is small, the peak hugs the left side. The red dashed line marks the mode, placed at the fraction (f₁ − f₀) over the sum of both steps (2f₁ − f₀ − f₂) = 1 over 7 of the width h = 2, giving 0.29. So Mode = l + that distance = 3 + 0.29 = 3.29.

Figure 13.3 below is a histogram of family sizes — see how one bar towers over the rest and gets crowned the modal class.

Histogram of family size with intervals 1-3, 3-5, 5-7, 7-9, 9-11 and frequencies 7, 8, 2, 2, 1. The 3-5 bar with frequency 8 is the tallest and is highlighted as the modal class.
Figure 13.3 — A histogram of family sizes for 20 households. The horizontal axis shows the class intervals (1–3, 3–5, 5–7, 7–9, 9–11) and the vertical axis shows the number of families, so each bar's height is its frequency (7, 8, 2, 2, 1). The bars touch with no gaps because the intervals are continuous. The 3–5 bar, with frequency 8, is the tallest and is highlighted as the modal class — the class with the highest frequency, where the mode lies.

Family-size survey of 20 households:

Family sizeNumber of families
1–37
3–58
5–72
7–92
9–111
Mode of grouped data

Find the mode of the family-size data above (the highest frequency is 8, in the class 3-5).

Median of grouped data

The median is the middle value. Half the data lies below it, and half lies above it. To find it in grouped data, you first build a new column called the cumulative frequency (cf). This is just a running total of the frequencies as you go down the table. The cumulative frequency of a class is its own frequency plus all the frequencies above it. In plain words, it answers: “how many values have we counted so far, up to the end of this class?”

For example, if the first three classes have frequencies 5, 3 and 4, their cumulative frequencies are 5, then 5+3 = 8, then 8+4 = 12.

Next, find the median class. This is the first class whose cumulative frequency reaches or crosses n/2, where n is the total frequency. The median sits inside this class, and the formula is:

Median = l + [(n/2 − cf) / f] × h

Let’s name each part:

  • l = lower limit of the median class
  • n = total frequency
  • cf = cumulative frequency of the class just before the median class
  • f = frequency of the median class
  • h = class size

The bracket tells you how far past the start of the median class you must move to reach the middle value (the (n/2)-th observation).

But where does this formula come from? It is not something to just trust — it is a simple “walk”. Picture lining up all the data from smallest to largest. The median is the item right in the middle, the (n/2)-th one. By the time you reach the start of the median class, you have already counted cf items (everything in the classes before it). You still need to reach item number n/2. So you must walk forward by (n/2 − cf) more items.

Now here is the key idea. Those f items of the median class are spread evenly across its width h (we don’t know exactly where each one sits, so we assume they are equally spaced). If walking through all f items takes you across the whole width h, then walking through just (n/2 − cf) of them takes you across the matching fraction of the width: (n/2 − cf) / f of h. Start at the lower limit l and add that distance, and you land exactly on the median.

Figure 13.4 below zooms into the median class and shows this walk, step by step.

The median class 60 to 70 drawn as a wide bar holding its 7 items spread evenly across width h equal to 10. Before this class, 22 items are already counted as cf. The middle item is number n over 2 equals 26.5, so we walk 26.5 minus 22 equals 4.5 items into the class. Those 4.5 out of 7 items cover the fraction 4.5 over 7 of the width, which is 6.43, so the median is 60 plus 6.43 equals 66.4.
Figure 13.4 — The median formula seen as a walk into the median class. The grey block on the left holds all the items already counted before this class, cf = 22. The blue box is the median class 60–70 (lower limit l = 60, width h = 10), holding its f = 7 items drawn as evenly spaced circles. The middle item we want is number n/2 = 26.5, so starting from cf we must walk 26.5 − 22 = 4.5 items forward (the red arrow). That highlighted 26.5-th item is the median. Since 4.5 items out of 7 cover the fraction 4.5/7 of the width h = 10, the distance walked is (4.5/7) × 10 = 6.43. So Median = l + that distance = 60 + 6.43 = 66.4.

Marks of 53 students, with the cumulative-frequency column added:

MarksFrequency (f)Cumulative frequency (cf)
0–1055
10–2038
20–30412
30–40315
40–50318
50–60422
60–70729
70–80938
80–90745
90–100853

Plotting those running totals gives a rising curve. Figure 13.5 below shows how to read the median straight off it — start at halfway and walk across.

A rising cumulative-frequency curve for the marks of 53 students, plotted against upper class limits 10 to 100. A red dashed line starts at n over 2 = 26.5 on the vertical axis, runs across to meet the curve, and a vertical dashed line drops from that meeting point down to about 66.4 on the horizontal axis. The class 60 to 70 is shaded as the median class.
Figure 13.5 — Reading the median off a cumulative-frequency curve for the marks of 53 students. The horizontal axis is marks (upper class limits 10 to 100) and the vertical axis is cumulative frequency cf (the running total, rising to 53). Each plotted point is a class's upper limit against its cf, joined into a rising curve. The red dashed line starts at n/2 = 53/2 = 26.5 on the vertical axis, runs across to meet the curve, then drops straight down to about 66.4 on the horizontal axis. The shaded band marks the median class 60–70, where the cumulative count first reaches n/2. The drop point, 66.4, is the median.
Median of grouped data

Find the median of the marks of 53 students using the cumulative-frequency table above.

There is also a handy rule that links all three together: 3 Median = Mode + 2 Mean. It is only approximate, not exact. But it is useful for a quick check, or to find the third value when you already know the other two.

Common Mistakes

These are the slip-ups that quietly cost marks in statistics. Read each one now, and you won’t make it in the exam. The first is about which number actually stands for a class.

⚠️ Common mistake
What students think

In the mean, use the class limits (like 10 and 25) instead of the class mark.

Why it seems right

The limits are sitting right there in the table, so they look like the obvious numbers to multiply. The class mark takes one extra step to work out.

What actually happens

You must use the class MARK as xᵢ. That is the mid-point, (lower + upper)/2. We assume the whole class sits at its centre, so 17.5 (not 10 or 25) is what stands for the class 10–25.

⚠️ Common mistake
What students think

The modal class is the class with the widest interval, or the one with the biggest class mark.

Why it seems right

The word 'modal' sounds like it might mean size or position, and the widest interval or the last class looks important.

What actually happens

The modal class is the class with the highest FREQUENCY — the tallest bar. It has nothing to do with how wide the interval is or where it sits. Only the frequency (f) values decide it.

⚠️ Common mistake
What students think

For the median, think that n/2 itself names the median class, or that cf in the formula means the cumulative frequency OF the median class.

Why it seems right

n/2 lands inside the median class, so it feels right to read cf from that same row. And 'cumulative frequency' sounds like the total up to and including the median class.

What actually happens

The median class is the FIRST class whose cf reaches or crosses n/2. In the formula, cf is the cumulative frequency of the class JUST BEFORE the median class — everything you have already counted before entering it. Using the median class's own cf gives a wrong answer.

⚠️ Common mistake
What students think

For mode and median, apply the formulas straight to inclusive classes like 118-126, 127-135.

Why it seems right

The table already looks like neat class intervals, so it seems ready to use.

What actually happens

The mode and median formulas need CONTINUOUS classes (no gaps between them). Inclusive classes have gaps (118-126, then 127-135). You must first make them continuous (117.5-126.5, 126.5-135.5, and so on) by moving each limit by half the gap. Otherwise your l and h will be wrong.

Quick Check

Time to test the four big ideas — class marks, the three mean methods, the modal class, and the median class. Pick an answer before you peek at the explanation.

Which value represents a class interval when finding the mean of grouped data?

The direct, assumed-mean and step-deviation methods are applied to the same grouped data. How do their results compare?

In a grouped distribution, which class is the modal class?

For data with n = 40, the cumulative frequencies down the table are 5, 13, 19, 26, 34, 40. Which is the median class?

Practice Problems

Easy

easy

Find the mean of the following data by the direct method.

easy

Find the modal class and the mode of: 0-10 (f=3), 10-20 (f=9), 20-30 (f=15), 30-40 (f=5), 40-50 (f=2).

Medium

medium

The percentage of female teachers in 35 states is below. Find the mean by the step-deviation method (take a = 50, h = 10).

medium

Find the median of the weights (kg) of 30 students: 40-45 (2), 45-50 (3), 50-55 (8), 55-60 (6), 60-65 (6), 65-70 (3), 70-75 (2).

Challenge

challenge

The mean of the data below is ₹18. Find the missing frequency f. Classes (allowance in ₹): 11-13 (7), 13-15 (6), 15-17 (9), 17-19 (13), 19-21 (f), 21-23 (5), 23-25 (4).

challenge

The median of the distribution is 28.5 and the total frequency is 60. Find x and y. Classes: 0-10 (5), 10-20 (x), 20-30 (20), 30-40 (15), 40-50 (y), 50-60 (5).

Summary

You should now be able to explain:

  • In grouped data, each class is represented by its class mark = (lower + upper)/2.
  • Mean — direct method: x̄ = Σfᵢxᵢ / Σfᵢ.
  • Mean — assumed-mean method: x̄ = a + (Σfᵢdᵢ / Σfᵢ), where dᵢ = xᵢ − a. Use it when the class marks are large.
  • Mean — step-deviation method: x̄ = a + h × (Σfᵢuᵢ / Σfᵢ), where uᵢ = (xᵢ − a)/h. Use it when the deviations all share the factor h.
  • All three mean methods give the same answer. They only differ in how much arithmetic you do.
  • Mode: the modal class is the one with the highest frequency. Then Mode = l + [(f₁ − f₀)/(2f₁ − f₀ − f₂)] × h.
  • Median: find n/2, then find the median class (the first one whose cumulative frequency reaches n/2). Then Median = l + [(n/2 − cf)/f] × h, where cf comes from the class before the median class.
  • A quick link between all three: 3 Median = Mode + 2 Mean.
  • The mode and median formulas need continuous class intervals. Convert inclusive classes first.

What’s Next

So far you have learnt to summarise data that has already happened. The typical mark, the most common family size, the middle weight. Next, in Probability, you turn to the future. Instead of describing what did happen, you measure how likely something is to happen. From a single tossed coin to a deck of cards, you’ll learn to put a number between 0 and 1 on how sure or unsure we are about an outcome.

Frequently Asked Questions

What is the difference between mean, median and mode in statistics?

All three are 'averages' — a single number that represents a dataset. Mean is the sum of all values divided by how many there are; it is affected by extreme values. Median is the middle value when data is arranged in order; it is not affected by extremes. Mode is the value (or class) that appears most often. For grouped data, the formulas differ, but the meaning of each stays the same.

How do you find the mean of grouped data using the direct method?

For each class interval, find the midpoint (class mark) xᵢ by averaging the lower and upper limits. Multiply each midpoint by its frequency fᵢ to get fᵢxᵢ. Add all the fᵢxᵢ values and divide by the total frequency Σfᵢ. Mean = Σ(fᵢxᵢ) / Σfᵢ. This works but involves large multiplications when the midpoints are big numbers, which is why the assumed-mean method exists.

What is the assumed-mean method and why is it useful?

You pick a convenient middle value A (the assumed mean, usually the midpoint of the middle class). For each class, calculate the deviation dᵢ = xᵢ − A. Then Mean = A + Σ(fᵢdᵢ) / Σfᵢ. Because the deviations dᵢ are small numbers (positive and negative), the arithmetic is much easier than the direct method. The final answer is identical — only the calculation steps are simpler.

How do you find the mode of grouped data?

First identify the modal class — the class interval with the highest frequency. Then use the formula: Mode = l + [(f₁ − f₀) / (2f₁ − f₀ − f₂)] × h, where l is the lower limit of the modal class, f₁ is its frequency, f₀ is the frequency of the class before it, f₂ is the frequency of the class after it, and h is the class size. The mode lies inside the modal class, and the formula finds exactly where.

How do you find the median of grouped data using cumulative frequency?

Find the total frequency n and identify the class whose cumulative frequency first reaches or exceeds n/2 — this is the median class. Then use: Median = l + [(n/2 − cf) / f] × h, where l is the lower limit of the median class, cf is the cumulative frequency of the class before it, f is the frequency of the median class, and h is the class size. This formula interpolates (estimates) the exact position of the middle value inside the median class.

Why do the direct method, assumed-mean method and step-deviation method all give the same mean?

Because the three methods are mathematically equivalent — each is just an algebraic rearrangement of the same calculation. In the assumed-mean method, adding A back at the end cancels out the subtraction done at the start. In the step-deviation method, multiplying by h at the end cancels out the division by h done earlier. So all three are shortcuts for the same sum; they differ only in how easy the numbers are to work with.