Mean, Median, Mode, Range Calculator
Find all four measures of centre and spread for any list of numbers.
About Mean, Median, Mode, Range Calculator
The four basic measures of a dataset tell you where its centre lies and how spread out it is. The mean (arithmetic average) adds all values and divides by n — it is sensitive to extreme values. The median is the middle value of the sorted list — it ignores outliers. The mode is the most frequent value; datasets can be multimodal (several equally frequent values) or have no mode at all (when every value appears exactly once). The range is simply the maximum minus the minimum.
Formulas
Mean
Mean = sum of all values / n
- n
- Count of values
- x_i
- Each value
Median
For n odd: the middle element of the sorted list. For n even: the average of the two middle elements.
Range
Range = maximum value − minimum value
Worked example
With the default values below, Mean, Median, Mode, Range Calculator returns Mean of 5.4000. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Numbers
- 3, 7, 5, 7, 2, 8, 7, 1, 9, 5
Results
- Mean
- 5.4000
- Median
- 6.0000
- Mode
- 7
- Range
- 8.0000
- Count
- 10
- Sum
- 54.0000
- Minimum
- 1.0000
- Maximum
- 9.0000
Step by step
- 1Sorted dataset= 1, 2, 3, 5, 5, 7, 7, 7, 8, 9
- 2Mean= 5.4000
- 3Median= 6.0000
- 4Mode= 7
- 5Range= 8
Assumptions and limits
- The result is derived only from the single input listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 4 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
Which average should I report?
Use the mean when data is symmetrically distributed with no extreme outliers (e.g. test scores). Use the median when data is skewed or contains outliers (e.g. incomes, house prices). Report both alongside the standard deviation for a complete picture.
Can a dataset have more than one mode?
Yes. A dataset with two equally frequent values is bimodal; three or more is multimodal. This calculator lists all modes. When every value appears exactly once the dataset has no mode — this calculator displays 'No mode' rather than forcing an incorrect answer.
Why is the range a weak measure of spread?
The range depends only on the two most extreme values and is therefore very sensitive to a single outlier. For most statistical work, the standard deviation or interquartile range are more robust measures of spread.
What is the difference between the mean and median?
For symmetric data they coincide. For right-skewed data (e.g. salaries, where a few people earn a lot) the mean is pulled above the median. For left-skewed data the mean falls below the median. The direction of the gap signals which tail is heavier.
