DataToolsLab
Number Theory & Statistics Calculators

Median Calculator

Find the median of a list of numbers, with the odd and even cases shown.

Loading tool…

What is Median?

The median is the middle value once the data is sorted: half the values sit below it and half above. Unlike the mean it ignores how far away the extremes are, which is why income, house prices and waiting times are usually reported as medians — one billionaire does not move a median.

How it works

The list is sorted, then the middle is taken directly for an odd count or averaged across the two central values for an even one. The page highlights which positions those were, because the even case is where a hand calculation usually goes wrong: there is no single middle value, so "the median" is a number that may not appear in the data at all.

  1. Enter your input. Type or paste your input into the field above — the tool responds instantly.
  2. Review the result. Output updates live as you type. Everything runs entirely in your browser.
  3. Copy or download. Use the Copy button to grab the result, or Download to save it as a file.

Examples

Realistic sample

Type or paste any realistic input — the tool computes the result locally and instantly.

Common mistakes

Expecting a server round-trip

Nothing is uploaded — every tool in this category runs entirely in your browser.

Online