Median
Find the middle of an ordered ungrouped data set.
Inputs
Use the units shownโ
Enter your values and select Calculate.
Formula & explanation
Median = middle ordered value (or mean of middle two)
Variables & units
- Data values
- comma separated
Worked example
4, 8, 6, 10, 2 sort to 2, 4, 6, 8, 10; the median is 6.
Assumptions
Always sort the values first. For an even count, average the middle two.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.