◎ English · Global

Median Calculator

Sort observations and find the middle value. With an even count, the median is the mean of the two central values.

Enter your values

Separate numbers with spaces or semicolons; use a decimal point.
Example result
Median
4.5

The initial result uses the example values. Enter your own values and calculate again.

Median4.5

How it works

Sort observations and find the middle value. With an even count, the median is the mean of the two central values.

Inputs and units
Median Calculator · Inputs and units
InputExample valueWhat to enter
Numbers2 4 4 4 5 5 7 9Separate numbers with spaces or semicolons; use a decimal point.
median = middle of sorted values

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Numbers
2 4 4 4 5 5 7 9

Complete example results

Median
4.5

Reading the result

Keep the list to one kind of measurement. Outliers can affect the mean; sample and population formulas use different denominators. The tool applies its stated method and does not establish the quality of your data.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

What happens when a list has an even number of values?

Sort the values, then take the arithmetic mean of the two central positions. For 1, 3, 4 and 9, the median is (3+4)/2 = 3.5, even though 3.5 is not in the list. With an odd count, use the single central value. Repeated observations remain in the list and each counts once.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Methods & accuracy

What would you like to calculate?

Browse all calculators