# What is Median and how to find it

So, Mean, Median, Mode - what exactly are they and how are they different from one another?

We hear about them a lot, and three of them feel somehow related. However, each has a distinct role in helping us make sense of data sets and numbers more easily.

While we won’t go into details about the difference between them here - you can check out our full article on Mean, Median, Mode - we’ll be taking a closer look at what median actually is, and how you can find it without breaking a sweat.

## What’s Median

Let’s begin with the most basic question: What’s Median?

The median is one of three ways we can find the center of a group of numbers. We call this finding the center 'measuring central tendency.' Mean, median, and mode are the three most popular ways to do this.

**You can think of the median as the middleman of a group of numbers**. It's the one that splits the numbers into two equal parts, with half of them being smaller and half larger. To find the median, you first put all the numbers in ascending order, from smallest to biggest, and then you pick the one in the middle. This simple yet effective way allows us to understand a lot of data with just one number.

## How to find Median

To find the median, simply line up all your numbers from smallest to biggest, and then pick the one right in the middle. But here comes the tricky part. If you have an odd number set, the median is just the one in the middle. However, if you have an even number set, you’ve to add up the two middle numbers and divide by two to get the median.

## When you have odd number of observations

When you have an odd number of observations, the formula for finding the median is simple. It's just the middle value when the data is sorted in ascending order.

Alternatively, you can use this formula.

## \((\frac{n+1}{2})^{th} observation\)

**Example 1**

Consider the test scores of 9 students:

92, 88, 77, 85, 96, 78, 94, 81, 90.

First, arrange the scores in ascending order:

7, 78, 81, 85, 88, 90, 92, 94, 96.

Using the formula, where n is the number of observations (9 in this case):

\((\frac{9+1}{2})^{th}\) = 5

The 5th value in this sorted list is __88__, so the median test score is __88__.

**Example 2**

Suppose you have the ages of 7 students:

14, 16, 13, 15, 17, 12, 18.

First, arrange the ages in ascending order:

12, 13, 14, 15, 16, 17, 18.

Using the formula, where n is the number of observations (7 in this case):

\((\frac{7+1}{2})^{th}\) = 4.

The 4th value in this sorted list is __15__, so the median age of the students is __15 years old__.

**Example 3**

Imagine you have the individual height of 11 athletes:

176, 182, 170, 185, 168, 178, 174, 180, 172, 169, 183.

First, arrange the heights in ascending order:

168, 169, 170, 172, 174, 176, 178, 180, 182, 183, 185.

Using the formula, \((\frac{11+1}{2})^{th}\) = 6.

The 6th value in this sorted list is __176__, so the median height of the athletes is __176cm__.

## When you have even number of observations

When you have an even number of observations, you find the median by taking the average of the two middle values after sorting the data in ascending order.

Here's the formula:

**\({(\frac{n}{2})^{th}observation+(\frac{n}{2}+1)^{th}observation}\over2\)**

**Example 1**

Suppose you have the test scores of 8 students:

85, 92, 78, 96, 88, 91, 90, 83.

Now, arrange the scores in ascending order:

78, 83, 85, 88, 90, 91, 92, 96.

Using the formula, where n is the number of observations (8 in this case), calculate the median as follows:

Median = \({(\frac{8}{2})^{th}observation+(\frac{8}{2}+1)^{th}observation}\over2\)

Median = \(({4th + 5th})\over2\)

The 4th term is 88, and the 5th term is 90.

Median = (88 + 90) / 2

Median = 178 / 2

Median = 89

So, the median test score is __89__.

**Example 2**

Consider the ages of 6 friends:

25, 30, 22, 28, 24, 29.

First, arrange the ages in ascending order:

22, 24, 25, 28, 29, 30.

Using the formula, where n is the number of observations (6 in this case), calculate the median as follows:

Median = \({(\frac{6}{2})^{th}observation+(\frac{6}{2}+1)^{th}observation}\over2\)

Median = \(({3rd + 4th})\over2\)

The 3rd term is 25, and the 4th term is 28.

Median = (25 + 28) / 2

Median = 53 / 2

Median = 26.5

So, the median age of the friends is __26.5 years__.

**Example 3**

Imagine you have the exam scores of 10 students:

75, 80, 88, 92, 70, 85, 78, 90, 86, 82.

First, arrange the scores in ascending order:

70, 75, 78, 80, 82, 85, 86, 88, 90, 92.

Using the formula, where n is the number of observations (10 in this case), calculate the median as follows:

Median = \({(\frac{10}{2})^{th}observation+(\frac{10}{2}+1)^{th}observation}\over2\)

Median = \(({5th + 6th})\over2\)

The 5th term is 82, and the 6th term is 85.

Median = (82 + 85) / 2

Median = 167 / 2

Median = 83.5

So, the median exam score is __83.5__.