Toolkit
All tools
Statistics · Center & spread

Median Calculator

Find the true middle of any number set, see the sorted values that determine it, and understand the surrounding quartiles and spread.

Numbers stay in your browser
Median
9

Position 4 is the middle of 7 sorted values.

Values
7
Middle values
9
Lower quartile · Q1
5
Upper quartile · Q3
14
Interquartile range
9
Full range
16
Number set

Find the middle of your data

Sorted values

Highlighted values determine the median.

2579111418

Quartiles use the median-of-halves method: when the data count is odd, the overall median is excluded from both halves.

How it works

See the middle instead of trusting a black box.

Sorting and highlighting make the result immediately checkable, while the quartile summary adds useful context about spread.

  1. 01

    Enter the data

    Paste values separated by commas, spaces, semicolons, tabs, or new lines.

  2. 02

    Follow the sorting

    The calculator orders every valid value from smallest to largest and highlights the middle position or positions.

  3. 03

    Read the distribution

    Review the median alongside Q1, Q3, interquartile range, full range, and a clear odd-or-even explanation.

A clear statistical summary

Median, middle positions, and distribution together.

Odd and even data sets

For an odd count, the single central value is used. For an even count, the two central values are averaged and shown explicitly.

Visible sorted values

Every number appears in numerical order with the median-defining position highlighted, making the result easy to verify.

Quartile context

Q1, Q3, IQR, minimum, maximum, and full range give a compact view of the data's center and spread.

Median questions

Sorting, even data, quartiles, IQR, and privacy.

How do you find the median?+

Sort the values from smallest to largest. If the count is odd, use the middle value. If it is even, average the two middle values.

Is median the same as average?+

No. The median is the middle of ordered data, while the arithmetic average is the sum divided by the count. The median is often less affected by extreme values.

How are quartiles calculated?+

This calculator uses the median-of-halves method. When the value count is odd, the overall median is excluded before finding Q1 and Q3.

Can I use duplicate or negative numbers?+

Yes. Duplicates, negative numbers, decimals, and scientific notation are all accepted and sorted numerically.

What is the interquartile range?+

The IQR is Q3 minus Q1. It describes the spread of the middle half of the data.

Are my values saved or uploaded?+

No. The calculation runs locally in your browser and the entered values are not stored.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools