Median Calculator
The middle of a sorted dataset.
Results and explanation
Enter your inputs to get started.
Numbers are processed locally. Results use floating-point arithmetic and up to 10 significant digits. List fields accept commas, spaces or line breaks.
How to use this calculator
Sort the numbers. Use the middle value, or the mean of the two middle values for an even count.
Worked example
For 2, 4, 9, and 15, the median is (4 + 9) ÷ 2 = 6.5.
Check the units and assumptions before using your result. Explore related calculators or read our statistics guides.