Use this calculator to compute the median from a set of numerical values.
This calculator computes the median from a data set:
To calculate the median from a set of values, enter the observed values in the box above. Values must be numeric and may be separated by commas, spaces or new-line. You may also copy and paste data into the text box. You do not need to specify whether the data is from a population or a sample, unless you will later examine the variance or the standard deviation. Press the "Submit Data" button to perform the computation. To clear the calculator and enter a new data set, press "Reset".
The median is a measure of central tendency. It represents the value for which 50% of observations a lower and 50% are higher. Put simply, it is the value at the center of the sorted observations.
This calculator uses two different formulas for calculating the median, depending on whether the number of observations is odd, or it is even:
When the number of observations is odd the formula is:
When the number of observations is even the formula is:
where n is the number of observations.