The median calculator computes the median, mode, range, mean (average), count, and sum of a set of numbers.
Median is a statistical concept that measures central tendency. In other words, it's a value that represents the center of the sorted observation. It gives the point from where 50% of data is more and 50% of data is less. It's widely used in statistical data analysis.
The median is calculated using the following formulas.
Median = X(n+1/2)
Where,
n = size of the data set.
Quick Tip: For the odd data set, the median value will be exactly in the middle of the data set.
Let's take an example.
Find the median for the data set: 4, 6, 2, 7, 1.
Firstly, sort the numbers in ascending order: 1, 2, 4, 6, 7.
The size of the data set is odd. So, the middle number of the data set is the median.
So, median = 4.
Median = X(n+1/2)
= X(5+1/2) = X(6/2) = X3
After sorting, check the 3rd value of the data set: 1, 2, 4, 6, 7.
So, the Median = 4.
Median = (X(n/2) + X(n/2 + 1)) / 2
Where,
n = number of values.
Quick Tip: If the data set is even, the median will be the mean or average of the two numbers that are in the middle of the data set.
Let's take an example.
Find the median for the data set: 3, 6, 1, 7, 8, 12, 4, 14.
Firstly, sort the numbers into ascending order: 1, 3, 4, 6, 7, 8, 12, 14.
Here, the size of the set is even. Therefore, the mean or average of the two middle numbers is the median.
The two middle numbers are 6 and 7.
Mean = (6 + 7) / 2 = 13/2 = 6.5.
So, Median = 6.5.
Median = ( X(n/2) + X(n/2 + 1) ) / 2
= ( X(8/2) + X(8/2 + 1) ) / 2
= ( X(4) + X(5) ) / 2
Now, find the 4th and 5th values from the data set. That is 6 and 7.
= (6 + 7) / 2 = 13/2 = 6.5
So, the Median = 6.5.