The median is a fundamental measure of central tendency representing the exact middle value of an ordered data set. When numerical observations are sorted in ascending order from smallest to largest, the median splits the distribution into two equal halves: exactly 50% of the data points lie below or equal to the median, and 50% lie above or equal to it.

In statistical theory, the median is also designated as the second quartile (Q2Q_2) and the 50th50\text{th} percentile (P50P_{50}).

Why the Median Matters

  • Robustness Against Outliers: Unlike the arithmetic mean, which is pulled disproportionately by extreme high or low values, the median is an outlier-resistant (non-parametric) statistic. For example, national economic statistics report median household income and median house prices rather than mean averages, because a handful of multi-millionaires would distort the mean upward.
  • Academic Relevance: The median forms the centre of box plots (box-and-whisker diagrams), defines the boundaries of the Interquartile Range (IQR=Q3−Q1\text{IQR} = Q_3 - Q_1), and serves as the baseline for evaluating distribution skewness.
  • Exam Importance: The median is assessed across all UK exam boards (Edexcel, AQA, OCR). At GCSE, students are tested on finding the median from raw lists, frequency tables, stem-and-leaf diagrams, and cumulative frequency curves (typically 2–4 marks). At A-Level Mathematics (Statistics), questions demand linear interpolation for grouped continuous data and comparing the median with the mean to evaluate skewness (regularly worth 4–6 marks).
The best Maths tutors available
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (85 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (95 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (73 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Dr scott
5
5 (78 reviews)
Dr scott
£100
/h
Gift icon
1st lesson free!
Tomi
5
5 (41 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (85 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (95 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (73 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Dr scott
5
5 (78 reviews)
Dr scott
£100
/h
Gift icon
1st lesson free!
Tomi
5
5 (41 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Let's go

Ungrouped Discrete Data

To find the median of a list of raw numerical observations:

  1. Sort: Arrange the data in ascending order (smallest to largest).
  2. Count: Determine the total number of observations, denoted by n.
  3. Locate: Use the position formula:

Position of Median=n+12\text{Position of Median} = \dfrac{n + 1}{2}

Depending on whether the sample size n is odd or even, two distinct cases arise:

Case A: Odd Number of Elements

When n is odd, n+12\dfrac{n + 1}{2} yields a whole integer. The median is the single observed value occupying that exact position.

Data: [x1,x2,…,𝐱𝐧+𝟏𝟐,…,xn]⟹Median=xn+12\text{Data: } [x_1, x_2, \dots, \mathbf{x_{\frac{n+1}{2}}}, \dots, x_n] \implies \text{Median} = x_{\frac{n+1}{2}}

Case B: Even Number of Elements

When n is even, n+12\dfrac{n + 1}{2} yields a half-integer (e.g., 4.5, 8.5). There is no single middle number. The median is the arithmetic mean of the two central values:

Median=x(n2)+x(n2+1)2\text{Median} = \dfrac{x_{\left(\frac{n}{2}\right)} + x_{\left(\frac{n}{2} + 1\right)}}{2}

Skewness: Comparing the Median and the Mean

Comparing the median to the mean provides immediate insight into the shape and skewness of a statistical distribution:

Symmetric Distribution:Mean≈Median≈Mode\text{Mean} \approx \text{Median} \approx \text{Mode}

Positively Skewed (Right-Skewed):Mean>Median\text{Mean} > \text{Median}. A tail of unusually large positive values pulls the mean to the right, while the median remains anchored.

Negatively Skewed (Left-Skewed):Mean<Median\text{Mean} < \text{Median}. A tail of unusually small negative values pulls the mean to the left.

Worked Example

Ungrouped Discrete Data

Calculate the median of the following raw test scores:

7,9,10,4,3,2,1,8,127, \; 9, \; 10, \; 4, \; 3, \; 2, \; 1, \; 8, \; 12

Step 1: Arrange the data in ascending order

1,2,3,4,7,8,9,10,121, \; 2, \; 3, \; 4, \; 7, \; 8, \; 9, \; 10, \; 12

Step 2: Determine n and find the median position

There are n = 9 items.

Position=n+12=9+12=5\text{Position} = \dfrac{n + 1}{2} = \dfrac{9 + 1}{2} = 5

The median is the 5th value in the ordered list.

Step 3: Identify the value

x1=1,x2=2,x3=3,x4=4,𝐱𝟓=𝟕,x6=8,x7=9,x8=10,x9=12x_1 = 1, \; x_2 = 2, \; x_3 = 3, \; x_4 = 4, \; \mathbf{x_5 = 7}, \; x_6 = 8, \; x_7 = 9, \; x_8 = 10, \; x_9 = 12

Median=7\text{Median} = 7

Practice Questions & Solutions

1

A list of six positive integers is arranged in ascending order:

Given that the median of this data set is 9:

(a) Find the value of .

(b) Determine the arithmetic mean of the completed list.

Solution

(a)

Since the data set contains n = 6 items (an even sample size), the median lies halfway between the and ordered values:

The term is and the term is .

Set up the median equation:

(b)

Substitute x = 8 into the list to identify all six integers:

Calculate the arithmetic mean:

2

A survey recorded the number of books read in a month by 50 secondary school students. The results are summarized below:

0 books: 14 students
1 book: 17 students
2 books: 11 students
3 books: 5 students
4 books: 3 students

(a) Find the median number of books read.

(b) Determine the lower quartile () and the upper quartile ().

(c) Calculate the interquartile range ().

Solution

First, determine the cumulative frequencies () for the discrete distribution:

Up to books:
Up to book:
Up to books:
Up to books:
Up to books:


(a)

Total frequency .

The and observations both fall within the group of students reading book (covering positions to ).

(b)

Lower Quartile ():

The position falls into the books category (since ).


Upper Quartile ():

The position falls into the books category (since the cumulative frequency covers positions to ).


(c)

3

The times, minutes, taken by athletes to complete a race are summarized as follows:

minutes: athletes
minutes: athletes
minutes: athletes
minutes: athletes

Use linear interpolation to calculate an estimate for the median race time.

Solution

Compute the cumulative frequencies for the race times:

:
:
:
:

Step 1: Determine the median position

For continuous grouped data:

The observation falls at the end of the interval .

Step 2: Identify interpolation variables for the class

Lower class boundary ()
Cumulative frequency before this class ()
Frequency of the class ()
Class width ()
Step 3: Apply the linear interpolation formula

4

The daily maximum temperatures (in ) recorded over consecutive days in Town A are:

In Town B, the temperatures over the same -day period have a recorded median of and a calculated mean of .

(a) Calculate the median and the mean temperature for Town A.

(b) State, with reasons, the type of skewness shown by each town's temperature distribution.

Solution

(a)

Town A has recorded values.

The data is already sorted in ascending order:

Median of Town A:

The value is .

Mean of Town A:


(b)

Town A: The mean () is greater than the median (). This indicates that the distribution has a positive skew (skewed to the right), caused by higher temperature values such as pulling the mean upward.
Town B: The mean () is greater than the median (). Since , Town B also exhibits a positive skew.

5

A set of seven positive integers is arranged in ascending order:

(a) Given that the median of these seven numbers is , state the value of .

(b) Given that the arithmetic mean of the set is , determine the value of .

(c) An eighth integer, , is added to the data set. Find the new median of the eight numbers.

Solution

(a)

Find the Value of

The dataset has values, which is an odd number.

Find the position of the median:

In the ordered list, the value is .

Since the median is :

(b)

Find the Value of

The arithmetic mean of numbers is defined as:

Substitute the known values including :

Sum the known terms in the numerator:

Multiply both sides by :

(Check: , satisfying the ascending order condition).

(c) Calculate the New Median with Eight Values
Insert the number into the completed, sorted list:

Now the sample size is even ().

Locate the median position:

The median is the arithmetic mean of the and items:

Summarise with AI:

Did you like this article? Rate it!

4.00 (4 rating(s))
Loading...

Gianpiero Placidi

UK-based Chemistry graduate with a passion for education, providing clear explanations and thoughtful guidance to inspire student success.