Utility calculator
Average Calculator
Enter a list of numbers for the mean, median, mode, and range. Add weights when some values should count more than others in the mean.
Average
Calculate the average
Result
Mean
6
Median
6
Mode
No mode. Every value appears once.
Range
4
Sum
18
Minimum
4
Maximum
8
3 values. Median, mode, and range use each listed value once.
How it works
The mean is the arithmetic average: add the numbers and divide by how many there are. The median is the middle value after sorting. With an even count, it is the mean of the two middle values. The range is the largest value minus the smallest.
The mode is the value that appears most often. If every value appears once, this calculator reports no mode. If two or more values tie for the highest count, all of them are modes.
Weights change the mean only. A weighted mean multiplies each value by its weight, adds those products, and divides by the sum of the weights. Median, mode, and range still use each listed value once. A weight of zero is allowed only when another weight is positive.
Formulas
Mean, median, mode, and range describe the same list in different ways.
- Mean = (sum of the values) ÷ (count of the values)
- Weighted mean = (sum of value × weight) ÷ (sum of the weights)
- Median = the middle sorted value, or the mean of the two middle values
- Range = largest value − smallest value
Worked examples
The mean of 4, 8, and 6 is 6. The median is 6 and the range is 4.
Mean = (4 + 8 + 6) ÷ 3. Sorted, the middle value is 6, and the range is 8 − 4.
Values 80 and 90 with weights 1 and 3 have a weighted mean of 87.5.
Weighted mean = (80 × 1 + 90 × 3) ÷ (1 + 3).
FAQ
How is the mean calculated?
Add the values and divide by the count. The mean of 4, 8, and 6 is (4 + 8 + 6) ÷ 3 = 6.
How is the median found for an even count?
Sort the values and average the two in the middle. The median of 1, 2, 3, and 4 is (2 + 3) ÷ 2 = 2.5.
What if every number appears once?
There is no mode. A mode is reported only when at least one value appears more often than the others.
Do weights change the median and the mode?
No. On this page, weights change the mean only. Median, mode, and range use each value you listed one time.