Bills, Percentages & Everyday Math · Math Foundations
How to Find the Mean, Median, and Mode
Mean, median, and mode describe the center in different ways. Sort the list for the median, count repeats for the mode, and use the mean when every value should carry equal weight.
Mean, median, and mode are different summaries of the same dataset. The Mean, Median & Mode Calculator returns all three, plus range and midrange, so you can choose a measure instead of treating “average” as one universal answer.
Choose the measure that matches the question
- Mean: add every value and divide by the count. It uses every observation and is sensitive to outliers.
- Median: sort the values and select the middle, or average the two middle values. It is less affected by an extreme value.
- Mode: find the value or values that occur most often. A dataset can have one mode, several modes, or no mode if every value occurs once.
Use one dataset for all three measures
Use 4, 6, 6, 8, 10, and 20:
mean = (4 + 6 + 6 + 8 + 10 + 20) ÷ 6 = 9
sorted values = 4, 6, 6, 8, 10, 20
median = (6 + 8) ÷ 2 = 7
mode = 6
The mean is 9 because the 20 pulls the total upward. The median is 7 because it uses the two central positions. The mode is 6 because it appears twice, more often than any other value.
Handle an even number of values
An even-sized list has no single middle observation. Sort the list, identify the two central values, add them, and divide by 2. Do not use the two values as a range or choose whichever one appears first. For 3, 5, 9, and 12, the median is (5 + 9) ÷ 2 = 7.
Sorting is essential. The order in which measurements were entered does not determine the median; the numerical order does.
Handle modes and ties
If two values share the highest frequency, the dataset is bimodal and both are modes. If three values tie, it is multimodal. If every value occurs once, there is no mode under the usual frequency definition. Do not force a mode by picking the first value.
Compare center with spread
The range is maximum − minimum; for the example it is 20 − 4 = 16. A center alone can hide how widely values vary. When the dataset is skewed, report the median and range or another spread measure alongside the mean. The calculator does not infer whether a dataset is a sample or population, and it does not assign statistical significance.
FAQs
Which measure should I use for an outlier-heavy list?
The median is often a better description of the center when one or more extreme values would pull the mean away from most observations. Report the mean too when the outlier is real and relevant.
Can a dataset have two modes?
Yes. If two values occur equally often and more often than the rest, both are modes. A dataset with three tied highest frequencies is multimodal.
Do I sort values before finding the mean?
No. Sorting is required for the median but does not change the mean. You still need the count and sum for the mean.
Is the mode always a number?
No. The mode can be a category such as a color or product size. This calculator is designed for numeric data, but the frequency idea is the same.