How do you calculate the mean, median and mode?
Worked example
The numbers 2, 4, 4, 4, 5, 5, 7, 9 add up to 40 and there are 8, so the mean is 40 ÷ 8 = 5. Sorted, the middle two values are 4 and 5, so the median is 4.5. The value that appears most often is 4: the mode. The range is 9 − 2 = 7.
Which average should you use?
- Mean: the usual average; pulled up or down by very large or small values.
- Median: better for skewed data such as incomes or house prices, because outliers barely move it.
- Mode: the most common value; the only one that works for categories.
Questions people ask
What is the average of 2, 4, 4, 4, 5, 5, 7, 9?
The mean is 5 (sum 40 ÷ 8 numbers). The median is 4.5 and the mode is 4.
What is the difference between mean, median and mode?
The mean is the sum divided by the count, the median is the middle value when sorted, and the mode is the value that occurs most often.
How do you find the median of an even number of values?
Average the two middle values. For 8 values, the 4th and 5th are 4 and 5, so the median is 4.5.
Can a list have no mode or more than one?
Yes. If every value appears equally often there is no mode; if two or more values tie for most frequent, all of them are modes.
How do I average numbers with different weights?
Multiply each value by its weight, add them up and divide by the total weight. The grade calculator does this for course scores.
Sources
- NIST/SEMATECH: e-Handbook of Statistical Methods: Measures of location
- OpenStax (Rice University): Introductory Statistics 2e, free open textbook
Related calculators
- Percentage calculator: What is X% of Y, X is what % of Y, and the whole from a part
- Percentage change calculator: Percent increase, decrease and difference between two numbers
- Fraction calculator: Add, subtract, multiply and divide fractions and mixed numbers
- Fraction to decimal calculator: Fractions to decimals and back, with repeating digits
- Ratio calculator: Simplify a ratio, solve a proportion, split a total
- Standard deviation calculator: Population and sample standard deviation, variance and quartiles
- GPA calculator: Semester and weighted GPA on the 4.0 scale
- Grade calculator: Weighted course grade from your scores
Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.