Median calculator
Calculate the median of a list of numbers: the middle value that leaves the same amount of data above and below it.
Processed on your device. Nothing is sent to any server.
Median
15.5
Sorts the values and takes the middle one; if there's an even number of values, it averages the two middle ones.
Use cases
- Analyzing data with extreme values that would skew the average.
- Calculating the median price of a set of properties.
- Complementing a basic statistical analysis.
How it works
- 1
Paste your numbers
Type or paste the list of numbers, separated by commas or on separate lines.
- 2
Read the result
The median is calculated automatically.
Technical details
- Odd count example: for 3, 7, 9, 20, 100 the median is 9. Even count: for 4, 8, 15, 16 it's (8 + 15) / 2 = 11.5.
- You don't need to sort the values first: the tool sorts them from lowest to highest.
- Separate values with commas or line breaks. Because of that, decimals in the list must use a dot: "2,5" is read as two values, 2 and 5. Anything that isn't a number is ignored.
- The result is rounded to 4 decimal places.
Frequently asked questions
Why use the median instead of the average?
The median is less sensitive to extreme values (outliers), so it better represents the 'typical value' when data is skewed.
When do mean and median differ a lot?
When there are extreme values. For salaries of 1,200, 1,300, 1,400 and 9,000, the mean is 3,225 but the median is 1,350, a far better picture of the typical salary.
Related tools
- Average CalculatorCalculates the average of a list of numbers.
- Degrees to Radians ConverterConverts angles between degrees and radians.
- GCD CalculatorCalculates the greatest common divisor.
- LCM CalculatorCalculates the least common multiple.
- Logarithm CalculatorCommon and natural logarithm.
- Percentage CalculatorCalculates the percentage of an amount.