Median Calculator
Median Calculator lets you the median is the middle sorted value, or the mean of the two central values. Enter your own values or load the worked example.
- Copy or download the computed result
- Adjust numbers
- See the processing method and limits
Method and calculation
The median is the middle sorted value, or the mean of the two central values.
Inputs and settings
Median Calculator accepts Numbers.
Worked example
Median Calculator example — Numbers: "3,8,2,10,7". Computed output: { "median": 7, "sorted": [ 2, 3, 7, 8, 10 ] }
Output and limitations
Median Calculator: Use finite inputs. Results use double-precision arithmetic.
Technical references: JavaScript Unicode normalization
Median Calculator FAQs
Median Calculator applies the following rule to your input: The median is the middle sorted value, or the mean of the two central values. The worked example on this page uses the same processor as the result button.
Median Calculator has these boundaries: Use finite inputs. Results use double-precision arithmetic. Start by checking the numbers field against the units or format shown.
Median Calculator provides this sample: { "median": 7, "sorted": [ 2, 3, 7, 8, 10 ] }. Use the sample button to reproduce it, then replace the inputs with your own values.