Median Calculator

Enter a list of numbers to find its median.

Numbers separated by commas, spaces or new lines

Try

Result

You enteredn=4n = 4

median=3\displaystyle \text{median} = 3
Show the work
  1. Order the data

    Sort the 4 values from smallest to largest.

    1, 2, 4, 51,\ 2,\ 4,\ 5
  2. Middle position

    n is even, so the median is halfway between the two middle values, in positions 2 and 3.

    Using position=n+12\text{position} = \frac{n + 1}{2}

    2+42=3\frac{2 + 4}{2} = 3
  3. Result

    So the median is 33.

    median=3\text{median} = 3

Worked examples