A median is the number that separates the upper half of a series of numbers with the lower half.
If you want to calculate the median, first arrange the numbers in ascending order:
Then take the middle number of the list. That number is the median.
If there are two numbers like in the above series of numbers, take the two numbers and divide their sum by 2 :
Median is known to be better for situations where the numbers do not vary a lot.
When the difference between the numbers is big, it is quite hard to find the median.