Median Calculator — Middle Value of a List of Numbers
Paste any list of numbers and get the median. The calculator sorts your values, picks the middle, and shows full summary stats alongside.
What is median calculator?
The median is the middle value of a sorted list — the value that splits the dataset into two equal halves. For an odd-count list, it is the value at the middle position; for an even-count list, it is the average of the two middle values. The defining property of the median is robustness: replacing the largest value in your dataset with one ten times bigger does not change the median at all, while it would shift the mean dramatically. That property makes the median the right choice for any dataset where extreme values are present, plausible, or hard to verify.
Income is the textbook example. In a neighborhood of a hundred households where ninety-nine earn between $40k and $80k and one earns $10M, the mean income is somewhere around $180k — a number that describes nobody. The median is around $60k — a number that describes the typical household. Reports about housing prices, response times, file sizes, and any other heavy-tailed distribution use the median for the same reason. Whenever you are tempted to write “average” but the underlying data is skewed, you almost certainly mean median.
The price of robustness is that the median ignores most of your data. Two datasets with very different shapes can share the same median, since only the middle value (or two values) matter. The mean, by contrast, uses every observation, so it carries more information when the data is well-behaved. This calculator shows both so you can pick the right one for your writeup — or report both, which is often the most honest choice.
For sanity-checking purposes, the calculator also exposes count, sum, mode, min, max, and range. Pairing the median with min and max gives a sense of the spread; pairing the median with the mean signals skew (when they are far apart, the data is asymmetric). Mode is included for completeness; for continuous data it is rarely meaningful, but for repeated discrete values like quiz scores or shoe sizes it can be informative.
Privacy: every calculation runs locally in your browser. The numbers you paste never leave your device — there is no server, no API, no analytics on input values. The page does carry a third-party display ad slot, but the ad has no access to the calculation inputs.
When to use a median calculator
- Summarizing income, prices, or response times — Skewed data — incomes, home prices, server response times — is poorly summarized by the mean because a small number of large values pulls the average up. The median sits at the 50th percentile and tells you the typical value the way most readers expect.
- Comparing the middle of two groups — When you want to compare two datasets without letting outliers dominate the comparison, paste each group in turn and note the median. The median resists the influence of a single very large or very small value in either group.
- Finding the middle of an even-count list — For lists with an even number of values, the median is the average of the two middle values, not a value from the list itself. Pasting <code>1, 2, 3, 4</code> gives a median of <code>2.5</code>. The calculator handles this case automatically and shows the full summary stats alongside.
- Reporting a representative value for a writeup — When a news article or a report says 'the typical household earns…' or 'the typical home costs…', that is almost always the median. Use this calculator to compute the right value for the prose you are writing rather than reaching for the more familiar average.
- Quick check on a printed median — If a chart, paper, or report claims a median you want to verify, paste the underlying numbers here and confirm. The result panel shows the median, mean, and full summary stats so you can see whether the claim holds up.
How to use the Median Calculator — Middle Value of a List of Numbers
- Paste or type your numbers — Type your numbers into the input field or paste them from anywhere — a spreadsheet column, a CSV, an email, or a text document. There is no limit on list length.
- Use any common separator — Commas, spaces, tabs, semicolons, and new lines all work, and you can mix them. The calculator skips non-numeric tokens (like header labels) and lists what was skipped underneath the input.
- Read the median in the result panel — The median appears as the headline value. The secondary panel below shows count, sum, mean, mode, min, max, and range, so you can compare the median against the mean and see at a glance whether the data is skewed.
Worked examples
Five test scores
Input: 82, 91, 76, 88, 95
Output: Median: 88 (Count 5, Min 76, Max 95) Sorted, the list is 76, 82, 88, 91, 95. Five values means the middle one is at position 3 — that is 88.
An even-count list
Input: 10, 20, 30, 40
Output: Median: 25 (Count 4, Sum 100, Mean 25) With four values, the median is the average of the two middle values: 20 and 30. The result is 25, which does not appear in the original list.
A list with an outlier
Input: 20, 22, 24, 25, 90
Output: Median: 24, Mean: 36.2 The outlier 90 pulls the mean well above the median. The median is the better summary of the typical value here — most of the data sits between 20 and 25.
Frequently asked questions
What is the median?
How do you find the median of an even-count list?
1, 2, 3, 4 the two middles are 2 and 3, and the median is (2 + 3) / 2 = 2.5. The result might not appear anywhere in the original list — that is expected and correct.When should I use the median instead of the mean?
Does the median have to be one of my numbers?
Is the median affected by outliers?
How is the median different from the average?
What is a five-number summary?
Can I use negative numbers and decimals?
-3.5, -1, 0, 2.5, 4 is 0. Pasting Excel-formatted output, GPS coordinates, financial gains/losses, or any other numeric sequence works without preprocessing.