# Median, Mode, Range and Standard Deviation

Source: https://skills101.in/learn/aptitude/aptitude-median-mode-and-standard-deviation — Skills101 free tutorial (Quantitative Aptitude). Updated 2026-11-21.

The **mean** (average) is one number that describes a whole list. It is not the only one. If a class has one topper with 100 marks and everyone else near 40, the mean is pulled up and hides the real picture. Statistics gives us other measures that answer different questions:

- **Where is the centre?** — mean, median, mode.
- **How spread out are the values?** — range, variance, standard deviation.

These appear in placement papers (AMCAT, Capgemini, Accenture), in bank exams, and in the statistics part of BCA/MCA/B.Tech maths and data-science courses. The lesson on averages covers the mean in depth; here we use it only as a tool.

## 1. Median: the middle value

The **median** is the value in the middle once the data is **sorted**.

- If the count n is **odd**, the median is the value at position (n + 1)/2.
- If n is **even**, it is the average of the two middle values (positions n/2 and n/2 + 1).

### Example 1
*Marks of 7 students: 45, 62, 38, 71, 55, 62, 80. Find the mean, median, mode and range.*

Sorted: 38, 45, 55, **62**, 62, 71, 80. The 4th value is the median: **62**.
Mean = 413 ÷ 7 = **59**. Mode = **62** (it appears twice). Range = 80 − 38 = **42**.

![Dot plot of seven marks from 38 to 80: the mean is 59, while the median and the mode are both 62; the range is 42](https://skills101.in/learn-img/aptitude/marks-dotplot.svg)

### Example 2 (even count)
*Find the median of 12, 7, 3, 9, 15, 10.*

Sorted: 3, 7, 9, 10, 12, 15. The middle two are 9 and 10, so the median is **9.5**.

**Why use the median?** It does not care how extreme the end values are. Change 80 to 800 in Example 1 and the median stays 62, while the mean jumps. That is why incomes and house prices are usually reported with the median.

## 2. Mode: the most frequent value

The **mode** is the value that occurs most often.

- 4, 6, 6, 8, 9 → mode 6.
- 4, 6, 6, 8, 9, 9, 10 → two modes, 6 and 9 (**bimodal**).
- 1, 2, 3, 4 → no value repeats, so there is no mode.

The mode is the only centre that works for non-number data too: "the most common shoe size" or "the most chosen elective".

## 3. The empirical relation

For data that is only **moderately skewed** (lopsided), the three centres are roughly related by:

> **Mode = 3 × Median − 2 × Mean**

This is an approximation for such data, not an exact law, but exam questions use it directly.

### Example 3
*For a distribution, mean = 40 and median = 42. Estimate the mode.*

Mode = 3 × 42 − 2 × 40 = 126 − 80 = **46**.

## 4. Range: the simplest spread

**Range = largest value − smallest value.** It is quick, but it looks at only two values, so a single unusual value changes it completely.

## 5. Variance and standard deviation

The **standard deviation** (SD, written σ, "sigma") measures how far, on average, the values sit from the mean. The **variance** is its square.

> **Variance σ² = average of (x − mean)²**    **SD σ = √variance**

**Steps:** find the mean, subtract it from each value, square each result, average the squares, then take the square root.

### Example 4
*Find the SD of 2, 4, 4, 4, 5, 5, 7, 9.*

Mean = 40 ÷ 8 = 5.
Deviations: −3, −1, −1, −1, 0, 0, 2, 4. Squares: 9, 1, 1, 1, 0, 0, 4, 16. Sum = 32.
Variance = 32 ÷ 8 = **4**. SD = √4 = **2**.

**Shortcut:** variance = (mean of the squares) − (square of the mean). Here the squares add to 232, so 232 ÷ 8 − 5² = 29 − 25 = 4. ✓

![Two sets with the same mean 50: A = 48 to 52 is tightly packed with SD 1.41, while B = 30 to 70 is spread out with SD 14.14](https://skills101.in/learn-img/aptitude/same-mean-spread.svg)

The picture shows why we need spread at all: both sets have mean 50, but set B is far less consistent. A cricket selector would prefer the batsman with the smaller SD if the averages are equal.

**A note on n and n − 1:** statistics courses also use a "sample" SD that divides by n − 1 instead of n. Aptitude questions almost always divide by n, as above. If your course or the question says "sample", divide by n − 1.

## 6. What changes when every value changes?

This is the most asked conceptual question in the topic.

| Change to every value | Mean, median, mode | Range and SD | Variance |
|---|---|---|---|
| add k | each goes up by k | **no change** | no change |
| subtract k | each goes down by k | **no change** | no change |
| multiply by k | each multiplied by k | multiplied by k (sign ignored) | multiplied by k² |
| divide by k | each divided by k | divided by k (sign ignored) | divided by k² |

**Why:** adding k slides the whole dot plot sideways. The centre moves, but the distances between the dots — the spread — do not change. Multiplying stretches the dot plot, so distances stretch too.

### Example 5
*The marks of a class have mean 50 and SD 8. Every student gets 5 grace marks. Then all marks are doubled to make them out of 200. Find the new mean and SD.*

After +5: mean 55, SD 8. After ×2: mean **110**, SD **16**.

## 7. Mean of a frequency table

When values repeat, a table gives each value x and its frequency f (how many times it occurs).

> **Mean = Σ(f × x) ÷ Σf** (Σ means "add up all")

### Example 6
*Ratings 1 to 5 were given by 3, 5, 8, 6 and 3 people. Find the mean rating.*

Σf = 25. Σfx = 3 + 10 + 24 + 24 + 15 = 76. Mean = 76 ÷ 25 = **3.04**.

The median is the 13th value (n = 25 is odd). The running totals are 3, 8, 16 — so the 13th value lies in rating **3**. The mode is also 3 (frequency 8).

## Common mistakes

- Finding the median without sorting first.
- For an even count, taking one middle value instead of averaging the two.
- Thinking SD changes when a constant is added. It does not; only the centre moves.
- Forgetting to square k for the variance when values are multiplied by k.
- Taking the square root at the wrong step: average the squared deviations first, then take the root.

## Quick recap

- Median = middle of sorted data (average the two middles for an even count).
- Mode = most frequent value; a list can have one, several or no mode.
- Mode ≈ 3 Median − 2 Mean for moderately skewed data.
- Range = max − min. Variance = average of squared deviations; SD = √variance.
- Variance shortcut: mean of squares − square of mean.
- Adding k shifts the centre only; multiplying by k scales the centre and the SD by k, the variance by k².


Practice quiz and free certificate: https://skills101.in/learn/aptitude/aptitude-median-mode-and-standard-deviation