Median Calculator
Find the median, sorted values, count, minimum, and maximum from a list of numbers.
Supports decimals, negative numbers, commas, spaces, and line breaks.
Status: initial
Results
Awaiting calculation
Introduction
The Median Calculator finds the middle value in a sorted list of numbers and explains the odd-count or even-count method.
Sort the numbers first. If there is an odd number of values, the median is the middle value. If there is an even number of values, the median is the average of the two middle values.
Formula and method guide
Odd count
Median = middle sorted value
Use this when the list has 1, 3, 5, 7, or another odd number of values.
Even count
Median = (lower middle + upper middle) / 2
Use this when the list has 2, 4, 6, 8, or another even number of values.
Position check
Middle position = (n + 1) / 2 for odd n
Position rules help verify which sorted value or values should be used.
Variables
The list of values used to find the median.
The same numbers arranged from smallest to largest.
The number of values in the list.
The central value for an odd-length list.
The central pair averaged for an even-length list.