How do I find the median when there are an even number of values?
Quick answer
Put the values in order from least to greatest. If there are an even number of values, find the two values in the middle and calculate their average: add them, then divide by 2. For example, in 2, 4, 7, 9, the middle values are 4 and 7, so the median is (4 + 7) ÷ 2 = 5.5. The median is not the mean, which uses all the values. [S1]
The question, the details, the next step.
A practical checklist
Arrange all values from least to greatest.
Count the values and confirm the count is even.
Identify the two central positions in the ordered list.
Add the values in those positions and divide by 2.
Check that you averaged the middle pair, not the whole set.
A few more useful answers
Does the median have to be one of the original values?
No. For an even number of values, the median is the average of the two middle values, so it can fall between them, as 5.5 does for 2, 4, 7, and 9. [S1]
What if the two middle values are the same?
Add the two equal middle values and divide by 2. Their average is that same value.
Should I sort the values before finding the median?
Yes. Arrange them from least to greatest first; otherwise, the values in the middle positions may not be the central values of the set. [S1]
Sources
References used for this guide.
- [S1] OpenStax Statistics: Measures of the Location of the Data openstax.org · Checked
