NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Mean, Median and Mode: Central Tendency | NIMCET

Learn frequency distributions and how to find the mean, median and mode for raw, discrete and grouped data, the effect of changing data, combined mean and the empirical relation, for NIMCET.

5 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: For data x1,…,xnx_1, \ldots, x_n with frequencies fif_i, the mean is xˉ=∑fixi∑fi\bar{x} = \frac{\sum f_ix_i}{\sum f_i}. The median is the middle value of the ordered data; for grouped data, Median=l+N2−cf×h\text{Median} = l + \frac{\frac{N}{2} - c}{f} \times h. The mode is the most frequent value; for grouped data, Mode=l+f1−f02f1−f0−f2×h\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \times h. For moderately skewed data, Mode≈3 Median−2 Mean\text{Mode} \approx 3\,\text{Median} - 2\,\text{Mean}.

Frequency distributions

TypeDescription
Raw dataIndividual observations
Discrete frequency distributionValues with their frequencies
Grouped (continuous) distributionClass intervals with frequencies
Cumulative frequency (cf)Running total of frequencies

Mean

DataFormula
Rawxˉ=∑xin\bar{x} = \frac{\sum x_i}{n}
Frequencyxˉ=∑fixi∑fi\bar{x} = \frac{\sum f_ix_i}{\sum f_i}
Assumed mean A, step hxˉ=A+h∑fiui∑fi\bar{x} = A + h\frac{\sum f_iu_i}{\sum f_i}, with ui=xi−Ahu_i = \frac{x_i - A}{h}
Combined meanxˉ=n1xˉ1+n2xˉ2n1+n2\bar{x} = \frac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}

Grouped data uses class midpoints for xix_i.

Properties: the sum of deviations from the mean is 0. Adding k to every value adds k to the mean; multiplying every value by k multiplies the mean by k.

Median

DataRule
Raw, n oddThe (n+12)\left(\frac{n + 1}{2}\right)th value
Raw, n evenAverage of the n2\frac{n}{2}th and (n2+1)\left(\frac{n}{2} + 1\right)th values
Groupedl+N2−cf×hl + \frac{\frac{N}{2} - c}{f} \times h

For grouped data: l is the lower limit of the median class, N the total frequency, c the cumulative frequency before the median class, f its frequency and h the class width.

Mode

For grouped data, with modal class (highest frequency) having lower limit l, frequency f1f_1, previous frequency f0f_0, next frequency f2f_2 and width h:

Mode=l+f1−f02f1−f0−f2×h\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \times h

Empirical relation: Mode=3 Median−2 Mean\text{Mode} = 3\,\text{Median} - 2\,\text{Mean} (approximately, for moderately skewed data).

Effect of changes in data

Change to each valueMean, median, mode
Add kAll increase by k
Multiply by kAll are multiplied by k

Worked examples

Example 1: raw data

Find the mean and median of 7, 3, 9, 5, 11, 3.

Step 1: Mean =386=193= \frac{38}{6} = \frac{19}{3}.

Step 2: Ordered: 3, 3, 5, 7, 9, 11. Median =5+72=6= \frac{5 + 7}{2} = 6. Mode =3= 3.

Example 2: discrete frequency

x1234
f3584

Mean =3+10+24+1620=5320=2.65= \frac{3 + 10 + 24 + 16}{20} = \frac{53}{20} = 2.65.

Example 3: grouped median

Class0–1010–2020–3030–4040–50
f5812105
cf513253540

Step 1: N2=20\frac{N}{2} = 20; the median class is 20–30.

Step 2:

Median=20+20−1312×10=20+5.83=25.83\text{Median} = 20 + \frac{20 - 13}{12} \times 10 = 20 + 5.83 = 25.83

Example 4: grouped mode

For the same table, the modal class is 20–30 with f1=12f_1 = 12, f0=8f_0 = 8, f2=10f_2 = 10:

Mode=20+12−824−8−10×10=20+406≈26.67\text{Mode} = 20 + \frac{12 - 8}{24 - 8 - 10} \times 10 = 20 + \frac{40}{6} \approx 26.67

Example 5: combined mean

Class A (30 students) averages 60 and class B (20 students) averages 70. Find the overall mean.

30⋅60+20⋅7050=320050=64\frac{30 \cdot 60 + 20 \cdot 70}{50} = \frac{3200}{50} = 64

Summary table

MeasureKey formula
Mean∑fixi∑fi\frac{\sum f_ix_i}{\sum f_i}
Grouped medianl+N2−cfhl + \frac{\frac{N}{2} - c}{f}h
Grouped model+f1−f02f1−f0−f2hl + \frac{f_1 - f_0}{2f_1 - f_0 - f_2}h
Combined meann1xˉ1+n2xˉ2n1+n2\frac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1 + n_2}
EmpiricalMode = 3 Median − 2 Mean

Exam tips

  • Always sort raw data before finding the median.
  • Build the cumulative frequency column first for grouped medians.
  • For "a wrong value was recorded" questions, correct the total, then divide again.

Next, study variance, standard deviation and moments, or see the NIMCET Probability and Statistics chapter.

Common mistakes

  • Finding the median without arranging the data in order.
  • Using class limits instead of midpoints for the grouped mean.
  • Taking c as the cumulative frequency of the median class itself.
  • Averaging two group means without weighting by group size.

Frequently Asked Questions

What is the formula for the median of grouped data?

Median = l + ((N/2 − c)/f) × h.

What is the empirical relation between mean, median and mode?

Mode ≈ 3 Median − 2 Mean, for moderately skewed data.

How do you find a combined mean?

Weight each group mean by its size: (n₁x̄₁ + n₂x̄₂)/(n₁ + n₂).

What happens to the mean if each value is increased by 5?

The mean also increases by 5.

What is the mode of grouped data?

Mode = l + ((f₁ − f₀)/(2f₁ − f₀ − f₂)) × h, where the modal class has the highest frequency.

Concept Check

EASY

If x=2x = 2 is one of the roots of the quadratic equation 2x2+kx−6=02x^2 + kx - 6 = 0, what is the value of kk and what is the other root?

Suggested for you