Use this free average calculator to find the mean, median, mode, and range of a list of numbers, or a weighted average where some values count more than others. Results update as you type.
An average is one number that represents a list. The mean, median, and mode each describe the middle in a different way, so the right choice depends on your data.
How to use the average calculator
For a plain list, type or paste your numbers into the box. The results appear as you type, including the count, sum, mean, median, mode, and range.
- Mean: the sum divided by the count.
- Median: the middle value after sorting.
- Mode: the value that appears most often.
- Range: the maximum minus the minimum.
For a weighted average, enter each value with its weight, then add rows as needed.
Formulas
| Measure | Formula | Example |
|---|---|---|
| Mean | Sum ÷ Count | (4 + 8 + 9) ÷ 3 = 7 |
| Median | Middle value of the sorted list | Median of 3, 5, 9 = 5 |
| Mode | Most frequent value | Mode of 2, 5, 5, 7 = 5 |
| Range | Maximum − Minimum | Range of 3, 9, 15 = 12 |
| Weighted average | Σ(value × weight) ÷ Σ(weight) | (80 × 2 + 90 × 3) ÷ 5 = 86 |
Worked examples
A simple average
The scores 4, 8, 9, 8, and 15 have a sum of 44 and a count of 5, so the mean is 44 ÷ 5 = 8.8. The median is 8, the middle value once sorted.
An even number of values
For 3, 5, 9, and 11, the two middle values are 5 and 9. The median is (5 + 9) ÷ 2 = 7.
A weighted grade
If a quiz worth 2 credits scores 80 and an exam worth 3 credits scores 90, the weighted average is (80 × 2 + 90 × 3) ÷ 5 = 86.
Common mistakes
- Averaging averages. If groups have different sizes, averaging their averages can be wrong. Combine the full sums and counts instead.
- Ignoring weights. A plain mean treats every value the same. Use a weighted average when some values should count more.
- Mean on skewed data. One very large value can pull the mean far from the typical value. The median is often a better guide then.
Frequently asked questions
How do I calculate an average?
Add all the numbers together, then divide the sum by how many numbers there are. For example, the average of 4, 8, and 9 is 21 ÷ 3 = 7.
What is the difference between mean and median?
The mean is the sum divided by the count. The median is the middle value when the numbers are sorted, or the average of the two middle values when there is an even count. The median is less affected by very large or very small values.
What is the mode?
The mode is the number that appears most often. A list can have more than one mode, or none if every value appears the same number of times.
How do I calculate a weighted average?
Multiply each value by its weight, add those products, and divide by the total of the weights. For example, grades of 80 (weight 2) and 90 (weight 3) give (80 × 2 + 90 × 3) ÷ 5 = 86.
Is the Xornex average calculator free?
Yes. The Xornex average calculator is available to use free of charge.