How it’s calculated
The mean adds the values and divides by how many there are. The median is the middle value once sorted (the average of the two middle values when the count is even). The mode is the value that appears most often; there can be several, or none if every value is different. The range is the largest value minus the smallest.
Example: 3, 7, 7, 2, 9. Sum = 28, so the mean = 28 ÷ 5 = 5.6. Sorted: 2, 3, 7, 7, 9, so the median is 7. The mode is 7 (twice) and the range is 9 − 2 = 7.
Frequently asked questions
When should I use the median instead of the mean?
When the data has outliers or is skewed (such as incomes or house prices). One very large value pulls the mean up but barely moves the median.
Can there be more than one mode?
Yes. If two or more values tie for the highest count, all are modes (bimodal or multimodal data).
How do I average more than 8 numbers?
Average groups separately and combine them weighted by size: (mean₁ × n₁ + mean₂ × n₂) ÷ (n₁ + n₂).
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Sources
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator