Median of Five Numbers Calculator
Find the median (middle value) of exactly five numbers.
Enter your values and click Calculate
Finding the median of exactly five numbers is a frequent task in statistics, science, and everyday analysis. Five-value datasets appear in small surveys, quiz score comparisons, weekly measurements, and lab experiment results. Because five is odd, the median is always one specific value with no ambiguity — the third number once the set is sorted — with exactly two values below it and two values above it. This makes the median more resistant to distortion by outliers than the mean. For example, if four test scores cluster around 70 and one student scores 20, the median remains near 70 while the mean would be pulled downward by the low score. Use this calculator when you need a quick, outlier-resistant central value for any set of five numbers, whether they are grades, prices, times, measurements, or survey responses. Negative numbers and decimals are fully supported. The calculator also returns the minimum, maximum, and sum of your five values, giving you a compact statistical summary alongside the median in a single step.
How It Works
The five input values are placed into an array and sorted in ascending order. Because five is an odd number, there is always a single middle element — the value at index position 2 (the 3rd of 5) in the sorted array. That value is the median. No averaging is needed since an odd count guarantees one unambiguous middle value with two values below it and two values above it. This is a key advantage of five-value datasets over even-sized sets, where the median must be approximated as the average of two central values. The calculator also returns the minimum (first sorted value), maximum (fifth sorted value), and the sum of all five inputs so you have a complete statistical summary alongside the median. The order in which you enter the values does not matter — sorting is handled internally.