Median calculator

Find the middle value of an ordered numeric data set.

Enter values

Start with the example below, or enter your own values.

How it works

Sort the observations; average the two central values if the sample has even length.

Try an example

Data values: 8,2,6,4. The form starts with these values; change them to explore your own case.

Example result: 5

  1. Sort values and take the middle (or average the two middle values).

Learn more in Descriptive statistics and paired data.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.