Median Calculator

Find the median and sorted middle values from a list of numbers.

Calculations happen locally. We do not send your values to our server.

Example

For the values 1, 2, 3, and 4, the two middle values are 2 and 3, so the median is 2.5.

Calculation method

The numbers are sorted from smallest to largest. An odd-sized list uses its single middle value; an even-sized list averages the two middle values.

Important notes

The median describes the center of the entered list and does not indicate how widely its values are spread.

Frequently asked questions

Why use the median instead of the mean?

The median is less affected by a very large or very small outlier.

Can I enter negative and decimal numbers?

Yes. Separate any finite negative, positive, or decimal values with spaces, commas, or new lines.

Does the original order matter?

No. The calculator sorts a copy of the values before locating the middle.

Related tools