Median Calculator
Paste your numbers and get the median — plus the mean, mode, quartiles (Q1 and Q3), interquartile range and a reading of whether your data leans high or low. The sorted list is shown, so you can see the middle for yourself.
Try an example:
🕘 Your recent calculations
Step-by-step working
Why the median matters
The median is the middle value when data is lined up in order — half the values sit below it, half above. Its superpower is indifference to outliers: one enormous value can drag a mean far away from anything typical, but the median barely notices. That is why house prices and salaries are almost always quoted as medians. In a street where nine homes sold for around £300,000 and one mansion sold for £3 million, the mean "average" is over £500,000 — a figure that describes no actual sale — while the median stays near £300,000, where the typical sale really happened.
The quartiles extend the same idea: Q1 is the median of the lower half (the 25th percentile) and Q3 the median of the upper half (the 75th percentile). The gap between them, the interquartile range, describes the spread of the middle 50% of your data, again ignoring extremes. Together — minimum, Q1, median, Q3, maximum — they form the classic five-number summary behind every box plot.
Worked example
For 4, 8, 15, 16, 23, 42 (already in order): six values means the middle falls between the 3rd and 4th — (15 + 16) ÷ 2 = 15.5. The lower half is 4, 8, 15, so Q1 = 8; the upper half is 16, 23, 42, so Q3 = 23; the IQR is 23 − 8 = 15. The mean (18) sits above the median, a hint that the larger values — especially 42 — are pulling the average up.
Frequently asked questions
How do you find the median with an even number of values?
Sort the data, take the two middle values, and average them. With 6 values, the middle pair is the 3rd and 4th; with 8, the 4th and 5th. The result often lands on a .5 and may not be a value that appears in the data at all — that is normal and expected.
When should I use the median instead of the mean?
When the data is skewed or contains outliers you do not want dominating the summary: incomes, house prices, reaction times, website load times, hospital stays. If the mean and median are close together, the data is fairly symmetric and either works. If they differ a lot, the median usually describes the "typical" case more honestly — and the gap itself is information about the skew.
What does the interquartile range tell me?
The IQR (Q3 − Q1) is the spread of the middle half of your data. A small IQR means the typical values cluster tightly; a large one means even the middle of the data is widely spread. Because it ignores the top and bottom quarters, it is the standard way to describe spread alongside a median — and the basis for the usual outlier rule (values more than 1.5 × IQR beyond the quartiles).
CalcLion's median calculator is an original tool. Quartiles use the median-of-halves method (the one behind box plots); other methods can differ slightly on small datasets.