### What is the Median?

The median is the middle number in a sorted, ascending or descending, list of numbers and can be more descriptive of that data set than the average.

### Key Takeaways

- The median is the middle number in a sorted, ascending or descending, list of numbers and can be more descriptive of that data set than the average.
- The median is sometimes used as opposed to the mean when there are outliers in the sequence that might skew the average of the values.
- If there is an odd amount of numbers, the median value is the number that is in the middle, with the same amount of numbers below and above.
- If there is an even amount of numbers in the list, the middle pair must be determined, added together, and divided by two to find the median value.

### Understanding the Median

Median is the middle number in a sorted list of numbers. To determine the median value in a sequence of numbers, the numbers must first be sorted, or arranged, in value order from lowest to highest or highest to lowest. The median can be used to determine an approximate average, or mean, but is not to be confused with the actual mean.

- If there is an odd amount of numbers, the median value is the number that is in the middle, with the same amount of numbers below and above.
- If there is an even amount of numbers in the list, the middle pair must be determined, added together, and divided by two to find the median value.

The median is sometimes used as opposed to the mean when there are outliers in the sequence that might skew the average of the values. The median of a sequence can be less affected by outliers than the mean.

### Median Example

To find the median value in a list with an **odd** amount of numbers, one would find the number that is in the middle with an equal amount of numbers on either side of the median. To find the median, first arrange the numbers in order, usually from lowest to highest.

For example, in a data set of {3, 13, 2, 34, 11, 26, 47}, the sorted order becomes {2, 3, 11, 13, 26, 34, 47}. The median is the number in the middle {2, 3, 11, **13**, 26, 34, 47}, which in this instance is 13 since there are three numbers on either side.

To find the median value in a list with an **even** amount of numbers, one must determine the middle pair, add them, and divide by two. Again, arrange the numbers in order from lowest to highest.

For example, in a data set of {3, 13, 2, 34, 11, 17, 27, 47}, the sorted order becomes {2, 3, 11, 13, 17, 27, 34, 47}. The median is the average of the two numbers in the middle {2, 3, 11, **13**,** 17**,** **26** **34, 47}, which in this case is fifteen {(13 + 17) รท 2 = 15}.