Median Calculator

Calculate the median of a list of numbers. Enter values separated by commas to find the middle value after sorting the data from lowest to highest.

Separate each number with a comma.

How This Calculator Works

The median is the middle value in a set of numbers after the values are arranged from lowest to highest. If there is an odd number of values, the median is the exact middle number. If there is an even number of values, the median is the average of the two middle numbers.

Formula

Median = Middle Value of Sorted Data

Example

If the values are 8, 3, 10, 15, and 6, the sorted list is 3, 6, 8, 10, 15. The middle value is 8, so the median is 8.

Frequently Asked Questions

What is the median?

The median is the middle value in a sorted list of numbers. It is one of the most common measures of central tendency.

How is median different from mean?

The mean is the average of all values, while the median is the middle value after sorting the numbers.

What happens if there is an even number of values?

The median is the average of the two middle values in the sorted list.

Can I include decimals and negative numbers?

Yes. This calculator works with whole numbers, decimals, and negative values.

Why is median useful?

The median can be useful when data contains outliers because it is less affected by very high or very low values than the mean.

Related Calculators