Beginner · 3 min
Find the middle value
The median is the middle of an ordered list. For 2, 4, and 9, it is 4. With an even number of observations, average the two middle values. For 2, 4, 6, and 20, those values are 4 and 6, giving a median of 5. Sorting is essential.