How to use this calculator
Enter the requested values, review any options that affect the calculation, and select Calculate. The main answer appears beside the form, with supporting details below it.
How the calculation works
The mean is the sum divided by the count. The median is the middle value after sorting, or the mean of the two middle values.
Example
For 12, 18, 23, and 31, the mean is 21 and the median is 20.5.
Related calculators
Frequently asked questions
What happens to extra spaces?
Harmless whitespace is ignored. Any other invalid entry is identified.