Mean versus median
The arithmetic mean is the sum divided by the count. To find the median, sort the numbers. With an odd count, choose the middle value. With an even count, average the two middle values.
Worked example
For 2, 4, 6 and 100, the sum is 112 and the mean is 28. The median is (4 + 6)/2 = 5. The large value 100 raises the mean much more than the median; this is why the measures answer different questions.
Input format
Separate values with commas, spaces, semicolons or line breaks. Use a dot as the decimal separator and omit thousands separators: enter 1000.5, not 1,000.5. Negative numbers and scientific notation such as 1e3 are accepted. Up to 10,000 values, each between −1 trillion and +1 trillion, are supported.
Are repeated values counted?
Yes. Each occurrence is an observation. This is an unweighted mean, not a weighted average. Results use floating-point arithmetic and are rounded for display. The sorted preview displays only the first 100 values, but every valid input is included in the calculation.
Updated 25 October 2026. Calculations run in your browser; inputs are not submitted to our server. Save result optionally stores an input and result snapshot on your device.
Methods and validation scope