Median Calculator

Median Calculator allows you to find the median of a set of numbers. Also, it gives you the mean, mode, range, and many more.


About Median Calculator

Median Calculator is a free online tool where you can find the median value from the even or odd data sets. In addition, it gives the mean, mode, range, sum, and count as a result. Therefore, it's one of the best tools for statistical analysis.

Median Calculator | Mean, Median, Mode, and Range Calculator

It's a simple online tool to calculate the median of a number set. Also, no need to remember the formula. Just enter the values of the set and press the "Calculate" button. That's it! Get correct and fast results with minimal effort.

It can accept any size of number set and is best for statistical calculations. Also, it is programmed with the fastest algorithm to compute the median.

The outstanding feature about the median calculator is that you don't have to pre-specify any additional information. You just need to input the data set in the correct format and that's all. Also, no need to write your data set in ascending or descending order. Our tool automatically sorts the values and gives you the proper results in less than a second.

It is a useful tool for everyone whether you are a teacher, student, accountant, businessman, investor, researcher, etc. Even more, this article will give you a complete overview of the tool including the mathematics involved along with it. So, stay tuned till the end.

What is Median?

Till now we only talked about the calculator, now let's focus on the median and know more about it.

Median is a statistical concept that measures central tendency. In other words, it is a value that represents the center of the sorted observation.

Most importantly, the median is widely used in the analysis of statistical data. Most people consider average, mean, median, and mode as the same thing. But in actual they are used for different purposes. However, they also have something common in them.

Median Formula

There are two formulas to determine the median.

1. If the data set is Odd:
Median Formula for Odd Data Set

Xm = Median
n = size of the data set

Quick Tip: For the odd set, the median will be exactly in the middle of the set.

2. If the data set is Even:
Median Formula for Even Data Set

Xm = Median
n = number of values

Quick Tip: If the data set is even then the median will be the mean of the two numbers that are in the middle of the data set.

How to calculate the Median in Statistics?

Let's look at some examples to understand how the median is calculated. However, the best way to calculate the median is by using the median calculator. You can get results by eliminating the effort spent in the manual calculation.

But here we will take some examples and understand how to calculate median manually.

Example 1

Find the median for the data set: {4, 6, 2, 7, 1}


Firstly, we will arrange (sort) the numbers in ascending order that is from lowest to highest.
So, our set will become: {1, 2, 4, 6, 7}

The middle number in the data set is 4.

We selected middle because the size of the set is an odd number. Hence, for this given data set the median is 4.

Mathematical Calculation:

As we can see, the total number of values in the data set is odd. So, we will apply the formula for the odd data set to calculate the median.

Median = X(n+1/2)
= X(5+1/2) = X(6/2) = X3

When we check the 3rd value in the data set, it is 4.

So, the Median = 4.

Example 2

Set = {3, 6, 1, 7, 8, 12, 4, 14}. Find the median.


Firstly, we will sort all the numbers into ascending order.
So, we get: {1, 3, 4, 6, 7, 8, 12, 14}

Since the size of the set is an even number. Therefore, we have to find the mean of the two middle numbers.

Middle numbers = {6, 7}
Mean of middle numbers = (6 + 7) / 2 = 6.5
Median = 6.5

Mathematical Calculation:

Here we will apply the even data set formula to calculate the median.

Median = ( X(n/2) + X(n/2 + 1) ) / 2
= ( X(8/2) + X(8/2 + 1) ) / 2
= ( X(4) + X(5) ) / 2

Now, let's find the 4th and 5th values from the data set.
That is: {6, 7}

= (6 + 7) / 2 = 13/2 = 6.5

So, the Median = 6.5.

Applications of Median

Median is used to determine the middlemost data in a data set. It gives the point from where 50% of data is more & 50% of data is less. For example, if you want to know the performance of a cricketer then find the median of his match scores.

Another example can be when you want to find the average salary of an organization. It can be determined by taking the median of the salaries of all employees. This median of salaries can also be called the 50% income.

Features of the Median Calculator

  • The median calculator is very simple to use. You just have to input the set values with comma separated and get the instant results. All the manual hassles like sorting and calculating are eliminated.
  • It's absolutely free of cost. No hidden charges or any kind of subscription fees.
  • No signup, registration, installation, or login is required. Just open the tool and use it as many times as you can.
  • Supports additional result fields like Mean, Mode, Range, Smallest, Largest, Count, and Sum.
  • Very fast and 100% accurate tool.

How to use the Median Calculator?

  1. Firstly, enter or paste the data set in the input box.
  2. Most importantly, the data set must be comma-separated. For example: 1, 5, 7, 8, 10, 4   or   1,5,7,8,10,4
  3. Space between two numbers is not compulsory. You can write with or without space. But commas are compulsory. If you don't write in proper format then you will not get the results. So, make sure it is in a proper format.
  4. After entering the values, just press the "Calculate" button.
  5. As a result, you will get the median value just below. Also, our tool will provide you with some additional results. Such as mean, mode, range, smallest, largest, etc.
  6. For new calculations, use the "Reset" button.


There is no limit on the size. You can calculate the median of any size of the input set.

Formula for Odd data set:
Median = X(n+1/2)

Formula for Even data set:
Median = (X(n/2) + X(n/2 + 1)) / 2

Yes, our tool supports negative, decimal, and fractional values. For example: 1/2, 0.75, -25.

Yes, our tool first sorts the data set in ascending or descending order and then calculates the median. It's an automatic process. You don't need to write the values in ascending or descending order.

Our tool is perfectly working on almost all the small to large devices. Such as mobile, iPad, laptop, and desktop. The device must have internet access to use our tool.