What Are Mean, Median, Mode and Range?
The mean, median and mode are the three measures of central tendency. Each is a different way to describe the "typical" value in a set of numbers. The range is the simplest measure of spread, showing how far apart the values are. Together they summarise a data set in a few numbers, which is why they appear in school maths, exam grading, business reports, sports statistics, surveys and science.
- Mean (the average): add all values and divide by how many there are. For 2, 4, 9 it is (2 + 4 + 9) ÷ 3 = 5.
- Median: the middle value when the numbers are sorted. For an even count, it's the average of the two middle values.
- Mode: the value that appears most often. A set can have one mode, several modes (bimodal, multimodal), or no mode if nothing repeats.
- Range: the largest value minus the smallest value.
This free average calculator computes all of them at once, explains each step, and adds the quartiles, interquartile range, geometric mean, harmonic mean and a frequency table. Paste numbers straight from a spreadsheet, or type them separated by commas, spaces or line breaks.
How to Use the Calculator
- Enter your numbers in the box. Any separator works, and thousands commas like 1,250 are understood.
- Read the results: mean, median, mode and range appear instantly as you type.
- Check the working to see the sorted list and how each value was found.
- For a weighted average, tick the box and enter one value and its weight per line, e.g. an exam score and its percentage weight.
Worked Example
Data: 4, 8, 15, 16, 23, 42, 8, 15, 8 (nine values).
| Measure | Working | Result |
|---|---|---|
| Mean | 139 ÷ 9 | 15.44 |
| Median | Sorted: 4, 8, 8, 8, 15, 15, 16, 23, 42 → 5th value | 15 |
| Mode | 8 appears three times | 8 |
| Range | 42 − 4 | 38 |
Mean vs Median: Which Average Should You Use?
The mean uses every value, so it is sensitive to outliers. One very large number drags it up. The median only cares about the middle position, so it stays stable. That's why house prices and incomes are usually reported as medians: a few billionaires would make the mean income misleadingly high. Use the mean for symmetric data without extreme values (heights, test scores). Use the median for skewed data (salaries, property prices, response times). Use the mode for categories or the most common size, such as the best-selling shoe size.
Weighted Average
A weighted mean gives some values more importance than others. It's calculated as Σ(value × weight) ÷ Σweight. Example: coursework 85 (weight 30%), final exam 92 (50%), project 78 (20%) gives (85×30 + 92×50 + 78×20) ÷ 100 = 87.1. The same method gives the average price paid when buying different quantities at different prices, or a GPA weighted by credit hours.
Other Averages Explained
- Geometric mean: the nth root of the product of n values. Use it for growth rates and investment returns: returns of +10% and −10% average to −0.5% per year, not 0%.
- Harmonic mean: n divided by the sum of reciprocals. Use it for averaging rates such as speeds over equal distances: 60 km/h out and 40 km/h back averages 48 km/h, not 50.
- Midrange: (min + max) ÷ 2, a quick but outlier-sensitive estimate.
- Quartiles: Q1 and Q3 cut the sorted data at 25% and 75%. The interquartile range (Q3 − Q1) measures the spread of the middle half and ignores outliers. Quartiles here use linear interpolation, the same method as Excel's QUARTILE.INC.
Features
- All averagesMean, median, mode, midrange, geometric and harmonic.
- Step-by-stepSorted list and the working for each measure.
- Weighted meanFor grades, GPAs and prices.
- SpreadRange, quartiles and IQR.
- Frequency tableWith bars, highlighting the mode.
- Paste anythingCommas, spaces, tabs or new lines.
Frequently Asked Questions
How do you find the median of an even set of numbers?
Sort the numbers and take the average of the two middle values. For 3, 5, 8, 10 the median is (5 + 8) ÷ 2 = 6.5.
Can there be more than one mode?
Yes. If two values tie for most frequent, the data is bimodal; with more, it's multimodal. If no value repeats, there is no mode.
Is the average the same as the mean?
In everyday use, "average" means the arithmetic mean. Technically the median and mode are averages too.
Can the mean be a decimal when all values are whole numbers?
Yes. The mean of 1, 2 and 4 is 7 ÷ 3 = 2.33….
Do negative numbers work?
Yes, for the mean, median, mode and range. The geometric and harmonic means need all values to be positive.