Average Calculator
Calculate mean, median, mode, range, and sum for any set of numbers.
Returns descriptive statistics for homework, data analysis, and grade averaging.
The three measures of central tendency, mean, median, and mode, each describe the “center” of a dataset differently, and each is appropriate in different situations. Knowing when to use which measure is just as important as knowing how to calculate them.
Mean (arithmetic average): Mean = Sum of all values / Count of values
Median (middle value): Arrange all values in order. If odd count: middle value. If even count: average of the two middle values.
Mode: The value that appears most frequently. A dataset can have no mode, one mode, or multiple modes.
Worked example: Dataset: 4, 7, 7, 9, 13, 15, 21
Mean = (4+7+7+9+13+15+21) / 7 = 76 / 7 = 10.86 Median = 9 (4th value in 7-item sorted list) Mode = 7 (appears twice; all others appear once)
When each measure is best:
- Mean - best for symmetric distributions without extreme outliers (test scores, temperatures)
- Median - best when outliers are present (income data, home prices). The US median household income is used instead of mean because a handful of billionaires would distort the mean dramatically.
- Mode - best for categorical data (most popular shoe size, most common eye color)
Effect of outliers: Dataset: 10, 12, 11, 13, 10, 95 (one outlier) Mean = 151 / 6 = 25.2 (distorted by 95) Median = (11+12) / 2 = 11.5 (robust to outlier)
Weighted mean: When values have different importance levels: Weighted Mean = Σ(value × weight) / Σ(weights) Used for GPA (Grade Point Average) calculations, investment portfolio returns, and course final grades.
Range and standard deviation: Range is simply the largest value minus the smallest, so for 4, 7, 7, 9, 13, 15, 21 the range is 21 − 4 = 17. It is quick but fragile, since it only looks at two numbers and ignores everything in between. Standard deviation looks at every value and measures the typical distance from the mean. This calculator reports the population standard deviation, dividing by n rather than n − 1. Use that when your numbers are the whole group you care about, such as the test scores of one class. If your numbers are a sample drawn from something larger, the sample standard deviation (dividing by n − 1) is the right one, and it will come out slightly higher.
A note on comparing mean and median: When those two numbers drift apart, the data is telling you something. A mean well above the median means a few large values are pulling the average up, which is exactly what happens with salaries in an office that includes the owner. The calculator flags that gap for you rather than leaving you to spot it.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.