This median calculator sorts a numeric list and reports its count, median, Tukey-style quartiles, minimum, and maximum.
Statistics
Median Calculator
Sort a number list and calculate its median, quartiles, and range endpoints.
Calculator
About this calculator
Formula notes
After sorting n values, the median is the middle value when n is odd or the mean of the two middle values when n is even; Q1 and Q3 are medians of the lower and upper halves.
Worked examples
- Example: sorted values 1, 3, 5, 7, 9 have median 5, Q1 = 2, and Q3 = 8 under the median-of-halves convention.
- For the ordered values 4, 7, 9, 12, 18, and 30, the median is 10.5, Q1 is 7, and Q3 is 18 under the median-of-halves rule.
How to use it
- Enter numbers separated by commas, spaces, or semicolons.
- Check the parsed count and sorted endpoints.
- Use the stated quartile convention when comparing with other software.
Frequently asked questions
Why might another program show different quartiles?
There are several accepted interpolation and splitting conventions, especially for small datasets.
Does input order matter?
No. The calculator sorts all valid values numerically before finding the median and quartiles.
Limits and interpretation
- Quartile definitions differ across textbooks and software; small datasets can therefore produce different Q1 and Q3 values under another convention.
- The median and quartiles describe order and center but do not by themselves reveal sampling bias, measurement quality, clusters, or the full distribution shape.