WishWasTraining Academy
NDA & Naval Academy entrance exam school
โ† home
Chapter M8-2 ยท 2 of 8 in Statistics and Probability ยท 14 min read

Mean, median and mode

69 real NDA questions of this kind in the 19 papers of 2017 to 2026.

Revision sheet: the chapter on one pageTry three questions free โ†“
This chapter has a video lessonWatch it, practise with a drill and keep your record, all with a free account. No fee, no card.

Why this chapter matters. This chapter drew 13 questions in the seven papers from NDA II 2023 to NDA II 2026. Most of them are one-line questions on the mean: "the mean is given, find a sum" or "each observation is changed, find the new mean". The others ask for the median or the mode of a grouped table, where the formula must be known by heart. Six real questions are solved in section 7.

What you will be able to do

  • Find the mean, median and mode of raw data and of a grouped frequency table.
  • Say at once what happens to the mean when every observation is changed in the same way.
  • Use โ€‹\sum x_i = n\bar{x}โ€‹ to answer "find the sum" questions in one line.
  • Know when the average needed is the harmonic mean, not the ordinary mean.

Before you start you should know: class mark and cumulative frequency (Chapter M8-1), and the sums โ€‹1 + 2 + \dots + nโ€‹ and โ€‹1^2 + 2^2 + \dots + n^2โ€‹ (Chapter M1-6).

1. The arithmetic mean

The mean of โ€‹nโ€‹ observations is their sum divided by โ€‹nโ€‹:

\bar{x} = \frac{x_1 + x_2 + \dots + x_n}{n} = \frac{\sum x_i}{n}

For example, the mean of โ€‹4, 7, 10โ€‹ is โ€‹\dfrac{21}{3} = 7โ€‹.

Read the formula the other way and you get the most useful line of this chapter:

\sum x_i = n\bar{x}

If the mean of 10 observations is 20, their sum is 200. Nothing more needs to be known about them.

With frequencies. If the value โ€‹x_iโ€‹ occurs โ€‹f_iโ€‹ times,

\bar{x} = \frac{\sum f_i x_i}{\sum f_i}

For a grouped table, โ€‹x_iโ€‹ is the class mark (mid-point) of each class.

Deviations. The deviation of an observation from a number โ€‹aโ€‹ is โ€‹x_i - aโ€‹. The sum of deviations from โ€‹aโ€‹ is โ€‹\sum (x_i - a) = \sum x_i - naโ€‹. Taken from the mean itself, this sum is always zero.

2. Shortcuts for the mean

Change What happens to the mean
Add โ€‹bโ€‹ to every observation Mean increases by โ€‹bโ€‹
Multiply every observation by โ€‹aโ€‹ Mean is multiplied by โ€‹aโ€‹
Every โ€‹x_iโ€‹ becomes โ€‹ax_i + bโ€‹ New mean โ€‹= a\bar{x} + bโ€‹
Two groups of sizes โ€‹n_1โ€‹, โ€‹n_2โ€‹ with means โ€‹\bar{x}_1โ€‹, โ€‹\bar{x}_2โ€‹ are joined Combined mean โ€‹= \dfrac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}โ€‹
One observation is removed, added or corrected Find the old sum โ€‹n\bar{x}โ€‹, correct the sum, divide by the new number

Two results to remember: the mean of the first โ€‹nโ€‹ natural numbers is โ€‹\dfrac{n + 1}{2}โ€‹, and the mean of their squares is โ€‹\dfrac{(n + 1)(2n + 1)}{6}โ€‹.

3. The median

The median is the middle value when the observations are arranged in order. Half the observations lie below it and half above it.

  • If โ€‹nโ€‹ is odd, the median is the observation at position โ€‹\dfrac{n + 1}{2}โ€‹.
  • If โ€‹nโ€‹ is even, it is the mean of the observations at positions โ€‹\dfrac{n}{2}โ€‹ and โ€‹\dfrac{n}{2} + 1โ€‹.

For โ€‹3, 5, 8, 9, 12โ€‹ the median is 8. For โ€‹3, 5, 8, 9โ€‹ it is โ€‹\dfrac{5 + 8}{2} = 6.5โ€‹.

Grouped data. Let โ€‹Nโ€‹ be the total frequency. The median class is the first class whose cumulative frequency reaches โ€‹\dfrac{N}{2}โ€‹. Then

\text{Median} = l + \frac{\dfrac{N}{2} - cf}{f} \times h

where โ€‹lโ€‹ is the lower limit of the median class, โ€‹fโ€‹ its frequency, โ€‹cfโ€‹ the cumulative frequency of the class before it, and โ€‹hโ€‹ the class width.

4. The mode

The mode is the value that occurs most often. In โ€‹2, 3, 3, 5, 3, 7โ€‹ the mode is 3.

Grouped data. The modal class is the class with the highest frequency โ€‹f_1โ€‹. Let โ€‹f_0โ€‹ be the frequency of the class before it and โ€‹f_2โ€‹ of the class after it. Then

\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \times h

For a distribution that is not far from symmetric, the three averages are linked by the rule โ€‹\text{Mode} \approx 3\,\text{Median} - 2\,\text{Mean}โ€‹. If the distribution is exactly symmetric with one peak, all three are equal.

The picture shows the three averages of the nine observations โ€‹1, 2, 2, 2, 4, 6, 7, 8, 13โ€‹. The mode is 2, the median (the fifth value) is 4, and the mean is โ€‹\dfrac{45}{9} = 5โ€‹. The one large value 13 pulls the mean to the right but does not move the median or the mode.

A dot plot of the nine observations on a number line, with the mode 2, the median 4 and the mean 5 marked

5. Geometric mean and harmonic mean

For โ€‹nโ€‹ positive numbers:

Average Formula For 4 and 9
Arithmetic mean (AM) โ€‹\dfrac{x_1 + x_2 + \dots + x_n}{n}โ€‹ โ€‹6.5โ€‹
Geometric mean (GM) โ€‹(x_1 x_2 \cdots x_n)^{1/n}โ€‹ โ€‹\sqrt{36} = 6โ€‹
Harmonic mean (HM) โ€‹\dfrac{n}{\dfrac{1}{x_1} + \dfrac{1}{x_2} + \dots + \dfrac{1}{x_n}}โ€‹ โ€‹\dfrac{2}{\frac{1}{4} + \frac{1}{9}} = \dfrac{72}{13} \approx 5.54โ€‹

Always โ€‹\text{AM} \ge \text{GM} \ge \text{HM}โ€‹, with equality only when all the numbers are equal.

When to use the harmonic mean. Use it for an average rate when the same distance is covered at different speeds, or the same money is spent at different prices. Average speed is total distance divided by total time, and this comes out as the harmonic mean of the speeds.

6. Worked examples

Example 1. Find the mean of this distribution.

โ€‹xโ€‹ 2 4 6 8
โ€‹fโ€‹ 3 5 8 4

โ€‹\sum f_i = 20โ€‹ and โ€‹\sum f_i x_i = 6 + 20 + 48 + 32 = 106โ€‹. Mean โ€‹= \dfrac{106}{20} = 5.3โ€‹.

Example 2. The mean of 25 observations is 36. Later it is found that an observation 46 was wrongly read as 64. Find the correct mean.

Old sum โ€‹= 25 \times 36 = 900โ€‹. Correct sum โ€‹= 900 - 64 + 46 = 882โ€‹. Correct mean โ€‹= \dfrac{882}{25} = 35.28โ€‹.

Example 3. A group of 30 boys has mean mark 60 and a group of 20 girls has mean mark 70. Find the mean of all 50.

Combined mean โ€‹= \dfrac{30 \times 60 + 20 \times 70}{50} = \dfrac{3200}{50} = 64โ€‹. It is not 65: the larger group pulls the mean towards itself.

Example 4. Find the mean, median and mode of this table.

Marks 0โ€“10 10โ€“20 20โ€“30 30โ€“40 40โ€“50
Frequency 5 8 15 16 6
Cumulative frequency 5 13 28 44 50

Mean. Class marks 5, 15, 25, 35, 45. โ€‹\sum f_i x_i = 25 + 120 + 375 + 560 + 270 = 1350โ€‹. Mean โ€‹= \dfrac{1350}{50} = 27โ€‹.

Median. โ€‹\dfrac{N}{2} = 25โ€‹. The cumulative frequency first reaches 25 in the class 20โ€“30, so โ€‹l = 20โ€‹, โ€‹cf = 13โ€‹, โ€‹f = 15โ€‹, โ€‹h = 10โ€‹. Median โ€‹= 20 + \dfrac{25 - 13}{15} \times 10 = 20 + 8 = 28โ€‹.

Mode. The highest frequency is 16, in the class 30โ€“40, so โ€‹l = 30โ€‹, โ€‹f_1 = 16โ€‹, โ€‹f_0 = 15โ€‹, โ€‹f_2 = 6โ€‹. Mode โ€‹= 30 + \dfrac{16 - 15}{32 - 15 - 6} \times 10 = 30 + \dfrac{10}{11} \approx 30.9โ€‹.

Check with the rule of section 4: โ€‹3 \times 28 - 2 \times 27 = 30โ€‹, close to 30.9.

The histogram of the table with frequencies 5, 8, 15, 16 and 6, and three upright lines at the mean 27, the median 28 and the mode 30.9

Example 5. A man drives from A to B at 60 km/h and returns at 40 km/h. Find his average speed for the whole journey.

The distance is the same both ways, so use the harmonic mean: โ€‹\dfrac{2}{\frac{1}{60} + \frac{1}{40}} = \dfrac{2 \times 120}{2 + 3} = 48โ€‹ km/h. It is not 50.

To see why, take the distance as 120 km each way. Going takes 2 hours and returning takes 3 hours: 240 km in 5 hours. He spends more time at the slower speed.

A time line of 5 hours: 2 hours going 120 km at 60 km/h and 3 hours returning 120 km at 40 km/h; 240 km in 5 hours is 48 km/h

7. From the real papers

Try each for 75 seconds before reading the solution.

NDA II 2023, Q101. The sum of deviations of โ€‹nโ€‹ numbers from 10 and 20 are โ€‹pโ€‹ and โ€‹qโ€‹ respectively. If โ€‹(p - q)^2 = 10000โ€‹, then what is the value of โ€‹nโ€‹?

(a) 10โ€ƒโ€ƒ(b) 20โ€ƒโ€ƒ(c) 50โ€ƒโ€ƒ(d) 100

Solution. Let the sum of the numbers be โ€‹Sโ€‹. Then โ€‹p = S - 10nโ€‹ and โ€‹q = S - 20nโ€‹, so โ€‹p - q = 10nโ€‹. Hence โ€‹(10n)^2 = 10000โ€‹, โ€‹n^2 = 100โ€‹, โ€‹n = 10โ€‹. Answer (a).

NDA I 2024, Q107. An edible oil is sold at the rates 150, 200, 250, 300 rupees per litre in four consecutive years. Assuming that an equal amount of money is spent on oil by a family in every year during these years, what is the average price of oil in rupees (approximately) per litre?

(a) โ€‹210โ€‹โ€ƒโ€ƒ(b) โ€‹220โ€‹โ€ƒโ€ƒ(c) โ€‹230โ€‹โ€ƒโ€ƒ(d) โ€‹240โ€‹

Solution. Equal money each year means the harmonic mean. Average price โ€‹= \dfrac{4}{\frac{1}{150} + \frac{1}{200} + \frac{1}{250} + \frac{1}{300}}โ€‹. With denominator 3000 the four fractions add to โ€‹\dfrac{20 + 15 + 12 + 10}{3000} = \dfrac{57}{3000}โ€‹. So the price is โ€‹\dfrac{4 \times 3000}{57} = \dfrac{12000}{57} \approx 210.5โ€‹. Answer (a).

NDA I 2025, Q102 and Q103 use one table. The frequency distribution of height of students of a class is given below:

Height (in cm) 160โ€“162 162โ€“164 164โ€“166 166โ€“168
Number of students 12 15 24 13

Q102. What is the median height of the class?

(a) 162.41 cmโ€ƒโ€ƒ(b) 163.41 cmโ€ƒโ€ƒ(c) 164.41 cmโ€ƒโ€ƒ(d) 165.41 cm

Solution. โ€‹N = 64โ€‹, so โ€‹\dfrac{N}{2} = 32โ€‹. Cumulative frequencies: 12, 27, 51, 64. The median class is 164โ€“166 with โ€‹l = 164โ€‹, โ€‹cf = 27โ€‹, โ€‹f = 24โ€‹, โ€‹h = 2โ€‹. Median โ€‹= 164 + \dfrac{32 - 27}{24} \times 2 = 164 + 0.4167 = 164.4167โ€‹, printed as 164.41. Answer (c).

Q103. The height which occurs most frequently in the class is

(a) 163.5 cmโ€ƒโ€ƒ(b) 163.9 cmโ€ƒโ€ƒ(c) 164.5 cmโ€ƒโ€ƒ(d) 164.9 cm

Solution. This asks for the mode. Modal class 164โ€“166: โ€‹f_1 = 24โ€‹, โ€‹f_0 = 15โ€‹, โ€‹f_2 = 13โ€‹, โ€‹h = 2โ€‹. Mode โ€‹= 164 + \dfrac{24 - 15}{48 - 15 - 13} \times 2 = 164 + \dfrac{9}{20} \times 2 = 164.9โ€‹. Answer (d).

NDA II 2025, Q117. The frequency distribution of the marks obtained by students in a Science examination is given below : Marks : 5โ€“15, 15โ€“25, 25โ€“35, 35โ€“45 ; Number of students : 20, 30, 30, 20 (respectively). What is the arithmetic mean?

(a) 20โ€ƒโ€ƒ(b) 25โ€ƒโ€ƒ(c) 30โ€ƒโ€ƒ(d) 35

Solution. Class marks 10, 20, 30, 40. Mean โ€‹= \dfrac{200 + 600 + 900 + 800}{100} = 25โ€‹. Faster: the table is symmetric about 25, so the mean is 25. Answer (b).

NDA I 2026, Q112. If the mean of โ€‹20โ€‹ observations, namely โ€‹x_1, x_2, x_3, \ldots, x_{20}โ€‹ is โ€‹1.414โ€‹, then what is the value of โ€‹\sum_{i=1}^{20} 100(2x_i + 4)โ€‹?

(a) โ€‹24168โ€‹โ€ƒโ€ƒ(b) โ€‹20828โ€‹โ€ƒโ€ƒ(c) โ€‹15248โ€‹โ€ƒโ€ƒ(d) โ€‹13656โ€‹

Solution. โ€‹\sum x_i = 20 \times 1.414 = 28.28โ€‹. The required sum is โ€‹200 \sum x_i + 400 \times 20 = 5656 + 8000 = 13656โ€‹. The constant 400 is added 20 times. Answer (d).

Notice that four of the six needed only โ€‹\sum x_i = n\bar{x}โ€‹ or a symmetric table. Only Q102 and Q103 needed a long formula.

8. Mistakes that cost marks

  1. Forgetting to multiply a constant by โ€‹nโ€‹. โ€‹\sum (2x_i + 4) = 2\sum x_i + 4nโ€‹, not โ€‹2\sum x_i + 4โ€‹.
  2. Taking the median without arranging the data. Sort first. For an even number of observations take the mean of the two middle ones.
  3. Using the wrong โ€‹cfโ€‹ in the median formula. โ€‹cfโ€‹ is the cumulative frequency of the class before the median class, not of the median class itself.
  4. Averaging two speeds or two prices directly. For the same distance or the same money, use the harmonic mean (Example 5).

9. Quick check

Do these without help. Answers are at the end.

  1. Find the mean, median and mode of โ€‹4, 3, 9, 5, 3, 8, 3โ€‹.
  2. The mean of 5 observations is 12. Each observation is multiplied by 3 and then 2 is added. Find the new mean.
  3. The mean of 10 observations is 15. One observation, 24, is removed. Find the mean of the remaining nine.
  4. Find the median of โ€‹20, 4, 12, 16, 8, 10โ€‹.
  5. For a table, โ€‹l = 40โ€‹, โ€‹f_1 = 20โ€‹, โ€‹f_0 = 12โ€‹, โ€‹f_2 = 8โ€‹ and โ€‹h = 10โ€‹ for the modal class. Find the mode.

10. Read and watch more, free

What Where Language
Textbook, grouped data with many drill questions NCERT Class 10 Mathematics, Chapter 13 Statistics ยท Hindi edition English, Hindi
Textbook, all the averages in plain language NCERT Statistics for Economics, Chapter 5 Measures of Central Tendency ยท Hindi edition, book page English, Hindi
Video, Statistics for NDA Defence Wallah: Statistics for NDA 2 2026 (one class, about 4 hours 30 minutes) Hinglish
Video, topic by topic Mohit Tyagi: Statistics (12 lessons) Hinglish
Video, short lessons Khan Academy: Statistics playlist English

The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.

Answers to the quick check

  1. Sum โ€‹= 35โ€‹, so mean โ€‹= 5โ€‹. In order: โ€‹3, 3, 3, 4, 5, 8, 9โ€‹; median โ€‹= 4โ€‹. Mode โ€‹= 3โ€‹.
  2. โ€‹3 \times 12 + 2 = 38โ€‹.
  3. Old sum โ€‹= 150โ€‹. New sum โ€‹= 126โ€‹. Mean โ€‹= \dfrac{126}{9} = 14โ€‹.
  4. In order: โ€‹4, 8, 10, 12, 16, 20โ€‹. Median โ€‹= \dfrac{10 + 12}{2} = 11โ€‹.
  5. โ€‹40 + \dfrac{20 - 12}{40 - 12 - 8} \times 10 = 40 + \dfrac{8}{20} \times 10 = 44โ€‹.

Next chapter: Variance and standard deviation.

Free ยท no sign-up

Try three questions on this chapter

Exam-pattern questions from this chapter's drill. Pick an answer for each, then check.

  1. Question 1 of 3
    The mean of a set of observations is 7. If every observation โ€‹xโ€‹ is replaced by โ€‹3x + 2โ€‹, what is the mean of the new set?
  2. Question 2 of 3
    For the observations 3, 5, 5, 7, 8, 8, 8, 10, consider the following statements: I. The mode is 8. II. The mean is 6.75. Which of the statements given above is/are correct?
  3. Question 3 of 3
    The mean of the observations 3, 7, 7, 9, 4 and โ€‹xโ€‹ is 6. What is the mode of the observations?
Free sign-up

You have read the chapter. Now make it stick.

A free account adds the video lesson, a drill of ten questions on this chapter marked like the exam, the timed mock papers, a study plan to your exam date and your own record of what you have done. No fee, no card.

Past questions quoted are from the official UPSC paper named in the text; the explanations are WishWas's own and have been checked against the official key. The links under โ€œRead and watch moreโ€ go to free material on other sites; nothing is copied.