Median Calculator: What's the Middle Value in a Set?

Written by:
PK

This median calculator finds the median from a set of numbers - the middle value when sorted. Enter decimals, fractions, or negatives and the tool calculates instantly.

Median calculator

What is the median?

The median of a set of numbers is the middle value when the numbers are sorted. For even-length sets, it's the average of the two middle numbers.

Along with mean (arithmetic average) and mode (most frequent value), median describes the central tendency of a dataset.

Finding the median

Sort the numbers from low to high, then pick the middle value. For even-length lists, average the middle two.

Examples

Odd count: -5, -3, 2, 2, 6 → median = 2 (the middle value)

Even count: -5, -3, 1, 2, 2, 6 → median = 1.5 (average of 1 and 2)

Using the calculator

Enter numbers separated by commas, spaces, or new lines. Results update instantly - the tool also shows mean, mode, range, and the sorted list.

Related statistics calculators

      

PK

PK started DQYDJ in 2009 to research and discuss finance and investing and help answer financial questions. He's expanded DQYDJ to build visualizations, calculators, and interactive tools.

PK lives in New Hampshire with his wife, kids, and dog.

Don't Quit Your Day Job...

DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page. As an Amazon Associate we earn from qualifying purchases.
Sign Up For Emails
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram