Mean, median and mode
Mean = sum ÷ count
Median = the middle value when sorted (average of the two middle values for an even count)
Mode = the value that appears most often
Range = largest − smallest
Example
For 10, 20, 30, 40, 50, 20: the sum is 170 and there are 6 numbers, so the mean is 28.33. Sorted, the middle two are 20 and 30, so the median is 25. 20 appears twice, so the mode is 20, and the range is 50 − 10 = 40.
Tips
- The median is better than the mean when a few very large or small values would skew the result (like incomes).
- Averaging grades with different weights? Use the grade calculator or the GPA calculator.
Frequently asked questions
How do I calculate an average?
Add all the numbers and divide by how many there are.
What's the difference between mean and average?
In everyday use they're the same thing: the arithmetic mean.
Sample or population standard deviation?
Use the sample version (divides by n − 1) when your numbers are a sample of a bigger group, and the population version when you have every value.
How do I find the mean, median and mode?
For 3, 5, 5, 8, 9: the mean is the total ÷ count = 30 ÷ 5 = 6; the median is the middle value once sorted = 5; the mode is the most common value = 5.
What is the mode?
The value that appears most often. A set can have one mode, several, or none if every value appears once.
What is the median?
The middle value when the numbers are sorted. With an even count, it's the average of the two middle values.
What is the range?
The largest value minus the smallest. For 3, 5, 5, 8, 9 the range is 9 − 3 = 6.
How do I calculate average speed?
Divide total distance by total time, not the average of the speeds. 60 miles in 1 hour then 60 miles in 2 hours is 120 ÷ 3 = 40 mph, not 45.
Written and checked by Vijay. Last updated .