Median of Five Numbers Calculator
Find the median (middle value) of exactly five numbers.
Enter your values and click Calculate
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.