To calculate result you have to disable your ad blocker first.

# Median Calculator

Write the numbers separated by commas in a given box and hit on the calculate button to get the median by using this median calculator.

Table of Contents:

## Median Calculator

Median calculator is a tool that is used to calculate the middle value of a set of numbers.

## What is the median?

The median is defined as the midpoint of any given data set. To find the median first arrange the data set in ascending order and then apply a formula which is mentioned below

### Formula:

**When n is odd**

((n+1) /2)^{ th }term

**When n is even**

[(n/2)^{ th} term + ((n/2) + 1)^{ th }term]/2

Where

- n is the number of values in a given data.

For instance, if X= 2,3,4,5 now count the values separated by commas which is 4 so n =4 here.

## How to find the median?

**Example 1:**

Find the median if X= 4,2,5,3,8,7,1

**Solution**

**Step 1:**

Arrange the data in ascending order

X = 1,2,3,4,5,7,8

n = 7

**Step 2: **

The formula for the **odd** data set is given below to find the median

((n+1)/2)^{ th }term

**Step 3:**

= (7+1/2)^{ th }term

= 4^{th} term

See the 4^{th} term in ascending order of data.

Hence, median = 4

**Example 2:**

Find the median if X= 3, 15, 2, 34, 11, 25

**Solution**

**Step 1:**

Arrange the data in ascending order

X = 2,3,11,15,25,34

n = 6

**Step 2: **

The formula for an **even** data set is given below to find the median

[(n/2)^{ th} term + ((n/2) + 1)^{ th }term]/2

**Step 3:**

= [(6/2)^{ th }term + ((6/2) +1)^{ th }term]/2

= (3^{rd} term + 4^{th} term)/2

= 11+15/2

= 26/2

= 13

Hence, the median is 13.